OSDN Git Service

2D Recents: polish the app -> recents transition
authorManu Cornet <manucornet@google.com>
Wed, 18 Jan 2017 23:42:14 +0000 (15:42 -0800)
committerManu Cornet <manucornet@google.com>
Wed, 18 Jan 2017 23:55:51 +0000 (15:55 -0800)
commitfc6ac0a78af37a072a006180203591d49857dc69
treee68b8b87111558be28c94acf647bb21b1191c898
parent748e78bd2cb2f0813da48f918c4192d23bc35d7d
2D Recents: polish the app -> recents transition

* Do not draw the header as part of the transition thumbnail
  since the header is already shown. Just let the thumbnail
  slot into the task view already drawn on screen.
* Shift the target rectangle by the header height so that
  the end state of the animation corresponds exactly to the
  task view layout.
* Remove unused local variable.

Bug: 32101881
Bug: 33752154
Test: Checked/screencasted recents -> app -> recents animations on local sw600dp device
Change-Id: I4c8ce52b378567114735e6bd582572124a2a354c
packages/SystemUI/src/com/android/systemui/recents/RecentsImpl.java
packages/SystemUI/src/com/android/systemui/recents/views/TaskStackLayoutAlgorithm.java