Searched defs:replacement (Results 1 - 6 of 6) sorted by relevance
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | PhoneNumberWatcherTest.java | 252 * the deleted text doesn't have any formatting and neither does the replacement text: in this 253 * case the replacement text should be formatted by the PhoneNumberFormattingTextWatcher. 257 String replacement = "6501234567"; 259 testReplacement(init, replacement, expected); 272 private void testReplacement(String init, String replacement, String expected) { argument 278 textWatcher.beforeTextChanged(number, 0, init.length(), replacement.length()); 279 number.replace(0, init.length(), replacement, 0, replacement.length()); 280 Selection.setSelection(number, replacement.length()); // move the cursor to the end 281 textWatcher.onTextChanged(number, 0, init.length(), replacement [all...] |
/frameworks/base/core/java/android/text/method/ |
H A D | ReplacementTransformationMethod.java | 42 * Returns a parallel array of replacement characters for the ones 54 char[] replacement = getReplacement(); 85 original, replacement)); 89 replacement).toString(); 96 original, replacement); 98 return new ReplacementCharSequence(source, original, replacement); 113 char[] replacement) { 116 mReplacement = replacement; 174 char[] replacement) { 175 super(source, original, replacement); 112 ReplacementCharSequence(CharSequence source, char[] original, char[] replacement) argument 173 SpannedReplacementCharSequence(Spanned source, char[] original, char[] replacement) argument [all...] |
/frameworks/base/core/java/android/text/ |
H A D | TextLine.java | 161 // Replace the first character of each replacement run with the 162 // object-replacement character and the remainder with zero width 649 ReplacementSpan replacement = null; 653 replacement = (ReplacementSpan)span; 659 if (replacement != null) { 660 // If we have a replacement span, we're moving either to 796 * Utility function for measuring and rendering a replacement. 799 * @param replacement the replacement 805 * @param x the edge of the replacement closes 814 handleReplacement(ReplacementSpan replacement, TextPaint wp, int start, int limit, boolean runIsRtl, Canvas c, float x, int top, int y, int bottom, FontMetricsInt fmi, boolean needWidth) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | WebVttRenderer.java | 192 private boolean replaceEscape(String escape, String replacement, int pos) { argument 195 mData.append(replacement);
|
/frameworks/native/services/inputflinger/ |
H A D | InputDispatcher.cpp | 2397 struct KeyReplacement replacement = {keyCode, args->deviceId}; local 2398 mReplacedKeys.add(replacement, newKeyCode); 2407 struct KeyReplacement replacement = {keyCode, args->deviceId}; local 2408 ssize_t index = mReplacedKeys.indexOfKey(replacement); 3242 const KeyReplacement& replacement = mReplacedKeys.keyAt(i); local 3245 i, replacement.keyCode, replacement.deviceId, newKeyCode);
|
/frameworks/testing/espresso/libs/ |
H A D | guava-14.0.1.jar | META-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ... |
Completed in 318 milliseconds