summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/statusbar/phone
diff options
context:
space:
mode:
authorChris Wren <cwren@android.com>2012-06-14 05:46:49 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-06-14 05:46:49 -0700
commita54c01eccbb9256fd7bcecf7b2f398a7e2ef0041 (patch)
tree0fefe23c850bb46a81322c8cb4876d217f43447e /packages/SystemUI/src/com/android/systemui/statusbar/phone
parentb44700f27dc0f0673c54e422c62a49d0891b67d7 (diff)
parent9b2cd15f0fed990f532f35590c2a2896b90dc7fc (diff)
downloadframeworks_base-a54c01eccbb9256fd7bcecf7b2f398a7e2ef0041.zip
frameworks_base-a54c01eccbb9256fd7bcecf7b2f398a7e2ef0041.tar.gz
frameworks_base-a54c01eccbb9256fd7bcecf7b2f398a7e2ef0041.tar.bz2
Merge "Invert the sense of the two-figner direction on tablets." into jb-dev
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/statusbar/phone')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarWindowView.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarWindowView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarWindowView.java
index ed1b2f5..9317561 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarWindowView.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarWindowView.java
@@ -22,6 +22,7 @@ import android.util.Log;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.widget.FrameLayout;
+import android.widget.ScrollView;
import android.widget.TextSwitcher;
import com.android.systemui.ExpandHelper;
@@ -47,6 +48,7 @@ public class StatusBarWindowView extends FrameLayout
protected void onAttachedToWindow () {
super.onAttachedToWindow();
latestItems = (NotificationRowLayout) findViewById(R.id.latestItems);
+ ScrollView scroller = (ScrollView) findViewById(R.id.scroll);
int minHeight = getResources().getDimensionPixelSize(R.dimen.notification_row_min_height);
int maxHeight = getResources().getDimensionPixelSize(R.dimen.notification_row_max_height);
mExpandHelper = new ExpandHelper(mContext, latestItems, minHeight, maxHeight);