summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/qs/QSPanel.java
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2015-11-30 23:11:10 -0800
committerRoman Birg <roman@cyngn.com>2015-12-02 18:40:43 -0800
commit40fdc4ace9bc69a45a37782b6d394005f917b41a (patch)
tree58c5eb9bc6f724e39f81224a5a9aa2b9619f439c /packages/SystemUI/src/com/android/systemui/qs/QSPanel.java
parent6ec9ea721c33613c1ce94fdbe1e1b94631e6edec (diff)
downloadframeworks_base-40fdc4ace9bc69a45a37782b6d394005f917b41a.zip
frameworks_base-40fdc4ace9bc69a45a37782b6d394005f917b41a.tar.gz
frameworks_base-40fdc4ace9bc69a45a37782b6d394005f917b41a.tar.bz2
SystemUI: various qs tile detail improvements
- Handle top padding inside QSDragPanel, so the detail clipping animation doesn't get cut off by the top padding. - Increase bottom padding of the QSContainer to give some more breathing room for the circle page indicator. - Disable pager overscrolling - Add dual tile carrot indicators to cast, dnd, and mobile data tiles Change-Id: I81f56760140a2d7dd31e25b23f477eb1be0af305 Signed-off-by: Roman Birg <roman@cyngn.com>
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/qs/QSPanel.java')
-rw-r--r--packages/SystemUI/src/com/android/systemui/qs/QSPanel.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/qs/QSPanel.java b/packages/SystemUI/src/com/android/systemui/qs/QSPanel.java
index 4d37553..2a1bef8 100644
--- a/packages/SystemUI/src/com/android/systemui/qs/QSPanel.java
+++ b/packages/SystemUI/src/com/android/systemui/qs/QSPanel.java
@@ -390,7 +390,7 @@ public class QSPanel extends ViewGroup {
}
}
- private void handleShowDetailTile(TileRecord r, boolean show) {
+ protected void handleShowDetailTile(TileRecord r, boolean show) {
if ((mDetailRecord != null) == show && mDetailRecord == r) return;
if (show) {
@@ -403,7 +403,7 @@ public class QSPanel extends ViewGroup {
handleShowDetailImpl(r, show, x, y);
}
- private void handleShowDetailImpl(Record r, boolean show, int x, int y) {
+ protected final void handleShowDetailImpl(Record r, boolean show, int x, int y) {
boolean visibleDiff = (mDetailRecord != null) != show;
if (!visibleDiff && mDetailRecord == r) return; // already in right state
DetailAdapter detailAdapter = null;