Home
last modified time | relevance | path

Searched refs:replacement (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/text/method/
DReplacementTransformationMethod.java54 char[] replacement = getReplacement(); in getTransformation() local
85 original, replacement)); in getTransformation()
89 replacement).toString(); in getTransformation()
96 original, replacement); in getTransformation()
98 return new ReplacementCharSequence(source, original, replacement); in getTransformation()
113 char[] replacement) { in ReplacementCharSequence() argument
116 mReplacement = replacement; in ReplacementCharSequence()
174 char[] replacement) { in SpannedReplacementCharSequence() argument
175 super(source, original, replacement); in SpannedReplacementCharSequence()
DQwertyKeyListener.java370 String replacement = AutoText.get(src, start, end, view); in getReplacement() local
372 if (replacement == null) { in getReplacement()
374 replacement = AutoText.get(key, 0, end - start, view); in getReplacement()
377 if (replacement == null) in getReplacement()
393 out = replacement; in getReplacement()
395 out = toTitleCase(replacement); in getReplacement()
397 out = replacement.toUpperCase(); in getReplacement()
399 out = toTitleCase(replacement); in getReplacement()
/frameworks/base/core/java/android/text/format/
DDateFormat.java450 String replacement; in format() local
454 replacement = localeData.amPm[inDate.get(Calendar.AM_PM) - Calendar.AM]; in format()
457 replacement = zeroPad(inDate.get(Calendar.DATE), count); in format()
461 replacement = getDayOfWeekString(localeData, in format()
471 replacement = zeroPad(hour, count); in format()
484 replacement = zeroPad(hour, count); in format()
489 replacement = getMonthString(localeData, in format()
493 replacement = zeroPad(inDate.get(Calendar.MINUTE), count); in format()
496 replacement = zeroPad(inDate.get(Calendar.SECOND), count); in format()
499 replacement = getYearString(inDate.get(Calendar.YEAR), count); in format()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneNumberWatcherTest.java274 String replacement = "6501234567"; in testAutoCompleteUnformattedWithUnformattedNumber() local
276 testReplacement(init, replacement, expected); in testAutoCompleteUnformattedWithUnformattedNumber()
289 private void testReplacement(String init, String replacement, String expected) { in testReplacement() argument
295 textWatcher.beforeTextChanged(number, 0, init.length(), replacement.length()); in testReplacement()
296 number.replace(0, init.length(), replacement, 0, replacement.length()); in testReplacement()
297 Selection.setSelection(number, replacement.length()); // move the cursor to the end in testReplacement()
298 textWatcher.onTextChanged(number, 0, init.length(), replacement.length()); in testReplacement()
/frameworks/base/core/java/android/text/
DMeasuredParagraph.java500 private void applyReplacementRun(@NonNull ReplacementSpan replacement, in applyReplacementRun() argument
507 final float width = replacement.getSize( in applyReplacementRun()
576 ReplacementSpan replacement = null; in applyMetricsAffectingSpan() local
582 replacement = (ReplacementSpan) span; in applyMetricsAffectingSpan()
597 if (replacement != null) { in applyMetricsAffectingSpan()
598 applyReplacementRun(replacement, startInCopiedBuffer, endInCopiedBuffer, builder); in applyMetricsAffectingSpan()
DTextLine.java748 ReplacementSpan replacement = null;
752 replacement = (ReplacementSpan)span;
758 if (replacement != null) {
972 private float handleReplacement(ReplacementSpan replacement, TextPaint wp,
999 ret = replacement.getSize(wp, mText, textStart, textLimit, fmi);
1011 replacement.draw(c, mText, textStart, textLimit,
1136 ReplacementSpan replacement = null;
1149 replacement = !insideEllipsis ? (ReplacementSpan) span : null;
1157 if (replacement != null) {
1158 x += handleReplacement(replacement, wp, i, mlimit, runIsRtl, c, x, top, y,
/frameworks/base/core/java/android/accounts/
DAccount.java166 public static String toSafeName(String name, char replacement) { in toSafeName() argument
172 builder.append(replacement); in toSafeName()
/frameworks/base/core/java/android/app/
DApplicationErrorReport.java403 String replacement = in sanitizeString() local
406 StringBuilder sb = new StringBuilder(acceptableLength + replacement.length()); in sanitizeString()
408 sb.append(replacement); in sanitizeString()
/frameworks/base/packages/SystemUI/docs/
Dplugin_hooks.md47 Use: Allows replacement of the volume dialog.
57 Use: Allows replacement of the keyguard main clock.
/frameworks/layoutlib/create/
DREADME.txt188 As explained earlier, the creator doesn't have any replacement code for methods to override. Instead
204 replacement version of Paint which will be used by the rest of the Android stack. The replacement
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java3170 final DrawableRecipientChip replacement = replacements.get(i); in processReplacements()
3171 if (replacement != null) { in processReplacements()
3173 final RecipientEntry newEntry = replacement.getEntry(); in processReplacements()
3191 replacement.getEntry()).trim() + " "); in processReplacements()
3192 displayText.setSpan(replacement, 0, in processReplacements()
3199 replacement.setOriginalText(displayText.toString()); in processReplacements()
3202 recipients.set(i, replacement); in processReplacements()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dstrutil.cc1605 const string& replacement, in GlobalReplaceSubstring() argument
1621 tmp.append(replacement.begin(), replacement.end()); in GlobalReplaceSubstring()
Dstrutil.h788 const string& replacement,
/frameworks/native/services/inputflinger/
DInputDispatcher.cpp2626 struct KeyReplacement replacement = {keyCode, deviceId}; in accelerateMetaShortcuts() local
2627 mReplacedKeys.add(replacement, newKeyCode); in accelerateMetaShortcuts()
2636 struct KeyReplacement replacement = {keyCode, deviceId}; in accelerateMetaShortcuts() local
2637 ssize_t index = mReplacedKeys.indexOfKey(replacement); in accelerateMetaShortcuts()
3747 const KeyReplacement& replacement = mReplacedKeys.keyAt(i); in dumpDispatchStateLocked() local
3750 i, replacement.keyCode, replacement.deviceId, newKeyCode); in dumpDispatchStateLocked()
/frameworks/base/media/java/android/media/
DWebVttRenderer.java194 private boolean replaceEscape(String escape, String replacement, int pos) { in replaceEscape() argument
197 mData.append(replacement); in replaceEscape()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java2181 boolean removeReplacedWindowIfNeeded(WindowState replacement) { in removeReplacedWindowIfNeeded() argument
2182 if (mWillReplaceWindow && mReplacementWindow == replacement && replacement.hasDrawnLw()) { in removeReplacedWindowIfNeeded()
2183 replacement.mSkipEnterAnimationForSeamlessReplacement = false; in removeReplacedWindowIfNeeded()
2190 if (c.removeReplacedWindowIfNeeded(replacement)) { in removeReplacedWindowIfNeeded()
DAppWindowToken.java1421 void removeReplacedWindowIfNeeded(WindowState replacement) { in removeReplacedWindowIfNeeded() argument
1424 if (win.removeReplacedWindowIfNeeded(replacement)) { in removeReplacedWindowIfNeeded()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java751 final NetworkAgentInfo replacement = list.get(0); in remove() local
752 maybeLogBroadcast(replacement, DetailedState.CONNECTED, type, in remove()
753 mService.isDefaultNetwork(replacement)); in remove()
754 mService.sendLegacyNetworkBroadcast(replacement, DetailedState.CONNECTED, type); in remove()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/
DGPBUtilities.m306 // 'nil' has been abused as a replacement for an empty string/data in ObjC.
/frameworks/base/media/native/midi/include/
DDoxyfile.orig1736 # string, for the replacement values of the other commands the user is referred
DDoxyfile1736 # string, for the replacement values of the other commands the user is referred
/frameworks/av/media/codec2/docs/
Ddoxygen.config1686 # string, for the replacement values of the other commands the user is referred
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt44179 method public final java.lang.String replacement();
44206 method public final byte[] replacement();
/frameworks/base/api/
Dcurrent.txt63356 method public final String replacement();
63383 method public final byte[] replacement();
/frameworks/base/config/
Dboot-image-profile.txt27573 HSPLjava/nio/charset/CharsetEncoder;->replacement()[B

12