Home
last modified time | relevance | path

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

/frameworks/base/core/tests/InputMethodCoreTests/src/com/android/internal/inputmethod/
DInputMethodSubtypeHandleTest.java48 final InputMethodSubtypeHandle handle = in testCreateFromRawHandle()
49 InputMethodSubtypeHandle.of("com.android.test/.Ime1:subtype:1"); in testCreateFromRawHandle()
57 assertThrows(NullPointerException.class, () -> InputMethodSubtypeHandle.of(null)); in testCreateFromRawHandle()
58 assertThrows(InvalidParameterException.class, () -> InputMethodSubtypeHandle.of("")); in testCreateFromRawHandle()
61 assertThrows(InvalidParameterException.class, () -> InputMethodSubtypeHandle.of( in testCreateFromRawHandle()
64 assertThrows(InvalidParameterException.class, () -> InputMethodSubtypeHandle.of( in testCreateFromRawHandle()
66 assertThrows(InvalidParameterException.class, () -> InputMethodSubtypeHandle.of( in testCreateFromRawHandle()
68 assertThrows(InvalidParameterException.class, () -> InputMethodSubtypeHandle.of( in testCreateFromRawHandle()
70 assertThrows(InvalidParameterException.class, () -> InputMethodSubtypeHandle.of( in testCreateFromRawHandle()
72 assertThrows(InvalidParameterException.class, () -> InputMethodSubtypeHandle.of( in testCreateFromRawHandle()
[all …]
/frameworks/base/core/java/com/android/internal/inputmethod/
DInputMethodSubtypeHandle.java48 public final class InputMethodSubtypeHandle implements Parcelable { class
83 private InputMethodSubtypeHandle(@NonNull String handle) { in InputMethodSubtypeHandle() method in InputMethodSubtypeHandle
97 public static InputMethodSubtypeHandle of( in of()
101 return new InputMethodSubtypeHandle(encodeHandle(imi.getId(), subtypeHashCode)); in of()
115 public static InputMethodSubtypeHandle of(@RawHandle @NonNull String stringHandle) { in of()
156 return new InputMethodSubtypeHandle(stringHandle); in of()
196 if (!(obj instanceof InputMethodSubtypeHandle)) { in equals()
199 final InputMethodSubtypeHandle that = (InputMethodSubtypeHandle) obj; in equals()
225 public static final Creator<InputMethodSubtypeHandle> CREATOR = new Creator<>() {
227 public InputMethodSubtypeHandle createFromParcel(Parcel in) {
[all …]
DInputMethodSubtypeHandle.aidl19 parcelable InputMethodSubtypeHandle;
/frameworks/base/services/core/java/com/android/server/inputmethod/
DHardwareKeyboardShortcutController.java27 import com.android.internal.inputmethod.InputMethodSubtypeHandle;
35 private final ArrayList<InputMethodSubtypeHandle> mSubtypeHandles = new ArrayList<>();
64 mSubtypeHandles.add(InputMethodSubtypeHandle.of(imi, null)); in reset()
68 mSubtypeHandles.add(InputMethodSubtypeHandle.of(imi, subtype)); in reset()
90 InputMethodSubtypeHandle onSubtypeSwitch( in onSubtypeSwitch()
91 @NonNull InputMethodSubtypeHandle currentImeAndSubtype, boolean forward) { in onSubtypeSwitch()
DInputMethodManagerService.java165 import com.android.internal.inputmethod.InputMethodSubtypeHandle;
3071 final InputMethodSubtypeHandle newSubtypeHandle = normalizedSubtype != null in notifyInputMethodSubtypeChangedLocked()
3072 ? InputMethodSubtypeHandle.of(imi, normalizedSubtype) : null; in notifyInputMethodSubtypeChangedLocked()
5641 final InputMethodSubtypeHandle currentSubtypeHandle = in switchKeyboardLayoutLocked()
5642 InputMethodSubtypeHandle.of(currentImi, bindingController.getCurrentSubtype()); in switchKeyboardLayoutLocked()
5643 final InputMethodSubtypeHandle nextSubtypeHandle = in switchKeyboardLayoutLocked()
5656 if (nextSubtypeHandle.equals(InputMethodSubtypeHandle.of(nextImi, null))) { in switchKeyboardLayoutLocked()
5664 InputMethodSubtypeHandle.of(nextImi, nextImi.getSubtypeAt(i)))) { in switchKeyboardLayoutLocked()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerInternal.java28 import com.android.internal.inputmethod.InputMethodSubtypeHandle;
159 @Nullable InputMethodSubtypeHandle subtypeHandle, in onInputMethodSubtypeChangedForKeyboardLayoutMapping()
DKeyboardLayoutManager.java75 import com.android.internal.inputmethod.InputMethodSubtypeHandle;
617 @Nullable InputMethodSubtypeHandle subtypeHandle, in onInputMethodSubtypeChanged()
1169 @NonNull InputMethodSubtypeHandle mImeSubtypeHandle;
1172 ImeInfo(@UserIdInt int userId, @NonNull InputMethodSubtypeHandle imeSubtypeHandle, in ImeInfo()
1181 this(userId, InputMethodSubtypeHandle.of(imeInfo, imeSubtype), imeSubtype); in ImeInfo()
DInputManagerService.java112 import com.android.internal.inputmethod.InputMethodSubtypeHandle;
3137 @Nullable InputMethodSubtypeHandle subtypeHandle, in onInputMethodSubtypeChangedForKeyboardLayoutMapping()
/frameworks/base/services/
Dart-wear-profile11868 …ngedForKeyboardLayoutMapping(ILcom/android/internal/inputmethod/InputMethodSubtypeHandle;Landroid/…
12077 …youtManager$ImeInfo;-><init>(ILcom/android/internal/inputmethod/InputMethodSubtypeHandle;Landroid/…
12106 …>onInputMethodSubtypeChanged(ILcom/android/internal/inputmethod/InputMethodSubtypeHandle;Landroid/…