Loading packages/SystemUI/res/layout/status_bar_expanded.xml +0 −23 Original line number Diff line number Diff line Loading @@ -91,29 +91,6 @@ android:text="@string/status_bar_no_notifications_title" /> <TextView android:id="@+id/ongoingTitle" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@drawable/title_bar_portrait" android:paddingLeft="5dp" android:textAppearance="@style/TextAppearance.StatusBar.Title" android:text="@string/status_bar_ongoing_events_title" /> <com.android.systemui.statusbar.policy.NotificationRowLayout android:id="@+id/ongoingItems" android:layout_width="match_parent" android:layout_height="wrap_content" systemui:rowHeight="@dimen/notification_height" /> <TextView android:id="@+id/latestTitle" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@drawable/title_bar_portrait" android:paddingLeft="5dp" android:textAppearance="@style/TextAppearance.StatusBar.Title" android:text="@string/status_bar_latest_events_title" /> <com.android.systemui.statusbar.policy.NotificationRowLayout android:id="@+id/latestItems" android:layout_width="match_parent" Loading packages/SystemUI/res/values/dimens.xml +3 −0 Original line number Diff line number Diff line Loading @@ -57,4 +57,7 @@ <!-- opacity at which Notification icons will be drawn in the status bar --> <item type="dimen" name="status_bar_icon_drawing_alpha">40%</item> <!-- gap on either side of status bar notification icons --> <dimen name="status_bar_icon_padding">0dp</dimen> </resources> packages/SystemUI/src/com/android/systemui/statusbar/phone/IconMerger.java +6 −5 Original line number Diff line number Diff line Loading @@ -44,14 +44,15 @@ public class IconMerger extends LinearLayout { mMoreView = new StatusBarIconView(context, "more", null); mMoreView.set(mMoreIcon); addView(mMoreView, 0, new LinearLayout.LayoutParams(mIconSize, mIconSize)); super.addView(mMoreView, 0, new LinearLayout.LayoutParams(mIconSize, mIconSize)); } public void addView(StatusBarIconView v, int index) { if (index == 0) { throw new RuntimeException("Attempt to put view before the more view: " + v); public void addView(StatusBarIconView v, int index, LinearLayout.LayoutParams p) { super.addView(v, index+1, p); } addView(v, index, new LinearLayout.LayoutParams(mIconSize, mIconSize)); public void addView(StatusBarIconView v, int index) { super.addView(v, index+1, new LinearLayout.LayoutParams(mIconSize, mIconSize)); } @Override Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +257 −109 File changed.Preview size limit exceeded, changes collapsed. Show changes packages/SystemUI/src/com/android/systemui/statusbar/policy/NotificationRowLayout.java +8 −1 Original line number Diff line number Diff line Loading @@ -324,7 +324,14 @@ public class NotificationRowLayout extends ViewGroup implements SwipeHelper.Call if (child.getVisibility() == GONE) { continue; } final int thisRowHeight = (int)(child.getAlpha() * mRowHeight); float alpha = child.getAlpha(); if (alpha > 1.0f) { if (DEBUG) { Slog.w(TAG, "alpha=" + alpha + " > 1!!! " + child); } alpha = 1f; } final int thisRowHeight = (int)(alpha * mRowHeight); if (DEBUG) { Slog.d(TAG, String.format( "laying out child #%d: (0, %d, %d, %d) h=%d", Loading Loading
packages/SystemUI/res/layout/status_bar_expanded.xml +0 −23 Original line number Diff line number Diff line Loading @@ -91,29 +91,6 @@ android:text="@string/status_bar_no_notifications_title" /> <TextView android:id="@+id/ongoingTitle" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@drawable/title_bar_portrait" android:paddingLeft="5dp" android:textAppearance="@style/TextAppearance.StatusBar.Title" android:text="@string/status_bar_ongoing_events_title" /> <com.android.systemui.statusbar.policy.NotificationRowLayout android:id="@+id/ongoingItems" android:layout_width="match_parent" android:layout_height="wrap_content" systemui:rowHeight="@dimen/notification_height" /> <TextView android:id="@+id/latestTitle" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@drawable/title_bar_portrait" android:paddingLeft="5dp" android:textAppearance="@style/TextAppearance.StatusBar.Title" android:text="@string/status_bar_latest_events_title" /> <com.android.systemui.statusbar.policy.NotificationRowLayout android:id="@+id/latestItems" android:layout_width="match_parent" Loading
packages/SystemUI/res/values/dimens.xml +3 −0 Original line number Diff line number Diff line Loading @@ -57,4 +57,7 @@ <!-- opacity at which Notification icons will be drawn in the status bar --> <item type="dimen" name="status_bar_icon_drawing_alpha">40%</item> <!-- gap on either side of status bar notification icons --> <dimen name="status_bar_icon_padding">0dp</dimen> </resources>
packages/SystemUI/src/com/android/systemui/statusbar/phone/IconMerger.java +6 −5 Original line number Diff line number Diff line Loading @@ -44,14 +44,15 @@ public class IconMerger extends LinearLayout { mMoreView = new StatusBarIconView(context, "more", null); mMoreView.set(mMoreIcon); addView(mMoreView, 0, new LinearLayout.LayoutParams(mIconSize, mIconSize)); super.addView(mMoreView, 0, new LinearLayout.LayoutParams(mIconSize, mIconSize)); } public void addView(StatusBarIconView v, int index) { if (index == 0) { throw new RuntimeException("Attempt to put view before the more view: " + v); public void addView(StatusBarIconView v, int index, LinearLayout.LayoutParams p) { super.addView(v, index+1, p); } addView(v, index, new LinearLayout.LayoutParams(mIconSize, mIconSize)); public void addView(StatusBarIconView v, int index) { super.addView(v, index+1, new LinearLayout.LayoutParams(mIconSize, mIconSize)); } @Override Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +257 −109 File changed.Preview size limit exceeded, changes collapsed. Show changes
packages/SystemUI/src/com/android/systemui/statusbar/policy/NotificationRowLayout.java +8 −1 Original line number Diff line number Diff line Loading @@ -324,7 +324,14 @@ public class NotificationRowLayout extends ViewGroup implements SwipeHelper.Call if (child.getVisibility() == GONE) { continue; } final int thisRowHeight = (int)(child.getAlpha() * mRowHeight); float alpha = child.getAlpha(); if (alpha > 1.0f) { if (DEBUG) { Slog.w(TAG, "alpha=" + alpha + " > 1!!! " + child); } alpha = 1f; } final int thisRowHeight = (int)(alpha * mRowHeight); if (DEBUG) { Slog.d(TAG, String.format( "laying out child #%d: (0, %d, %d, %d) h=%d", Loading