summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@android.com>2012-10-16 21:30:28 -0400
committerDaniel Sandler <dsandler@android.com>2012-10-16 23:21:26 -0400
commit3679bf58fb2f59745b416b26126b7e2a673c54d8 (patch)
tree18fc35f441310079418c15bfc0183bddcbb74f06 /packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
parentfe3376b41aa48b6894afad9b977170bc658a6ac1 (diff)
downloadframeworks_base-3679bf58fb2f59745b416b26126b7e2a673c54d8.zip
frameworks_base-3679bf58fb2f59745b416b26126b7e2a673c54d8.tar.gz
frameworks_base-3679bf58fb2f59745b416b26126b7e2a673c54d8.tar.bz2
Quickening.
+ Baseline align all header elements. + Make clock clickable. + Remove clock tile. + Reorder tiles. + Hide status bar behind panel on phones. + Make status bar peek animation show the whole header on phones. + Stop hiding status bar bits on phones. Bug: 7350584 // baseline align header, make clock clickable, Bug: 7351760 // hide status bar behind panel Change-Id: I888752b64c56e80c3f5581fd8ee1cfd7c50eab7c
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
index 7eb84e1..b2bca56 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
@@ -98,7 +98,7 @@ public class PanelView extends FrameLayout {
if (mPeekAnimator == null) {
mPeekAnimator = ObjectAnimator.ofFloat(this,
"expandedHeight", mPeekHeight)
- .setDuration(300);
+ .setDuration(250);
}
mPeekAnimator.start();
}
@@ -206,7 +206,7 @@ public class PanelView extends FrameLayout {
mFlingGestureMaxOutputVelocityPx = res.getDimension(R.dimen.fling_gesture_max_output_velocity);
- mPeekHeight = res.getDimension(R.dimen.close_handle_height)
+ mPeekHeight = res.getDimension(R.dimen.peek_height)
+ getPaddingBottom() // our window might have a dropshadow
- (mHandleView == null ? 0 : mHandleView.getPaddingTop()); // the handle might have a topshadow
}