Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/method/
DOffsetMapping.java105 int originalToTransformed(int offset, @MapStrategy int strategy); in originalToTransformed() method
144 void originalToTransformed(TextUpdate textUpdate); in originalToTransformed() method
DInsertModeTransformationMethod.java218 public int originalToTransformed(int offset, int strategy) { in originalToTransformed() method in InsertModeTransformationMethod.TransformedText
247 public void originalToTransformed(TextUpdate textUpdate) { in originalToTransformed() method in InsertModeTransformationMethod.TransformedText
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewTest.java356 assertThat(mTextView.originalToTransformed(offset, OffsetMapping.MAP_STRATEGY_CURSOR)) in originalToTransformed_noOffsetMapping()
358 assertThat(mTextView.originalToTransformed(offset, in originalToTransformed_noOffsetMapping()
369 when(transformedText.originalToTransformed(anyInt(), anyInt())).then((invocation) -> { in originalToTransformed_hasOffsetMapping()
382 assertThat(mTextView.originalToTransformed(1, OffsetMapping.MAP_STRATEGY_CHARACTER)) in originalToTransformed_hasOffsetMapping()
385 .originalToTransformed(1, OffsetMapping.MAP_STRATEGY_CHARACTER); in originalToTransformed_hasOffsetMapping()
387 assertThat(mTextView.originalToTransformed(1, OffsetMapping.MAP_STRATEGY_CURSOR)) in originalToTransformed_hasOffsetMapping()
390 .originalToTransformed(1, OffsetMapping.MAP_STRATEGY_CURSOR); in originalToTransformed_hasOffsetMapping()
/frameworks/base/core/tests/coretests/src/android/text/
DDynamicLayoutOffsetMappingTest.java281 public int originalToTransformed(int offset, int strategy) { in originalToTransformed() method in DynamicLayoutOffsetMappingTest.TestOffsetMapping
305 public void originalToTransformed(TextUpdate textUpdate) { in originalToTransformed() method in DynamicLayoutOffsetMappingTest.TestOffsetMapping
/frameworks/base/core/java/android/widget/
DEditor.java1305 final int startOffsetTransformed = mTextView.originalToTransformed(startOffset, in getParagraphsRange()
1307 final int endOffsetTransformed = mTextView.originalToTransformed(endOffset, in getParagraphsRange()
1374 mTextView.originalToTransformed(offset, OffsetMapping.MAP_STRATEGY_CURSOR); in getNextCursorOffset()
1439 mTextView.originalToTransformed(offset, OffsetMapping.MAP_STRATEGY_CURSOR); in isOffsetVisible()
2389 mTextView.originalToTransformed(start, OffsetMapping.MAP_STRATEGY_CHARACTER); in invalidateTextDisplayList()
2391 mTextView.originalToTransformed(end, OffsetMapping.MAP_STRATEGY_CHARACTER); in invalidateTextDisplayList()
2436 final int transformedOffset = mTextView.originalToTransformed(offset, in updateCursorPosition()
3842 final int transformedOffset = mTextView.originalToTransformed(offset, in computeLocalPosition()
5227 mTextView.originalToTransformed(offset, OffsetMapping.MAP_STRATEGY_CURSOR); in isAtRtlRun()
5234 mTextView.originalToTransformed(offset, OffsetMapping.MAP_STRATEGY_CURSOR); in getHorizontal()
[all …]
DSelectionActionModeHelper.java384 textView.originalToTransformed(start, OffsetMapping.MAP_STRATEGY_CURSOR); in convertSelectionToRectangles()
386 textView.originalToTransformed(end, OffsetMapping.MAP_STRATEGY_CURSOR); in convertSelectionToRectangles()
/frameworks/base/core/java/android/text/
DDynamicLayout.java1261 transformedText.originalToTransformed(mTransformedTextUpdate); in beforeTextChanged()
1301 start = transformedText.originalToTransformed(start, in transformAndReflow()
1303 end = transformedText.originalToTransformed(end, in transformAndReflow()
/frameworks/base/core/tests/coretests/src/android/text/method/
DInsertModeTransformationMethodTest.java935 assertThat(transformedText.originalToTransformed(offset, strategy)) in assertOriginalToTransformed()
/frameworks/base/boot/
Dboot-image-profile.txt20607 HSPLandroid/widget/TextView;->originalToTransformed(II)I
/frameworks/base/config/
Dboot-image-profile.txt20671 HSPLandroid/widget/TextView;->originalToTransformed(II)I