Home
last modified time | relevance | path

Searched refs:currentLine (Results 1 – 2 of 2) sorted by relevance

/aosp14/frameworks/base/core/java/android/widget/
H A DAccessibilityIterators.java63 final int currentLine = mLayout.getLineForOffset(offset); in following() local
64 if (getLineEdgeIndex(currentLine, DIRECTION_START) == offset) { in following()
65 nextLine = currentLine; in following()
67 nextLine = currentLine + 1; in following()
91 final int currentLine = mLayout.getLineForOffset(offset); in preceding() local
93 previousLine = currentLine; in preceding()
95 previousLine = currentLine - 1; in preceding()
150 final int currentLine = mLayout.getLineForOffset(start); in following() local
151 final int currentLineTop = mLayout.getLineTop(currentLine); in following()
179 final int currentLine = mLayout.getLineForOffset(end); in preceding() local
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/espresso/
H A DTextViewActions.java561 final int currentLine = layout.getLineForOffset(currentOffset); in locateHandlePointsTextIndex() local
564 final float currentY = layout.getLineTop(currentLine); in locateHandlePointsTextIndex()
590 if (currentLine > targetLine) { in locateHandlePointsTextIndex()
592 } else if (currentLine < targetLine) { in locateHandlePointsTextIndex()