Lines Matching defs:SuggestionSpan

48 public class SuggestionSpan extends CharacterStyle implements ParcelableSpan {
50 private static final String TAG = "SuggestionSpan";
80 * the current IME to the other IME which is specified in SuggestionSpan.
81 * An IME needs to set the span by specifying the target IME and Subtype of SuggestionSpan.
106 public SuggestionSpan(Context context, String[] suggestions, int flags) {
115 public SuggestionSpan(Locale locale, String[] suggestions, int flags) {
123 * {@link SuggestionSpan#SUGGESTIONS_MAX_SIZE} will be considered. Null values not permitted.
128 public SuggestionSpan(Context context, Locale locale, String[] suggestions, int flags,
138 Log.e("SuggestionSpan", "No locale or context specified in SuggestionSpan constructor");
171 null, com.android.internal.R.styleable.SuggestionSpan, defStyleAttr, 0);
179 null, com.android.internal.R.styleable.SuggestionSpan, defStyleAttr, 0);
187 null, com.android.internal.R.styleable.SuggestionSpan, defStyleAttr, 0);
194 public SuggestionSpan(Parcel src) {
282 if (o instanceof SuggestionSpan) {
283 return ((SuggestionSpan)o).hashCode() == mHashCode;
299 public static final Parcelable.Creator<SuggestionSpan> CREATOR =
300 new Parcelable.Creator<SuggestionSpan>() {
302 public SuggestionSpan createFromParcel(Parcel source) {
303 return new SuggestionSpan(source);
307 public SuggestionSpan[] newArray(int size) {
308 return new SuggestionSpan[size];
375 intent.setAction(SuggestionSpan.ACTION_SUGGESTION_PICKED);
376 intent.putExtra(SuggestionSpan.SUGGESTION_SPAN_PICKED_BEFORE, original);
377 intent.putExtra(SuggestionSpan.SUGGESTION_SPAN_PICKED_AFTER, mSuggestions[index]);
378 intent.putExtra(SuggestionSpan.SUGGESTION_SPAN_PICKED_HASHCODE, hashCode());