Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
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
92 if (getLineEdgeIndex(currentLine, DIRECTION_END) + 1 == offset) { in preceding()
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()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewActions.java460 final int currentLine = layout.getLineForOffset(currentOffset); in locateHandlePointsTextIndex() local
463 final float currentY = layout.getLineTop(currentLine); in locateHandlePointsTextIndex()
489 if (currentLine > targetLine) { in locateHandlePointsTextIndex()
491 } else if (currentLine < targetLine) { in locateHandlePointsTextIndex()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/grid/
DTaskGridLayoutAlgorithm.java247 final int currentLine = (taskCount - 1 - currentFocusedIndex) / gridInfo.tasksPerLine;
259 final int leftMostIndex = (taskCount - 1) - currentLine * gridInfo.tasksPerLine;
265 (taskCount - 1) - (currentLine + 1) * gridInfo.tasksPerLine + 1;