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));
}
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));
}
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));
}
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));
}
Aggregations