Searched refs:currentOffset (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/text/method/ |
D | WordIteratorTest.java | 318 int currentOffset = 0; in testNextBoundary() local 319 currentOffset = wordIterator.nextBoundary(currentOffset); in testNextBoundary() 320 assertEquals(text.indexOf('c') + 1, currentOffset); in testNextBoundary() 322 currentOffset = wordIterator.nextBoundary(currentOffset); in testNextBoundary() 323 assertEquals(text.indexOf('d'), currentOffset); in testNextBoundary() 325 currentOffset = wordIterator.nextBoundary(currentOffset); in testNextBoundary() 326 assertEquals(text.indexOf('f') + 1, currentOffset); in testNextBoundary() 328 currentOffset = wordIterator.nextBoundary(currentOffset); in testNextBoundary() 329 assertEquals(text.indexOf('g'), currentOffset); in testNextBoundary() 331 currentOffset = wordIterator.nextBoundary(currentOffset); in testNextBoundary() [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | TextViewActions.java | 455 final int currentOffset = mHandleType == Handle.SELECTION_START ? in locateHandlePointsTextIndex() local 460 final int currentLine = layout.getLineForOffset(currentOffset); in locateHandlePointsTextIndex() 462 final float currentX = handleView.getHorizontal(layout, currentOffset); in locateHandlePointsTextIndex()
|
/frameworks/base/core/java/android/widget/ |
D | Editor.java | 5422 final int currentOffset = getCurrentCursorOffset(); in updatePosition() local 5423 final boolean rtlAtCurrentOffset = isAtRtlRun(layout, currentOffset); in updatePosition() 5464 && ((isExpanding && ((isStartHandle() && offset < currentOffset) in updatePosition() 5465 || (!isStartHandle() && offset > currentOffset))) in updatePosition() 5607 final int currentOffset = getCurrentCursorOffset(); 5609 ? currentOffset : Math.max(currentOffset - 1, 0); 5668 final int currentOffset = getCurrentCursorOffset(); 5669 final int primaryDiff = Math.abs(primaryOffset - currentOffset); 5670 final int secondaryDiff = Math.abs(secondaryOffset - currentOffset); 5677 ? currentOffset : Math.max(currentOffset - 1, 0);
|
D | RadialTimePickerView.java | 1167 final int currentOffset = getCircularDiff(current, touched, MINUTES_IN_CIRCLE); in getVirtualViewAt() local 1170 if (currentOffset < snappedOffset) { in getVirtualViewAt()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 28108 Landroid/icu/impl/number/Parse$StateItem;->currentOffset:I
|