Home
last modified time | relevance | path

Searched refs:mDirections (Results 1 – 5 of 5) 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/services/accessibility/java/com/android/server/accessibility/gestures/
DSwipe.java76 private int[] mDirections; field in Swipe
115 mDirections = directions; in Swipe()
176 if (direction != mDirections[0]) { in onMove()
337 if (path.size() != mDirections.length + 1) { in recognizeGesturePath()
348 if (direction != mDirections[i]) { in recognizeGesturePath()
355 + directionToString(mDirections[i])); in recognizeGesturePath()
395 builder.append("Swipe ").append(directionToString(mDirections[0])); in getGestureName()
396 for (int i = 1; i < mDirections.length; ++i) { in getGestureName()
397 builder.append(" and ").append(directionToString(mDirections[i])); in getGestureName()
/frameworks/base/core/java/android/text/
DTextLine.java65 private Directions mDirections; field in TextLine
139 tl.mDirections = null; in recycle()
184 mDirections = directions; in set()
185 if (mDirections == null) { in set()
278 final int runCount = mDirections.getRunCount(); in draw()
280 final int runStart = mDirections.getRunStart(runIndex); in draw()
282 final int runLimit = Math.min(runStart + mDirections.getRunLength(runIndex), mLen); in draw()
283 final boolean runIsRtl = mDirections.isRunRtl(runIndex); in draw()
317 final int runCount = mDirections.getRunCount(); in shape()
319 final int runStart = mDirections.getRunStart(runIndex); in shape()
[all …]
DLayout.java956 int[] runs = dirs.mDirections; in isLevelBoundary()
988 int[] runs = dirs.mDirections; in isRtlCharAt()
1014 int[] runs = dirs.mDirections; in getRunRange()
1059 int[] runs = getLineDirections(line).mDirections; in primaryIsTrailingPrevious()
1115 int[] runs = getLineDirections(line).mDirections; in primaryIsTrailingPreviousAllLineOffsets()
1568 for (int i = 0; i < dirs.mDirections.length; i += 2) { in getOffsetForHorizontal()
1569 int here = lineStartOffset + dirs.mDirections[i]; in getOffsetForHorizontal()
1570 int there = here + (dirs.mDirections[i+1] & RUN_LENGTH_MASK); in getOffsetForHorizontal()
1571 boolean isRtl = (dirs.mDirections[i+1] & RUN_RTL_FLAG) != 0; in getOffsetForHorizontal()
1946 for (int i = 0; i < dirs.mDirections.length; i += 2) { in addSelection()
[all …]
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt59458 Landroid/text/Layout$Directions;->mDirections:[I
60251 Landroid/text/TextLine;->mDirections:Landroid/text/Layout$Directions;