Searched refs:MAP_STRATEGY_CHARACTER (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/text/method/ |
D | OffsetMapping.java | 37 int MAP_STRATEGY_CHARACTER = 0; field 48 MAP_STRATEGY_CHARACTER,
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewTest.java | 345 OffsetMapping.MAP_STRATEGY_CHARACTER)).isEqualTo(offset); in transformedToOriginal_noOffsetMapping() 359 OffsetMapping.MAP_STRATEGY_CHARACTER)).isEqualTo(offset); in originalToTransformed_noOffsetMapping() 371 if ((int) invocation.getArgument(1) == OffsetMapping.MAP_STRATEGY_CHARACTER) { 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() 401 if ((int) invocation.getArgument(1) == OffsetMapping.MAP_STRATEGY_CHARACTER) { 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()
|
/frameworks/base/core/tests/coretests/src/android/text/method/ |
D | InsertModeTransformationMethodTest.java | 626 assertOriginalToTransformed(transformedText, OffsetMapping.MAP_STRATEGY_CHARACTER, in transformedText_originalToTransformed() 645 assertOriginalToTransformed(transformedText, OffsetMapping.MAP_STRATEGY_CHARACTER, in transformedText_originalToTransformed_singleLine() 651 assertOriginalToTransformed(transformedText, OffsetMapping.MAP_STRATEGY_CHARACTER, in transformedText_originalToTransformed_singleLine() 665 assertTransformedToOriginal(transformedText, OffsetMapping.MAP_STRATEGY_CHARACTER, in transformedText_transformedToOriginal() 685 assertTransformedToOriginal(transformedText, OffsetMapping.MAP_STRATEGY_CHARACTER, in transformedText_transformedToOriginal_singleLine() 691 assertTransformedToOriginal(transformedText, OffsetMapping.MAP_STRATEGY_CHARACTER, in transformedText_transformedToOriginal_singleLine()
|
/frameworks/base/core/java/android/text/ |
D | DynamicLayout.java | 1302 OffsetMapping.MAP_STRATEGY_CHARACTER); in transformAndReflow() 1304 OffsetMapping.MAP_STRATEGY_CHARACTER); in transformAndReflow()
|
/frameworks/base/core/java/android/widget/ |
D | Editor.java | 2389 mTextView.originalToTransformed(start, OffsetMapping.MAP_STRATEGY_CHARACTER); in invalidateTextDisplayList() 2391 mTextView.originalToTransformed(end, OffsetMapping.MAP_STRATEGY_CHARACTER); in invalidateTextDisplayList() 6426 mTextView.transformedToOriginal(offset, OffsetMapping.MAP_STRATEGY_CHARACTER); 7318 mTextView.originalToTransformed(start, OffsetMapping.MAP_STRATEGY_CHARACTER), in updatePath() 7319 mTextView.originalToTransformed(end, OffsetMapping.MAP_STRATEGY_CHARACTER), in updatePath()
|