OSDN Git Service

Moving more callbacks to animated events.
authorWinson <winsonc@google.com>
Tue, 5 Jan 2016 20:11:31 +0000 (12:11 -0800)
committerWinson <winsonc@google.com>
Wed, 6 Jan 2016 02:18:05 +0000 (18:18 -0800)
commitef06413afce31800dc8dfee65e5f89bb610f192a
treecdfe543b01f1464245b4f286be5eec8eb844d23c
parent4c6604865945723ecb4300f720d03ddd30bc5527
Moving more callbacks to animated events.

- In preparation for the animation refactoring, this CL just moves the
  enter/exit callbacks that route though RecentsView into events that
  the task stack can handle directly.

Change-Id: I90f602c5486e1781129225a73dbf97af29477479
19 files changed:
packages/SystemUI/src/com/android/systemui/recents/RecentsActivity.java
packages/SystemUI/src/com/android/systemui/recents/events/activity/DismissRecentsToHomeAnimationStarted.java
packages/SystemUI/src/com/android/systemui/recents/events/activity/EnterRecentsWindowAnimationCompletedEvent.java
packages/SystemUI/src/com/android/systemui/recents/events/activity/ExitRecentsWindowFirstAnimationFrameEvent.java [moved from packages/SystemUI/src/com/android/systemui/recents/ExitRecentsWindowFirstAnimationFrameEvent.java with 94% similarity]
packages/SystemUI/src/com/android/systemui/recents/events/activity/LaunchTaskEvent.java
packages/SystemUI/src/com/android/systemui/recents/events/activity/LaunchTaskStartedEvent.java [new file with mode: 0644]
packages/SystemUI/src/com/android/systemui/recents/events/ui/DeleteTaskDataEvent.java [moved from packages/SystemUI/src/com/android/systemui/recents/events/ui/DismissTaskEvent.java with 81% similarity]
packages/SystemUI/src/com/android/systemui/recents/events/ui/DismissTaskViewEvent.java
packages/SystemUI/src/com/android/systemui/recents/events/ui/TaskViewDismissedEvent.java [new file with mode: 0644]
packages/SystemUI/src/com/android/systemui/recents/events/ui/focus/DismissFocusedTaskViewEvent.java
packages/SystemUI/src/com/android/systemui/recents/history/RecentsHistoryItemTouchCallbacks.java
packages/SystemUI/src/com/android/systemui/recents/misc/ReferenceCountedTrigger.java
packages/SystemUI/src/com/android/systemui/recents/views/FreeformWorkspaceLayoutAlgorithm.java
packages/SystemUI/src/com/android/systemui/recents/views/RecentsTransitionHelper.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/TaskStackViewTouchHandler.java
packages/SystemUI/src/com/android/systemui/recents/views/TaskView.java