OSDN Git Service

Start shortcuts close animation where open left off.
authorTony Wickham <twickham@google.com>
Fri, 29 Jul 2016 18:22:21 +0000 (11:22 -0700)
committerTony <twickham@google.com>
Tue, 2 Aug 2016 18:09:16 +0000 (11:09 -0700)
commit0ba81607e30c008a7aa24ca76d74f9c4aaafd053
treedb51b5e343c47a4998dd0d264919941e562aeaa8
parent1460475626e069cc8ee9c71057f40e8aabfc676f
Start shortcuts close animation where open left off.

- Before we always started the close animation at 0 instead of
  the previous open progress, which looked janky.
- Shortened the animations' durations and start delays to
  account for the fact that the open animation was only
  partially finished when the close animation started.

Bug: 30465231
Change-Id: I958ee5f4543dbf1185f3d0229c55fc1b51929655
src/com/android/launcher3/shortcuts/DeepShortcutView.java
src/com/android/launcher3/shortcuts/DeepShortcutsContainer.java
src/com/android/launcher3/util/RevealOutlineAnimation.java