Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/text/
DTextUtilsTest.java544 assertEquals(View.LAYOUT_DIRECTION_LTR, TextUtils.getLayoutDirectionFromLocale(null)); in testGetLayoutDirectionFromLocale()
546 TextUtils.getLayoutDirectionFromLocale(Locale.ROOT)); in testGetLayoutDirectionFromLocale()
548 TextUtils.getLayoutDirectionFromLocale(Locale.forLanguageTag("en"))); in testGetLayoutDirectionFromLocale()
550 TextUtils.getLayoutDirectionFromLocale(Locale.forLanguageTag("en-US"))); in testGetLayoutDirectionFromLocale()
552 TextUtils.getLayoutDirectionFromLocale(Locale.forLanguageTag("az"))); in testGetLayoutDirectionFromLocale()
554 TextUtils.getLayoutDirectionFromLocale(Locale.forLanguageTag("az-AZ"))); in testGetLayoutDirectionFromLocale()
556 TextUtils.getLayoutDirectionFromLocale(Locale.forLanguageTag("az-Latn"))); in testGetLayoutDirectionFromLocale()
558 TextUtils.getLayoutDirectionFromLocale(Locale.forLanguageTag("en-EG"))); in testGetLayoutDirectionFromLocale()
560 TextUtils.getLayoutDirectionFromLocale(Locale.forLanguageTag("ar-Latn"))); in testGetLayoutDirectionFromLocale()
563 TextUtils.getLayoutDirectionFromLocale(Locale.forLanguageTag("ar"))); in testGetLayoutDirectionFromLocale()
[all …]
/frameworks/support/compat/java/android/support/v4/text/
DTextUtilsCompat.java94 public static int getLayoutDirectionFromLocale(@Nullable Locale locale) { in getLayoutDirectionFromLocale() method in TextUtilsCompat
96 return TextUtils.getLayoutDirectionFromLocale(locale); in getLayoutDirectionFromLocale()
DTextDirectionHeuristicsCompat.java250 … final int dir = TextUtilsCompat.getLayoutDirectionFromLocale(java.util.Locale.getDefault()); in defaultIsRtl()
/frameworks/base/core/java/android/text/
DTextDirectionHeuristics.java296 final int dir = TextUtils.getLayoutDirectionFromLocale(java.util.Locale.getDefault()); in defaultIsRtl()
DBidiFormatter.java525 return (TextUtils.getLayoutDirectionFromLocale(locale) == View.LAYOUT_DIRECTION_RTL); in isRtlLocale()
DTextUtils.java1896 public static int getLayoutDirectionFromLocale(Locale locale) { in getLayoutDirectionFromLocale() method in TextUtils
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/
DTimePicker.java173 boolean isRTL = TextUtils.getLayoutDirectionFromLocale(mConstant.locale) == View in getTimePickerFormat()
/frameworks/base/core/java/android/text/format/
DFormatter.java57 if (TextUtils.getLayoutDirectionFromLocale(locale) == View.LAYOUT_DIRECTION_RTL) { in bidiWrap()
/frameworks/base/core/java/com/android/internal/app/
DSuggestedLocaleAdapter.java202 int layoutDir = TextUtils.getLayoutDirectionFromLocale(item.getParent()); in getView()
/frameworks/support/core-utils/java/android/support/v4/text/
DBidiFormatter.java515 … return (TextUtilsCompat.getLayoutDirectionFromLocale(locale) == ViewCompat.LAYOUT_DIRECTION_RTL); in isRtlLocale()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/datetime/
DZoneGetter.java294 boolean isRtl = TextUtils.getLayoutDirectionFromLocale(locale) == View.LAYOUT_DIRECTION_RTL; in getGmtOffsetText()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMagnificationController.java718 .getLayoutDirectionFromLocale(Locale.getDefault()); in requestRectangleOnScreen()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarFragment.java229 final int ld = TextUtils.getLayoutDirectionFromLocale(locale); in onConfigurationChanged()
DStatusBar.java818 mLayoutDirection = TextUtils.getLayoutDirectionFromLocale(mLocale); in start()
/frameworks/base/core/java/android/content/res/
DConfiguration.java1801 final int layoutDirection = 1 + TextUtils.getLayoutDirectionFromLocale(loc); in setLayoutDirection()
/frameworks/base/core/java/android/view/
DView.java17054 TextUtils.getLayoutDirectionFromLocale(Locale.getDefault()))) {
/frameworks/support/api/
D22.0.0.txt3025 method public static int getLayoutDirectionFromLocale(java.util.Locale);
D22.1.0.txt3186 method public static int getLayoutDirectionFromLocale(java.util.Locale);
D22.2.0.txt3583 method public static int getLayoutDirectionFromLocale(java.util.Locale);
D22.2.1.txt3612 method public static int getLayoutDirectionFromLocale(java.util.Locale);
D25.1.0.txt6114 method public static int getLayoutDirectionFromLocale(java.util.Locale);
D25.0.0.txt5728 method public static int getLayoutDirectionFromLocale(java.util.Locale);
D23.0.0.txt4282 method public static int getLayoutDirectionFromLocale(java.util.Locale);
D25.2.0.txt6114 method public static int getLayoutDirectionFromLocale(java.util.Locale);
D24.2.0.txt5663 method public static int getLayoutDirectionFromLocale(java.util.Locale);

12