Home
last modified time | relevance | path

Searched refs:calculateRunFlag (Results 1 – 2 of 2) 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()
49 assertThat(TextLine.calculateRunFlag(0, 1, Layout.DIR_RIGHT_TO_LEFT)) 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()
60 assertThat(TextLine.calculateRunFlag(0, 2, Layout.DIR_RIGHT_TO_LEFT)) in calculateRunFlagTest()
63 assertThat(TextLine.calculateRunFlag(1, 2, Layout.DIR_RIGHT_TO_LEFT)) 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()
77 assertThat(TextLine.calculateRunFlag(0, 3, Layout.DIR_RIGHT_TO_LEFT)) in calculateRunFlagTest()
[all …]
/frameworks/base/core/java/android/text/
DTextLine.java339 public static int calculateRunFlag(int bidiRunIndex, int bidiRunCount, int lineDirection) { in calculateRunFlag() method in TextLine
441 final int runFlag = calculateRunFlag(runIndex, runCount, mDir); in draw()
511 final int runFlag = calculateRunFlag(runIndex, runCount, mDir); in shape()
591 final int runFlag = calculateRunFlag(runIndex, runCount, mDir); in measure()
695 final int runFlag = calculateRunFlag(runIndex, runCount, mDir);
761 final int runFlag = calculateRunFlag(runIndex, runCount, mDir);