Merge "Fix bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)"

This commit is contained in:
Fabrice Di Meglio
2013-01-14 10:33:43 -08:00
committed by Android (Google) Code Review
13 changed files with 7 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 486 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 624 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -838,9 +838,14 @@ public class PhoneStatusBar extends BaseStatusBar {
}
public void refreshAllStatusBarIcons() {
final int count = mStatusIcons.getChildCount();
refreshAllIconsForLayout(mStatusIcons);
refreshAllIconsForLayout(mNotificationIcons);
}
private void refreshAllIconsForLayout(LinearLayout ll) {
final int count = ll.getChildCount();
for (int n = 0; n < count; n++) {
View child = mStatusIcons.getChildAt(n);
View child = ll.getChildAt(n);
if (child instanceof StatusBarIconView) {
((StatusBarIconView) child).updateDrawable();
}