OSDN Git Service

Separating the stack vs the historical tasks.
authorWinson <winsonc@google.com>
Tue, 24 Nov 2015 23:00:31 +0000 (15:00 -0800)
committerWinson Chung <winsonc@google.com>
Wed, 25 Nov 2015 19:43:58 +0000 (19:43 +0000)
commit250608a5cd08862f4752a924d51710805850db8a
tree35581aaada6abb46bde6e66639c0433a8b7933e7
parent5ac33e194f80b983763330c36b89e227892bc452
Separating the stack vs the historical tasks.

- Adding a notion of session to the stack.  If the history is enabled,
  the stack will now be constrained to show either tasks that were last
  active in a window of time, or a minimum number of tasks.
- Giving the history button the full space above the stack so that it
  looks more balanced.

Change-Id: If7b647349e8bb164ae86fd6dba3f7e974257eb5b
13 files changed:
packages/SystemUI/res/layout/recents_history_button.xml
packages/SystemUI/src/com/android/systemui/Prefs.java
packages/SystemUI/src/com/android/systemui/recents/RecentsActivity.java
packages/SystemUI/src/com/android/systemui/recents/RecentsImpl.java
packages/SystemUI/src/com/android/systemui/recents/history/RecentsHistoryAdapter.java
packages/SystemUI/src/com/android/systemui/recents/history/RecentsHistoryView.java
packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoadPlan.java
packages/SystemUI/src/com/android/systemui/recents/model/Task.java
packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.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