Search in sources :

Example 1 with LauncherOverlayManager

use of com.android.systemui.plugins.shared.LauncherOverlayManager in project android_packages_apps_Launcher3 by AOSPA.

the class LauncherActivityInterface method closeOverlay.

@Override
public void closeOverlay() {
    Launcher launcher = getCreatedActivity();
    if (launcher == null) {
        return;
    }
    LauncherOverlayManager om = launcher.getOverlayManager();
    if (!launcher.isStarted() || launcher.isForceInvisible()) {
        om.hideOverlay(false);
    } else {
        om.hideOverlay(150);
    }
    LauncherTaskbarUIController taskbarController = getTaskbarController();
    if (taskbarController != null) {
        taskbarController.hideEdu();
    }
}
Also used : LauncherTaskbarUIController(com.android.launcher3.taskbar.LauncherTaskbarUIController) Launcher(com.android.launcher3.Launcher) BaseQuickstepLauncher(com.android.launcher3.BaseQuickstepLauncher) LauncherOverlayManager(com.android.systemui.plugins.shared.LauncherOverlayManager)

Example 2 with LauncherOverlayManager

use of com.android.systemui.plugins.shared.LauncherOverlayManager in project android_packages_apps_404Launcher by P-404.

the class LauncherActivityInterface method closeOverlay.

@Override
public void closeOverlay() {
    Launcher launcher = getCreatedActivity();
    if (launcher == null) {
        return;
    }
    LauncherOverlayManager om = launcher.getOverlayManager();
    if (!launcher.isStarted() || launcher.isForceInvisible()) {
        om.hideOverlay(false);
    } else {
        om.hideOverlay(150);
    }
    LauncherTaskbarUIController taskbarController = getTaskbarController();
    if (taskbarController != null) {
        taskbarController.hideEdu();
    }
}
Also used : LauncherTaskbarUIController(com.android.launcher3.taskbar.LauncherTaskbarUIController) Launcher(com.android.launcher3.Launcher) BaseQuickstepLauncher(com.android.launcher3.BaseQuickstepLauncher) LauncherOverlayManager(com.android.systemui.plugins.shared.LauncherOverlayManager)

Example 3 with LauncherOverlayManager

use of com.android.systemui.plugins.shared.LauncherOverlayManager in project android_packages_apps_Launcher3 by crdroidandroid.

the class LauncherActivityInterface method closeOverlay.

@Override
public void closeOverlay() {
    Launcher launcher = getCreatedActivity();
    if (launcher == null) {
        return;
    }
    LauncherOverlayManager om = launcher.getOverlayManager();
    if (!launcher.isStarted() || launcher.isForceInvisible()) {
        om.hideOverlay(false);
    } else {
        om.hideOverlay(150);
    }
}
Also used : Launcher(com.android.launcher3.Launcher) BaseQuickstepLauncher(com.android.launcher3.BaseQuickstepLauncher) LauncherOverlayManager(com.android.systemui.plugins.shared.LauncherOverlayManager)

Example 4 with LauncherOverlayManager

use of com.android.systemui.plugins.shared.LauncherOverlayManager in project android_packages_apps_Trebuchet by LineageOS.

the class LauncherActivityInterface method closeOverlay.

@Override
public void closeOverlay() {
    Launcher launcher = getCreatedActivity();
    if (launcher == null) {
        return;
    }
    LauncherOverlayManager om = launcher.getOverlayManager();
    if (!launcher.isStarted() || launcher.isForceInvisible()) {
        om.hideOverlay(false);
    } else {
        om.hideOverlay(150);
    }
}
Also used : Launcher(com.android.launcher3.Launcher) BaseQuickstepLauncher(com.android.launcher3.BaseQuickstepLauncher) LauncherOverlayManager(com.android.systemui.plugins.shared.LauncherOverlayManager)

Example 5 with LauncherOverlayManager

use of com.android.systemui.plugins.shared.LauncherOverlayManager in project android_packages_apps_Launcher3 by ArrowOS.

the class LauncherActivityInterface method closeOverlay.

@Override
public void closeOverlay() {
    Launcher launcher = getCreatedActivity();
    if (launcher == null) {
        return;
    }
    LauncherOverlayManager om = launcher.getOverlayManager();
    if (!launcher.isStarted() || launcher.isForceInvisible()) {
        om.hideOverlay(false);
    } else {
        om.hideOverlay(150);
    }
    LauncherTaskbarUIController taskbarController = getTaskbarController();
    if (taskbarController != null) {
        taskbarController.hideEdu();
    }
}
Also used : LauncherTaskbarUIController(com.android.launcher3.taskbar.LauncherTaskbarUIController) Launcher(com.android.launcher3.Launcher) BaseQuickstepLauncher(com.android.launcher3.BaseQuickstepLauncher) LauncherOverlayManager(com.android.systemui.plugins.shared.LauncherOverlayManager)

Aggregations

BaseQuickstepLauncher (com.android.launcher3.BaseQuickstepLauncher)6 Launcher (com.android.launcher3.Launcher)6 LauncherOverlayManager (com.android.systemui.plugins.shared.LauncherOverlayManager)6 LauncherTaskbarUIController (com.android.launcher3.taskbar.LauncherTaskbarUIController)4