Home
last modified time | relevance | path

Searched refs:mDirections (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/
DStaticLayoutDirectionsTest.java204 if (!Arrays.equals(expected.mDirections, result.mDirections)) { in checkDirections()
206 hexArray(expected.mDirections), in checkDirections()
207 hexArray(result.mDirections)); in checkDirections()
212 if (!Arrays.equals(expected.mDirections, result.mDirections)) { in expectDirections()
213 fail("expected: " + hexArray(expected.mDirections) + in expectDirections()
214 " got: " + hexArray(result.mDirections)); in expectDirections()
/frameworks/base/core/java/android/text/
DTextLine.java51 private Directions mDirections; field in TextLine
104 tl.mDirections = null; in recycle()
143 mDirections = directions; in set()
144 if (mDirections == null) { in set()
216 if (mDirections == Layout.DIRS_ALL_LEFT_TO_RIGHT) { in draw()
220 if (mDirections == Layout.DIRS_ALL_RIGHT_TO_LEFT) { in draw()
227 int[] runs = mDirections.mDirections; in draw()
297 if (mDirections == Layout.DIRS_ALL_LEFT_TO_RIGHT) { in measure()
300 if (mDirections == Layout.DIRS_ALL_RIGHT_TO_LEFT) { in measure()
306 int[] runs = mDirections.mDirections; in measure()
[all …]
DLayout.java907 int[] runs = dirs.mDirections; in isLevelBoundary()
939 int[] runs = dirs.mDirections; in isRtlCharAt()
965 int[] runs = dirs.mDirections; in getRunRange()
982 int[] runs = getLineDirections(line).mDirections; in primaryIsTrailingPrevious()
1343 for (int i = 0; i < dirs.mDirections.length; i += 2) { in getOffsetForHorizontal()
1344 int here = lineStartOffset + dirs.mDirections[i]; in getOffsetForHorizontal()
1345 int there = here + (dirs.mDirections[i+1] & RUN_LENGTH_MASK); in getOffsetForHorizontal()
1346 boolean isRtl = (dirs.mDirections[i+1] & RUN_RTL_FLAG) != 0; in getOffsetForHorizontal()
1668 for (int i = 0; i < dirs.mDirections.length; i += 2) { in addSelection()
1669 int here = linestart + dirs.mDirections[i]; in addSelection()
[all …]