Home
last modified time | relevance | path

Searched refs:getLineForVertical (Results 1 – 12 of 12) sorted by relevance

/aosp14/frameworks/base/core/java/android/text/method/
H A DBaseMovementMethod.java432 return widget.getLayout().getLineForVertical(widget.getScrollY()); in getTopLine()
436 return widget.getLayout().getLineForVertical(widget.getScrollY() + getInnerHeight(widget)); in getBottomLine()
540 int topLine = layout.getLineForVertical(top); in scrollUp()
568 int bottomLine = layout.getLineForVertical(bottom); in scrollDown()
597 int topLine = layout.getLineForVertical(top); in scrollPageUp()
618 int bottomLine = layout.getLineForVertical(bottom); in scrollPageDown()
H A DLinkMovementMethod.java113 int lineTop = layout.getLineForVertical(areaTop); in action()
114 int lineBot = layout.getLineForVertical(areaBot); in action()
224 int line = layout.getLineForVertical(y); in onTouchEvent()
H A DTouch.java41 final int top = layout.getLineForVertical(y); in scrollTo()
48 final int bottom = layout.getLineForVertical(y + widget.getHeight() - verticalPadding); in scrollTo()
/aosp14/frameworks/base/core/java/android/widget/
H A DAccessibilityIterators.java157 ? mLayout.getLineForVertical(nextPageStartY) - 1 : mLayout.getLineCount() - 1; in following()
185 mLayout.getLineForVertical(previousPageEndY) : 0; in preceding()
H A DTextView.java10379 int line = mLayout.getLineForVertical((int) point.y);
11654 line = mLayout.getLineForVertical(vs + vslack + (bottom - top)); in moveCursorToVisibleOffset()
11656 line = mLayout.getLineForVertical(vspace + vs - vslack - (bottom - top)); in moveCursorToVisibleOffset()
14094 layout.getLineForVertical((int) Math.floor(visibleTop)); in getCursorAnchorInfo()
14096 layout.getLineForVertical((int) Math.ceil(visibleBottom)); in getCursorAnchorInfo()
14167 final int startLine = layout.getLineForVertical((int) Math.floor(localBounds.top)); in getTextBoundsInfo()
14168 final int endLine = layout.getLineForVertical((int) Math.floor(localBounds.bottom)); in getTextBoundsInfo()
15144 return getLayout().getLineForVertical((int) y); in getLineAtCoordinate()
15150 return getLayout().getLineForVertical((int) y); in getLineAtCoordinateUnclamped()
/aosp14/frameworks/base/core/tests/coretests/src/android/text/
H A DLayoutTest.java199 assertEquals(0, layout.getLineForVertical(-1)); in testGetLineForVertical()
200 assertEquals(0, layout.getLineForVertical(0)); in testGetLineForVertical()
201 assertEquals(0, layout.getLineForVertical(LINE_COUNT)); in testGetLineForVertical()
202 assertEquals(LINE_COUNT - 1, layout.getLineForVertical(1000)); in testGetLineForVertical()
/aosp14/frameworks/base/core/java/android/text/
H A DLayout.java853 return TextUtils.packRangeInLong(getLineForVertical(top), getLineForVertical(bottom)); in getLineRangeForDraw()
1768 public int getLineForVertical(int vertical) { in getLineForVertical() method in Layout
1986 int startLine = getLineForVertical((int) area.top); in getRangeForRect()
1996 int endLine = getLineForVertical((int) area.bottom); in getRangeForRect()
H A DStaticLayout.java1249 public int getLineForVertical(int vertical) {
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/boot/
H A Dboot-image-profile.txt14916 HSPLandroid/text/Layout;->getLineForVertical(I)I+]Landroid/text/Layout;Landroid/text/DynamicLayout;…
15171 HSPLandroid/text/StaticLayout;->getLineForVertical(I)I
/aosp14/frameworks/base/config/
H A Dboot-image-profile.txt14980 HSPLandroid/text/Layout;->getLineForVertical(I)I+]Landroid/text/Layout;Landroid/text/DynamicLayout;…
15235 HSPLandroid/text/StaticLayout;->getLineForVertical(I)I
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt47339 method public int getLineForVertical(int);