Searched refs:topLine (Results 1 – 2 of 2) sorted by relevance
424 final int topLine = getTopLine(widget); in getScrollBoundsLeft() local426 if (topLine > bottomLine) { in getScrollBoundsLeft()430 for (int line = topLine; line <= bottomLine; line++) { in getScrollBoundsLeft()441 final int topLine = getTopLine(widget); in getScrollBoundsRight() local443 if (topLine > bottomLine) { in getScrollBoundsRight()447 for (int line = topLine; line <= bottomLine; line++) { in getScrollBoundsRight()511 int topLine = layout.getLineForVertical(top); in scrollUp() local512 if (layout.getLineTop(topLine) == top) { in scrollUp()515 topLine -= 1; in scrollUp()517 if (topLine >= 0) { in scrollUp()[all …]
11506 final int topLine; in onProvideStructure() local11510 topLine = getLineAtCoordinateUnclamped(0); in onProvideStructure()11515 topLine = getLineAtCoordinateUnclamped(-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()11561 lineOffsets[i - topLine] = layout.getLineStart(i); in onProvideStructure()11562 lineBaselines[i - topLine] = layout.getLineBaseline(i) + baselineOffset; in onProvideStructure()