Home
last modified time | relevance | path

Searched refs:getLineForOffset (Results 1 – 19 of 19) sorted by relevance

/aosp14/frameworks/base/core/java/android/widget/
H A DAccessibilityIterators.java61 nextLine = mLayout.getLineForOffset(0); in following()
63 final int currentLine = mLayout.getLineForOffset(offset); in following()
89 previousLine = mLayout.getLineForOffset(mText.length()); in preceding()
91 final int currentLine = mLayout.getLineForOffset(offset); in preceding()
150 final int currentLine = mLayout.getLineForOffset(start); in following()
179 final int currentLine = mLayout.getLineForOffset(end); in preceding()
H A DEditor.java1311 int minLine = layout.getLineForOffset(startOffsetTransformed); in getParagraphsRange()
1320 int maxLine = layout.getLineForOffset(endOffsetTransformed); in getParagraphsRange()
1437 final int line = layout.getLineForOffset(offsetTransformed); in isOffsetVisible()
2354 final int lastLine = layout.getLineForOffset(endTransformed); in invalidateTextDisplayList()
2399 final int line = layout.getLineForOffset(transformedOffset); in updateCursorPosition()
3810 final int line = layout.getLineForOffset(transformedOffset); in computeLocalPosition()
4793 int line = layout.getLineForOffset(selectionStart); in onGetContentRect()
5208 return layout.getLineForOffset(transformedOffset); in getLineForOffset()
5241 final int line = getLineForOffset(layout, offset); in positionAtCursorOffset()
5432 final int lineNumber = getLineForOffset(layout, offset); in obtainMagnifierShowCoordinates()
[all …]
H A DTextView.java8397 int lineStart = mLayout.getLineForOffset(start); in invalidateRegion()
8415 lineEnd = mLayout.getLineForOffset(end); in invalidateRegion()
9116 int line = mLayout.getLineForOffset(selEnd); in getFocusedRect()
9122 int lineStart = mLayout.getLineForOffset(selStart); in getFocusedRect()
9123 int lineEnd = mLayout.getLineForOffset(selEnd); in getFocusedRect()
11435 int line = layout.getLineForOffset(offsetTransformed); in bringPointIntoView()
11642 int line = mLayout.getLineForOffset(start); in moveCursorToVisibleOffset()
14052 final int line = layout.getLineForOffset(offsetTransformed); in getCursorAnchorInfo()
/aosp14/frameworks/base/core/java/android/text/
H A DSelection.java215 int line = layout.getLineForOffset(end); in moveUp()
286 int line = layout.getLineForOffset(end); in moveDown()
450 int line = layout.getLineForOffset(end); in extendUp()
469 int line = layout.getLineForOffset(end); in extendDown()
578 int line = layout.getLineForOffset(pt); in findEdge()
595 int line1 = layout.getLineForOffset(off1); in chooseHorizontal()
596 int line2 = layout.getLineForOffset(off2); in chooseHorizontal()
626 int line = layout.getLineForOffset(off1); in chooseHorizontal()
H A DLayout.java1125 int line = getLineForOffset(offset); in isLevelBoundary()
1155 int line = getLineForOffset(offset); in isRtlCharAt()
1184 int line = getLineForOffset(offset); in getRunRange()
1231 int line = getLineForOffset(offset); in primaryIsTrailingPrevious()
1364 int line = getLineForOffset(offset); in getHorizontal()
1529 final int startLine = getLineForOffset(start); in fillCharacterBounds()
1530 final int endLine = getLineForOffset(end - 1); in fillCharacterBounds()
1791 public int getLineForOffset(int offset) { in getLineForOffset() method in Layout
2450 int line = getLineForOffset(caret); in getOffsetToLeftRightOf()
2563 int line = getLineForOffset(point); in getCursorPath()
[all …]
H A DDynamicLayout.java574 int startline = getLineForOffset(where); in reflow()
577 int endline = getLineForOffset(where + before); in reflow()
779 final int line = getLineForOffset(offset); in addBlockAtOffset()
H A DStaticLayout.java764 chooseHtv[i] = getLineTop(getLineForOffset(o)); in generate()
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/espresso/
H A DTextViewActions.java561 final int currentLine = layout.getLineForOffset(currentOffset); in locateHandlePointsTextIndex()
562 final int targetLine = layout.getLineForOffset(mIndex); in locateHandlePointsTextIndex()
646 final int line = layout.getLineForOffset(index); in locateTextAtIndex()
/aosp14/frameworks/base/core/java/android/text/style/
H A DIconMarginSpan.java85 int itop = layout.getLineTop(layout.getLineForOffset(st)); in drawLeadingMargin()
H A DDrawableMarginSpan.java87 int itop = (int) layout.getLineTop(layout.getLineForOffset(st)); in drawLeadingMargin()
H A DBulletSpan.java222 final int line = layout.getLineForOffset(start); in drawLeadingMargin()
/aosp14/frameworks/base/core/tests/coretests/src/android/text/
H A DLayoutTest.java209 assertEquals(0, layout.getLineForOffset(-1)); in testGetLineForOffset()
210 assertEquals(1, layout.getLineForOffset(1)); in testGetLineForOffset()
211 assertEquals(LINE_COUNT - 1, layout.getLineForOffset(LINE_COUNT - 1)); in testGetLineForOffset()
212 assertEquals(LINE_COUNT - 1, layout.getLineForOffset(1000)); in testGetLineForOffset()
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/
H A DEditorCursorDragTest.java662 final int startLine = tv.getLayout().getLineForOffset(startOffset); in dragDownUntilLineChange()
676 if (tv.getLayout().getLineForOffset(tv.getSelectionStart()) > startLine) { in dragDownUntilLineChange()
682 tv.getLayout().getLineForOffset(tv.getSelectionStart())).isGreaterThan(startLine); in dragDownUntilLineChange()
774 int line = layout.getLineForOffset(index); in getCoordinates()
/aosp14/frameworks/base/core/java/android/text/method/
H A DArrowKeyMovementMethod.java40 return layout.getLineTop(layout.getLineForOffset(Selection.getSelectionEnd(buffer))); in getCurrentLineTop()
H A DBaseKeyListener.java458 final int line = layout.getLineForOffset(Selection.getSelectionStart(content)); in deleteLineFromCursor()
/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.txt14915 HSPLandroid/text/Layout;->getLineForOffset(I)I+]Landroid/text/Layout;Landroid/text/DynamicLayout;,L…
/aosp14/frameworks/base/config/
H A Dboot-image-profile.txt14979 HSPLandroid/text/Layout;->getLineForOffset(I)I+]Landroid/text/Layout;Landroid/text/DynamicLayout;,L…
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt47338 method public int getLineForOffset(int);