diff options
author | Chris Wren <cwren@android.com> | 2012-05-09 21:25:57 -0400 |
---|---|---|
committer | Chris Wren <cwren@android.com> | 2012-05-10 13:40:19 -0400 |
commit | 8fd12657e353a4a6f6d875a0d86850426fec00e8 (patch) | |
tree | 8762625601aa5429950fe9605e1e47bddac4870a /packages/SystemUI/src/com/android/systemui/ExpandHelper.java | |
parent | 0c8275b392344c24bb621b2a8af360f48a6459f9 (diff) | |
download | frameworks_base-8fd12657e353a4a6f6d875a0d86850426fec00e8.zip frameworks_base-8fd12657e353a4a6f6d875a0d86850426fec00e8.tar.gz frameworks_base-8fd12657e353a4a6f6d875a0d86850426fec00e8.tar.bz2 |
Auto-expand the top notification.
Bug: 6455789
Change-Id: Ia455f204544ad0c41ace77ea3ece6e0d3d3110d9
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/ExpandHelper.java')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/ExpandHelper.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/ExpandHelper.java b/packages/SystemUI/src/com/android/systemui/ExpandHelper.java index c5928f1..7a7afa7 100644 --- a/packages/SystemUI/src/com/android/systemui/ExpandHelper.java +++ b/packages/SystemUI/src/com/android/systemui/ExpandHelper.java @@ -34,6 +34,7 @@ public class ExpandHelper implements Gefingerpoken, OnClickListener { View getChildAtPosition(MotionEvent ev); View getChildAtPosition(float x, float y); boolean canChildBeExpanded(View v); + boolean setUserExpandedChild(View v, boolean userxpanded); } private static final String TAG = "ExpandHelper"; @@ -272,6 +273,7 @@ public class ExpandHelper implements Gefingerpoken, OnClickListener { mScaleAnimation.start(); mStretching = false; setGlow(0f); + mCallback.setUserExpandedChild(mCurrView, h == mNaturalHeight); if (DEBUG) Log.d(TAG, "scale was finished on view: " + mCurrView); clearView(); } |