Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/CollapsedStatusBarFragment.java +11 −0 Original line number Diff line number Diff line Loading @@ -179,6 +179,17 @@ public class CollapsedStatusBarFragment extends Fragment implements CommandQueue showNotificationIconArea(false); } public void showHideNotificationIcon(){ Log.e("showHideNotificationIcon", "showHideNotificationIcon ......Testing.... "); ViewGroup notificationIconArea = mStatusBar.findViewById(R.id.notification_icon_area); notificationIconArea.setVisibility(View.GONE); } @Override public void disable(int displayId, int state1, int state2, boolean animate) { if (displayId != getContext().getDisplayId()) { Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusIconContainer.java +8 −1 Original line number Diff line number Diff line Loading @@ -328,7 +328,7 @@ public class StatusIconContainer extends AlphaOptimizedLinearLayout { } // Stole this from NotificationIconContainer. Not optimal but keeps the layout logic clean if (isLayoutRtl()) { if (!isLayoutRtl()) { for (int i = 0; i < childCount; i++) { View child = getChildAt(i); StatusIconState state = getViewStateFromChild(child); Loading @@ -337,6 +337,13 @@ public class StatusIconContainer extends AlphaOptimizedLinearLayout { } } public void MoveLeftRightSystemIcon(){ Log.e("MoveLeftRightSystemIcon", "MoveLeftRightSystemIcon ......Testing "); } private void applyIconStates() { for (int i = 0; i < getChildCount(); i++) { View child = getChildAt(i); Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/CollapsedStatusBarFragment.java +11 −0 Original line number Diff line number Diff line Loading @@ -179,6 +179,17 @@ public class CollapsedStatusBarFragment extends Fragment implements CommandQueue showNotificationIconArea(false); } public void showHideNotificationIcon(){ Log.e("showHideNotificationIcon", "showHideNotificationIcon ......Testing.... "); ViewGroup notificationIconArea = mStatusBar.findViewById(R.id.notification_icon_area); notificationIconArea.setVisibility(View.GONE); } @Override public void disable(int displayId, int state1, int state2, boolean animate) { if (displayId != getContext().getDisplayId()) { Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusIconContainer.java +8 −1 Original line number Diff line number Diff line Loading @@ -328,7 +328,7 @@ public class StatusIconContainer extends AlphaOptimizedLinearLayout { } // Stole this from NotificationIconContainer. Not optimal but keeps the layout logic clean if (isLayoutRtl()) { if (!isLayoutRtl()) { for (int i = 0; i < childCount; i++) { View child = getChildAt(i); StatusIconState state = getViewStateFromChild(child); Loading @@ -337,6 +337,13 @@ public class StatusIconContainer extends AlphaOptimizedLinearLayout { } } public void MoveLeftRightSystemIcon(){ Log.e("MoveLeftRightSystemIcon", "MoveLeftRightSystemIcon ......Testing "); } private void applyIconStates() { for (int i = 0; i < getChildCount(); i++) { View child = getChildAt(i); Loading