Cleanup/consolidate normal<->all apps interpolators
We no longer need to have a different behavior for no button mode, so make PortraitStatesTouchController the source of truth Also remove unused ANIM_ALL_APPS_HEADER_FADE & RECENTS_FADE_THRESHOLD Test: manually in 0 button and 3 button modes Bug: 183001675 Bug: 175137718 Change-Id: If0bc2a6d6d3bf1649fad45226a4e6055f30e4880
This commit is contained in:
@@ -59,7 +59,6 @@ public class StateAnimationConfig {
|
||||
ANIM_OVERVIEW_FADE,
|
||||
ANIM_ALL_APPS_FADE,
|
||||
ANIM_WORKSPACE_SCRIM_FADE,
|
||||
ANIM_ALL_APPS_HEADER_FADE,
|
||||
ANIM_OVERVIEW_MODAL,
|
||||
ANIM_DEPTH,
|
||||
ANIM_OVERVIEW_ACTIONS_FADE,
|
||||
@@ -78,12 +77,11 @@ public class StateAnimationConfig {
|
||||
public static final int ANIM_OVERVIEW_FADE = 9;
|
||||
public static final int ANIM_ALL_APPS_FADE = 10;
|
||||
public static final int ANIM_WORKSPACE_SCRIM_FADE = 11;
|
||||
public static final int ANIM_ALL_APPS_HEADER_FADE = 12; // e.g. predictions
|
||||
public static final int ANIM_OVERVIEW_MODAL = 13;
|
||||
public static final int ANIM_DEPTH = 14;
|
||||
public static final int ANIM_OVERVIEW_ACTIONS_FADE = 15;
|
||||
public static final int ANIM_OVERVIEW_MODAL = 12;
|
||||
public static final int ANIM_DEPTH = 13;
|
||||
public static final int ANIM_OVERVIEW_ACTIONS_FADE = 14;
|
||||
|
||||
private static final int ANIM_TYPES_COUNT = 16;
|
||||
private static final int ANIM_TYPES_COUNT = 15;
|
||||
|
||||
protected final Interpolator[] mInterpolators = new Interpolator[ANIM_TYPES_COUNT];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user