/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | AccessibilityContextMenuMaker.java | 56 if (getSpans(getText(textView)).length == 0) { in registerWithActivity() 92 ClickableSpan[] spans = getSpans(spanned); in populateMenuContent() 122 private @NonNull ClickableSpan[] getSpans(Spanned spanned) { in getSpans() method in AccessibilityContextMenuMaker 126 ClickableSpan[] spans = spanned.getSpans(0, spanned.length(), ClickableSpan.class); in getSpans()
|
D | HtmlToSpannedParser.java | 65 URLSpan[] urlSpans = result.getSpans(0, result.length(), URLSpan.class); in parseHtml()
|
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
D | ContactRecipientAutoCompleteView.java | 88 final int currentChipsCount = s.getSpans(0, s.length(), in afterTextChanged() 149 .getSpans(0, getText().length(), DrawableRecipientChip.class); in doInBackground() 257 .getSpans(0, getText().length(), DrawableRecipientChip.class); in getRecipientParticipantDataForConversationCreation() 278 .getSpans(0, getText().length(), DrawableRecipientChip.class); in getSelectedDestinations()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | SpannableStringUtilsTests.java | 67 Object[] spans = result.getSpans(0, result.length(), SuggestionSpan.class); in testConcatWithSuggestionSpansOnly() 80 actualCount = spanned.getSpans(0, spanned.length(), Object.class).length; in assertSpanCount() 91 final Object[] actualSpans = spanned.getSpans(0, spanned.length(), Object.class); in assertSpan()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/compat/ |
D | LocaleSpanCompatUtilsTests.java | 56 final Object span = spanned.getSpans(0, spanned.length(), Object.class)[index]; in assertLocaleSpan() 65 final Object[] spans = spanned.getSpans(0, spanned.length(), Object.class); in assertSpanEquals() 70 final Object[] spans = spanned.getSpans(0, spanned.length(), Object.class); in assertSpanCount()
|
D | SuggestionSpanUtilsTest.java | 74 final SuggestionSpan[] suggestionSpans = spanned.getSpans(0, spanned.length(), in assertNotSuggestionSpan() 86 final SuggestionSpan[] suggestionSpans = spanned.getSpans(0, spanned.length(), in assertSuggestionSpan()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | SpannableStringUtils.java | 51 Object[] spans = source.getSpans(start, end, SuggestionSpan.class); in copyNonParagraphSuggestionSpansFrom() 131 final URLSpan[] spans = spanned.getSpans(startIndex - 1, endIndex + 1, URLSpan.class); in hasUrlSpans()
|
D | TextRange.java | 75 final SuggestionSpan[] spans = text.getSpans(mWordAtCursorStartIndex - 1, in getSuggestionSpansAtWord()
|
D | CursorAnchorInfoUtils.java | 150 final Object[] spans = spannable.getSpans(0, text.length(), Object.class); in extractFromTextViewInternal()
|
/packages/apps/Contacts/tests/src/com/android/contacts/format/ |
D | SpannedTestUtils.java | 69 return value.getSpans(start, end, StyleSpan.class).length; in getNumForegroundColorSpansBetween()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | TextFieldsEditorView.java | 229 Object[] spanned = input.getSpans(0, input.length(), Object.class); in isUnFixed() 369 final TtsSpan[] spans = spannable.getSpans(0, s.length(), TtsSpan.class); in setValues()
|
/packages/apps/Settings/src/com/android/settings/utils/ |
D | AnnotationSpan.java | 58 Annotation[] spans = msg.getSpans(0, msg.length(), Annotation.class); in linkify()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/utils/ |
D | AnnotationSpan.java | 58 Annotation[] spans = msg.getSpans(0, msg.length(), Annotation.class); in linkify()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterysaver/ |
D | BatterySaverSettings.java | 159 Annotation[] spans = msg.getSpans(0, msg.length(), Annotation.class); in linkify()
|
/packages/apps/SampleLocationAttribution/src/com/example/android/locationattribution/ |
D | MainActivity.java | 204 for(URLSpan span: textAppInfo.getSpans(0, textAppInfo.length(), URLSpan.class)) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
D | LocaleSpanCompatUtils.java | 98 final Object[] existingLocaleSpans = spannable.getSpans(searchStart, searchEnd, in updateLocaleSpan()
|
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/preferences/ |
D | EmergencyListPreferenceTest.java | 143 TtsSpan[] span = entry.getSpans(0, in testContentDescriptions()
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
D | LevenshteinFormatterTest.java | 353 MockStyleSpan[] spans = spanned.getSpans(mStart, mEnd, MockStyleSpan.class); in verify()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/protocol/ |
D | Vvm3Subscriber.java | 352 URLSpan[] spans = doc.getSpans(0, doc.length(), URLSpan.class); in findSubscribeLink()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | UiUtils.java | 353 final URLSpan[] links = markup.getSpans(0, markup.length() - 1, URLSpan.class); in stripHtml()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | InputTestsBase.java | 97 mInputText.getSpans(0, mInputText.length(), spanType); in SpanGetter()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | RichInputConnection.java | 315 final CharacterStyle[] spans = mTempObjectForCommitText.getSpans( in commitText()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | DvrUiHelper.java | 730 Object[] spans = builder.getSpans(0, builder.length(), Object.class); in getStyledTitleWithEpisodeNumber()
|
/packages/services/Telephony/src/com/android/phone/ |
D | EmergencyDialer.java | 887 for (Object o : mDigits.getText().getSpans(0, mDigits.getText().length(), TtsSpan.class)) { in updateTtsSpans()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | MessageNotificationState.java | 1141 final URLSpan[] spans = text.getSpans(0, text.length(), URLSpan.class); in stripUrls()
|