/aosp_15_r20/packages/apps/Car/Settings/tests/multivalent/src/com/android/car/settings/inputmethod/ |
D | InputMethodUtilTest.java | 77 private InputMethodManager mInputMethodManager; field in InputMethodUtilTest 125 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(null); in getPermittedAndEnabledInputMethodList_noEnabledInputMethods_returnsNull() 128 mInputMethodManager, mDevicePolicyManager); in getPermittedAndEnabledInputMethodList_noEnabledInputMethods_returnsNull() 137 mPackageManager, mInputMethodManager, PLACEHOLDER_PACKAGE_NAME); in getPermittedAndEnabledInputMethodList_noPermittedMethods_returnsEmptyList() 138 when(mInputMethodManager.getEnabledInputMethodList()) in getPermittedAndEnabledInputMethodList_noPermittedMethods_returnsEmptyList() 144 mInputMethodManager, mDevicePolicyManager); in getPermittedAndEnabledInputMethodList_noPermittedMethods_returnsEmptyList() 155 mPackageManager, mInputMethodManager, PLACEHOLDER_PACKAGE_NAME); in getPermittedAndEnabledInputMethodList_withGoogleTypingIME_doesNotIncludeIME() 159 mPackageManager, mInputMethodManager, gvtPackageName); in getPermittedAndEnabledInputMethodList_withGoogleTypingIME_doesNotIncludeIME() 165 when(mInputMethodManager.getEnabledInputMethodList()) in getPermittedAndEnabledInputMethodList_withGoogleTypingIME_doesNotIncludeIME() 170 mInputMethodManager, mDevicePolicyManager); in getPermittedAndEnabledInputMethodList_withGoogleTypingIME_doesNotIncludeIME() [all …]
|
D | EnabledKeyboardPreferenceControllerTest.java | 84 private InputMethodManager mInputMethodManager; field in EnabledKeyboardPreferenceControllerTest 99 when(mContext.getSystemService(InputMethodManager.class)).thenReturn(mInputMethodManager); in setUp() 116 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_permitAllInputMethods() 128 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_hasAllowedImeByOrganization() 140 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_disallowedByOrganization() 153 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_skipVoiceTyping() 165 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_verifyPreferenceIcon() 178 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_verifyPreferenceTitle() 191 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_verifyPreferenceSummary() 197 InputMethodUtil.getSummaryString(mContext, mInputMethodManager, infos.get(0))); in refreshUi_verifyPreferenceSummary() [all …]
|
D | KeyboardPreferenceControllerTest.java | 76 private InputMethodManager mInputMethodManager; field in KeyboardPreferenceControllerTest 90 when(mContext.getSystemService(InputMethodManager.class)).thenReturn(mInputMethodManager); in setUp() 103 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(Collections.emptyList()); in refreshUi_noInputMethodInfo() 117 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_permitAllInputMethods_hasOneInputMethodInfo() 134 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_permitAllInputMethods_hasTwoInputMethodInfo() 154 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_permitAllInputMethods_hasThreeInputMethodInfo() 171 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_hasAllowedImeByOrganization() 186 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_disallowedByOrganization()
|
D | KeyboardManagementPreferenceControllerTest.java | 102 private InputMethodManager mInputMethodManager; field in KeyboardManagementPreferenceControllerTest 120 when(mContext.getSystemService(InputMethodManager.class)).thenReturn(mInputMethodManager); in setUp() 121 when(mInputMethodManager.getInputMethodList()).thenReturn(new ArrayList<>()); in setUp() 311 InputMethodUtil.getSummaryString(mContext, mInputMethodManager, infos.get(0))); in refreshUi_verifyPreferenceSummary() 862 assertThat(mInputMethodManager.getEnabledInputMethodList().size()) in performClick_toggleTrue_showDirectBootDialog_negative_inputMethodDisabled() 931 assertThat(mInputMethodManager.getEnabledInputMethodList().size()) in performClick_toggleFalse_inputMethodDisabled() 1134 when(mInputMethodManager.getEnabledInputMethodSubtypeList(any(), anyBoolean())) in createMockInputMethodInfo() 1194 when(mInputMethodManager.getInputMethodList()).thenReturn(list); in setInputMethodList() 1212 when(mInputMethodManager.getEnabledInputMethodList()).thenAnswer( in setEnabledInputMethodList()
|
/aosp_15_r20/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/inputmethod/ |
D | InputMethodUtilTest.java | 77 private InputMethodManager mInputMethodManager; field in InputMethodUtilTest 125 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(null); in getPermittedAndEnabledInputMethodList_noEnabledInputMethods_returnsNull() 128 mInputMethodManager, mDevicePolicyManager); in getPermittedAndEnabledInputMethodList_noEnabledInputMethods_returnsNull() 137 mPackageManager, mInputMethodManager, PLACEHOLDER_PACKAGE_NAME); in getPermittedAndEnabledInputMethodList_noPermittedMethods_returnsEmptyList() 138 when(mInputMethodManager.getEnabledInputMethodList()) in getPermittedAndEnabledInputMethodList_noPermittedMethods_returnsEmptyList() 144 mInputMethodManager, mDevicePolicyManager); in getPermittedAndEnabledInputMethodList_noPermittedMethods_returnsEmptyList() 155 mPackageManager, mInputMethodManager, PLACEHOLDER_PACKAGE_NAME); in getPermittedAndEnabledInputMethodList_withGoogleTypingIME_doesNotIncludeIME() 159 mPackageManager, mInputMethodManager, gvtPackageName); in getPermittedAndEnabledInputMethodList_withGoogleTypingIME_doesNotIncludeIME() 165 when(mInputMethodManager.getEnabledInputMethodList()) in getPermittedAndEnabledInputMethodList_withGoogleTypingIME_doesNotIncludeIME() 170 mInputMethodManager, mDevicePolicyManager); in getPermittedAndEnabledInputMethodList_withGoogleTypingIME_doesNotIncludeIME() [all …]
|
D | EnabledKeyboardPreferenceControllerTest.java | 84 private InputMethodManager mInputMethodManager; field in EnabledKeyboardPreferenceControllerTest 99 when(mContext.getSystemService(InputMethodManager.class)).thenReturn(mInputMethodManager); in setUp() 116 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_permitAllInputMethods() 128 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_hasAllowedImeByOrganization() 140 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_disallowedByOrganization() 153 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_skipVoiceTyping() 165 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_verifyPreferenceIcon() 178 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_verifyPreferenceTitle() 191 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_verifyPreferenceSummary() 197 InputMethodUtil.getSummaryString(mContext, mInputMethodManager, infos.get(0))); in refreshUi_verifyPreferenceSummary() [all …]
|
D | KeyboardPreferenceControllerTest.java | 76 private InputMethodManager mInputMethodManager; field in KeyboardPreferenceControllerTest 90 when(mContext.getSystemService(InputMethodManager.class)).thenReturn(mInputMethodManager); in setUp() 103 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(Collections.emptyList()); in refreshUi_noInputMethodInfo() 117 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_permitAllInputMethods_hasOneInputMethodInfo() 134 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_permitAllInputMethods_hasTwoInputMethodInfo() 154 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_permitAllInputMethods_hasThreeInputMethodInfo() 171 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_hasAllowedImeByOrganization() 186 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_disallowedByOrganization()
|
D | KeyboardManagementPreferenceControllerTest.java | 102 private InputMethodManager mInputMethodManager; field in KeyboardManagementPreferenceControllerTest 120 when(mContext.getSystemService(InputMethodManager.class)).thenReturn(mInputMethodManager); in setUp() 121 when(mInputMethodManager.getInputMethodList()).thenReturn(new ArrayList<>()); in setUp() 311 InputMethodUtil.getSummaryString(mContext, mInputMethodManager, infos.get(0))); in refreshUi_verifyPreferenceSummary() 862 assertThat(mInputMethodManager.getEnabledInputMethodList().size()) in performClick_toggleTrue_showDirectBootDialog_negative_inputMethodDisabled() 931 assertThat(mInputMethodManager.getEnabledInputMethodList().size()) in performClick_toggleFalse_inputMethodDisabled() 1134 when(mInputMethodManager.getEnabledInputMethodSubtypeList(any(), anyBoolean())) in createMockInputMethodInfo() 1194 when(mInputMethodManager.getInputMethodList()).thenReturn(list); in setInputMethodList() 1212 when(mInputMethodManager.getEnabledInputMethodList()).thenAnswer( in setEnabledInputMethodList()
|
/aosp_15_r20/frameworks/base/tests/inputmethod/ConcurrentMultiSessionImeTest/src/com/android/server/inputmethod/multisessiontest/ |
H A D | ConcurrentMultiUserTest.java | 76 private final InputMethodManager mInputMethodManager = field in ConcurrentMultiUserTest 143 List<InputMethodInfo> driverImeList = mInputMethodManager.getInputMethodList(); in imeListNotEmpty() 148 mInputMethodManager.getInputMethodListAsUser(mPeerUserId); in imeListNotEmpty() 156 mInputMethodManager.getEnabledInputMethodList(); in enabledImeListNotEmpty() 161 mInputMethodManager.getEnabledInputMethodListAsUser(UserHandle.of(mPeerUserId)); in enabledImeListNotEmpty() 168 InputMethodInfo driverIme = mInputMethodManager.getCurrentInputMethodInfo(); in currentImeNotNull() 172 mInputMethodManager.getCurrentInputMethodInfoAsUser(UserHandle.of(mPeerUserId)); in currentImeNotNull() 284 mInputMethodManager.getEnabledInputMethodListAsUser(user1); in enableDisableImeForUser() 286 mInputMethodManager.getEnabledInputMethodListAsUser(user2); in enableDisableImeForUser() 293 mInputMethodManager.getEnabledInputMethodListAsUser(user1); in enableDisableImeForUser() [all …]
|
/aosp_15_r20/cts/tests/tests/virtualdevice/applaunch/src/android/virtualdevice/cts/applaunch/ |
H A D | VirtualDeviceImeTest.java | 91 private final InputMethodManager mInputMethodManager = field in VirtualDeviceImeTest 222 assertThat(mInputMethodManager.getCurrentInputMethodInfo().getId()) in validCustomImeComponent_customImeShouldBeOnVirtualDisplay() 228 assertThat(mInputMethodManager.getCurrentInputMethodInfo().getId()) in validCustomImeComponent_customImeShouldBeOnVirtualDisplay() 243 assertThat(mInputMethodManager.getCurrentInputMethodInfo().getId()) in customImeComponent_changeDefaultDeviceIme() 254 assertThat(mInputMethodManager.getCurrentInputMethodInfo().getId()) in customImeComponent_changeDefaultDeviceIme() 260 assertThat(mInputMethodManager.getCurrentInputMethodInfo().getId()) in customImeComponent_changeDefaultDeviceIme() 279 assertThat(mInputMethodManager.getCurrentInputMethodInfo().getId()) in customImeComponent_disableDefaultDeviceIme() 288 assertThat(mInputMethodManager.getCurrentInputMethodInfo().getId()) in customImeComponent_disableDefaultDeviceIme() 293 mInputMethodManager.getCurrentInputMethodInfo().getId()))) in customImeComponent_disableDefaultDeviceIme() 471 return mInputMethodManager.getInputMethodList().stream() in getInputMethodInfo() [all …]
|
/aosp_15_r20/packages/apps/Car/Settings/src/com/android/car/settings/inputmethod/ |
D | KeyboardManagementPreferenceController.java | 52 private final InputMethodManager mInputMethodManager; field in KeyboardManagementPreferenceController 84 mInputMethodManager = context.getSystemService(InputMethodManager.class); in KeyboardManagementPreferenceController() 120 List<InputMethodInfo> inputMethodInfos = mInputMethodManager.getInputMethodList(); in updateState() 128 mInputMethodManager, a))); in updateState() 170 List<InputMethodInfo> inputMethodInfos = mInputMethodManager.getEnabledInputMethodList(); in isOnlyEnabledDefaultInputMethod() 200 mInputMethodManager, inputMethodInfo)); in createSwitchPreference() local 222 InputMethodUtil.disableInputMethod(getContext(), mInputMethodManager, in createSwitchPreference() local
|
D | EnabledKeyboardPreferenceController.java | 53 private final InputMethodManager mInputMethodManager; field in EnabledKeyboardPreferenceController 62 mInputMethodManager = context.getSystemService(InputMethodManager.class); in EnabledKeyboardPreferenceController() 76 mInputMethodManager, mDevicePolicyManager); in updateState() 125 getContext(), mInputMethodManager, inputMethodInfo)); in createPreference() local
|
D | KeyboardPreferenceController.java | 40 private final InputMethodManager mInputMethodManager; field in KeyboardPreferenceController 49 mInputMethodManager = context.getSystemService(InputMethodManager.class); in KeyboardPreferenceController() 61 mInputMethodManager, mDevicePolicyManager); in updateState()
|
/aosp_15_r20/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/ |
D | InputMethodManagerCompat.java | 23 private InputMethodManager mInputMethodManager; field in InputMethodManagerCompat 25 mInputMethodManager = inputMethodManager; in InputMethodManagerCompat() 29 return mInputMethodManager.getInputMethodListAsUser(userId, directBootAwareness); in getInputMethodListAsUser()
|
/aosp_15_r20/cts/tests/tests/car/src/android/car/cts/ |
H A D | CarRotaryImeTest.java | 59 private final InputMethodManager mInputMethodManager = field in CarRotaryImeTest 131 String currentInput = mInputMethodManager.getCurrentInputMethodInfo().getComponent() in rotaryImeInRotaryMode() 152 String currentInput = mInputMethodManager.getCurrentInputMethodInfo().getComponent() in rotaryImeNotInTouchMode() 233 return mInputMethodManager.getInputMethodList().stream() in isValidIme()
|
/aosp_15_r20/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
H A D | KeyguardPasswordViewController.java | 69 private final InputMethodManager mInputMethodManager; field in KeyguardPasswordViewController 146 mInputMethodManager = inputMethodManager; in KeyguardPasswordViewController() 192 mInputMethodManager.restartInput(v); in onViewAttached() 210 mInputMethodManager.showInputMethodPickerFromSystem(false, in onViewAttached() 326 mInputMethodManager, false); in updateSwitchImeButton()
|
/aosp_15_r20/developers/samples/android/deprecated/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/chat/ |
D | ChatActivity.java | 72 private InputMethodManager mInputMethodManager; field in ChatActivity 109 mInputMethodManager = (InputMethodManager) getSystemService(INPUT_METHOD_SERVICE); in onCreate() 119 mInputMethodManager.hideSoftInputFromWindow( in onCreate() 126 mInputMethodManager.hideSoftInputFromInputMethod( in onCreate() 220 mInputMethodManager.showSoftInput(mInput, InputMethodManager.SHOW_FORCED); in showKeyboard()
|
/aosp_15_r20/developers/build/prebuilts/gradle/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/chat/ |
H A D | ChatActivity.java | 72 private InputMethodManager mInputMethodManager; field in ChatActivity 109 mInputMethodManager = (InputMethodManager) getSystemService(INPUT_METHOD_SERVICE); in onCreate() 119 mInputMethodManager.hideSoftInputFromWindow( in onCreate() 126 mInputMethodManager.hideSoftInputFromInputMethod( in onCreate() 220 mInputMethodManager.showSoftInput(mInput, InputMethodManager.SHOW_FORCED); in showKeyboard()
|
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/navigationbar/views/ |
H A D | NavigationBarTest.java | 221 private InputMethodManager mInputMethodManager; field in NavigationBarTest 453 verify(mInputMethodManager) in testImeSwitcherClick() 455 verify(mInputMethodManager, never()).showInputMethodPickerFromSystem( in testImeSwitcherClick() 458 verify(mInputMethodManager, never()) in testImeSwitcherClick() 460 verify(mInputMethodManager).showInputMethodPickerFromSystem( in testImeSwitcherClick() 474 verify(mInputMethodManager).showInputMethodPickerFromSystem( in testImeSwitcherLongClick() 478 verify(mInputMethodManager, never()).showInputMethodPickerFromSystem( in testImeSwitcherLongClick() 655 mInputMethodManager, in createNavBar()
|
/aosp_15_r20/development/samples/VirtualDeviceManager/client/src/com/example/android/vdmdemo/client/ |
H A D | ImmersiveActivity.java | 77 private InputMethodManager mInputMethodManager; field in ImmersiveActivity 105 mInputMethodManager = getSystemService(InputMethodManager.class); in onCreate() 197 mInputMethodManager.showSoftInput(getWindow().getDecorView(), 0); in processRemoteEvent() 199 mInputMethodManager.hideSoftInputFromWindow( in processRemoteEvent()
|
H A D | MainActivity.java | 76 private InputMethodManager mInputMethodManager; field in MainActivity 130 mInputMethodManager = getSystemService(InputMethodManager.class); in onCreate() 238 mInputMethodManager.showSoftInput(getWindow().getDecorView(), 0); in processRemoteEvent() 240 mInputMethodManager.hideSoftInputFromWindow( in processRemoteEvent()
|
/aosp_15_r20/packages/apps/Car/SystemUI/src/com/android/systemui/wm/ |
D | DisplaySystemBarsInsetsControllerHost.java | 49 private final InputMethodManager mInputMethodManager; field in DisplaySystemBarsInsetsControllerHost 56 mInputMethodManager = inputMethodManager; in DisplaySystemBarsInsetsControllerHost() 151 return mInputMethodManager; in getInputMethodManager()
|
/aosp_15_r20/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
H A D | SoftKeyboard.java | 66 private InputMethodManager mInputMethodManager; field in SoftKeyboard 94 mInputMethodManager = (InputMethodManager)getSystemService(INPUT_METHOD_SERVICE); in onCreate() 166 mInputMethodManager.shouldOfferSwitchingToNextInputMethod(getToken()); in setLatinKeyboard() 302 final InputMethodSubtype subtype = mInputMethodManager.getCurrentInputMethodSubtype(); in onStartInputView() 695 mInputMethodManager.switchToNextInputMethod(getToken(), false /* onlyCurrentIme */); in handleLanguageSwitch()
|
/aosp_15_r20/developers/build/prebuilts/gradle/FingerprintDialog/Application/src/main/java/com/example/android/fingerprintdialog/ |
H A D | FingerprintAuthenticationDialogFragment.java | 59 private InputMethodManager mInputMethodManager; field in FingerprintAuthenticationDialogFragment 140 mInputMethodManager = context.getSystemService(InputMethodManager.class); in onAttach() 205 mInputMethodManager.showSoftInput(mPassword, 0);
|
/aosp_15_r20/development/samples/browseable/FingerprintDialog/src/com.example.android.fingerprintdialog/ |
H A D | FingerprintAuthenticationDialogFragment.java | 59 private InputMethodManager mInputMethodManager; field in FingerprintAuthenticationDialogFragment 140 mInputMethodManager = context.getSystemService(InputMethodManager.class); in onAttach() 205 mInputMethodManager.showSoftInput(mPassword, 0);
|