OSDN Git Service

Fixing some drag and drop issues.
authorWinson <winsonc@google.com>
Thu, 28 Jan 2016 21:29:49 +0000 (13:29 -0800)
committerWinson <winsonc@google.com>
Fri, 29 Jan 2016 20:21:58 +0000 (12:21 -0800)
commitd952961977a0eb6c1fefcb0707d1c61741515f68
tree3dd835efb348e5abef60f0c8519a44b5b5c273b1
parent957c742f1fbbc194e38b3c692d9207c8013c1b89
Fixing some drag and drop issues.

- When opening recents while there is a task docked, initialize the
  stack scroll to the front of the stack
- When undocking a task while recents is open, scroll to the front of
  the stack
- Fixing offset when adjusting the task stack size due to top inset
  being double applied in some dock states
- Fixing issue with task view not scaling when picking up from the
  freeform workspace

Change-Id: I15436ac21f05ff521492d8ae1c682a414503101a
packages/SystemUI/src/com/android/systemui/recents/events/activity/TaskStackUpdatedEvent.java
packages/SystemUI/src/com/android/systemui/recents/events/ui/dragndrop/DragStartInitializeDropTargetsEvent.java
packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
packages/SystemUI/src/com/android/systemui/recents/tv/RecentsTvActivity.java
packages/SystemUI/src/com/android/systemui/recents/tv/views/RecentsTvView.java
packages/SystemUI/src/com/android/systemui/recents/views/RecentsViewTouchHandler.java
packages/SystemUI/src/com/android/systemui/recents/views/TaskStackView.java
packages/SystemUI/src/com/android/systemui/recents/views/TaskStackViewScroller.java