Lines Matching defs:InputMethodSubtype
58 public final class InputMethodSubtype implements Parcelable {
59 private static final String TAG = InputMethodSubtype.class.getSimpleName();
79 * InputMethodSubtypeBuilder is a builder class of InputMethodSubtype.
190 * @return InputMethodSubtype using parameters in this InputMethodSubtypeBuilder.
192 public InputMethodSubtype build() {
193 return new InputMethodSubtype(this);
216 * {@link InputMethodSubtype#InputMethodSubtype(int, int, String, String, String, boolean,
220 public InputMethodSubtype(int nameId, int iconId, String locale, String mode, String extraValue,
229 * {@link InputMethodSubtype#InputMethodSubtype(int, int, String, String, String, boolean,
232 public InputMethodSubtype(int nameId, int iconId, String locale, String mode, String extraValue,
269 public InputMethodSubtype(int nameId, int iconId, String locale, String mode, String extraValue,
277 * @param builder Builder for InputMethodSubtype
279 private InputMethodSubtype(InputMethodSubtypeBuilder builder) {
296 InputMethodSubtype(Parcel source) {
469 if (o instanceof InputMethodSubtype) {
470 InputMethodSubtype subtype = (InputMethodSubtype) o;
505 public static final Parcelable.Creator<InputMethodSubtype> CREATOR
506 = new Parcelable.Creator<InputMethodSubtype>() {
508 public InputMethodSubtype createFromParcel(Parcel source) {
509 return new InputMethodSubtype(source);
513 public InputMethodSubtype[] newArray(int size) {
514 return new InputMethodSubtype[size];
549 * Sort the list of InputMethodSubtype
553 * @param subtypeList List of InputMethodSubtype which will be sorted
557 public static List<InputMethodSubtype> sort(Context context, int flags, InputMethodInfo imi,
558 List<InputMethodSubtype> subtypeList) {
560 final HashSet<InputMethodSubtype> inputSubtypesSet = new HashSet<InputMethodSubtype>(
562 final ArrayList<InputMethodSubtype> sortedList = new ArrayList<InputMethodSubtype>();
565 InputMethodSubtype subtype = imi.getSubtypeAt(i);
573 for (InputMethodSubtype subtype: inputSubtypesSet) {