Home
last modified time | relevance | path

Searched refs:getLineForOffset (Results 1 – 21 of 21) 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.java933 int minLine = layout.getLineForOffset(startOffset); in getParagraphsRange()
942 int maxLine = layout.getLineForOffset(endOffset); in getParagraphsRange()
1045 final int line = layout.getLineForOffset(offset); in isOffsetVisible()
1878 final int firstLine = layout.getLineForOffset(start); in invalidateTextDisplayList()
1879 final int lastLine = layout.getLineForOffset(end); in invalidateTextDisplayList()
1921 final int line = layout.getLineForOffset(offset); in updateCursorsPositions()
3173 final int line = mTextView.getLayout().getLineForOffset(offset); in computeLocalPosition()
4031 int line = layout.getLineForOffset(mTextView.getSelectionStart()); in onGetContentRect()
4126 final int line = layout.getLineForOffset(offset); in updatePosition()
4396 final int line = layout.getLineForOffset(offset); in positionAtCursorOffset()
[all …]
DTextView.java6338 int lineStart = mLayout.getLineForOffset(start); in invalidateRegion()
6356 lineEnd = mLayout.getLineForOffset(end); in invalidateRegion()
6928 int line = mLayout.getLineForOffset(selEnd); in getFocusedRect()
6934 int lineStart = mLayout.getLineForOffset(selStart); in getFocusedRect()
6935 int lineEnd = mLayout.getLineForOffset(selEnd); in getFocusedRect()
8654 int line = layout.getLineForOffset(offset); in bringPointIntoView()
8861 int line = mLayout.getLineForOffset(start); in moveCursorToVisibleOffset()
10525 final int minLine = mLayout.getLineForOffset(startIndex); in populateCharacterBounds()
10526 final int maxLine = mLayout.getLineForOffset(endIndex - 1); in populateCharacterBounds()
/frameworks/base/core/java/android/text/
DSelection.java138 int line = layout.getLineForOffset(end); in moveUp()
184 int line = layout.getLineForOffset(end); in moveDown()
263 int line = layout.getLineForOffset(end); in extendUp()
292 int line = layout.getLineForOffset(end); in extendDown()
409 int line = layout.getLineForOffset(pt); in findEdge()
426 int line1 = layout.getLineForOffset(off1); in chooseHorizontal()
427 int line2 = layout.getLineForOffset(off2); in chooseHorizontal()
457 int line = layout.getLineForOffset(off1); in chooseHorizontal()
DLayout.java330 int startLine = getLineForOffset(sp.getSpanStart(spans[n])); in getJustifyWidth()
454 int startLine = getLineForOffset(sp.getSpanStart(spans[n])); in drawText()
901 int line = getLineForOffset(offset); in isLevelBoundary()
931 int line = getLineForOffset(offset); in isRtlCharAt()
960 int line = getLineForOffset(offset); in getRunRange()
1005 int line = getLineForOffset(offset); in primaryIsTrailingPrevious()
1134 int line = getLineForOffset(offset); in getHorizontal()
1402 public int getLineForOffset(int offset) { in getLineForOffset() method in Layout
1639 int line = getLineForOffset(caret); in getOffsetToLeftRightOf()
1749 int line = getLineForOffset(point); in getCursorPath()
[all …]
DDynamicLayout.java271 int startline = getLineForOffset(where); in reflow()
274 int endline = getLineForOffset(where + before); in reflow()
466 final int line = getLineForOffset(offset); in addBlockAtOffset()
DStaticLayout.java674 chooseHtv[i] = getLineTop(getLineForOffset(o));
/frameworks/base/core/tests/coretests/src/android/text/
DLayoutTest.java204 assertEquals(0, layout.getLineForOffset(-1)); in testGetLineForOffset()
205 assertEquals(1, layout.getLineForOffset(1)); in testGetLineForOffset()
206 assertEquals(LINE_COUNT - 1, layout.getLineForOffset(LINE_COUNT - 1)); in testGetLineForOffset()
207 assertEquals(LINE_COUNT - 1, layout.getLineForOffset(1000)); in testGetLineForOffset()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewActions.java459 final int currentLine = layout.getLineForOffset(currentOffset); in locateHandlePointsTextIndex()
460 final int targetLine = layout.getLineForOffset(mIndex); in locateHandlePointsTextIndex()
544 final int line = layout.getLineForOffset(index); in locateTextAtIndex()
/frameworks/base/core/java/android/text/style/
DIconMarginSpan.java46 int itop = layout.getLineTop(layout.getLineForOffset(st)); in drawLeadingMargin()
DDrawableMarginSpan.java47 int itop = (int)layout.getLineTop(layout.getLineForOffset(st)); in drawLeadingMargin()
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/util/
DLinkAccessibilityHelper.java304 final int lineStart = layout.getLineForOffset(spanStart); in getBoundsForSpan()
305 final int lineEnd = layout.getLineForOffset(spanEnd); in getBoundsForSpan()
/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/opt/setupwizard/tools/docs/
Dandroid-22.txt29699 method public int getLineForOffset(int);
/frameworks/base/api/
Dcurrent.txt41398 method public int getLineForOffset(int);
Dtest-current.txt41674 method public int getLineForOffset(int);
Dsystem-current.txt44983 method public int getLineForOffset(int);
/frameworks/base/config/
Dboot-image-profile.txt30895 HSPLandroid/text/Layout;->getLineForOffset(I)I