Home
last modified time | relevance | path

Searched refs:getLineTop (Results 1 – 22 of 22) 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()
DEditor.java511 layout.getLineBottomWithoutSpacing(line) - layout.getLineTop(line); in createBuilderWithInlineMagnifierDefaults()
2071 final int top = layout.getLineTop(blockBeginLine); in drawHardwareAcceleratedInner()
2204 final int top = layout.getLineTop(line); in updateCursorPosition()
4402 layout.getLineTop(line), in onGetContentRect()
4495 final float insertionMarkerTop = layout.getLineTop(line) in updatePosition()
4993 return layout.getLineBottomWithoutSpacing(line) - layout.getLineTop(line) in tooLargeTextForMagnifier()
5136 showPosInView.y = ((mTextView.getLayout().getLineTop(lineNumber) in obtainMagnifierShowCoordinates()
5206 layout.getLineBottomWithoutSpacing(line) - layout.getLineTop(line); in updateMagnifier()
5547 layout.getLineBottomWithoutSpacing(line) - layout.getLineTop(line); in transformEventForTouchThrough()
6062 final int lineHeight = layout.getLineBottom(prevLine) - layout.getLineTop(prevLine);
[all …]
DTextView.java2709 int layoutht = mLayout.getLineTop(mMaximum); in getExtendedPaddingTop()
2746 int layoutht = mLayout.getLineTop(mMaximum); in getExtendedPaddingBottom()
7469 int top = mLayout.getLineTop(lineStart); in invalidateRegion()
8057 r.top = mLayout.getLineTop(line); in getFocusedRect()
8064 r.top = mLayout.getLineTop(lineStart); in getFocusedRect()
9439 unpaddedHeight = Math.min(unpaddedHeight, mLayout.getLineTop(mMaximum)); in onMeasure()
9601 desired = layout.getLineTop(mMaximum); in getDesiredHeight()
9862 final int top = layout.getLineTop(line); in bringPointIntoView()
9863 final int bottom = layout.getLineTop(line + 1); in bringPointIntoView()
10035 final int top = mLayout.getLineTop(line); in moveCursorToVisibleOffset()
[all …]
/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.java564 final float currentY = layout.getLineTop(currentLine); in locateHandlePointsTextIndex()
650 layout.getLineTop(line)); in locateTextAtIndex()
/frameworks/base/core/tests/coretests/src/android/widget/
DEditorCursorDragTest.java538 final float cursorStartY = layout.getLineTop(1) + tv.getTotalPaddingTop(); in testCursorDrag_multiTouch()
580 final float cursorStartY = layout.getLineTop(1) + tv.getTotalPaddingTop(); in testCursorDrag_snapDistance()
745 int top = layout.getLineTop(line); in getCoordinates()
/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.java1999 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/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt29541 method public int getLineTop(int);
29576 method public int getLineTop(int);
29705 method public abstract int getLineTop(int);
29914 method public int getLineTop(int);
/frameworks/base/api/
Dcurrent.txt49253 method public int getLineTop(int);
49288 method public int getLineTop(int);
49448 method public abstract int getLineTop(int);
49707 method public int getLineTop(int);
/frameworks/base/config/
Dboot-image-profile.txt19276 HSPLandroid/text/BoringLayout;->getLineTop(I)I
19357 HSPLandroid/text/DynamicLayout;->getLineTop(I)I
19710 HSPLandroid/text/StaticLayout;->getLineTop(I)I