OSDN Git Service

Starting the dismiss animation in parallel with the gesture.
authorWinson <winsonc@google.com>
Tue, 19 Jan 2016 23:07:07 +0000 (15:07 -0800)
committerWinson <winsonc@google.com>
Fri, 22 Jan 2016 00:05:53 +0000 (16:05 -0800)
commit8aa9959413a06c3d2ff75e0c7be9e3cb7ac7cd2e
treec81e6d47c775077896ea981069e59269ba1dff1d
parentb7a73360b50ede90b4331dd041eef59f002dc131
Starting the dismiss animation in parallel with the gesture.

- Introduces notion of ignored tasks for the purposes of layout in
  TaskStackView.  This can be used during drag and drop, and while
  dismissing to calculate the state of the stack without the task that
  the user is currently interacting with.
- Fixing minor layout issue when the front/back task transforms are
  improperly calculated when there is a single task
- Fixing minor issue when the anchor task is calculated incorrectly when
  dismissing task views

Change-Id: I1eb0864a52e53562e4d573a6ed4f8a5a1615aff9
12 files changed:
packages/SystemUI/res/values-sw600dp/config.xml
packages/SystemUI/res/values/config.xml
packages/SystemUI/src/com/android/systemui/SwipeHelper.java
packages/SystemUI/src/com/android/systemui/recents/history/RecentsHistoryAdapter.java
packages/SystemUI/src/com/android/systemui/recents/misc/RectFEvaluator.java [new file with mode: 0644]
packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
packages/SystemUI/src/com/android/systemui/recents/views/RecentsView.java
packages/SystemUI/src/com/android/systemui/recents/views/TaskStackLayoutAlgorithm.java
packages/SystemUI/src/com/android/systemui/recents/views/TaskStackView.java
packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewScroller.java
packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewTouchHandler.java
packages/SystemUI/src/com/android/systemui/recents/views/TaskViewTransform.java