OSDN Git Service

Add keyboard support to Grid-based Recents.
authorJiaquan He <hejq@google.com>
Thu, 5 Jan 2017 21:00:29 +0000 (13:00 -0800)
committerJiaquan He <hejq@google.com>
Tue, 17 Jan 2017 23:34:09 +0000 (15:34 -0800)
commit21f495f07b1b9ace99986a110d01a763847687b1
treeb453f1584640955300347d6afb4f93f96849f07d
parent70c0f5c2c7105470cb52cb3d96da54731edd1b0c
Add keyboard support to Grid-based Recents.

Test: Checked that pressing tab, shift + tab, alt + tab, alt + shift +
tab work for task navigation in Recents on local sw600dp device. Also
checked that Recents on phones work properly.
Bug: 32101881
Change-Id: I3e4cd212d2900523ece30a85cae7fb73a9594efb
packages/SystemUI/res/drawable/recents_grid_task_view_focus_frame_background.xml [new file with mode: 0644]
packages/SystemUI/res/values/dimens_grid.xml
packages/SystemUI/src/com/android/systemui/recents/RecentsActivityLaunchState.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/grid/TaskGridLayoutAlgorithm.java
packages/SystemUI/src/com/android/systemui/recents/views/grid/TaskViewFocusFrame.java [new file with mode: 0644]