use of com.android.launcher3.LauncherStateManager.StateHandler in project android_packages_apps_Launcher3 by ProtonAOSP.
the class BaseQuickstepLauncher method collectStateHandlers.
@Override
protected void collectStateHandlers(List<StateHandler> out) {
super.collectStateHandlers(out);
out.add(getDepthController());
out.add(new RecentsViewStateController(this));
out.add(new BackButtonAlphaHandler(this));
}
use of com.android.launcher3.LauncherStateManager.StateHandler in project android_packages_apps_Launcher3 by ProtonAOSP.
the class StateManager method createAnimationToNewWorkspaceInternal.
private PendingAnimation createAnimationToNewWorkspaceInternal(final STATE_TYPE state) {
PendingAnimation builder = new PendingAnimation(mConfig.duration);
if (!mConfig.hasAnimationFlag(SKIP_ALL_ANIMATIONS)) {
for (StateHandler handler : getStateHandlers()) {
handler.setStateWithAnimation(state, mConfig, builder);
}
}
builder.addListener(createStateAnimationListener(state));
mConfig.setAnimation(builder.buildAnim(), state);
return builder;
}
use of com.android.launcher3.LauncherStateManager.StateHandler in project android_packages_apps_Launcher3 by AOSPA.
the class BaseQuickstepLauncher method collectStateHandlers.
@Override
protected void collectStateHandlers(List<StateHandler> out) {
super.collectStateHandlers(out);
out.add(getDepthController());
out.add(new RecentsViewStateController(this));
out.add(new BackButtonAlphaHandler(this));
}
Aggregations