Home
last modified time | relevance | path

Searched refs:getLayoutDirectionFromLocale (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/text/
DTextUtilsTest.java633 assertEquals(View.LAYOUT_DIRECTION_LTR, TextUtils.getLayoutDirectionFromLocale(null)); in testGetLayoutDirectionFromLocale()
635 TextUtils.getLayoutDirectionFromLocale(Locale.ROOT)); in testGetLayoutDirectionFromLocale()
637 TextUtils.getLayoutDirectionFromLocale(Locale.forLanguageTag("en"))); in testGetLayoutDirectionFromLocale()
639 TextUtils.getLayoutDirectionFromLocale(Locale.forLanguageTag("en-US"))); in testGetLayoutDirectionFromLocale()
641 TextUtils.getLayoutDirectionFromLocale(Locale.forLanguageTag("az"))); in testGetLayoutDirectionFromLocale()
643 TextUtils.getLayoutDirectionFromLocale(Locale.forLanguageTag("az-AZ"))); in testGetLayoutDirectionFromLocale()
645 TextUtils.getLayoutDirectionFromLocale(Locale.forLanguageTag("az-Latn"))); in testGetLayoutDirectionFromLocale()
647 TextUtils.getLayoutDirectionFromLocale(Locale.forLanguageTag("en-EG"))); in testGetLayoutDirectionFromLocale()
649 TextUtils.getLayoutDirectionFromLocale(Locale.forLanguageTag("ar-Latn"))); in testGetLayoutDirectionFromLocale()
652 TextUtils.getLayoutDirectionFromLocale(Locale.forLanguageTag("ar"))); in testGetLayoutDirectionFromLocale()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DBilingualSuggestedLocaleAdapter.java58 if (TextUtils.getLayoutDirectionFromLocale(secondaryLocale) == View.LAYOUT_DIRECTION_RTL) { in BilingualSuggestedLocaleAdapter()
178 int layoutDir = TextUtils.getLayoutDirectionFromLocale(localeInfo.getParent()); in setLocaleToListItem()
DSuggestedLocaleAdapter.java434 int layoutDir = TextUtils.getLayoutDirectionFromLocale(item.getParent()); in updateTextView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsLayout.java106 return TextUtils.getLayoutDirectionFromLocale(Locale.getDefault()); in getCurrentLayoutDirection()
/frameworks/base/core/java/android/text/
DTextDirectionHeuristics.java296 final int dir = TextUtils.getLayoutDirectionFromLocale(java.util.Locale.getDefault()); in defaultIsRtl()
DBidiFormatter.java527 return (TextUtils.getLayoutDirectionFromLocale(locale) == View.LAYOUT_DIRECTION_RTL); in isRtlLocale()
DTextUtils.java2164 public static int getLayoutDirectionFromLocale(Locale locale) { in getLayoutDirectionFromLocale() method in TextUtils
/frameworks/opt/localepicker/src/com/android/localepicker/
DSuggestedLocaleAdapter.java211 int layoutDir = TextUtils.getLayoutDirectionFromLocale(item.getParent()); in getView()
/frameworks/base/core/java/android/text/format/
DFormatter.java84 if (TextUtils.getLayoutDirectionFromLocale(locale) == View.LAYOUT_DIRECTION_RTL) { in bidiWrap()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/
DCarSetupWizardLayout.java516 int direction = TextUtils.getLayoutDirectionFromLocale(locale); in applyLocale()
DCarSetupWizardBaseLayout.java711 int direction = TextUtils.getLayoutDirectionFromLocale(locale); in applyLocale()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/datetime/
DZoneGetter.java385 boolean isRtl = TextUtils.getLayoutDirectionFromLocale(locale) == View.LAYOUT_DIRECTION_RTL; in getGmtOffsetText()
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/
DCarSetupWizardCompatLayoutTest.java523 .setLayoutDirection(TextUtils.getLayoutDirectionFromLocale(LOCALE_EN_US)); in testApplyUpdatedLocaleWhenSplitNavEnabled()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardClockSwitchController.java644 return TextUtils.getLayoutDirectionFromLocale(Locale.getDefault()); in getCurrentLayoutDirection()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DPeopleTileViewHelper.java204 mIsLeftToRight = TextUtils.getLayoutDirectionFromLocale(Locale.getDefault()) in PeopleTileViewHelper()
524 boolean isLeftToRight = TextUtils.getLayoutDirectionFromLocale(Locale.getDefault()) in setCommonRemoteViewsFields()
/frameworks/base/core/java/android/widget/
DTimePickerClockDelegate.java461 if (TextUtils.getLayoutDirectionFromLocale(mLocale) == View.LAYOUT_DIRECTION_LTR) {
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperCropper.java426 boolean rtl = TextUtils.getLayoutDirectionFromLocale(Locale.getDefault()) in getDefaultCrops()
DWallpaperManagerService.java2294 boolean rtl = TextUtils.getLayoutDirectionFromLocale(Locale.getDefault()) in getBitmapCrops()
2311 boolean rtl = TextUtils.getLayoutDirectionFromLocale(Locale.getDefault()) in getFutureBitmapCrops()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DFullScreenMagnificationController.java552 .getLayoutDirectionFromLocale(Locale.getDefault()); in requestRectangleOnScreen()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationBar.java892 final int ld = TextUtils.getLayoutDirectionFromLocale(locale); in onConfigurationChanged()
/frameworks/base/core/java/android/content/res/
DConfiguration.java2415 final int layoutDirection = 1 + TextUtils.getLayoutDirectionFromLocale(loc); in setLayoutDirection()
/frameworks/base/core/java/android/view/
DView.java22498 TextUtils.getLayoutDirectionFromLocale(Locale.getDefault()))) { in resolveLayoutDirection()
/frameworks/base/boot/
Dboot-image-profile.txt14987 HSPLandroid/text/TextUtils;->getLayoutDirectionFromLocale(Ljava/util/Locale;)I
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt29957 method public static int getLayoutDirectionFromLocale(java.util.Locale);
/frameworks/base/config/
Dboot-image-profile.txt15051 HSPLandroid/text/TextUtils;->getLayoutDirectionFromLocale(Ljava/util/Locale;)I

12