Searched refs:LTR (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/core/java/android/util/
H A DLayoutDirection.java20 * A class for defining layout directions. A layout direction can be left-to-right (LTR)
38 public static final int LTR = 0; field in class:LayoutDirection
/frameworks/support/core-utils/tests/java/android/support/v4/text/
H A DBidiFormatterTest.java37 private static final BidiFormatter LTR_FMT = BidiFormatter.getInstance(false /* LTR context */);
41 new BidiFormatter.Builder(false /* LTR context */).stereoReset(false).build();
84 assertEquals("uniform dir opposite to LTR context",
87 assertEquals("uniform dir opposite to LTR context, stereo reset",
90 assertEquals("uniform dir opposite to LTR context, stereo reset, no isolation",
93 assertEquals("neutral treated as opposite to LTR context",
107 RTL_FMT_EXIT_RESET.unicodeWrap(".", TextDirectionHeuristicsCompat.LTR));
114 assertEquals("exit dir opposite to LTR context",
116 LTR_FMT_EXIT_RESET.unicodeWrap(EN + HE, TextDirectionHeuristicsCompat.LTR));
117 assertEquals("exit dir opposite to LTR contex
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/text/
H A DAndroidBidi_Delegate.java40 dir = Bidi.LTR;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyguardUserSwitcherScrim.java56 boolean isLtr = getLayoutDirection() == LayoutDirection.LTR;
102 boolean isLtr = getLayoutDirection() == LayoutDirection.LTR;
/frameworks/base/core/java/android/text/
H A DTextDirectionHeuristics.java40 public static final TextDirectionHeuristic LTR = field in class:TextDirectionHeuristics
84 /* Returns STATE_TRUE for strong RTL characters, STATE_FALSE for strong LTR characters, and
122 // Unassigned LTR character
H A DMeasuredText.java135 if ((textDir == TextDirectionHeuristics.LTR ||
146 if (textDir == TextDirectionHeuristics.LTR) {
H A DBidiFormatter.java76 * the same as the context, but is either constant (e.g. urls are always LTR) or otherwise known.
217 false /* LTR context */,
300 * @return LRM for RTL text in LTR context; RLM for LTR text in RTL context;
329 * @return LRM for RTL text in LTR context; RLM for LTR text in RTL context;
375 * LRE+{@code str}+PDF for LTR text.
423 isRtl ? TextDirectionHeuristics.RTL : TextDirectionHeuristics.LTR));
434 isRtl ? TextDirectionHeuristics.RTL : TextDirectionHeuristics.LTR));
521 * @param locale The Locale whose directionality will be checked to be RTL or LTR
[all...]
/frameworks/support/compat/java/android/support/v4/text/
H A DTextDirectionHeuristicsCompat.java33 public static final android.support.v4.text.TextDirectionHeuristicCompat LTR = field in class:TextDirectionHeuristicsCompat
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DPagingIndicator.java463 static final float LTR = 1; field in class:PagingIndicator.Dot
475 float mLayoutDirection = mIsLtr ? LTR : RTL;
549 mLayoutDirection = mIsLtr ? LTR : RTL;
/frameworks/support/core-utils/java/android/support/v4/text/
H A DBidiFormatter.java72 * the same as the context, but is either constant (e.g. urls are always LTR) or otherwise known.
217 false /* LTR context */,
295 * @return LRM for RTL text in LTR context; RLM for LTR text in RTL context;
323 * @return LRM for RTL text in LTR context; RLM for LTR text in RTL context;
367 * LRE+{@code str}+PDF for LTR text.
415 isRtl ? TextDirectionHeuristicsCompat.RTL : TextDirectionHeuristicsCompat.LTR));
426 isRtl ? TextDirectionHeuristicsCompat.RTL : TextDirectionHeuristicsCompat.LTR));
511 * @param locale The Locale whose directionality will be checked to be RTL or LTR
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/datetime/
H A DZoneGetter.java296 isRtl ? TextDirectionHeuristicsCompat.RTL : TextDirectionHeuristicsCompat.LTR);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmMmiCode.java1486 * Used to format a string that should be displayed as LTR even in RTL locales
1490 return str == null ? str : fmt.unicodeWrap(str, TextDirectionHeuristics.LTR, true);
/frameworks/base/core/java/android/widget/
H A DTextView.java2529 // PasswordTransformationMethod always have LTR text direction heuristics returned by
11302 // passwords fields should be LTR
11303 return TextDirectionHeuristics.LTR;
11309 // Phone numbers must be in the direction of the locale's digits. Most locales have LTR
11322 return TextDirectionHeuristics.LTR;
11338 return TextDirectionHeuristics.LTR;
/frameworks/base/core/java/android/view/
H A DView.java2368 public static final int LAYOUT_DIRECTION_LTR = LayoutDirection.LTR;
2457 * any strong RTL character, otherwise it is LTR if it contains any strong LTR characters.
2463 * Text direction is forced to LTR.
2480 * paragraph direction is LTR.
2608 * layoutDirection is LTR, and ALIGN_RIGHT otherwise.
2616 * layoutDirection is LTR, and ALIGN_LEFT otherwise.
9603 @ViewDebug.IntToString(from = LAYOUT_DIRECTION_LTR, to = "LTR"),
17017 * Resolve and cache the layout direction. LTR is set initially. This is implicitly supposing
17033 // We cannot resolve yet. LTR i
[all...]

Completed in 4086 milliseconds