/frameworks/base/core/java/android/text/method/ |
D | OffsetMapping.java | 105 int originalToTransformed(int offset, @MapStrategy int strategy); in originalToTransformed() method 144 void originalToTransformed(TextUpdate textUpdate); in originalToTransformed() method
|
D | InsertModeTransformationMethod.java | 218 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/ |
D | TextViewTest.java | 356 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/ |
D | DynamicLayoutOffsetMappingTest.java | 281 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/ |
D | Editor.java | 1305 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 …]
|
D | SelectionActionModeHelper.java | 384 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/ |
D | DynamicLayout.java | 1261 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/ |
D | InsertModeTransformationMethodTest.java | 935 assertThat(transformedText.originalToTransformed(offset, strategy)) in assertOriginalToTransformed()
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 20607 HSPLandroid/widget/TextView;->originalToTransformed(II)I
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 20671 HSPLandroid/widget/TextView;->originalToTransformed(II)I
|