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.java384 String replacement = AutoText.get(src, start, end, view); in getReplacement() local
386 if (replacement == null) { in getReplacement()
388 replacement = AutoText.get(key, 0, end - start, view); in getReplacement()
391 if (replacement == null) in getReplacement()
407 out = replacement; in getReplacement()
409 out = toTitleCase(replacement); in getReplacement()
411 out = replacement.toUpperCase(); in getReplacement()
413 out = toTitleCase(replacement); in getReplacement()
/frameworks/base/core/java/android/text/format/
DDateFormat.java518 String replacement; in format() local
522 replacement = amPm[inDate.get(Calendar.AM_PM) - Calendar.AM]; in format()
525 replacement = zeroPad(inDate.get(Calendar.DATE), count); in format()
529 replacement = getDayOfWeekString(dfs, in format()
539 replacement = zeroPad(hour, count); in format()
552 replacement = zeroPad(hour, count); in format()
557 replacement = getMonthString(dfs, inDate.get(Calendar.MONTH), count, c); in format()
560 replacement = zeroPad(inDate.get(Calendar.MINUTE), count); in format()
563 replacement = zeroPad(inDate.get(Calendar.SECOND), count); in format()
566 replacement = getYearString(inDate.get(Calendar.YEAR), count); in format()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneNumberWatcherTest.java291 String replacement = "6501234567"; in testAutoCompleteUnformattedWithUnformattedNumber() local
293 testReplacement(init, replacement, expected); in testAutoCompleteUnformattedWithUnformattedNumber()
306 private void testReplacement(String init, String replacement, String expected) { in testReplacement() argument
312 textWatcher.beforeTextChanged(number, 0, init.length(), replacement.length()); in testReplacement()
313 number.replace(0, init.length(), replacement, 0, replacement.length()); in testReplacement()
314 Selection.setSelection(number, replacement.length()); // move the cursor to the end in testReplacement()
315 textWatcher.onTextChanged(number, 0, init.length(), replacement.length()); in testReplacement()
/frameworks/base/core/java/android/accounts/
DAccount.java177 public static String toSafeName(String name, char replacement) { in toSafeName() argument
183 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. See [additional Documentation](./clock-plugins.…
62 Use: Allows replacement of uncustomized toasts created via Toast.makeText().
/frameworks/base/core/java/android/text/
DMeasuredParagraph.java762 private void applyReplacementRun(@NonNull ReplacementSpan replacement, in applyReplacementRun() argument
771 final float width = replacement.getSize( in applyReplacementRun()
871 ReplacementSpan replacement = null; in applyMetricsAffectingSpan() local
877 replacement = (ReplacementSpan) span; in applyMetricsAffectingSpan()
900 if (replacement != null) { in applyMetricsAffectingSpan()
901 applyReplacementRun(replacement, startInCopiedBuffer, endInCopiedBuffer, mCachedPaint, in applyMetricsAffectingSpan()
DTextLine.java1151 ReplacementSpan replacement = null; in getOffsetBeforeAfter() local
1155 replacement = (ReplacementSpan)span; in getOffsetBeforeAfter()
1161 if (replacement != null) { in getOffsetBeforeAfter()
1473 private float handleReplacement(ReplacementSpan replacement, TextPaint wp, in handleReplacement() argument
1500 ret = replacement.getSize(wp, mText, textStart, textLimit, fmi); in handleReplacement()
1512 replacement.draw(c, mText, textStart, textLimit, in handleReplacement()
1659 ReplacementSpan replacement = null; in handleRun() local
1672 replacement = !insideEllipsis ? (ReplacementSpan) span : null; in handleRun()
1680 if (replacement != null) { in handleRun()
1681 final float width = handleReplacement(replacement, wp, i, mlimit, runIsRtl, c, in handleRun()
/frameworks/base/core/tests/coretests/src/android/widget/
DRemoteViewsTest.java848 final View replacement = new FrameLayout(mContext); in layoutInflaterFactory_replacesImageView_viewReplaced() local
849 replacement.setId(1337); in layoutInflaterFactory_replacesImageView_viewReplaced()
851 LayoutInflater.Factory2 factory = createLayoutInflaterFactory("ImageView", replacement); in layoutInflaterFactory_replacesImageView_viewReplaced()
860 assertEquals(replacement, replacedFrameLayout); in layoutInflaterFactory_replacesImageView_viewReplaced()
868 final TextView replacement = new TextView(mContext); in layoutInflaterFactory_replacesImageView_settersStillFunctional() local
869 replacement.setId(R.id.text); in layoutInflaterFactory_replacesImageView_settersStillFunctional()
871 rv.setLayoutInflaterFactory(createLayoutInflaterFactory("TextView", replacement)); in layoutInflaterFactory_replacesImageView_settersStillFunctional()
879 assertSame(replacement, replacedTextView); in layoutInflaterFactory_replacesImageView_settersStillFunctional()
/frameworks/base/core/java/android/app/
DApplicationErrorReport.java417 String replacement = in sanitizeString() local
420 StringBuilder sb = new StringBuilder(acceptableLength + replacement.length()); in sanitizeString()
422 sb.append(replacement); in sanitizeString()
/frameworks/base/core/java/android/widget/
DTextViewOnReceiveContentListener.java117 @NonNull CharSequence replacement) { in replaceSelection() argument
123 editable.replace(start, end, replacement); in replaceSelection()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryManager.java379 NotificationHistoryDatabase replacement) { in replaceNotificationHistoryDatabase() argument
382 mUserState.put(userId, replacement); in replaceNotificationHistoryDatabase()
/frameworks/layoutlib/create/
DREADME.txt181 As explained earlier, the creator doesn't have any replacement code for methods to override. Instead
197 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.java3173 final DrawableRecipientChip replacement = replacements.get(i); in processReplacements()
3174 if (replacement != null) { in processReplacements()
3176 final RecipientEntry newEntry = replacement.getEntry(); in processReplacements()
3194 replacement.getEntry()).trim() + " "); in processReplacements()
3195 displayText.setSpan(replacement, 0, in processReplacements()
3202 replacement.setOriginalText(displayText.toString()); in processReplacements()
3205 recipients.set(i, replacement); in processReplacements()
/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/rs/tests/java_api/Refocus/src/com/android/rs/test/
Dlayered_filter_fast_f32.rscript393 // g_fuzzy_image. Does the replacement in a soft way by blending g_sharp_image
Dlayered_filter_fast_d1new.rscript576 // g_fuzzy_image. Does the replacement in a soft way by blending g_sharp_image
/frameworks/av/media/codec2/docs/
Ddoxygen.config1686 # string, for the replacement values of the other commands the user is referred
/frameworks/base/media/native/midi/include/
DDoxyfile1736 # string, for the replacement values of the other commands the user is referred
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt44179 method public final java.lang.String replacement();
44206 method public final byte[] replacement();
/frameworks/base/config/
Dboot-image-profile.txt26181 HSPLjava/nio/charset/CharsetDecoder;->replacement()Ljava/lang/String;
26203 HSPLjava/nio/charset/CharsetEncoder;->replacement()[B