Home
last modified time | relevance | path

Searched refs:InputMethodMap (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/
DInputMethodMapTest.java38 private static InputMethodMap toMap(InputMethodInfo... list) { in toMap()
43 return InputMethodMap.of(map); in toMap()
52 InputMethodMap.areSame(map, map)); in testAreSameSameObject()
60 InputMethodMap.areSame(toMap(imi1, imi2), toMap(imi1, imi2))); in testAreSameEquivalentObject()
63 InputMethodMap.areSame(toMap(imi1, imi2), toMap(imi2, imi1))); in testAreSameEquivalentObject()
72 InputMethodMap.areSame(toMap(imi1), toMap(imi1, imi2))); in testAreSameDifferentKeys()
74 InputMethodMap.areSame(toMap(imi1, imi2), toMap(imi1))); in testAreSameDifferentKeys()
76 InputMethodMap.areSame(toMap(imi1, imi2), toMap(imi1, imi3))); in testAreSameDifferentKeys()
87 InputMethodMap.areSame(toMap(imi1_without_subtypes), toMap(imi1_with_subtypes))); in testAreSameDifferentValues()
89 InputMethodMap.areSame( in testAreSameDifferentValues()
DInputMethodUtilsTest.java799 assertNull(InputMethodInfoUtils.chooseSystemVoiceIme(InputMethodMap.of(methodMap), in testChooseSystemVoiceIme()
807 assertNull(InputMethodInfoUtils.chooseSystemVoiceIme(InputMethodMap.of(methodMap), "", in testChooseSystemVoiceIme()
814 InputMethodMap.emptyMap(), in testChooseSystemVoiceIme()
823 InputMethodMap.of(methodMap), in testChooseSystemVoiceIme()
832 InputMethodMap.of(methodMap), in testChooseSystemVoiceIme()
839 InputMethodMap.emptyMap(), in testChooseSystemVoiceIme()
850 assertNull(InputMethodInfoUtils.chooseSystemVoiceIme(InputMethodMap.of(methodMap), in testChooseSystemVoiceIme()
862 InputMethodMap.of(methodMap), in testChooseSystemVoiceIme()
872 assertNull(InputMethodInfoUtils.chooseSystemVoiceIme(InputMethodMap.of(methodMap), in testChooseSystemVoiceIme()
883 assertNull(InputMethodInfoUtils.chooseSystemVoiceIme(InputMethodMap.of(methodMap), in testChooseSystemVoiceIme()
DAdditionalSubtypeUtilsTest.java59 InputMethodMap.of(methodMap), atomicFile); in testSaveAndLoad()
DInputMethodManagerServiceRestrictImeAmountTest.java125 final InputMethodMap methodMap = InputMethodManagerService.filterInputMethodServices( in filterInputMethodServices()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodMap.java33 final class InputMethodMap { class
39 static InputMethodMap emptyMap() { in emptyMap()
40 return new InputMethodMap(EMPTY_MAP); in emptyMap()
43 static InputMethodMap of(@NonNull ArrayMap<String, InputMethodInfo> map) { in of()
44 return new InputMethodMap(map); in of()
47 private InputMethodMap(@NonNull ArrayMap<String, InputMethodInfo> map) { in InputMethodMap() method in InputMethodMap
82 public InputMethodMap applyAdditionalSubtypes( in applyAdditionalSubtypes()
101 return updated ? InputMethodMap.of(newMethodMap) : this; in applyAdditionalSubtypes()
113 static boolean areSame(@NonNull InputMethodMap map1, @NonNull InputMethodMap map2) { in areSame()
DHardwareKeyboardShortcutController.java46 HardwareKeyboardShortcutController(@NonNull InputMethodMap methodMap, @UserIdInt int userId) { in HardwareKeyboardShortcutController()
52 void reset(@NonNull InputMethodMap methodMap) { in reset()
DAdditionalSubtypeMapRepository.java50 @NonNull InputMethodMap inputMethodMap) { in WriteTask()
137 @NonNull InputMethodMap inputMethodMap) { in scheduleWriteTask()
215 @NonNull InputMethodMap inputMethodMap) { in putAndSave()
DInputMethodSubtypeSwitchingController.java160 @NonNull Context context, @NonNull InputMethodMap methodMap, in getSortedInputMethodAndSubtypeList()
482 @NonNull InputMethodMap methodMap, @UserIdInt int userId) { in InputMethodSubtypeSwitchingController()
494 @NonNull InputMethodMap methodMap, @UserIdInt int userId) { in createInstanceLocked()
514 public void resetCircularListLocked(@NonNull InputMethodMap methodMap) { in resetCircularListLocked()
DInputMethodSettings.java75 private final InputMethodMap mMethodMap;
93 return new InputMethodSettings(InputMethodMap.emptyMap(), userId); in createEmptyMap()
96 static InputMethodSettings create(InputMethodMap methodMap, @UserIdInt int userId) { in create()
100 private InputMethodSettings(InputMethodMap methodMap, @UserIdInt int userId) { in InputMethodSettings()
108 InputMethodMap getMethodMap() { in getMethodMap()
DAdditionalSubtypeUtils.java117 InputMethodMap methodMap, @UserIdInt int userId) { in save()
146 InputMethodMap methodMap, AtomicFile subtypesFile) { in saveToFile()
DInputMethodInfoUtils.java207 @NonNull InputMethodMap methodMap, in chooseSystemVoiceIme()
DInputMethodManagerService.java1005 if (InputMethodMap.areSame(settings.getMethodMap(), newMethodMap)) { in onFinishPackageChangesInternal()
5192 final InputMethodMap methodMap = filterInputMethodServices( in queryInputMethodServicesInternal()
5198 static InputMethodMap filterInputMethodServices( in filterInputMethodServices()
5243 return InputMethodMap.of(methodMap); in filterInputMethodServices()
/frameworks/base/services/
Dart-wear-profile12159 …thod/HardwareKeyboardShortcutController;-><init>(Lcom/android/server/inputmethod/InputMethodMap;I)V
12161 …method/HardwareKeyboardShortcutController;->reset(Lcom/android/server/inputmethod/InputMethodMap;)V
12301 …thodInfoUtils;->chooseSystemVoiceIme(Lcom/android/server/inputmethod/InputMethodMap;Ljava/lang/Str…
12401 …util/List;Landroid/content/Context;Ljava/util/List;)Lcom/android/server/inputmethod/InputMethodMap;
12480 PLcom/android/server/inputmethod/InputMethodMap;-><clinit>()V
12481 PLcom/android/server/inputmethod/InputMethodMap;-><init>(Landroid/util/ArrayMap;)V
12482 PLcom/android/server/inputmethod/InputMethodMap;->containsKey(Ljava/lang/String;)Z
12483 PLcom/android/server/inputmethod/InputMethodMap;->emptyMap()Lcom/android/server/inputmethod/InputMe…
12484 PLcom/android/server/inputmethod/InputMethodMap;->get(Ljava/lang/String;)Landroid/view/inputmethod/…
12485 …com/android/server/inputmethod/InputMethodMap;->of(Landroid/util/ArrayMap;)Lcom/android/server/inp…
[all …]
Dart-profile1564 …ethodSubtype;]Lcom/android/server/inputmethod/InputMethodMap;Lcom/android/server/inputmethod/Input…