Home
last modified time | relevance | path

Searched refs:spannedText (Results 1 – 3 of 3) sorted by relevance

/external/setupdesign/main/src/com/google/android/setupdesign/accessibility/
DLinkAccessibilityHelper.java160 final Spanned spannedText = (Spanned) text; in getVirtualViewAt() local
162 ClickableSpan[] linkSpans = spannedText.getSpans(offset, offset, ClickableSpan.class); in getVirtualViewAt()
165 return spannedText.getSpanStart(linkSpan); in getVirtualViewAt()
175 final Spanned spannedText = (Spanned) text; in getVisibleVirtualViews() local
177 spannedText.getSpans(0, spannedText.length(), ClickableSpan.class); in getVisibleVirtualViews()
179 virtualViewIds.add(spannedText.getSpanStart(span)); in getVisibleVirtualViews()
234 Spanned spannedText = (Spanned) text; in getSpanForOffset() local
235 ClickableSpan[] spans = spannedText.getSpans(offset, offset, ClickableSpan.class); in getSpanForOffset()
246 Spanned spannedText = (Spanned) text; in getTextForSpan() local
247 return spannedText.subSequence( in getTextForSpan()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/
DWebvttCueParser.java241 SpannableStringBuilder spannedText = new SpannableStringBuilder(); in parseCueText() local
275 id, startTag, nestedElements, spannedText, styles, scratchStyleMatches); in parseCueText()
277 nestedElements.add(new Element(startTag, spannedText.length())); in parseCueText()
283 startTagStack.push(StartTag.buildStartTag(fullTagExpression, spannedText.length())); in parseCueText()
293 applyEntity(markup.substring(pos + 1, entityEndIndex), spannedText); in parseCueText()
295 spannedText.append(" "); in parseCueText()
299 spannedText.append(curr); in parseCueText()
304 spannedText.append(curr); in parseCueText()
312 id, startTagStack.pop(), nestedElements, spannedText, styles, scratchStyleMatches); in parseCueText()
318 spannedText, in parseCueText()
[all …]
/external/replicaisland/src/com/replica/replicaisland/
DConversationDialogActivity.java99 SpannableStringBuilder spannedText = new SpannableStringBuilder(text); in formatPages() local
117 spannedText.replace(lastSpace, lastSpace + 1, newline, 0, 1); in formatPages()
129 currentPage.text = spannedText.subSequence(lastPageStart, currentOffset); in formatPages()
134 newPage.text = spannedText.subSequence(lastPageStart, currentOffset); in formatPages()