Searched refs:getPrimaryHorizontal (Results 1 – 10 of 10) sorted by relevance
58 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()
242 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()
1148 public float getPrimaryHorizontal(int offset) { in getPrimaryHorizontal() method in Layout1149 return getPrimaryHorizontal(offset, false /* not clamped */); in getPrimaryHorizontal()1158 public float getPrimaryHorizontal(int offset, boolean clamped) { in getPrimaryHorizontal() method in Layout1184 return primary ? getPrimaryHorizontal(offset) : getSecondaryHorizontal(offset); in getHorizontal()1880 float h1 = getPrimaryHorizontal(point, clamped) - 0.5f; in getCursorPath()
264 final float xStart = layout.getPrimaryHorizontal(spanStart); in getBoundsForSpan()265 final float xEnd = layout.getPrimaryHorizontal(spanEnd); in getBoundsForSpan()
547 (primary ? layout.getPrimaryHorizontal(index) in locateTextAtIndex()
1150 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);
7450 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()
2390 float h = layout.getPrimaryHorizontal(end); in up()2412 float h = layout.getPrimaryHorizontal(end); in down()
1995 float chipLeftPosition = this.getLayout().getPrimaryHorizontal(chipLeftOffset); in touchedWarningIcon()
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...