Merge "Fix animation slowdown when splitting from All Apps" into tm-qpr-dev am: 33e57ebc1a am: 37638afbec
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20103367 Change-Id: I42842b333df3e9a6a623a9f47cf4c0c0aa784ee8 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
+2
-1
@@ -197,7 +197,8 @@ public class QuickstepAtomicAnimationFactory extends
|
||||
config.setInterpolator(ANIM_OVERVIEW_ACTIONS_FADE, clampToProgress(LINEAR,
|
||||
timings.getActionsFadeStartOffset(),
|
||||
timings.getActionsFadeEndOffset()));
|
||||
} else if (fromState == NORMAL && toState == OVERVIEW_SPLIT_SELECT) {
|
||||
} else if ((fromState == NORMAL || fromState == ALL_APPS)
|
||||
&& toState == OVERVIEW_SPLIT_SELECT) {
|
||||
// Splitting from Home is currently only available on tablets
|
||||
SplitAnimationTimings timings = SplitAnimationTimings.TABLET_HOME_TO_SPLIT;
|
||||
config.setInterpolator(ANIM_SCRIM_FADE, clampToProgress(LINEAR,
|
||||
|
||||
@@ -4164,6 +4164,9 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Called when staging a split from Home/AllApps, using the icon long-press menu.
|
||||
*/
|
||||
public void initiateSplitSelect(QuickstepSystemShortcut.SplitSelectSource splitSelectSource) {
|
||||
mSplitSelectSource = splitSelectSource;
|
||||
mSplitSelectStateController.setInitialTaskSelect(splitSelectSource.intent,
|
||||
|
||||
Reference in New Issue
Block a user