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, defStyle, 0);
179 null, com.android.internal.R.styleable.SuggestionSpan, defStyle, 0);
187 null, com.android.internal.R.styleable.SuggestionSpan, defStyle, 0);
194 public SuggestionSpan(Parcel src) {
272 if (o instanceof SuggestionSpan) {
273 return ((SuggestionSpan)o).hashCode() == mHashCode;
289 public static final Parcelable.Creator<SuggestionSpan> CREATOR =
290 new Parcelable.Creator<SuggestionSpan>() {
292 public SuggestionSpan createFromParcel(Parcel source) {
293 return new SuggestionSpan(source);
297 public SuggestionSpan[] newArray(int size) {
298 return new SuggestionSpan[size];
365 intent.setAction(SuggestionSpan.ACTION_SUGGESTION_PICKED);
366 intent.putExtra(SuggestionSpan.SUGGESTION_SPAN_PICKED_BEFORE, original);
367 intent.putExtra(SuggestionSpan.SUGGESTION_SPAN_PICKED_AFTER, mSuggestions[index]);
368 intent.putExtra(SuggestionSpan.SUGGESTION_SPAN_PICKED_HASHCODE, hashCode());