Search in sources :

Example 1 with HorizontalInsettableView

use of com.android.launcher3.util.HorizontalInsettableView in project android_packages_apps_Launcher3 by AOSPA.

the class LauncherUnfoldAnimationController method onResume.

/**
 * Called when launcher is resumed
 */
public void onResume() {
    Hotseat hotseat = mLauncher.getHotseat();
    if (hotseat != null && hotseat.getQsb() instanceof HorizontalInsettableView) {
        mQsbInsettable = (HorizontalInsettableView) hotseat.getQsb();
    }
    OneShotPreDrawListener.add(mLauncher.getWorkspace(), () -> mProgressProvider.setReadyToHandleTransition(true));
}
Also used : Hotseat(com.android.launcher3.Hotseat) HorizontalInsettableView(com.android.launcher3.util.HorizontalInsettableView)

Example 2 with HorizontalInsettableView

use of com.android.launcher3.util.HorizontalInsettableView in project android_packages_apps_Launcher3 by ArrowOS.

the class LauncherUnfoldAnimationController method onResume.

/**
 * Called when launcher is resumed
 */
public void onResume() {
    Hotseat hotseat = mLauncher.getHotseat();
    if (hotseat != null && hotseat.getQsb() instanceof HorizontalInsettableView) {
        mQsbInsettable = (HorizontalInsettableView) hotseat.getQsb();
    }
    OneShotPreDrawListener.add(mLauncher.getWorkspace(), () -> mProgressProvider.setReadyToHandleTransition(true));
}
Also used : Hotseat(com.android.launcher3.Hotseat) HorizontalInsettableView(com.android.launcher3.util.HorizontalInsettableView)

Example 3 with HorizontalInsettableView

use of com.android.launcher3.util.HorizontalInsettableView in project android_packages_apps_404Launcher by P-404.

the class LauncherUnfoldAnimationController method onResume.

/**
 * Called when launcher is resumed
 */
public void onResume() {
    Hotseat hotseat = mLauncher.getHotseat();
    if (hotseat != null && hotseat.getQsb() instanceof HorizontalInsettableView) {
        mQsbInsettable = (HorizontalInsettableView) hotseat.getQsb();
    }
    OneShotPreDrawListener.add(mLauncher.getWorkspace(), () -> mProgressProvider.setReadyToHandleTransition(true));
}
Also used : Hotseat(com.android.launcher3.Hotseat) HorizontalInsettableView(com.android.launcher3.util.HorizontalInsettableView)

Example 4 with HorizontalInsettableView

use of com.android.launcher3.util.HorizontalInsettableView in project android_packages_apps_Launcher3 by ProtonAOSP.

the class LauncherUnfoldAnimationController method onResume.

/**
 * Called when launcher is resumed
 */
public void onResume() {
    Hotseat hotseat = mLauncher.getHotseat();
    if (hotseat != null && hotseat.getQsb() instanceof HorizontalInsettableView) {
        mQsbInsettable = (HorizontalInsettableView) hotseat.getQsb();
    }
    OneShotPreDrawListener.add(mLauncher.getWorkspace(), () -> mProgressProvider.setReadyToHandleTransition(true));
}
Also used : Hotseat(com.android.launcher3.Hotseat) HorizontalInsettableView(com.android.launcher3.util.HorizontalInsettableView)

Aggregations

Hotseat (com.android.launcher3.Hotseat)4 HorizontalInsettableView (com.android.launcher3.util.HorizontalInsettableView)4