Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/text/
DStaticLayoutTextMeasuringTest.java57 assertEquals(0.0f, layout.getPrimaryHorizontal(0), 0f); in testGetPrimaryHorizontal_zwnbsp()
58 assertEquals(layout.getPrimaryHorizontal(2), layout.getPrimaryHorizontal(1), 0f); in testGetPrimaryHorizontal_zwnbsp()
68 assertEquals(0.0f, layout.getPrimaryHorizontal(0), 0f); in testGetPrimaryHorizontal_devanagari()
69 assertEquals(layout.getPrimaryHorizontal(2), layout.getPrimaryHorizontal(1), 0f); in testGetPrimaryHorizontal_devanagari()
81 assertEquals(0.0f, layout.getPrimaryHorizontal(0), 0f); in testGetPrimaryHorizontal_flagEmoji()
82 assertEquals(layout.getPrimaryHorizontal(4), layout.getPrimaryHorizontal(1), 0f); in testGetPrimaryHorizontal_flagEmoji()
83 assertEquals(layout.getPrimaryHorizontal(4), layout.getPrimaryHorizontal(2), 0f); in testGetPrimaryHorizontal_flagEmoji()
84 assertEquals(layout.getPrimaryHorizontal(4), layout.getPrimaryHorizontal(3), 0f); in testGetPrimaryHorizontal_flagEmoji()
86 assertTrue(layout.getPrimaryHorizontal(6) > layout.getPrimaryHorizontal(4)); in testGetPrimaryHorizontal_flagEmoji()
87 assertEquals(layout.getPrimaryHorizontal(6), layout.getPrimaryHorizontal(5), 0f); in testGetPrimaryHorizontal_flagEmoji()
/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.java1096 public float getPrimaryHorizontal(int offset) { in getPrimaryHorizontal() method in Layout
1097 return getPrimaryHorizontal(offset, false /* not clamped */); in getPrimaryHorizontal()
1105 public float getPrimaryHorizontal(int offset, boolean clamped) { in getPrimaryHorizontal() method in Layout
1130 return primary ? getPrimaryHorizontal(offset) : getSecondaryHorizontal(offset); in getHorizontal()
1754 float h1 = getPrimaryHorizontal(point, clamped) - 0.5f; in getCursorPath()
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/util/
DLinkAccessibilityHelper.java302 final float xStart = layout.getPrimaryHorizontal(spanStart); in getBoundsForSpan()
303 final float xEnd = layout.getPrimaryHorizontal(spanEnd); in getBoundsForSpan()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewActions.java546 (primary ? layout.getPrimaryHorizontal(index) in locateTextAtIndex()
/frameworks/base/core/java/android/widget/
DEditor.java1047 final int primaryHorizontal = (int) layout.getPrimaryHorizontal(offset); in isOffsetVisible()
1934 updateCursorPosition(0, top, middle, layout.getPrimaryHorizontal(offset, clamped)); in updateCursorsPositions()
3170 mPositionX = (int) (mTextView.getLayout().getPrimaryHorizontal(offset) - width / 2.0f); in computeLocalPosition()
4033 layout.getPrimaryHorizontal(mTextView.getSelectionStart())); in onGetContentRect()
4127 final float insertionMarkerX = layout.getPrimaryHorizontal(offset) in updatePosition()
4362 return layout.getPrimaryHorizontal(offset); in getHorizontal()
5086 ? layout.getPrimaryHorizontal(offset) : layout.getSecondaryHorizontal(offset);
DTextView.java6375 left = (int) mLayout.getPrimaryHorizontal(start); in invalidateRegion()
6376 right = (int) (mLayout.getPrimaryHorizontal(end) + 1.0); in invalidateRegion()
6931 r.left = (int) mLayout.getPrimaryHorizontal(selEnd) - 2; in getFocusedRect()
6939 r.left = (int) mLayout.getPrimaryHorizontal(selStart); in getFocusedRect()
6940 r.right = (int) mLayout.getPrimaryHorizontal(selEnd); in getFocusedRect()
8689 final int x = (int) layout.getPrimaryHorizontal(offset, clamped); in bringPointIntoView()
10541 final float primary = mLayout.getPrimaryHorizontal(offset); in populateCharacterBounds()
/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/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java1995 float chipLeftPosition = this.getLayout().getPrimaryHorizontal(chipLeftOffset); in touchedWarningIcon()
/frameworks/base/config/
Dboot-image-profile.txt6770 HPLandroid/text/Layout;->getPrimaryHorizontal(I)F
30914 HSPLandroid/text/Layout;->getPrimaryHorizontal(IZ)F
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt29716 method public float getPrimaryHorizontal(int);
/frameworks/base/api/
Dcurrent.txt41415 method public float getPrimaryHorizontal(int);
Dtest-current.txt41691 method public float getPrimaryHorizontal(int);
Dsystem-current.txt45000 method public float getPrimaryHorizontal(int);