Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/method/
DBaseMovementMethod.java425 final int bottomLine = getBottomLine(widget); in getScrollBoundsLeft() local
426 if (topLine > bottomLine) { in getScrollBoundsLeft()
430 for (int line = topLine; line <= bottomLine; line++) { in getScrollBoundsLeft()
442 final int bottomLine = getBottomLine(widget); in getScrollBoundsRight() local
443 if (topLine > bottomLine) { in getScrollBoundsRight()
447 for (int line = topLine; line <= bottomLine; line++) { in getScrollBoundsRight()
539 int bottomLine = layout.getLineForVertical(bottom); in scrollDown() local
540 if (layout.getLineTop(bottomLine + 1) < bottom + 1) { in scrollDown()
544 bottomLine += 1; in scrollDown()
547 if (bottomLine <= limit) { in scrollDown()
[all …]
/frameworks/base/core/java/android/widget/
DTextView.java11507 final int bottomLine; in onProvideStructure() local
11511 bottomLine = getLineAtCoordinateUnclamped(windowHeight - 1); in onProvideStructure()
11516 bottomLine = getLineAtCoordinateUnclamped(windowHeight - 1 - topWindowLocation); in onProvideStructure()
11520 int expandedTopLine = topLine - (bottomLine - topLine) / 2; in onProvideStructure()
11524 int expandedBottomLine = bottomLine + (bottomLine - topLine) / 2; in onProvideStructure()
11557 final int[] lineOffsets = new int[bottomLine - topLine + 1]; in onProvideStructure()
11558 final int[] lineBaselines = new int[bottomLine - topLine + 1]; in onProvideStructure()
11560 for (int i = topLine; i <= bottomLine; i++) { in onProvideStructure()