Home
last modified time | relevance | path

Searched refs:getPrimaryHorizontal (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/text/
DSelection.java145 float h = layout.getPrimaryHorizontal(end); in moveUp()
191 float h = layout.getPrimaryHorizontal(end); in moveDown()
270 float h = layout.getPrimaryHorizontal(end); in extendUp()
299 float h = layout.getPrimaryHorizontal(end); in extendDown()
432 float h1 = layout.getPrimaryHorizontal(off1); in chooseHorizontal()
433 float h2 = layout.getPrimaryHorizontal(off2); in chooseHorizontal()
DLayout.java871 public float getPrimaryHorizontal(int offset) { in getPrimaryHorizontal() method in Layout
872 return getPrimaryHorizontal(offset, false /* not clamped */); in getPrimaryHorizontal()
880 public float getPrimaryHorizontal(int offset, boolean clamped) { in getPrimaryHorizontal() method in Layout
1141 float bestdist = Math.abs(getPrimaryHorizontal(best) - horiz); in getOffsetForHorizontal()
1156 if (getPrimaryHorizontal(adguess) * swap >= horiz * swap) in getOffsetForHorizontal()
1168 float dist = Math.abs(getPrimaryHorizontal(low) - horiz); in getOffsetForHorizontal()
1172 float other = Math.abs(getPrimaryHorizontal(aft) - horiz); in getOffsetForHorizontal()
1186 float dist = Math.abs(getPrimaryHorizontal(here) - horiz); in getOffsetForHorizontal()
1194 float dist = Math.abs(getPrimaryHorizontal(max) - horiz); in getOffsetForHorizontal()
1393 float h1 = getPrimaryHorizontal(point, clamped) - 0.5f; in getCursorPath()
/frameworks/base/core/java/android/widget/
DEditor.java973 final int primaryHorizontal = (int) layout.getPrimaryHorizontal(offset); in isOffsetVisible()
1703 updateCursorPosition(0, top, middle, layout.getPrimaryHorizontal(offset, clamped)); in updateCursorsPositions()
2585 mPositionX = (int) (mTextView.getLayout().getPrimaryHorizontal(offset) - width / 2.0f); in computeLocalPosition()
3307 layout.getPrimaryHorizontal(mTextView.getSelectionStart()); in onGetContentRect()
3408 final float primary = layout.getPrimaryHorizontal(offset); in updatePosition()
3461 final float insertionMarkerX = layout.getPrimaryHorizontal(offset) in updatePosition()
3563 mPositionX = (int) (layout.getPrimaryHorizontal(offset) - 0.5f - mHotspotX - in updateDrawable()
3693 mPositionX = (int) (layout.getPrimaryHorizontal(offset) - 0.5f - mHotspotX - in positionAtCursorOffset()
3753 int startX = (int) (layout.getPrimaryHorizontal(offset) - 0.5f in showAtLocation()
4206 final float adjustedX = layout.getPrimaryHorizontal(offset); in updatePosition()
[all …]
DTextView.java5170 left = (int) mLayout.getPrimaryHorizontal(start); in invalidateRegion()
5171 right = (int) (mLayout.getPrimaryHorizontal(end) + 1.0); in invalidateRegion()
5747 r.left = (int) mLayout.getPrimaryHorizontal(selEnd) - 2; in getFocusedRect()
5755 r.left = (int) mLayout.getPrimaryHorizontal(selStart); in getFocusedRect()
5756 r.right = (int) mLayout.getPrimaryHorizontal(selEnd); in getFocusedRect()
7311 final int x = (int)layout.getPrimaryHorizontal(offset, clamped); in bringPointIntoView()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java2390 float h = layout.getPrimaryHorizontal(end); in up()
2412 float h = layout.getPrimaryHorizontal(end); in down()
/frameworks/base/api/
Dcurrent.txt32183 method public float getPrimaryHorizontal(int);
Dsystem-current.txt34475 method public float getPrimaryHorizontal(int);