Searched refs:currentOffset (Results 1 – 6 of 6) 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 | 556 final int currentOffset = mHandleType == Handle.SELECTION_START ? in locateHandlePointsTextIndex() local 561 final int currentLine = layout.getLineForOffset(currentOffset); in locateHandlePointsTextIndex() 563 final float currentX = handleView.getHorizontal(layout, currentOffset); in locateHandlePointsTextIndex()
|
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/ |
D | Element.kt | 326 val currentOffset = lookaheadScopeCoordinates.localPositionOf(coords, Offset.Zero) in Placeable() constant 335 currentValue = { currentOffset }, in Placeable() 367 val offset = (interruptedOffset - currentOffset).round() in Placeable()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_am_CachedAppOptimizer.cpp | 172 uint64_t currentOffset() { return currentOffset_; } in currentOffset() function in android::VmaBatchCreator
|
/frameworks/base/core/java/android/widget/ |
D | Editor.java | 6196 final int currentOffset = getCurrentCursorOffset(); in updatePosition() local 6197 final boolean rtlAtCurrentOffset = isAtRtlRun(layout, currentOffset); in updatePosition() 6241 && ((isExpanding && ((isStartHandle() && offset < currentOffset) in updatePosition() 6242 || (!isStartHandle() && offset > currentOffset))) in updatePosition() 6387 final int currentOffset = getCurrentCursorOffset(); 6389 ? currentOffset : Math.max(currentOffset - 1, 0); 6460 final int currentOffset = mTextView.originalToTransformed(getCurrentCursorOffset(), 6462 final int primaryDiff = Math.abs(primaryOffset - currentOffset); 6463 final int secondaryDiff = Math.abs(secondaryOffset - currentOffset); 6471 ? currentOffset : Math.max(currentOffset - 1, 0);
|
D | RadialTimePickerView.java | 1178 final int currentOffset = getCircularDiff(current, touched, MINUTES_IN_CIRCLE); in getVirtualViewAt() local 1181 if (currentOffset < snappedOffset) { in getVirtualViewAt()
|