Home
last modified time | relevance | path

Searched refs:replacement (Results 1 – 25 of 36) 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.java365 String replacement = AutoText.get(src, start, end, view); in getReplacement() local
367 if (replacement == null) { in getReplacement()
369 replacement = AutoText.get(key, 0, end - start, view); in getReplacement()
372 if (replacement == null) in getReplacement()
388 out = replacement; in getReplacement()
390 out = toTitleCase(replacement); in getReplacement()
392 out = replacement.toUpperCase(); in getReplacement()
394 out = toTitleCase(replacement); in getReplacement()
/frameworks/base/core/java/android/text/format/
DDateFormat.java453 String replacement; in format() local
457 replacement = localeData.amPm[inDate.get(Calendar.AM_PM) - Calendar.AM]; in format()
460 replacement = zeroPad(inDate.get(Calendar.DATE), count); in format()
464 replacement = getDayOfWeekString(localeData, in format()
474 replacement = zeroPad(hour, count); in format()
487 replacement = zeroPad(hour, count); in format()
492 replacement = getMonthString(localeData, in format()
496 replacement = zeroPad(inDate.get(Calendar.MINUTE), count); in format()
499 replacement = zeroPad(inDate.get(Calendar.SECOND), count); in format()
502 replacement = getYearString(inDate.get(Calendar.YEAR), count); in format()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneNumberWatcherTest.java257 String replacement = "6501234567"; in testAutoCompleteUnformattedWithUnformattedNumber() local
259 testReplacement(init, replacement, expected); in testAutoCompleteUnformattedWithUnformattedNumber()
272 private void testReplacement(String init, String replacement, String expected) { in testReplacement() argument
278 textWatcher.beforeTextChanged(number, 0, init.length(), replacement.length()); in testReplacement()
279 number.replace(0, init.length(), replacement, 0, replacement.length()); in testReplacement()
280 Selection.setSelection(number, replacement.length()); // move the cursor to the end in testReplacement()
281 textWatcher.onTextChanged(number, 0, init.length(), replacement.length()); in testReplacement()
/frameworks/base/core/java/android/text/
DMeasuredText.java191 ReplacementSpan replacement = null; in addStyleRun() local
195 replacement = (ReplacementSpan)span; in addStyleRun()
202 if (replacement == null) { in addStyleRun()
206 wid = replacement.getSize(workPaint, mText, mTextStart + mPos, in addStyleRun()
DTextLine.java649 ReplacementSpan replacement = null; in getOffsetBeforeAfter() local
653 replacement = (ReplacementSpan)span; in getOffsetBeforeAfter()
659 if (replacement != null) { in getOffsetBeforeAfter()
814 private float handleReplacement(ReplacementSpan replacement, TextPaint wp, in handleReplacement() argument
841 ret = replacement.getSize(wp, mText, textStart, textLimit, fmi); in handleReplacement()
853 replacement.draw(c, mText, textStart, textLimit, in handleReplacement()
918 ReplacementSpan replacement = null; in handleRun() local
927 replacement = (ReplacementSpan)span; in handleRun()
935 if (replacement != null) { in handleRun()
936 x += handleReplacement(replacement, wp, i, mlimit, runIsRtl, c, x, top, y, in handleRun()
/frameworks/base/tools/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.java2760 final DrawableRecipientChip replacement = replacements.get(i); in processReplacements()
2761 if (replacement != null) { in processReplacements()
2763 final RecipientEntry newEntry = replacement.getEntry(); in processReplacements()
2781 replacement.getEntry()).trim() + " "); in processReplacements()
2782 displayText.setSpan(replacement, 0, in processReplacements()
2789 replacement.setOriginalText(displayText.toString()); in processReplacements()
2792 recipients.set(i, replacement); in processReplacements()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DRecyclerViewLayoutTest.java674 View replacement = lm.findViewByPosition(pos); in testFindIgnoredByPosition() local
675 assertNotNull("re-layout should replace ignored child w/ another one", replacement); in testFindIgnoredByPosition()
676 assertNotSame("replacement should be a different view", replacement, ignored[0]); in testFindIgnoredByPosition()
/frameworks/native/services/inputflinger/
DInputDispatcher.cpp2397 struct KeyReplacement replacement = {keyCode, args->deviceId}; in notifyKey() local
2398 mReplacedKeys.add(replacement, newKeyCode); in notifyKey()
2407 struct KeyReplacement replacement = {keyCode, args->deviceId}; in notifyKey() local
2408 ssize_t index = mReplacedKeys.indexOfKey(replacement); in notifyKey()
3242 const KeyReplacement& replacement = mReplacedKeys.keyAt(i); in dumpDispatchStateLocked() local
3245 i, replacement.keyCode, replacement.deviceId, newKeyCode); in dumpDispatchStateLocked()
/frameworks/base/docs/html/training/managing-audio/
Dvolume-playback.jd51 <p>Most of these streams are restricted to system events, so unless your app is a replacement alarm
/frameworks/base/docs/html/training/gestures/
Dmulti.jd129 replacement for the {@link android.view.MotionEvent} class. Rather, it provides static utility
Ddetector.jd64 replacement for the {@link android.view.MotionEvent} class. Rather, it provides static utility
/frameworks/base/docs/html/training/design-navigation/
Dwireframing.jd39 …abs; in some cases a drop-down list UI element can serve as a suitable replacement, especially on …
/frameworks/base/docs/html/training/accessibility/
Daccessible-app.jd149 replacement for touch to select UI controls.</p>
/frameworks/base/media/java/android/media/
DWebVttRenderer.java192 private boolean replaceEscape(String escape, String replacement, int pos) { in replaceEscape() argument
195 mData.append(replacement); in replaceEscape()
/frameworks/base/docs/html/design/patterns/
Dnavigation-drawer.jd57 <p> The navigation drawer is not a general replacement for top-level navigation via spinners
Dnotifications.jd818 for the system to display on a secure lock screen, supply a replacement
/frameworks/base/docs/html/guide/topics/appwidgets/
Dhost.jd32 access to content. If you're building a Home replacement or a similar app,
/frameworks/base/docs/html/guide/topics/ui/notifiers/
Dnotifications.jd880 message contents and senders. To provide this alternative notification, first create the replacement
882 private notification object, attach the replacement notification to it through the
/frameworks/base/docs/html/guide/faq/
Dtroubleshooting.jd263 replacement for the existing GestureBuilder app. To change the
/frameworks/base/docs/html/about/versions/
Dandroid-5.0.jd502 replacement notification using {@link android.app.Notification.Builder}. When
503 you create the private notification object, attach the replacement notification
Dandroid-4.0-highlights.jd223 replacement words. With one tap, users can choose from multiple spelling
225 see replacement suggestions for words that are spelled correctly. For
/frameworks/base/docs/html/sdk/
DOLD_RELEASENOTES.jd196 …solete Home screen from M5 is included as an example of how to construct a Home screen replacement.
/frameworks/base/docs/html/guide/topics/manifest/
Duses-sdk-element.jd208 are additive and introduce new or replacement functionality. As parts of the API

12