Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/text/
DStaticLayoutTextMeasuringTest.java58 assertEquals(0.0f, layout.getPrimaryHorizontal(0), 0f); in testGetPrimaryHorizontal_zwnbsp()
59 assertEquals(layout.getPrimaryHorizontal(2), layout.getPrimaryHorizontal(1), 0f); in testGetPrimaryHorizontal_zwnbsp()
69 assertEquals(0.0f, layout.getPrimaryHorizontal(0), 0f); in testGetPrimaryHorizontal_devanagari()
70 assertEquals(layout.getPrimaryHorizontal(2), layout.getPrimaryHorizontal(1), 0f); in testGetPrimaryHorizontal_devanagari()
82 assertEquals(0.0f, layout.getPrimaryHorizontal(0), 0f); in testGetPrimaryHorizontal_flagEmoji()
83 assertEquals(layout.getPrimaryHorizontal(4), layout.getPrimaryHorizontal(1), 0f); in testGetPrimaryHorizontal_flagEmoji()
84 assertEquals(layout.getPrimaryHorizontal(4), layout.getPrimaryHorizontal(2), 0f); in testGetPrimaryHorizontal_flagEmoji()
85 assertEquals(layout.getPrimaryHorizontal(4), layout.getPrimaryHorizontal(3), 0f); in testGetPrimaryHorizontal_flagEmoji()
87 assertTrue(layout.getPrimaryHorizontal(6) > layout.getPrimaryHorizontal(4)); in testGetPrimaryHorizontal_flagEmoji()
88 assertEquals(layout.getPrimaryHorizontal(6), layout.getPrimaryHorizontal(5), 0f); in testGetPrimaryHorizontal_flagEmoji()
/frameworks/base/core/java/android/text/
DSelection.java242 float h = layout.getPrimaryHorizontal(memory); in setSelectionAndMemory()
247 float h = layout.getPrimaryHorizontal(end); in setSelectionAndMemory()
506 float h1 = layout.getPrimaryHorizontal(off1); in chooseHorizontal()
507 float h2 = layout.getPrimaryHorizontal(off2); in chooseHorizontal()
DLayout.java1148 public float getPrimaryHorizontal(int offset) { in getPrimaryHorizontal() method in Layout
1149 return getPrimaryHorizontal(offset, false /* not clamped */); in getPrimaryHorizontal()
1158 public float getPrimaryHorizontal(int offset, boolean clamped) { in getPrimaryHorizontal() method in Layout
1184 return primary ? getPrimaryHorizontal(offset) : getSecondaryHorizontal(offset); in getHorizontal()
1880 float h1 = getPrimaryHorizontal(point, clamped) - 0.5f; in getCursorPath()
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/util/
DLinkAccessibilityHelper.java264 final float xStart = layout.getPrimaryHorizontal(spanStart); in getBoundsForSpan()
265 final float xEnd = layout.getPrimaryHorizontal(spanEnd); in getBoundsForSpan()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewActions.java547 (primary ? layout.getPrimaryHorizontal(index) in locateTextAtIndex()
/frameworks/base/core/java/android/widget/
DEditor.java1150 final int primaryHorizontal = (int) layout.getPrimaryHorizontal(offset); in isOffsetVisible()
2071 updateCursorPosition(top, bottom, layout.getPrimaryHorizontal(offset, clamped)); in updateCursorPosition()
3333 mPositionX = (int) (mTextView.getLayout().getPrimaryHorizontal(offset) - width / 2.0f); in computeLocalPosition()
4253 layout.getPrimaryHorizontal(mTextView.getSelectionStart())); in onGetContentRect()
4347 final float insertionMarkerX = layout.getPrimaryHorizontal(offset) in updatePosition()
4681 return layout.getPrimaryHorizontal(offset); in getHorizontal()
5657 ? layout.getPrimaryHorizontal(offset) : layout.getSecondaryHorizontal(offset);
DTextView.java7450 left = (int) mLayout.getPrimaryHorizontal(start); in invalidateRegion()
7451 right = (int) (mLayout.getPrimaryHorizontal(end) + 1.0); in invalidateRegion()
8006 r.left = (int) mLayout.getPrimaryHorizontal(selEnd) - 2; in getFocusedRect()
8014 r.left = (int) mLayout.getPrimaryHorizontal(selStart); in getFocusedRect()
8015 r.right = (int) mLayout.getPrimaryHorizontal(selEnd); in getFocusedRect()
9823 final int x = (int) layout.getPrimaryHorizontal(offset, clamped); in bringPointIntoView()
11787 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/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...