Searched refs:transformedToOriginal (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewTest.java | 342 assertThat(mTextView.transformedToOriginal(offset, OffsetMapping.MAP_STRATEGY_CURSOR)) in transformedToOriginal_noOffsetMapping() 344 assertThat(mTextView.transformedToOriginal(offset, in transformedToOriginal_noOffsetMapping() 399 when(transformedText.transformedToOriginal(anyInt(), anyInt())).then((invocation) -> { in transformedToOriginal_hasOffsetMapping() 412 assertThat(mTextView.transformedToOriginal(1, OffsetMapping.MAP_STRATEGY_CHARACTER)) in transformedToOriginal_hasOffsetMapping() 415 .transformedToOriginal(1, OffsetMapping.MAP_STRATEGY_CHARACTER); in transformedToOriginal_hasOffsetMapping() 417 assertThat(mTextView.transformedToOriginal(1, OffsetMapping.MAP_STRATEGY_CURSOR)) in transformedToOriginal_hasOffsetMapping() 420 .transformedToOriginal(1, OffsetMapping.MAP_STRATEGY_CURSOR); in transformedToOriginal_hasOffsetMapping()
|
/frameworks/base/core/java/android/text/method/ |
D | OffsetMapping.java | 130 int transformedToOriginal(int offset, @MapStrategy int strategy); in transformedToOriginal() method
|
D | InsertModeTransformationMethod.java | 233 public int transformedToOriginal(int offset, int strategy) { in transformedToOriginal() method in InsertModeTransformationMethod.TransformedText 317 transformedToOriginal(start, OffsetMapping.MAP_STRATEGY_CURSOR); in getSpans() 319 transformedToOriginal(end, OffsetMapping.MAP_STRATEGY_CURSOR); in getSpans()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | DynamicLayoutOffsetMappingTest.java | 293 public int transformedToOriginal(int offset, int strategy) { in transformedToOriginal() method in DynamicLayoutOffsetMappingTest.TestOffsetMapping
|
/frameworks/base/core/java/android/widget/ |
D | Editor.java | 1332 final int paragraphStart = mTextView.transformedToOriginal(layout.getLineStart(minLine), in getParagraphsRange() 1334 final int paragraphEnd = mTextView.transformedToOriginal(layout.getLineEnd(maxLine), in getParagraphsRange() 1382 return mTextView.transformedToOriginal(nextCursor, OffsetMapping.MAP_STRATEGY_CURSOR); in getNextCursorOffset() 6397 offset = mTextView.transformedToOriginal(offset, 6426 mTextView.transformedToOriginal(offset, OffsetMapping.MAP_STRATEGY_CHARACTER); 6456 return mTextView.transformedToOriginal(primaryOffset, 6476 return mTextView.transformedToOriginal(offset, OffsetMapping.MAP_STRATEGY_CURSOR);
|
/frameworks/base/core/tests/coretests/src/android/text/method/ |
D | InsertModeTransformationMethodTest.java | 943 assertThat(transformedText.transformedToOriginal(offset, strategy)) in assertTransformedToOriginal()
|