Enabling swipe up from overview to all-apps

> Fixing wrong alpha interpolator when swiping down from all-apps

Change-Id: I7d4200c89797e5609fd7c4aa8681dea2ffd00bf7
This commit is contained in:
Sunny Goyal
2017-12-12 12:02:29 -08:00
parent d96072e63e
commit 0c723353a6
9 changed files with 222 additions and 61 deletions

View File

@@ -153,7 +153,7 @@ public class WorkspaceStateTransitionAnimation {
propertySetter.setInt(cl.getScrimBackground(),
DRAWABLE_ALPHA, state.hasScrim ? 255 : 0, Interpolators.ZOOM_IN);
propertySetter.setFloat(cl.getShortcutsAndWidgets(), View.ALPHA,
pageAlphaProvider.getPageAlpha(childIndex), Interpolators.DEACCEL_2);
pageAlphaProvider.getPageAlpha(childIndex), pageAlphaProvider.interpolator);
}
public static class PropertySetter {