/frameworks/base/core/tests/coretests/src/android/text/ |
D | BidiFormatterTest.java | 47 "", RTL_FMT.markAfter(HE, TextDirectionHeuristics.RTL)); in testMarkAfter() 52 RLM, RTL_FMT.markAfter(HE + EN, TextDirectionHeuristics.RTL)); in testMarkAfter() 55 LRM, LTR_FMT.markAfter(HE + EN, TextDirectionHeuristics.RTL)); in testMarkAfter() 62 "", RTL_FMT.markAfter(".", TextDirectionHeuristics.RTL)); in testMarkAfter() 70 "", RTL_FMT.markBefore(HE, TextDirectionHeuristics.RTL)); in testMarkBefore() 75 RLM, RTL_FMT.markBefore(EN + HE, TextDirectionHeuristics.RTL)); in testMarkBefore() 78 LRM, LTR_FMT.markBefore(EN + HE, TextDirectionHeuristics.RTL)); in testMarkBefore() 85 "", RTL_FMT.markBefore(".", TextDirectionHeuristics.RTL)); in testMarkBefore()
|
D | MeasuredParagraphTest.java | 38 private static final TextDirectionHeuristic RTL = TextDirectionHeuristics.RTL; field in MeasuredParagraphTest 80 MeasuredParagraph mt2 = MeasuredParagraph.buildForBidi("_VVV_", 1, 4, RTL, mt); in buildForBidi() 115 MeasuredParagraph.buildForMeasurement(PAINT, "_VVV_", 1, 4, RTL, mt); in buildForMeasurement() 153 PAINT, "_VVV_", 1, 4, RTL, false, false, null /* no hint */, mt); in buildForStaticLayout() 171 MeasuredParagraph.buildForMeasurement(PAINT, "X…", 0, 2, RTL, null); in testFor70146381()
|
D | LayoutTest.java | 695 private static final String RTL = "\u05D0"; // HEBREW LETTER ALEF field in LayoutTest 724 RTL + " " + RTL + RTL + " " + RTL + RTL + RTL, in testPrimaryIsTrailingPrevious() 727 LTR + RTL + LTR + RTL + LTR, in testPrimaryIsTrailingPrevious() 730 RTL + LTR + RTL + LTR + RTL, in testPrimaryIsTrailingPrevious() 741 LTR + RLI + LTR + RTL + PDI + LTR, in testPrimaryIsTrailingPrevious() 744 RTL + LRI + RTL + LTR + PDI + RTL, in testPrimaryIsTrailingPrevious()
|
D | StaticLayoutTest.java | 93 builder.setTextDirection(TextDirectionHeuristics.RTL); in testBuilder_textDirection() 95 assertEquals(TextDirectionHeuristics.RTL, in testBuilder_textDirection() 705 .setTextDirection(TextDirectionHeuristics.RTL) in testGetOffset_UNICODE_Hebrew()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSHeaderInfoLayout.kt | 68 private fun View.layoutView(pWidth: Int, pHeight: Int, offset: Int, RTL: Boolean): Int { in layoutView() 69 location.setLocationFromOffset(pWidth, offset, this.measuredWidth, RTL) in layoutView() 121 fun setLocationFromOffset(parentWidth: Int, offset: Int, width: Int, RTL: Boolean) { in setLocationFromOffset() 122 if (RTL) { in setLocationFromOffset()
|
/frameworks/base/core/java/android/util/ |
D | LayoutDirection.java | 43 public static final int RTL = 1; field in LayoutDirection
|
/frameworks/minikin/tests/unittest/ |
D | BidiUtilsTest.cpp | 45 BidiText bidiText(text, Range(0, ltrLength), Bidi::RTL); in TEST() 104 BidiText bidiText(text, Range(0, rtlLength), Bidi::RTL); in TEST() 172 BidiText bidiText(text, Range(0, text.size()), Bidi::RTL); in TEST() 260 BidiText bidiText(text, Range(0, text.size()), Bidi::RTL); in TEST() 353 BidiText bidiText(text, Range(0, text.size()), Bidi::RTL); in TEST() 458 BidiText bidiText(text, Range(0, text.size()), Bidi::RTL); in TEST()
|
D | LayoutTest.cpp | 346 Layout rtlLayout(text, range, Bidi::RTL, paint, StartHyphenEdit::NO_EDIT, in TEST_F()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/resources/ |
D | IconLoader.java | 108 if (mDirection == LayoutDirection.RTL) { in getIcon()
|
D | SysUiResources.java | 73 LayoutDirection dir = isRtl ? LayoutDirection.RTL : null; in loadIcon()
|
/frameworks/minikin/libs/minikin/ |
D | BidiUtils.cpp | 36 case Bidi::RTL: in bidiToUBidiLevel()
|
/frameworks/base/core/java/android/text/ |
D | BidiFormatter.java | 425 isRtl ? TextDirectionHeuristics.RTL : TextDirectionHeuristics.LTR)); in unicodeWrap() 436 isRtl ? TextDirectionHeuristics.RTL : TextDirectionHeuristics.LTR)); in unicodeWrap()
|
D | TextDirectionHeuristics.java | 46 public static final TextDirectionHeuristic RTL = field in TextDirectionHeuristics
|
D | AndroidBidi.java | 79 case Layout.DIR_REQUEST_RTL: paraLevel = Bidi.RTL; break; in bidi()
|
D | MeasuredParagraph.java | 484 } else if (textDir == TextDirectionHeuristics.RTL) { in resetAndAnalyzeBidi()
|
/frameworks/minikin/include/minikin/ |
D | Layout.h | 49 RTL = 0b0001, // Must be same with Paint.BIDI_RTL enumerator
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
D | Illustration.java | 216 if (layoutDirection == LayoutDirection.RTL) { in shouldMirrorDrawable()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | CustomBar.java | 109 LayoutDirection dir = isRtl ? LayoutDirection.RTL : null; in loadIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | MediaNotificationProcessor.java | 150 LayoutDirection.RTL); in processNotification()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | SignalDrawable.java | 190 boolean isRtl = getLayoutDirection() == LayoutDirection.RTL; in draw()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | BidiRenderer.java | 110 boolean isRtl = visualRun.getDirection() == Bidi.RTL; in renderText()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | LayerDrawable.java | 1042 final boolean isLayoutRtl = getLayoutDirection() == LayoutDirection.RTL; in getPadding() 1556 final boolean isLayoutRtl = layoutDirection == LayoutDirection.RTL; in updateLayerBoundsInternal() 1657 final boolean isLayoutRtl = getLayoutDirection() == LayoutDirection.RTL;
|
D | NinePatchDrawable.java | 377 return isAutoMirrored() && getLayoutDirection() == LayoutDirection.RTL; in needsMirroring()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/datetime/ |
D | ZoneGetter.java | 363 isRtl ? TextDirectionHeuristicsCompat.RTL : TextDirectionHeuristicsCompat.LTR); in getGmtOffsetText()
|
/frameworks/base/apct-tests/perftests/core/src/android/text/ |
D | StaticLayoutPerfTest.java | 186 .setTextDirection(TextDirectionHeuristics.RTL) in testCreate_PrecomputedText_NoStyled_Greedy_NoHyphenation_DirDifferent()
|