Home
last modified time | relevance | path

Searched refs:replacement (Results 1 – 25 of 27) 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.java483 String replacement; in format() local
487 replacement = localeData.amPm[inDate.get(Calendar.AM_PM) - Calendar.AM]; in format()
490 replacement = zeroPad(inDate.get(Calendar.DATE), count); in format()
494 replacement = getDayOfWeekString(localeData, in format()
504 replacement = zeroPad(hour, count); in format()
517 replacement = zeroPad(hour, count); in format()
522 replacement = getMonthString(localeData, in format()
526 replacement = zeroPad(inDate.get(Calendar.MINUTE), count); in format()
529 replacement = zeroPad(inDate.get(Calendar.SECOND), count); in format()
532 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.java192 ReplacementSpan replacement = null; in addStyleRun() local
196 replacement = (ReplacementSpan)span; in addStyleRun()
203 if (replacement == null) { in addStyleRun()
207 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()
815 private float handleReplacement(ReplacementSpan replacement, TextPaint wp, in handleReplacement() argument
842 ret = replacement.getSize(wp, mText, textStart, textLimit, fmi); in handleReplacement()
854 replacement.draw(c, mText, textStart, textLimit, in handleReplacement()
919 ReplacementSpan replacement = null; in handleRun() local
928 replacement = (ReplacementSpan)span; in handleRun()
936 if (replacement != null) { in handleRun()
937 x += handleReplacement(replacement, wp, i, mlimit, runIsRtl, c, x, top, y, in handleRun()
/frameworks/base/tools/layoutlib/create/
DREADME.txt161 As explained earlier, the creator doesn't have any replacement code for
179 Later the bridge provides its own replacement version of Paint which will be used
180 by the rest of the Android stack. The replacement version of Paint can still use
/frameworks/ex/chips/src/com/android/ex/chips/
DRecipientEditTextView.java2559 final DrawableRecipientChip replacement = replacements.get(i); in processReplacements()
2560 if (replacement != null) { in processReplacements()
2562 final RecipientEntry newEntry = replacement.getEntry(); in processReplacements()
2580 replacement.getEntry()).trim() + " "); in processReplacements()
2581 displayText.setSpan(replacement, 0, in processReplacements()
2588 replacement.setOriginalText(displayText.toString()); in processReplacements()
2591 recipients.set(i, replacement); in processReplacements()
/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/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/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/docs/html/design/patterns/
Dnavigation-drawer.jd57 <p> The navigation drawer is not a general replacement for top-level navigation via spinners
/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/faq/
Dtroubleshooting.jd263 replacement for the existing GestureBuilder app. To change the
/frameworks/base/docs/html/about/versions/
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
Dandroid-3.0.jd108 <p>The Action Bar is a replacement for the traditional title bar at the top of the activity window.
Dandroid-4.0.jd1680 <li>{@link android.app.ActionBar}: A replacement for the traditional title bar at the top of
/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
/frameworks/base/docs/html/distribute/googleplay/quality/
Dtablet.jd489 to a replacement feature (also see the section below on hardware features).</li>
/frameworks/base/docs/html/training/articles/
Dsecurity-tips.jd353 expected format. While blacklisting of characters or character-replacement can
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dactivity_task_design.jd565 In this example, the user has downloaded a replacement for the Phone
/frameworks/base/docs/html/tools/sdk/
Declipse-adt.jd1206 handle text replacement (<a

12