Home
last modified time | relevance | path

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

/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.java745 ReplacementSpan replacement = null; in getOffsetBeforeAfter() local
749 replacement = (ReplacementSpan)span; in getOffsetBeforeAfter()
755 if (replacement != null) { in getOffsetBeforeAfter()
969 private float handleReplacement(ReplacementSpan replacement, TextPaint wp, in handleReplacement() argument
996 ret = replacement.getSize(wp, mText, textStart, textLimit, fmi); in handleReplacement()
1008 replacement.draw(c, mText, textStart, textLimit, in handleReplacement()
1133 ReplacementSpan replacement = null; in handleRun() local
1146 replacement = !insideEllipsis ? (ReplacementSpan) span : null; in handleRun()
1154 if (replacement != null) { in handleRun()
1155 x += handleReplacement(replacement, wp, i, mlimit, runIsRtl, c, x, top, y, in handleRun()
/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/packages/SystemUI/docs/
Dplugin_hooks.md47 Use: Allows replacement of the volume dialog.
57 Use: Allows replacement of the keyguard main clock.
/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/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.cpp2656 struct KeyReplacement replacement = {keyCode, deviceId}; in accelerateMetaShortcuts() local
2657 mReplacedKeys.add(replacement, newKeyCode); in accelerateMetaShortcuts()
2666 struct KeyReplacement replacement = {keyCode, deviceId}; in accelerateMetaShortcuts() local
2667 ssize_t index = mReplacedKeys.indexOfKey(replacement); in accelerateMetaShortcuts()
3777 const KeyReplacement& replacement = mReplacedKeys.keyAt(i); in dumpDispatchStateLocked() local
3780 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/
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/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/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