OSDN Git Service

DO NOT MERGE - 2-dimensional Recents activity.
authorManu Cornet <manucornet@google.com>
Fri, 11 Nov 2016 19:36:08 +0000 (11:36 -0800)
committerManu Cornet <manucornet@google.com>
Fri, 11 Nov 2016 20:57:07 +0000 (12:57 -0800)
commitc13df1eb30f098ac6d4703f4790f8ff792bd17cc
tree45ac38785b7b3438aa5e93ec4307448d6b37d5a9
parent8da11f44ef54f79e6045758ed3efb144b4ff280b
DO NOT MERGE - 2-dimensional Recents activity.

This is a simple first version in the spirit of small, incremental CLs.
It is fully functional but the following will come in later changes:

* Split screen support
* Potential animations
* Alt-tab behavior
* Relayout on orientation changes

The new activity is only started when a specific system property is set.

Test: Tested new activity behavior on local Ryu. Added tests for layout logic.
Bug: 32101881
Merged-In: I550f6e7ea0de3937dbf80e5f0294676cfe567d47
Change-Id: I46a537646e98b312d831510e1d331948888ae5ce
packages/SystemUI/AndroidManifest.xml
packages/SystemUI/res/layout-sw600dp/recents_grid.xml [new file with mode: 0644]
packages/SystemUI/src/com/android/systemui/recents/Recents.java
packages/SystemUI/src/com/android/systemui/recents/grid/RecentsGridActivity.java [new file with mode: 0644]
packages/SystemUI/src/com/android/systemui/recents/grid/RecentsGridImpl.java [new file with mode: 0644]
packages/SystemUI/src/com/android/systemui/recents/grid/TaskGridLayoutAlgorithm.java [new file with mode: 0644]
packages/SystemUI/src/com/android/systemui/recents/views/TaskView.java
packages/SystemUI/tests/src/com/android/systemui/recents/grid/TaskGridLayoutAlgorithmTest.java [new file with mode: 0644]