Home
last modified time | relevance | path

Searched refs:getLineTop (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/java/android/text/method/
DBaseMovementMethod.java512 if (layout.getLineTop(topLine) == top) { in scrollUp()
519 Touch.scrollTo(widget, layout, widget.getScrollX(), layout.getLineTop(topLine)); in scrollUp()
540 if (layout.getLineTop(bottomLine + 1) < bottom + 1) { in scrollDown()
550 layout.getLineTop(bottomLine + 1) - innerHeight); in scrollDown()
570 Touch.scrollTo(widget, layout, widget.getScrollX(), layout.getLineTop(topLine)); in scrollPageUp()
592 layout.getLineTop(bottomLine + 1) - innerHeight); in scrollPageDown()
610 Touch.scrollTo(widget, layout, widget.getScrollX(), layout.getLineTop(0)); in scrollTop()
630 layout.getLineTop(lineCount) - getInnerHeight(widget)); in scrollBottom()
DScrollingMovementMethod.java100 layout.getLineTop(0)); in onTakeFocus()
108 layout.getLineTop(line+1) - in onTakeFocus()
DArrowKeyMovementMethod.java39 return layout.getLineTop(layout.getLineForOffset(Selection.getSelectionEnd(buffer))); in getCurrentLineTop()
/frameworks/base/core/java/android/widget/
DAccessibilityIterators.java151 final int currentLineTop = mLayout.getLineTop(currentLine); in following()
155 final int lastLineTop = mLayout.getLineTop(mLayout.getLineCount() - 1); in following()
180 final int currentLineTop = mLayout.getLineTop(currentLine); in preceding()
DTextView.java2683 int layoutht = mLayout.getLineTop(mMaximum); in getExtendedPaddingTop()
2720 int layoutht = mLayout.getLineTop(mMaximum); in getExtendedPaddingBottom()
7416 int top = mLayout.getLineTop(lineStart); in invalidateRegion()
8004 r.top = mLayout.getLineTop(line); in getFocusedRect()
8011 r.top = mLayout.getLineTop(lineStart); in getFocusedRect()
9401 unpaddedHeight = Math.min(unpaddedHeight, mLayout.getLineTop(mMaximum)); in onMeasure()
9563 desired = layout.getLineTop(mMaximum); in getDesiredHeight()
9824 final int top = layout.getLineTop(line); in bringPointIntoView()
9825 final int bottom = layout.getLineTop(line + 1); in bringPointIntoView()
9997 final int top = mLayout.getLineTop(line); in moveCursorToVisibleOffset()
[all …]
DEditor.java1934 final int top = layout.getLineTop(blockBeginLine); in drawHardwareAcceleratedInner()
2067 final int top = layout.getLineTop(line); in updateCursorPosition()
4256 layout.getLineTop(line), in onGetContentRect()
4349 final float insertionMarkerTop = layout.getLineTop(line) in updatePosition()
4953 showPosInView.y = ((mTextView.getLayout().getLineTop(lineNumber) in obtainMagnifierShowCoordinates()
5709 final float firstLineTop = layout.getLineTop(0) + verticalOffset;
5710 final float prevLineTop = layout.getLineTop(prevLine) + verticalOffset;
/frameworks/base/core/java/android/text/
DLayout.java419 int previousLineBottom = getLineTop(firstLine); in drawText()
444 int lbottom = getLineTop(lineNum + 1); in drawText()
603 int previousLineBottom = getLineTop(firstLine); in drawBackground()
616 int lbottom = getLineTop(i + 1); in drawBackground()
682 final int bottom = Math.min(getLineTop(getLineCount()), dbottom); in getLineRangeForDraw()
793 return getLineTop(getLineCount()); in getHeight()
852 bounds.top = getLineTop(line); in getLineBounds()
854 bounds.bottom = getLineTop(line + 1); in getLineBounds()
865 public abstract int getLineTop(int line); in getLineTop() method in Layout
1488 if (getLineTop(guess) > vertical) in getLineForVertical()
[all …]
DDynamicLayout.java574 int startv = getLineTop(startline); in reflow()
579 int endv = getLineTop(endline); in reflow()
627 int ht = reflowed.getLineTop(n); in reflow()
663 int top = reflowed.getLineTop(i) + startv; in reflow()
1009 public int getLineTop(int line) { in getLineTop() method in DynamicLayout
DBoringLayout.java383 public int getLineTop(int line) { in getLineTop() method in BoringLayout
DStaticLayout.java730 chooseHtv[i] = getLineTop(getLineForOffset(o)); in generate()
1212 public int getLineTop(int line) {
/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()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewActions.java463 final float currentY = layout.getLineTop(currentLine); in locateHandlePointsTextIndex()
549 layout.getLineTop(line)); in locateTextAtIndex()
/frameworks/base/core/java/com/android/internal/widget/
DSubtitleView.java311 float previousBottom = layout.getLineTop(0); in onDraw()
/frameworks/base/core/tests/coretests/src/android/text/
DLayoutTest.java571 public int getLineTop(int line) { in getLineTop() method in LayoutTest.MockLayout
611 assertTrue(bounds.top >= layout.getLineTop(i) - epsilon); in testGetCursorPath()
DStaticLayoutTest.java418 assertEquals(info, top, l.getLineTop(line)); in assertLineMetrics()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java1996 float chipTopPosition = this.getLayout().getLineTop( in touchedWarningIcon()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...