Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/CollapsedStatusBarFragment.java +0 −16 Original line number Diff line number Diff line Loading @@ -164,27 +164,11 @@ public class CollapsedStatusBarFragment extends Fragment implements CommandQueue // Default to showing until we know otherwise. showNotificationIconArea(false); showHideNotificationIconArea(true); } public void showHideNotificationIconArea(boolean isHide){ ViewGroup notificationIconArea = mStatusBar.findViewById(R.id.notification_icon_area); if(isHide){ notificationIconArea.setVisibility(View.GONE); // isLayoutRtl()=false; } else { notificationIconArea.setVisibility(View.INVISIBLE); //isLayoutRtl()=true; } } @Override Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusIconContainer.java +26 −0 Original line number Diff line number Diff line Loading @@ -279,6 +279,32 @@ public class StatusIconContainer extends AlphaOptimizedLinearLayout { // state.xTranslation = width - state.xTranslation - child.getWidth(); // } // } showHideNotificationIconArea(true); } public void showHideNotificationIconArea(boolean isHide){ ViewGroup notificationIconArea = mStatusBar.findViewById(R.id.notification_icon_area); if(isHide){ notificationIconArea.setVisibility(View.GONE); // isLayoutRtl()=false; for (int i = 0; i < childCount; i++) { View child = getChildAt(i); StatusIconState state = getViewStateFromChild(child); state.xTranslation = width - state.xTranslation - child.getWidth(); } } else { notificationIconArea.setVisibility(View.INVISIBLE); //isLayoutRtl()=true; } } private void applyIconStates() { Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/CollapsedStatusBarFragment.java +0 −16 Original line number Diff line number Diff line Loading @@ -164,27 +164,11 @@ public class CollapsedStatusBarFragment extends Fragment implements CommandQueue // Default to showing until we know otherwise. showNotificationIconArea(false); showHideNotificationIconArea(true); } public void showHideNotificationIconArea(boolean isHide){ ViewGroup notificationIconArea = mStatusBar.findViewById(R.id.notification_icon_area); if(isHide){ notificationIconArea.setVisibility(View.GONE); // isLayoutRtl()=false; } else { notificationIconArea.setVisibility(View.INVISIBLE); //isLayoutRtl()=true; } } @Override Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusIconContainer.java +26 −0 Original line number Diff line number Diff line Loading @@ -279,6 +279,32 @@ public class StatusIconContainer extends AlphaOptimizedLinearLayout { // state.xTranslation = width - state.xTranslation - child.getWidth(); // } // } showHideNotificationIconArea(true); } public void showHideNotificationIconArea(boolean isHide){ ViewGroup notificationIconArea = mStatusBar.findViewById(R.id.notification_icon_area); if(isHide){ notificationIconArea.setVisibility(View.GONE); // isLayoutRtl()=false; for (int i = 0; i < childCount; i++) { View child = getChildAt(i); StatusIconState state = getViewStateFromChild(child); state.xTranslation = width - state.xTranslation - child.getWidth(); } } else { notificationIconArea.setVisibility(View.INVISIBLE); //isLayoutRtl()=true; } } private void applyIconStates() { Loading