From b2ddf10041c80d26012469dfd3bb1b259da1bd94 Mon Sep 17 00:00:00 2001 From: Tony Wickham Date: Wed, 16 May 2018 12:23:12 -0700 Subject: Update interpolators and durations for state animations When we enter overview (overview appears, workspace disappears): - Workspace scales down from 1f to .8f with OvershootInterpolator(1.2f) at 200 ms - Workspace fades from 1f to 0 with OvershootInterpolator(1.2f) at 200 ms - Overview scales down from 1.33f to 1f with OvershootInterpolator(1.2f) at 200 ms - Overview fades from 0 to 1f with OvershootInterpolator(1.2f) at 200 ms When we exit overview (overview disappears, workspace appears): - Workspace scales up from .92f to .1f with DecelerateInterpolator() at 200 ms - Workspace fades from 0 to 1f with AccelerateInterpolator() at 200 ms - Overview scales up from 1f to 1.1f with AccelerateInterpolator() at 180ms - Overview fades from 1f to 0 with DecelerateInterpolator(1.7f) at 200 ms Parallax while the finger moves: Workspace translates half the distance as the shelf Bug: 79776746 Change-Id: I319d982cf202bcd6dbbcd68ffc5c0c7853629c7e --- src_ui_overrides/com/android/launcher3/uioverrides/UiFactory.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src_ui_overrides/com/android/launcher3/uioverrides') diff --git a/src_ui_overrides/com/android/launcher3/uioverrides/UiFactory.java b/src_ui_overrides/com/android/launcher3/uioverrides/UiFactory.java index e9a47a77b..e93dd5a03 100644 --- a/src_ui_overrides/com/android/launcher3/uioverrides/UiFactory.java +++ b/src_ui_overrides/com/android/launcher3/uioverrides/UiFactory.java @@ -55,4 +55,5 @@ public class UiFactory { return false; } + public static void prepareToShowOverview(Launcher launcher) { } } -- cgit v1.2.3