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:
Tony Wickham
2021-05-03 20:58:21 -07:00
parent b55372cea6
commit 154b1c928b
3 changed files with 4 additions and 57 deletions

View File

@@ -58,12 +58,6 @@ public class PortraitStatesTouchController extends AbstractStateChangeTouchContr
*/
protected static final float ALL_APPS_CONTENT_FADE_MIN_CLAMPING_THRESHOLD = 0.4f;
/**
* The progress at which recents will begin fading out when swiping up from overview.
*/
private static final float RECENTS_FADE_THRESHOLD = 0.88f;
private final PortraitOverviewStateTouchHelper mOverviewPortraitStateTouchHelper;
public PortraitStatesTouchController(Launcher l) {