/frameworks/base/core/java/android/util/ |
H A D | LayoutDirection.java | 21 * or right-to-left (RTL). It can also be inherited (from a parent) or deduced from the default 43 public static final int RTL = 1; field in class:LayoutDirection
|
/frameworks/support/core-utils/tests/java/android/support/v4/text/ |
H A D | BidiFormatterTest.java | 37 private static final BidiFormatter RTL_FMT = BidiFormatter.getInstance(true /* RTL context */); 42 new BidiFormatter.Builder(true /* RTL context */).stereoReset(false).build(); 94 LTR_FMT_EXIT_RESET.unicodeWrap(".", TextDirectionHeuristicsCompat.RTL)); 95 assertEquals("uniform dir opposite to RTL context", 98 assertEquals("uniform dir opposite to RTL context, stereo reset", 101 assertEquals("uniform dir opposite to RTL context, stereo reset, no isolation", 104 assertEquals("neutral treated as opposite to RTL context", 123 assertEquals("exit dir opposite to RTL context", 125 RTL_FMT_EXIT_RESET.unicodeWrap(HE + EN, TextDirectionHeuristicsCompat.RTL)); 126 assertEquals("exit dir opposite to RTL contex [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/text/ |
H A D | AndroidBidi_Delegate.java | 43 dir = Bidi.RTL;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | IconLoader.java | 105 // if (mDirection == LayoutDirection.RTL || mDirection == LayoutDirection.LTR) { 106 if (mDirection == LayoutDirection.RTL) {
|
H A D | CustomBar.java | 110 LayoutDirection dir = isRtl ? LayoutDirection.RTL : null;
|
/frameworks/base/core/java/android/text/ |
H A D | TextDirectionHeuristics.java | 46 public static final TextDirectionHeuristic RTL = field in class:TextDirectionHeuristics 84 /* Returns STATE_TRUE for strong RTL characters, STATE_FALSE for strong LTR characters, and 104 // Unassigned RTL character 195 * Returns whether the range of text is RTL according to the algorithm.
|
H A D | BidiFormatter.java | 57 * number.) Still, the safest policy is to do the "reset" on both ends of each string, since RTL 149 * @param rtlContext Whether the context directionality is RTL. 167 * @param isRtlContext Whether the context is RTL or not. 222 true /* RTL context */, 245 * @param rtlContext Whether the context directionality is RTL. 263 * @param isRtlContext Whether the context directionality is RTL or not. 274 * @return Whether the context directionality is RTL 300 * @return LRM for RTL text in LTR context; RLM for LTR text in RTL context; 329 * @return LRM for RTL tex [all...] |
H A D | MeasuredText.java | 148 } else if (textDir == TextDirectionHeuristics.RTL) {
|
/frameworks/support/compat/java/android/support/v4/text/ |
H A D | TextDirectionHeuristicsCompat.java | 39 public static final android.support.v4.text.TextDirectionHeuristicCompat RTL = field in class:TextDirectionHeuristicsCompat 171 * Returns whether the range of text is RTL according to the algorithm.
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | PagingIndicator.java | 422 static final float RTL = -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 | 53 * number.) Still, the safest policy is to do the "reset" on both ends of each string, since RTL 145 * @param rtlContext Whether the context directionality is RTL. 163 * @param isRtlContext Whether the context is RTL or not. 222 true /* RTL context */, 241 * @param rtlContext Whether the context directionality is RTL. 257 * @param isRtlContext Whether the context directionality is RTL or not. 268 * @return Whether the context directionality is RTL 295 * @return LRM for RTL text in LTR context; RLM for LTR text in RTL context; 323 * @return LRM for RTL tex [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/datetime/ |
H A D | ZoneGetter.java | 218 // Ensure that the "GMT+" stays with the "00:00" even if the digits are RTL. 222 isRtl ? TextDirectionHeuristics.RTL : TextDirectionHeuristics.LTR);
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
H A D | Illustration.java | 187 // Flip the illustration for RTL layouts 198 // Flip the illustration for RTL layouts 210 if (layoutDirection == LayoutDirection.RTL) {
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BidiRenderer.java | 115 boolean isRtl = visualRun.getDirection() == Bidi.RTL;
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | LayerDrawable.java | 1034 // Resolve padding for RTL. Relative padding overrides absolute 1036 final boolean isLayoutRtl = getLayoutDirection() == LayoutDirection.RTL; 1544 final boolean isLayoutRtl = layoutDirection == LayoutDirection.RTL; 1558 // Resolve insets for RTL. Relative insets override absolute 1645 final boolean isLayoutRtl = getLayoutDirection() == LayoutDirection.RTL;
|
H A D | NinePatchDrawable.java | 377 return isAutoMirrored() && getLayoutDirection() == LayoutDirection.RTL;
|
H A D | BitmapDrawable.java | 463 return isAutoMirrored() && getLayoutDirection() == LayoutDirection.RTL;
|
H A D | DrawableContainer.java | 100 return isAutoMirrored() && getLayoutDirection() == LayoutDirection.RTL;
|
H A D | VectorDrawable.java | 97 * RTL (right-to-left). Default is false.</dd> 784 return isAutoMirrored() && getLayoutDirection() == LayoutDirection.RTL;
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
H A D | VectorDrawableCompat.java | 102 * RTL (right-to-left). Default is false.</dd> 322 // Handle RTL mirroring. 814 // We don't support RTL auto mirroring since the getLayoutDirection() is for API 17+. 819 return isAutoMirrored() && getLayoutDirection() == LayoutDirection.RTL;
|
/frameworks/base/core/java/android/widget/ |
H A D | TextView.java | 9812 return TextDirectionHeuristics.RTL;
|
/frameworks/base/core/java/android/view/ |
H A D | View.java | 1985 public static final int LAYOUT_DIRECTION_RTL = LayoutDirection.RTL; 2067 * Text direction is using "any-RTL" algorithm. The paragraph direction is RTL if it contains 2068 * any strong RTL character, otherwise it is LTR if it contains any strong LTR characters. 2079 * Text direction is forced to RTL. 2098 * paragraph direction is RTL. 2422 * Group of bits indicating that RTL properties resolution is done. 4618 // RTL compatibility mode: pre Jelly Bean MR1 case OR no RTL support case. 8222 @ViewDebug.IntToString(from = LAYOUT_DIRECTION_RTL, to = "RTL"), [all...] |