/frameworks/base/core/tests/coretests/src/android/text/ |
D | TextLineLetterSpacingTest.kt | 90 val runStart = 5 in resolveRunFlagForSubSequenceTest() constant 95 LEFT_EDGE, false, runStart, runEnd, runStart, runEnd)) in resolveRunFlagForSubSequenceTest() 98 LEFT_EDGE, true, runStart, runEnd, runStart, runEnd)) in resolveRunFlagForSubSequenceTest() 101 RIGHT_EDGE, false, runStart, runEnd, runStart, runEnd)) in resolveRunFlagForSubSequenceTest() 104 RIGHT_EDGE, true, runStart, runEnd, runStart, runEnd)) in resolveRunFlagForSubSequenceTest() 107 WHOLE_LINE, false, runStart, runEnd, runStart, runEnd)) in resolveRunFlagForSubSequenceTest() 110 WHOLE_LINE, true, runStart, runEnd, runStart, runEnd)) in resolveRunFlagForSubSequenceTest() 113 MIDDLE_OF_LINE, false, runStart, runEnd, runStart, runEnd)) in resolveRunFlagForSubSequenceTest() 116 MIDDLE_OF_LINE, true, runStart, runEnd, runStart, runEnd)) in resolveRunFlagForSubSequenceTest() 123 LEFT_EDGE, false, runStart, runEnd, runStart, runEnd - 1)) in resolveRunFlagForSubSequenceTest() [all …]
|
/frameworks/base/core/java/android/text/ |
D | TextLine.java | 386 public static int resolveRunFlagForSubSequence(int runFlag, boolean isRtlRun, int runStart, in resolveRunFlagForSubSequence() argument 401 if (spanStart != runStart) { in resolveRunFlagForSubSequence() 409 if (spanStart != runStart) { in resolveRunFlagForSubSequence() 436 final int runStart = mDirections.getRunStart(runIndex); in draw() local 437 if (runStart > mLen) break; in draw() 438 final int runLimit = Math.min(runStart + mDirections.getRunLength(runIndex), mLen); in draw() 443 int segStart = runStart; in draw() 444 for (int j = mHasTabs ? runStart : runLimit; j <= runLimit; j++) { in draw() 506 final int runStart = mDirections.getRunStart(runIndex); in shape() local 507 if (runStart > mLen) break; in shape() [all …]
|
/frameworks/minikin/libs/minikin/ |
D | BidiUtils.cpp | 66 const uint32_t runStart = std::max(static_cast<uint32_t>(startRun), mRange.getStart()); in getRunInfoAt() local 68 if (runEnd <= runStart) { in getRunInfoAt() 72 return {runOffset, mRunCount, Range(runStart, runEnd), (runDir == UBIDI_RTL)}; in getRunInfoAt()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | TextBoundsInfo.java | 727 int runStart = lineStart; in getStartForRectWithinLine() local 733 final int start = getStartForRectWithinRun(runStart, index, area, segmentFinder, in getStartForRectWithinLine() 739 runStart = index; in getStartForRectWithinLine() 743 return getStartForRectWithinRun(runStart, lineEnd, area, segmentFinder, inclusionStrategy); in getStartForRectWithinLine() 759 private int getStartForRectWithinRun(int runStart, int runEnd, @NonNull RectF area, in getStartForRectWithinRun() argument 762 if (runStart >= runEnd) return -1; in getStartForRectWithinRun() 764 int segmentEndOffset = segmentFinder.nextEndBoundary(runStart); in getStartForRectWithinRun() 771 final int start = Math.max(runStart, segmentStartOffset); in getStartForRectWithinRun() 834 private int getEndForRectWithinRun(int runStart, int runEnd, @NonNull RectF area, in getEndForRectWithinRun() argument 837 if (runStart >= runEnd) return -1; in getEndForRectWithinRun() [all …]
|
/frameworks/base/services/core/java/com/android/server/timezonedetector/location/ |
D | LocationTimeZoneManagerShellCommand.java | 100 return runStart(); in onCommand() 178 private int runStart() { in runStart() method in LocationTimeZoneManagerShellCommand
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/ |
D | TextInterpolator.kt | 344 override var runStart: Int = 0 in <lambda>() variable in MutablePositionedGlyph 376 tmpGlyph.runStart = run.start in <lambda>()
|
D | TextAnimator.kt | 160 abstract var runStart: Int variable in PositionedGlyph
|