diff options
author | Tony Wickham <twickham@google.com> | 2018-05-16 12:23:12 -0700 |
---|---|---|
committer | Tony Wickham <twickham@google.com> | 2018-05-16 15:59:31 -0700 |
commit | b2ddf10041c80d26012469dfd3bb1b259da1bd94 (patch) | |
tree | 3777af607adcb610bf08c822ec5805afbae93b83 /src_ui_overrides | |
parent | 07b8b0b1f091ef7de2a8b706f90f503298932658 (diff) | |
download | packages_apps_Trebuchet-b2ddf10041c80d26012469dfd3bb1b259da1bd94.tar.gz packages_apps_Trebuchet-b2ddf10041c80d26012469dfd3bb1b259da1bd94.tar.bz2 packages_apps_Trebuchet-b2ddf10041c80d26012469dfd3bb1b259da1bd94.zip |
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
Diffstat (limited to 'src_ui_overrides')
-rw-r--r-- | src_ui_overrides/com/android/launcher3/uioverrides/UiFactory.java | 1 |
1 files changed, 1 insertions, 0 deletions
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) { } } |