/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/format/ |
H A D | DateFormat.java | 515 String replacement; 519 replacement = localeData.amPm[inDate.get(Calendar.AM_PM) - Calendar.AM]; 522 replacement = zeroPad(inDate.get(Calendar.DATE), count); 526 replacement = getDayOfWeekString(localeData, 536 replacement = zeroPad(hour, count); 549 replacement = zeroPad(hour, count); 554 replacement = getMonthString(localeData, 558 replacement = zeroPad(inDate.get(Calendar.MINUTE), count); 561 replacement = zeroPad(inDate.get(Calendar.SECOND), count); 564 replacement [all...] |
/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/ |
H A D | MeasuredText.java | 120 mChars[j] = '\uFFFC'; // object replacement character 191 ReplacementSpan replacement = null; 195 replacement = (ReplacementSpan)span; 202 if (replacement == null) { 206 wid = replacement.getSize(workPaint, mText, mTextStart + mPos,
|
H A D | TextLine.java | 164 // Replace the first character of each replacement run with the 165 // object-replacement character and the remainder with zero width 652 ReplacementSpan replacement = null; 656 replacement = (ReplacementSpan)span; 662 if (replacement != null) { 663 // If we have a replacement span, we're moving either to 799 * Utility function for measuring and rendering a replacement. 802 * @param replacement the replacement 808 * @param x the edge of the replacement closes 817 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/opt/chips/src/com/android/ex/chips/ |
H A D | RecipientEditTextView.java | 2760 final DrawableRecipientChip replacement = replacements.get(i); 2761 if (replacement != null) { 2763 final RecipientEntry newEntry = replacement.getEntry(); 2781 replacement.getEntry()).trim() + " "); 2782 displayText.setSpan(replacement, 0, 2789 replacement.setOriginalText(displayText.toString()); 2792 recipients.set(i, replacement);
|
/frameworks/native/services/inputflinger/ |
H A D | InputDispatcher.cpp | 2372 struct KeyReplacement replacement = {keyCode, args->deviceId}; local 2373 mReplacedKeys.add(replacement, newKeyCode); 2382 struct KeyReplacement replacement = {keyCode, args->deviceId}; local 2383 ssize_t index = mReplacedKeys.indexOfKey(replacement); 3217 const KeyReplacement& replacement = mReplacedKeys.keyAt(i); local 3220 i, replacement.keyCode, replacement.deviceId, newKeyCode);
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | RecyclerViewLayoutTest.java | 1206 View replacement = lm.findViewByPosition(pos); 1207 assertNotNull("re-layout should replace ignored child w/ another one", replacement); 1208 assertNotSame("replacement should be a different view", replacement, ignored[0]);
|
/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);
|