Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DTextViewOnReceiveContentListener.java96 CharSequence itemText; in onReceiveContent() local
98 itemText = clip.getItemAt(i).coerceToText(context); in onReceiveContent()
99 itemText = (itemText instanceof Spanned) ? itemText.toString() : itemText; in onReceiveContent()
101 itemText = clip.getItemAt(i).coerceToStyledText(context); in onReceiveContent()
103 if (itemText != null) { in onReceiveContent()
105 replaceSelection(editable, itemText); in onReceiveContent()
109 editable.insert(Selection.getSelectionEnd(editable), itemText); in onReceiveContent() local
149 CharSequence itemText; in coerceToText() local
151 itemText = clip.getItemAt(i).coerceToText(context); in coerceToText()
152 itemText = (itemText instanceof Spanned) ? itemText.toString() : itemText; in coerceToText()
[all …]