Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
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()
DEditor.java1036 int minLine = layout.getLineForOffset(startOffset); in getParagraphsRange()
1045 int maxLine = layout.getLineForOffset(endOffset); in getParagraphsRange()
1148 final int line = layout.getLineForOffset(offset); in isOffsetVisible()
2022 final int firstLine = layout.getLineForOffset(start); in invalidateTextDisplayList()
2023 final int lastLine = layout.getLineForOffset(end); in invalidateTextDisplayList()
2066 final int line = layout.getLineForOffset(offset); in updateCursorPosition()
3336 final int line = mTextView.getLayout().getLineForOffset(offset); in computeLocalPosition()
4251 int line = layout.getLineForOffset(mTextView.getSelectionStart()); in onGetContentRect()
4346 final int line = layout.getLineForOffset(offset); in updatePosition()
4715 final int line = layout.getLineForOffset(offset); in positionAtCursorOffset()
[all …]
DTextView.java7425 int lineStart = mLayout.getLineForOffset(start); in invalidateRegion()
7443 lineEnd = mLayout.getLineForOffset(end); in invalidateRegion()
8013 int line = mLayout.getLineForOffset(selEnd); in getFocusedRect()
8019 int lineStart = mLayout.getLineForOffset(selStart); in getFocusedRect()
8020 int lineEnd = mLayout.getLineForOffset(selEnd); in getFocusedRect()
9798 int line = layout.getLineForOffset(offset); in bringPointIntoView()
10005 int line = mLayout.getLineForOffset(start); in moveCursorToVisibleOffset()
11787 final int minLine = mLayout.getLineForOffset(startIndex); in populateCharacterBounds()
11788 final int maxLine = mLayout.getLineForOffset(endIndex - 1); in populateCharacterBounds()
/frameworks/base/core/java/android/text/
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()
DLayout.java366 int startLine = getLineForOffset(sp.getSpanStart(spans[n])); in getJustifyWidth()
490 int startLine = getLineForOffset(sp.getSpanStart(spans[n])); in drawText()
949 int line = getLineForOffset(offset); in isLevelBoundary()
979 int line = getLineForOffset(offset); in isRtlCharAt()
1008 int line = getLineForOffset(offset); in getRunRange()
1055 int line = getLineForOffset(offset); in primaryIsTrailingPrevious()
1188 int line = getLineForOffset(offset); in getHorizontal()
1505 public int getLineForOffset(int offset) { in getLineForOffset() method in Layout
1763 int line = getLineForOffset(caret); in getOffsetToLeftRightOf()
1875 int line = getLineForOffset(point); in getCursorPath()
[all …]
DDynamicLayout.java573 int startline = getLineForOffset(where); in reflow()
576 int endline = getLineForOffset(where + before); in reflow()
778 final int line = getLineForOffset(offset); in addBlockAtOffset()
DStaticLayout.java730 chooseHtv[i] = getLineTop(getLineForOffset(o)); in generate()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewActions.java460 final int currentLine = layout.getLineForOffset(currentOffset); in locateHandlePointsTextIndex()
461 final int targetLine = layout.getLineForOffset(mIndex); in locateHandlePointsTextIndex()
545 final int line = layout.getLineForOffset(index); in locateTextAtIndex()
/frameworks/base/core/java/android/text/style/
DIconMarginSpan.java85 int itop = layout.getLineTop(layout.getLineForOffset(st)); in drawLeadingMargin()
DDrawableMarginSpan.java87 int itop = (int) layout.getLineTop(layout.getLineForOffset(st)); in drawLeadingMargin()
DBulletSpan.java222 final int line = layout.getLineForOffset(start); in drawLeadingMargin()
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/util/
DLinkAccessibilityHelper.java266 final int lineStart = layout.getLineForOffset(spanStart); in getBoundsForSpan()
267 final int lineEnd = layout.getLineForOffset(spanEnd); in getBoundsForSpan()
/frameworks/base/core/tests/coretests/src/android/text/
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()
/frameworks/base/core/java/android/text/method/
DArrowKeyMovementMethod.java39 return layout.getLineTop(layout.getLineForOffset(Selection.getSelectionEnd(buffer))); in getCurrentLineTop()
DBaseKeyListener.java443 final int line = layout.getLineForOffset(Selection.getSelectionStart(content)); in deleteLine()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java1997 this.getLayout().getLineForOffset(chipLeftOffset)) + getTotalPaddingTop(); in touchedWarningIcon()
2036 int line = getLayout().getLineForOffset(getChipStart(currentChip)); in showAlternates()
2607 int line = getLayout().getLineForOffset(getChipStart(currentChip)); in showAddress()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java2385 int line = layout.getLineForOffset(end); in up()
2407 int line = layout.getLineForOffset(end); in down()
/frameworks/base/config/
Dboot-image-profile.txt14885 HSPLandroid/text/Layout;->getLineForOffset(I)I
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt29699 method public int getLineForOffset(int);
/frameworks/base/api/
Dcurrent.txt45908 method public int getLineForOffset(int);