Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/text/
DStaticLayoutDirectionsTest.java208 if (!Arrays.equals(expected.mDirections, result.mDirections)) { in checkDirections()
210 hexArray(expected.mDirections), in checkDirections()
211 hexArray(result.mDirections)); in checkDirections()
216 if (!Arrays.equals(expected.mDirections, result.mDirections)) { in expectDirections()
217 fail("expected: " + hexArray(expected.mDirections) + in expectDirections()
218 " got: " + hexArray(result.mDirections)); in expectDirections()
/frameworks/base/core/java/android/text/
DTextLine.java63 private Directions mDirections; field in TextLine
137 tl.mDirections = null; in recycle()
182 mDirections = directions; in set()
183 if (mDirections == null) { in set()
276 final int runCount = mDirections.getRunCount(); in draw()
278 final int runStart = mDirections.getRunStart(runIndex); in draw()
280 final int runLimit = Math.min(runStart + mDirections.getRunLength(runIndex), mLen); in draw()
281 final boolean runIsRtl = mDirections.isRunRtl(runIndex); in draw()
362 for (int runIndex = 0; runIndex < mDirections.getRunCount(); runIndex++) { in measure()
363 final int runStart = mDirections.getRunStart(runIndex); in measure()
[all …]
DLayout.java955 int[] runs = dirs.mDirections; in isLevelBoundary()
987 int[] runs = dirs.mDirections; in isRtlCharAt()
1013 int[] runs = dirs.mDirections; in getRunRange()
1058 int[] runs = getLineDirections(line).mDirections; in primaryIsTrailingPrevious()
1114 int[] runs = getLineDirections(line).mDirections; in primaryIsTrailingPreviousAllLineOffsets()
1567 for (int i = 0; i < dirs.mDirections.length; i += 2) { in getOffsetForHorizontal()
1568 int here = lineStartOffset + dirs.mDirections[i]; in getOffsetForHorizontal()
1569 int there = here + (dirs.mDirections[i+1] & RUN_LENGTH_MASK); in getOffsetForHorizontal()
1570 boolean isRtl = (dirs.mDirections[i+1] & RUN_RTL_FLAG) != 0; in getOffsetForHorizontal()
1945 for (int i = 0; i < dirs.mDirections.length; i += 2) { in addSelection()
[all …]
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt70158 Landroid/text/Layout$Directions;->mDirections:[I
70951 Landroid/text/TextLine;->mDirections:Landroid/text/Layout$Directions;