Update animations for TM-QPR: OverviewSplitSelect > Home transition
The animation from OverviewSplitSelect to Home is now updated to the latest spec. See bug for details. - New timings - FloatingTaskView now translates out, instead of fading - FloatingTaskView and SplitInstructionsView now disappear concurrently with the rest of Overview, instead of afterward Fixes: 236761067 Test: Manual on tablet and phone Change-Id: Iaa1c804a60859232f331950098b67968cc187e82
This commit is contained in:
@@ -64,6 +64,8 @@ public class StateAnimationConfig {
|
||||
ANIM_DEPTH,
|
||||
ANIM_OVERVIEW_ACTIONS_FADE,
|
||||
ANIM_WORKSPACE_PAGE_TRANSLATE_X,
|
||||
ANIM_OVERVIEW_SPLIT_SELECT_FLOATING_TASK_TRANSLATE_OFFSCREEN,
|
||||
ANIM_OVERVIEW_SPLIT_SELECT_INSTRUCTIONS_FADE
|
||||
})
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
public @interface AnimType {}
|
||||
@@ -84,8 +86,10 @@ public class StateAnimationConfig {
|
||||
public static final int ANIM_DEPTH = 13;
|
||||
public static final int ANIM_OVERVIEW_ACTIONS_FADE = 14;
|
||||
public static final int ANIM_WORKSPACE_PAGE_TRANSLATE_X = 15;
|
||||
public static final int ANIM_OVERVIEW_SPLIT_SELECT_FLOATING_TASK_TRANSLATE_OFFSCREEN = 17;
|
||||
public static final int ANIM_OVERVIEW_SPLIT_SELECT_INSTRUCTIONS_FADE = 18;
|
||||
|
||||
private static final int ANIM_TYPES_COUNT = 17;
|
||||
private static final int ANIM_TYPES_COUNT = 19;
|
||||
|
||||
protected final Interpolator[] mInterpolators = new Interpolator[ANIM_TYPES_COUNT];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user