Lines Matching refs:text
24 import android.text.Spannable;
25 import android.text.SpannableString;
26 import android.text.Spanned;
27 import android.text.TextUtils;
39 "android.text.style.SUGGESTION_PICKED";
46 .getClass("android.text.style.SuggestionSpan");
72 Context context, CharSequence text) {
73 if (TextUtils.isEmpty(text) || CONSTRUCTOR_SuggestionSpan == null
75 return text;
77 final Spannable spannable = text instanceof Spannable
78 ? (Spannable) text : new SpannableString(text);
85 return text;
87 spannable.setSpan(ss, 0, text.length(),