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.java230 if (!Arrays.equals(expected.mDirections, result.mDirections)) { in checkDirections()
232 hexArray(expected.mDirections), in checkDirections()
233 hexArray(result.mDirections)); in checkDirections()
238 if (!Arrays.equals(expected.mDirections, result.mDirections)) { in expectDirections()
239 fail("expected: " + hexArray(expected.mDirections) + in expectDirections()
240 " got: " + hexArray(result.mDirections)); in expectDirections()
/frameworks/base/core/java/android/text/
DTextLine.java53 private Directions mDirections; field in TextLine
102 tl.mDirections = null; in recycle()
141 mDirections = directions; in set()
142 if (mDirections == null) { in set()
195 if (mDirections == Layout.DIRS_ALL_LEFT_TO_RIGHT) { in draw()
199 if (mDirections == Layout.DIRS_ALL_RIGHT_TO_LEFT) { in draw()
206 int[] runs = mDirections.mDirections; in draw()
295 if (mDirections == Layout.DIRS_ALL_LEFT_TO_RIGHT) { in measure()
298 if (mDirections == Layout.DIRS_ALL_RIGHT_TO_LEFT) { in measure()
304 int[] runs = mDirections.mDirections; in measure()
[all …]
DLayout.java771 int[] runs = dirs.mDirections; in isLevelBoundary()
803 int[] runs = dirs.mDirections; in isRtlCharAt()
821 int[] runs = getLineDirections(line).mDirections; in primaryIsTrailingPrevious()
1143 for (int i = 0; i < dirs.mDirections.length; i += 2) { in getOffsetForHorizontal()
1144 int here = min + dirs.mDirections[i]; in getOffsetForHorizontal()
1145 int there = here + (dirs.mDirections[i+1] & RUN_LENGTH_MASK); in getOffsetForHorizontal()
1146 int swap = (dirs.mDirections[i+1] & RUN_RTL_FLAG) != 0 ? -1 : 1; in getOffsetForHorizontal()
1468 for (int i = 0; i < dirs.mDirections.length; i += 2) { in addSelection()
1469 int here = linestart + dirs.mDirections[i]; in addSelection()
1470 int there = here + (dirs.mDirections[i+1] & RUN_LENGTH_MASK); in addSelection()
[all …]