Home
last modified time | relevance | path

Searched refs:getSpans (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DAccessibilityContextMenuMaker.java56 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()
DHtmlToSpannedParser.java65 URLSpan[] urlSpans = result.getSpans(0, result.length(), URLSpan.class); in parseHtml()
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DContactRecipientAutoCompleteView.java88 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/
DSpannableStringUtilsTests.java67 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/
DLocaleSpanCompatUtilsTests.java56 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()
DSuggestionSpanUtilsTest.java74 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/
DSpannableStringUtils.java51 Object[] spans = source.getSpans(start, end, SuggestionSpan.class); in copyNonParagraphSuggestionSpansFrom()
131 final URLSpan[] spans = spanned.getSpans(startIndex - 1, endIndex + 1, URLSpan.class); in hasUrlSpans()
DTextRange.java75 final SuggestionSpan[] spans = text.getSpans(mWordAtCursorStartIndex - 1, in getSuggestionSpansAtWord()
DCursorAnchorInfoUtils.java150 final Object[] spans = spannable.getSpans(0, text.length(), Object.class); in extractFromTextViewInternal()
/packages/apps/Contacts/tests/src/com/android/contacts/format/
DSpannedTestUtils.java69 return value.getSpans(start, end, StyleSpan.class).length; in getNumForegroundColorSpansBetween()
/packages/apps/Contacts/src/com/android/contacts/editor/
DTextFieldsEditorView.java229 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/
DAnnotationSpan.java58 Annotation[] spans = msg.getSpans(0, msg.length(), Annotation.class); in linkify()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/utils/
DAnnotationSpan.java58 Annotation[] spans = msg.getSpans(0, msg.length(), Annotation.class); in linkify()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterysaver/
DBatterySaverSettings.java159 Annotation[] spans = msg.getSpans(0, msg.length(), Annotation.class); in linkify()
/packages/apps/SampleLocationAttribution/src/com/example/android/locationattribution/
DMainActivity.java204 for(URLSpan span: textAppInfo.getSpans(0, textAppInfo.length(), URLSpan.class)) {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DLocaleSpanCompatUtils.java98 final Object[] existingLocaleSpans = spannable.getSpans(searchStart, searchEnd, in updateLocaleSpan()
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/preferences/
DEmergencyListPreferenceTest.java143 TtsSpan[] span = entry.getSpans(0, in testContentDescriptions()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DLevenshteinFormatterTest.java353 MockStyleSpan[] spans = spanned.getSpans(mStart, mEnd, MockStyleSpan.class); in verify()
/packages/apps/Dialer/java/com/android/voicemail/impl/protocol/
DVvm3Subscriber.java352 URLSpan[] spans = doc.getSpans(0, doc.length(), URLSpan.class); in findSubscribeLink()
/packages/apps/Messaging/src/com/android/messaging/util/
DUiUtils.java353 final URLSpan[] links = markup.getSpans(0, markup.length() - 1, URLSpan.class); in stripHtml()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DInputTestsBase.java97 mInputText.getSpans(0, mInputText.length(), spanType); in SpanGetter()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputConnection.java315 final CharacterStyle[] spans = mTempObjectForCommitText.getSpans( in commitText()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrUiHelper.java730 Object[] spans = builder.getSpans(0, builder.length(), Object.class); in getStyledTitleWithEpisodeNumber()
/packages/services/Telephony/src/com/android/phone/
DEmergencyDialer.java887 for (Object o : mDigits.getText().getSpans(0, mDigits.getText().length(), TtsSpan.class)) { in updateTtsSpans()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMessageNotificationState.java1141 final URLSpan[] spans = text.getSpans(0, text.length(), URLSpan.class); in stripUrls()

12