Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusIconContainer.java +16 −8 Original line number Diff line number Diff line Loading @@ -328,18 +328,26 @@ public class StatusIconContainer extends AlphaOptimizedLinearLayout { } // Stole this from NotificationIconContainer. Not optimal but keeps the layout logic clean if (!isLayoutRtl()) { for (int i = 0; i < childCount; i++) { // if (isLayoutRtl()) { // for (int i = 0; i < childCount; i++) { // View child = getChildAt(i); // StatusIconState state = getViewStateFromChild(child); // state.xTranslation = width - state.xTranslation - child.getWidth(); // } // } } public void moveLeftRightSystemIcon(){ Log.e("MoveLeftRightSystemIcon", "MoveLeftRightSystemIcon ......Testing "); for (int i = 0; i < getChildCount(); i++) { View child = getChildAt(i); StatusIconState state = getViewStateFromChild(child); state.xTranslation = width - state.xTranslation - child.getWidth(); } } state.xTranslation = getWidth() - state.xTranslation - child.getWidth(); } public void MoveLeftRightSystemIcon(){ Log.e("MoveLeftRightSystemIcon", "MoveLeftRightSystemIcon ......Testing "); } Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusIconContainer.java +16 −8 Original line number Diff line number Diff line Loading @@ -328,18 +328,26 @@ public class StatusIconContainer extends AlphaOptimizedLinearLayout { } // Stole this from NotificationIconContainer. Not optimal but keeps the layout logic clean if (!isLayoutRtl()) { for (int i = 0; i < childCount; i++) { // if (isLayoutRtl()) { // for (int i = 0; i < childCount; i++) { // View child = getChildAt(i); // StatusIconState state = getViewStateFromChild(child); // state.xTranslation = width - state.xTranslation - child.getWidth(); // } // } } public void moveLeftRightSystemIcon(){ Log.e("MoveLeftRightSystemIcon", "MoveLeftRightSystemIcon ......Testing "); for (int i = 0; i < getChildCount(); i++) { View child = getChildAt(i); StatusIconState state = getViewStateFromChild(child); state.xTranslation = width - state.xTranslation - child.getWidth(); } } state.xTranslation = getWidth() - state.xTranslation - child.getWidth(); } public void MoveLeftRightSystemIcon(){ Log.e("MoveLeftRightSystemIcon", "MoveLeftRightSystemIcon ......Testing "); } Loading