Home
last modified time | relevance | path

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

/aosp12/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.java1245 int minLine = layout.getLineForOffset(startOffset); in getParagraphsRange()
1254 int maxLine = layout.getLineForOffset(endOffset); in getParagraphsRange()
1357 final int line = layout.getLineForOffset(offset); in isOffsetVisible()
2256 final int firstLine = layout.getLineForOffset(start); in invalidateTextDisplayList()
2257 final int lastLine = layout.getLineForOffset(end); in invalidateTextDisplayList()
2300 final int line = layout.getLineForOffset(offset); in updateCursorPosition()
4596 final int line = layout.getLineForOffset(offset); in updatePosition()
4996 final int line = layout.getLineForOffset(offset); in positionAtCursorOffset()
5187 final int lineNumber = layout.getLineForOffset(offset); in obtainMagnifierShowCoordinates()
5892 currLine = layout.getLineForOffset(anotherHandleOffset); in updatePosition()
[all …]
H A DTextView.java7559 int lineStart = mLayout.getLineForOffset(start); in invalidateRegion()
7577 lineEnd = mLayout.getLineForOffset(end); in invalidateRegion()
8147 int line = mLayout.getLineForOffset(selEnd); in getFocusedRect()
8153 int lineStart = mLayout.getLineForOffset(selStart); in getFocusedRect()
8154 int lineEnd = mLayout.getLineForOffset(selEnd); in getFocusedRect()
9928 int line = layout.getLineForOffset(offset); in bringPointIntoView()
10135 int line = mLayout.getLineForOffset(start); in moveCursorToVisibleOffset()
12183 final int minLine = mLayout.getLineForOffset(startIndex); in populateCharacterBounds()
12184 final int maxLine = mLayout.getLineForOffset(endIndex - 1); in populateCharacterBounds()
/aosp12/frameworks/base/core/java/android/text/
H A DSelection.java214 int line = layout.getLineForOffset(end); in moveUp()
285 int line = layout.getLineForOffset(end); in moveDown()
355 int line = layout.getLineForOffset(end); in extendUp()
374 int line = layout.getLineForOffset(end); in extendDown()
483 int line = layout.getLineForOffset(pt); in findEdge()
500 int line1 = layout.getLineForOffset(off1); in chooseHorizontal()
501 int line2 = layout.getLineForOffset(off2); in chooseHorizontal()
531 int line = layout.getLineForOffset(off1); in chooseHorizontal()
H A DLayout.java950 int line = getLineForOffset(offset); in isLevelBoundary()
980 int line = getLineForOffset(offset); in isRtlCharAt()
1009 int line = getLineForOffset(offset); in getRunRange()
1056 int line = getLineForOffset(offset); in primaryIsTrailingPrevious()
1189 int line = getLineForOffset(offset); in getHorizontal()
1506 public int getLineForOffset(int offset) { in getLineForOffset() method in Layout
1764 int line = getLineForOffset(caret); in getOffsetToLeftRightOf()
1876 int line = getLineForOffset(point); in getCursorPath()
2010 final int startline = getLineForOffset(start); in getSelection()
2011 final int endline = getLineForOffset(end); in getSelection()
[all …]
H A DDynamicLayout.java573 int startline = getLineForOffset(where); in reflow()
576 int endline = getLineForOffset(where + before); in reflow()
778 final int line = getLineForOffset(offset); in addBlockAtOffset()
H A DStaticLayout.java730 chooseHtv[i] = getLineTop(getLineForOffset(o)); in generate()
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DCursorAnchorInfoUtils.java167 final int minLine = layout.getLineForOffset(composingTextStart); in extractFromTextViewInternal()
168 final int maxLine = layout.getLineForOffset(composingTextEnd - 1); in extractFromTextViewInternal()
236 final int line = layout.getLineForOffset(offset); in extractFromTextViewInternal()
/aosp12/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()
/aosp12/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/util/
H A DLinkAccessibilityHelper.java266 final int lineStart = layout.getLineForOffset(spanStart); in getBoundsForSpan()
267 final int lineEnd = layout.getLineForOffset(spanEnd); in getBoundsForSpan()
/aosp12/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()
/aosp12/packages/apps/Dialer/java/com/android/dialer/about/
H A DLicenseActivity.java72 int firstVisibleLine = textView.getLayout().getLineForOffset(firstVisibleChar); in onRestoreInstanceState()
/aosp12/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()
/aosp12/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()
/aosp12/frameworks/base/core/java/android/text/method/
H A DArrowKeyMovementMethod.java39 return layout.getLineTop(layout.getLineForOffset(Selection.getSelectionEnd(buffer))); in getCurrentLineTop()
H A DBaseKeyListener.java443 final int line = layout.getLineForOffset(Selection.getSelectionStart(content)); in deleteLine()
/aosp12/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java2000 this.getLayout().getLineForOffset(chipLeftOffset)) + getTotalPaddingTop(); in touchedWarningIcon()
2039 int line = getLayout().getLineForOffset(getChipStart(currentChip)); in showAlternates()
2610 int line = getLayout().getLineForOffset(getChipStart(currentChip)); in showAddress()
/aosp12/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java2385 int line = layout.getLineForOffset(end); in up()
2407 int line = layout.getLineForOffset(end); in down()
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/boot/
H A Dboot-image-profile.txt15236 HSPLandroid/text/Layout;->getLineForOffset(I)I+]Landroid/text/Layout;Landroid/text/StaticLayout;,La…
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt44198 method public int getLineForOffset(int);
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A Dandroid-22.txt29699 method public int getLineForOffset(int);
/aosp12/frameworks/base/config/
H A Dboot-image-profile.txt15285 HSPLandroid/text/Layout;->getLineForOffset(I)I+]Landroid/text/Layout;Landroid/text/StaticLayout;,La…