Home
last modified time | relevance | path

Searched refs:DIR_LEFT_TO_RIGHT (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/
DTextLineLetterSpacingTest.kt47 assertThat(TextLine.calculateRunFlag(0, 1, Layout.DIR_LEFT_TO_RIGHT)) in calculateRunFlagTest()
54 assertThat(TextLine.calculateRunFlag(0, 2, Layout.DIR_LEFT_TO_RIGHT)) in calculateRunFlagTest()
57 assertThat(TextLine.calculateRunFlag(1, 2, Layout.DIR_LEFT_TO_RIGHT)) in calculateRunFlagTest()
68 assertThat(TextLine.calculateRunFlag(0, 3, Layout.DIR_LEFT_TO_RIGHT)) in calculateRunFlagTest()
71 assertThat(TextLine.calculateRunFlag(1, 3, Layout.DIR_LEFT_TO_RIGHT)) in calculateRunFlagTest()
74 assertThat(TextLine.calculateRunFlag(2, 3, Layout.DIR_LEFT_TO_RIGHT)) in calculateRunFlagTest()
DMeasuredParagraphTest.java72 assertEquals(Layout.DIR_LEFT_TO_RIGHT, mt.getParagraphDir()); in buildForBidi()
103 assertEquals(Layout.DIR_LEFT_TO_RIGHT, mt.getParagraphDir()); in buildForMeasurement()
144 assertEquals(Layout.DIR_LEFT_TO_RIGHT, mt.getParagraphDir()); in buildForStaticLayout()
DStaticLayoutBidiTest.java42 public static final int L = Layout.DIR_LEFT_TO_RIGHT;
DTextLineJustificationTest.kt40 set(paint, cs, 0, cs.length, Layout.DIR_LEFT_TO_RIGHT, Layout.DIRS_ALL_LEFT_TO_RIGHT, false, in <lambda>()
DTextLineTest.java50 tl.set(paint, line, 0, line.length(), Layout.DIR_LEFT_TO_RIGHT, in stretchesToFullWidth()
DStaticLayoutTest.java118 assertEquals(Layout.DIR_LEFT_TO_RIGHT, l.getParagraphDirection(0)); in testGetters1()
/frameworks/base/core/java/android/text/
DAndroidBidi.java61 return (result & 0x1) == 0 ? Layout.DIR_LEFT_TO_RIGHT : Layout.DIR_RIGHT_TO_LEFT; in bidi()
82 int baseLevel = dir == Layout.DIR_LEFT_TO_RIGHT ? 0 : 1; in directions()
DLayout.java741 align = (dir == DIR_LEFT_TO_RIGHT) ? Alignment.ALIGN_NORMAL : Alignment.ALIGN_OPPOSITE; in getJustifyWidth()
743 align = (dir == DIR_LEFT_TO_RIGHT) ? Alignment.ALIGN_OPPOSITE : Alignment.ALIGN_NORMAL; in getJustifyWidth()
750 if (dir == DIR_LEFT_TO_RIGHT) { in getJustifyWidth()
756 if (dir == DIR_LEFT_TO_RIGHT) { in getJustifyWidth()
886 align = (dir == DIR_LEFT_TO_RIGHT) ? in drawText()
889 align = (dir == DIR_LEFT_TO_RIGHT) ? in drawText()
896 if (dir == DIR_LEFT_TO_RIGHT) { in drawText()
906 if (dir == DIR_LEFT_TO_RIGHT) { in drawText()
1161 align = (dir == DIR_LEFT_TO_RIGHT) ? Alignment.ALIGN_NORMAL : Alignment.ALIGN_OPPOSITE; in getLineStartPos()
1163 align = (dir == DIR_LEFT_TO_RIGHT) ? Alignment.ALIGN_OPPOSITE : Alignment.ALIGN_NORMAL; in getLineStartPos()
[all …]
DBoringLayout.java459 line.set(paint, source, 0, source.length(), Layout.DIR_LEFT_TO_RIGHT, in init()
604 line.set(paint, text, 0, textLength, Layout.DIR_LEFT_TO_RIGHT, in isBoring()
648 return DIR_LEFT_TO_RIGHT; in getParagraphDirection()
DMeasuredParagraph.java204 return Layout.DIR_LEFT_TO_RIGHT; in getParagraphDir()
207 ? Layout.DIR_LEFT_TO_RIGHT : Layout.DIR_RIGHT_TO_LEFT; in getParagraphDir()
740 mParaDir = Layout.DIR_LEFT_TO_RIGHT; in resetAndAnalyzeBidi()
DTextLine.java358 if (lineDirection == Layout.DIR_LEFT_TO_RIGHT) { in calculateRunFlag()
365 if (lineDirection == Layout.DIR_LEFT_TO_RIGHT) { in calculateRunFlag()
843 if ((mDir == Layout.DIR_LEFT_TO_RIGHT) == runIsRtl) {
876 if (drawBounds != null && (mDir == Layout.DIR_LEFT_TO_RIGHT) == runIsRtl) {
902 if ((mDir == Layout.DIR_LEFT_TO_RIGHT) == runIsRtl) {
DDynamicLayout.java606 start[DIR] = DIR_LEFT_TO_RIGHT << DIR_SHIFT; in generate()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DTextInterpolator.kt527 if (getParagraphDirection(lineNo) == Layout.DIR_LEFT_TO_RIGHT) { in Layout()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt29727 field public static final int DIR_LEFT_TO_RIGHT = 1; // 0x1
/frameworks/base/core/api/
Dcurrent.txt47797 field public static final int DIR_LEFT_TO_RIGHT = 1; // 0x1