Home
last modified time | relevance | path

Searched refs:getHorizontal (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/text/
DLayout.java1160 return getHorizontal(offset, trailing, clamped); in getPrimaryHorizontal()
1180 return getHorizontal(offset, !trailing, clamped); in getSecondaryHorizontal()
1183 private float getHorizontal(int offset, boolean primary) { in getHorizontal() method in Layout
1187 private float getHorizontal(int offset, boolean trailing, boolean clamped) { in getHorizontal() method in Layout
1190 return getHorizontal(offset, trailing, line, clamped); in getHorizontal()
1193 private float getHorizontal(int offset, boolean trailing, int line, boolean clamped) { in getHorizontal() method in Layout
1664 return getHorizontal(offset, mPrimary); in get()
1958 float h1 = getHorizontal(st, false, line, false /* not clamped */); in addSelection()
1959 float h2 = getHorizontal(en, true, line, false /* not clamped */); in addSelection()
/frameworks/base/core/java/android/widget/
DEditor.java4680 public float getHorizontal(@NonNull Layout layout, int offset) { in getHorizontal() method in Editor.HandleView
4739 return (int) (getHorizontal(layout, offset) - 0.5f); in getCursorHorizontalPosition()
4907 != (getHorizontal(mTextView.getLayout(), offset) in obtainMagnifierShowCoordinates()
4908 < getHorizontal(mTextView.getLayout(), otherHandleOffset)); in obtainMagnifierShowCoordinates()
4917 leftBound += getHorizontal(mTextView.getLayout(), otherHandleOffset); in obtainMagnifierShowCoordinates()
4922 rightBound += getHorizontal(mTextView.getLayout(), otherHandleOffset); in obtainMagnifierShowCoordinates()
5203 final float horizontal = getHorizontal(layout, offset); in getCursorHorizontalPosition()
5512 final float adjustedX = getHorizontal(layout, offset); in updatePosition()
5532 final float adjustedX = getHorizontal(layout, offset); in updatePosition()
5547 - getHorizontal(layout, mPreviousOffset); in updatePosition()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewActions.java462 final float currentX = handleView.getHorizontal(layout, currentOffset); in locateHandlePointsTextIndex()