/frameworks/base/core/java/android/text/method/ |
D | ReplacementTransformationMethod.java | 54 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()
|
D | QwertyKeyListener.java | 365 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/ |
D | DateFormat.java | 453 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/ |
D | PhoneNumberWatcherTest.java | 257 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/ |
D | MeasuredText.java | 191 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()
|
D | TextLine.java | 649 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/ |
D | README.txt | 188 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/ |
D | RecipientEditTextView.java | 2760 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/ |
D | RecyclerViewLayoutTest.java | 674 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/ |
D | InputDispatcher.cpp | 2397 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/ |
D | volume-playback.jd | 51 <p>Most of these streams are restricted to system events, so unless your app is a replacement alarm
|
/frameworks/base/docs/html/training/gestures/ |
D | multi.jd | 129 replacement for the {@link android.view.MotionEvent} class. Rather, it provides static utility
|
D | detector.jd | 64 replacement for the {@link android.view.MotionEvent} class. Rather, it provides static utility
|
/frameworks/base/docs/html/training/design-navigation/ |
D | wireframing.jd | 39 …abs; in some cases a drop-down list UI element can serve as a suitable replacement, especially on …
|
/frameworks/base/docs/html/training/accessibility/ |
D | accessible-app.jd | 149 replacement for touch to select UI controls.</p>
|
/frameworks/base/media/java/android/media/ |
D | WebVttRenderer.java | 192 private boolean replaceEscape(String escape, String replacement, int pos) { in replaceEscape() argument 195 mData.append(replacement); in replaceEscape()
|
/frameworks/base/docs/html/design/patterns/ |
D | navigation-drawer.jd | 57 <p> The navigation drawer is not a general replacement for top-level navigation via spinners
|
D | notifications.jd | 818 for the system to display on a secure lock screen, supply a replacement
|
/frameworks/base/docs/html/guide/topics/appwidgets/ |
D | host.jd | 32 access to content. If you're building a Home replacement or a similar app,
|
/frameworks/base/docs/html/guide/topics/ui/notifiers/ |
D | notifications.jd | 880 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/ |
D | troubleshooting.jd | 263 replacement for the existing GestureBuilder app. To change the
|
/frameworks/base/docs/html/about/versions/ |
D | android-5.0.jd | 502 replacement notification using {@link android.app.Notification.Builder}. When 503 you create the private notification object, attach the replacement notification
|
D | android-4.0-highlights.jd | 223 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/ |
D | OLD_RELEASENOTES.jd | 196 …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/ |
D | uses-sdk-element.jd | 208 are additive and introduce new or replacement functionality. As parts of the API
|