/frameworks/base/core/java/android/util/ |
H A D | LayoutDirection.java | 20 * 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 D | BidiFormatterTest.java | 36 private static final BidiFormatter LTR_FMT = BidiFormatter.getInstance(false /* LTR context */); 40 new BidiFormatter.Builder(false /* LTR context */).stereoReset(false).build(); 83 assertEquals("uniform dir opposite to LTR context", 86 assertEquals("uniform dir opposite to LTR context, stereo reset", 89 assertEquals("uniform dir opposite to LTR context, stereo reset, no isolation", 92 assertEquals("neutral treated as opposite to LTR context", 106 RTL_FMT_EXIT_RESET.unicodeWrap(".", TextDirectionHeuristicsCompat.LTR)); 113 assertEquals("exit dir opposite to LTR context", 115 LTR_FMT_EXIT_RESET.unicodeWrap(EN + HE, TextDirectionHeuristicsCompat.LTR)); 116 assertEquals("exit dir opposite to LTR contex [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/text/ |
H A D | AndroidBidi_Delegate.java | 40 dir = Bidi.LTR;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | KeyguardUserSwitcherScrim.java | 56 boolean isLtr = getLayoutDirection() == LayoutDirection.LTR; 102 boolean isLtr = getLayoutDirection() == LayoutDirection.LTR;
|
/frameworks/base/core/java/android/text/ |
H A D | TextDirectionHeuristics.java | 40 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 D | MeasuredText.java | 135 if ((textDir == TextDirectionHeuristics.LTR || 146 if (textDir == TextDirectionHeuristics.LTR) {
|
H A D | BidiFormatter.java | 76 * 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; 371 * LRE+{@code str}+PDF for LTR text. 410 isRtl ? TextDirectionHeuristics.RTL : TextDirectionHeuristics.LTR)); 421 isRtl ? TextDirectionHeuristics.RTL : TextDirectionHeuristics.LTR)); 492 * @param locale The Locale whose directionality will be checked to be RTL or LTR [all...] |
H A D | Layout.java | 777 * @return true if the character is RTL, false if it is LTR 1687 mt.setPara(text, start, end, TextDirectionHeuristics.LTR, null);
|
/frameworks/support/compat/java/android/support/v4/text/ |
H A D | TextDirectionHeuristicsCompat.java | 33 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 D | PagingIndicator.java | 421 static final float LTR = 1; field in class:PagingIndicator.Dot 433 float mLayoutDirection = mIsLtr ? LTR : RTL; 507 mLayoutDirection = mIsLtr ? LTR : RTL;
|
/frameworks/support/core-utils/java/android/support/v4/text/ |
H A D | BidiFormatter.java | 72 * 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 D | ZoneGetter.java | 222 isRtl ? TextDirectionHeuristics.RTL : TextDirectionHeuristics.LTR);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | GsmMmiCode.java | 1470 * Used to format a string that should be displayed as LTR even in RTL locales 1474 return str == null ? str : fmt.unicodeWrap(str, TextDirectionHeuristics.LTR, true);
|
/frameworks/base/core/java/android/widget/ |
H A D | TextView.java | 1943 // PasswordTransformationMethod always have LTR text direction heuristics returned by 9794 // passwords fields should be LTR 9795 return TextDirectionHeuristics.LTR; 9810 return TextDirectionHeuristics.LTR;
|
/frameworks/base/core/java/android/view/ |
H A D | View.java | 1979 public static final int LAYOUT_DIRECTION_LTR = LayoutDirection.LTR; 2068 * any strong RTL character, otherwise it is LTR if it contains any strong LTR characters. 2074 * Text direction is forced to LTR. 2091 * paragraph direction is LTR. 2219 * layoutDirection is LTR, and ALIGN_RIGHT otherwise. 2227 * layoutDirection is LTR, and ALIGN_LEFT otherwise. 8221 @ViewDebug.IntToString(from = LAYOUT_DIRECTION_LTR, to = "LTR"), 15153 * Resolve and cache the layout direction. LTR is set initially. This is implicitly supposing 15169 // We cannot resolve yet. LTR i [all...] |