OSDN Git Service

QS: Only put visible tiles in listening state
authorJason Monk <jmonk@google.com>
Tue, 31 May 2016 19:40:58 +0000 (15:40 -0400)
committerJason Monk <jmonk@google.com>
Thu, 2 Jun 2016 17:59:07 +0000 (13:59 -0400)
commit1bec6af01a1c5306e2ac0763ba79b17275c35e2d
treef748216cfa6464c94c209f31ce1ce1d992674235
parent9d5c0b1c8eee5848df6a99f64ae9438a4642492d
QS: Only put visible tiles in listening state

 - Make it so the QSPanel doesn't listen until expansion starts
 - Push listening state through the TileLayout
 - Make PagedTileLayout only listen for visible pages
 - Push setListening onto background thread

Change-Id: Id7c008c9447f9a5dac69469fef72bc580f423b0c
Fixes: 28962155
packages/SystemUI/src/com/android/systemui/qs/PagedTileLayout.java
packages/SystemUI/src/com/android/systemui/qs/QSContainer.java
packages/SystemUI/src/com/android/systemui/qs/QSPanel.java
packages/SystemUI/src/com/android/systemui/qs/QSTile.java
packages/SystemUI/src/com/android/systemui/qs/QuickQSPanel.java
packages/SystemUI/src/com/android/systemui/qs/TileLayout.java
packages/SystemUI/src/com/android/systemui/qs/customize/TileQueryHelper.java