Home
last modified time | relevance | path

Searched refs:RTL (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/text/
DBidiFormatterTest.java47 "", 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()
DMeasuredParagraphTest.java38 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()
DLayoutTest.java695 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()
DStaticLayoutTest.java93 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/
DQSHeaderInfoLayout.kt68 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/
DLayoutDirection.java43 public static final int RTL = 1; field in LayoutDirection
/frameworks/minikin/tests/unittest/
DBidiUtilsTest.cpp45 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()
DLayoutTest.cpp346 Layout rtlLayout(text, range, Bidi::RTL, paint, StartHyphenEdit::NO_EDIT, in TEST_F()
/frameworks/minikin/libs/minikin/
DBidiUtils.cpp36 case Bidi::RTL: in bidiToUBidiLevel()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/resources/
DIconLoader.java108 if (mDirection == LayoutDirection.RTL) { in getIcon()
DSysUiResources.java73 LayoutDirection dir = isRtl ? LayoutDirection.RTL : null; in loadIcon()
/frameworks/base/core/java/android/text/
DBidiFormatter.java425 isRtl ? TextDirectionHeuristics.RTL : TextDirectionHeuristics.LTR)); in unicodeWrap()
436 isRtl ? TextDirectionHeuristics.RTL : TextDirectionHeuristics.LTR)); in unicodeWrap()
DTextDirectionHeuristics.java46 public static final TextDirectionHeuristic RTL = field in TextDirectionHeuristics
DAndroidBidi.java79 case Layout.DIR_REQUEST_RTL: paraLevel = Bidi.RTL; break; in bidi()
DMeasuredParagraph.java484 } else if (textDir == TextDirectionHeuristics.RTL) { in resetAndAnalyzeBidi()
/frameworks/minikin/include/minikin/
DLayout.h49 RTL = 0b0001, // Must be same with Paint.BIDI_RTL enumerator
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DIllustration.java216 if (layoutDirection == LayoutDirection.RTL) { in shouldMirrorDrawable()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DCustomBar.java109 LayoutDirection dir = isRtl ? LayoutDirection.RTL : null; in loadIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DMediaNotificationProcessor.java150 LayoutDirection.RTL); in processNotification()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DSignalDrawable.java182 boolean isRtl = getLayoutDirection() == LayoutDirection.RTL; in draw()
/frameworks/layoutlib/bridge/src/android/graphics/
DBidiRenderer.java110 boolean isRtl = visualRun.getDirection() == Bidi.RTL; in renderText()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/datetime/
DZoneGetter.java352 isRtl ? TextDirectionHeuristicsCompat.RTL : TextDirectionHeuristicsCompat.LTR); in getGmtOffsetText()
/frameworks/base/graphics/java/android/graphics/drawable/
DLayerDrawable.java1042 final boolean isLayoutRtl = getLayoutDirection() == LayoutDirection.RTL; in getPadding()
1556 final boolean isLayoutRtl = layoutDirection == LayoutDirection.RTL; in updateLayerBoundsInternal()
1657 final boolean isLayoutRtl = getLayoutDirection() == LayoutDirection.RTL;
DNinePatchDrawable.java377 return isAutoMirrored() && getLayoutDirection() == LayoutDirection.RTL; in needsMirroring()
/frameworks/base/apct-tests/perftests/core/src/android/text/
DStaticLayoutPerfTest.java186 .setTextDirection(TextDirectionHeuristics.RTL) in testCreate_PrecomputedText_NoStyled_Greedy_NoHyphenation_DirDifferent()

12