Home
last modified time | relevance | path

Searched refs:currentOffset (Results 1 – 6 of 6) sorted by relevance

/aosp14/frameworks/base/core/tests/coretests/src/android/text/method/
H A DWordIteratorTest.java319 currentOffset = wordIterator.nextBoundary(currentOffset); in testNextBoundary()
322 currentOffset = wordIterator.nextBoundary(currentOffset); in testNextBoundary()
325 currentOffset = wordIterator.nextBoundary(currentOffset); in testNextBoundary()
328 currentOffset = wordIterator.nextBoundary(currentOffset); in testNextBoundary()
331 currentOffset = wordIterator.nextBoundary(currentOffset); in testNextBoundary()
334 currentOffset = wordIterator.nextBoundary(currentOffset); in testNextBoundary()
337 currentOffset = wordIterator.nextBoundary(currentOffset); in testNextBoundary()
340 currentOffset = wordIterator.nextBoundary(currentOffset); in testNextBoundary()
343 currentOffset = wordIterator.nextBoundary(currentOffset); in testNextBoundary()
365 currentOffset = wordIterator.prevBoundary(currentOffset); in testPrevBoundary()
[all …]
/aosp14/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/scene/
H A DElement.kt321 val currentOffset = lookaheadScopeCoordinates.localPositionOf(coords, Offset.Zero) regex
330 currentValue = { currentOffset },
336 currentOffset
343 placeable.place((targetOffset - currentOffset).round())
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/espresso/
H A DTextViewActions.java556 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()
/aosp14/frameworks/base/services/core/jni/
H A Dcom_android_server_am_CachedAppOptimizer.cpp169 uint64_t currentOffset() { return currentOffset_; } in currentOffset() function in android::VmaBatchCreator
/aosp14/frameworks/base/core/java/android/widget/
H A DEditor.java6157 final int currentOffset = getCurrentCursorOffset(); in updatePosition() local
6158 final boolean rtlAtCurrentOffset = isAtRtlRun(layout, currentOffset); in updatePosition()
6202 && ((isExpanding && ((isStartHandle() && offset < currentOffset) in updatePosition()
6203 || (!isStartHandle() && offset > currentOffset))) in updatePosition()
6348 final int currentOffset = getCurrentCursorOffset();
6350 ? currentOffset : Math.max(currentOffset - 1, 0);
6421 final int currentOffset = mTextView.originalToTransformed(getCurrentCursorOffset(),
6423 final int primaryDiff = Math.abs(primaryOffset - currentOffset);
6424 final int secondaryDiff = Math.abs(secondaryOffset - currentOffset);
6432 ? currentOffset : Math.max(currentOffset - 1, 0);
H A DRadialTimePickerView.java1170 final int currentOffset = getCircularDiff(current, touched, MINUTES_IN_CIRCLE); in getVirtualViewAt() local
1173 if (currentOffset < snappedOffset) { in getVirtualViewAt()