/aosp14/frameworks/base/core/java/android/widget/ |
H A D | ImeAwareEditText.java | 74 final InputMethodManager imm = in showSoftInputIfNecessary() local 76 imm.showSoftInput(this, 0); in showSoftInputIfNecessary() 82 final InputMethodManager imm = getContext().getSystemService(InputMethodManager.class); in scheduleShowSoftInput() local 83 if (imm.hasActiveInputConnection(this)) { in scheduleShowSoftInput() 88 imm.showSoftInput(this, 0); in scheduleShowSoftInput()
|
H A D | AutoCompleteTextView.java | 1219 InputMethodManager imm = getContext().getSystemService(InputMethodManager.class); in dismissDropDown() local 1220 if (imm != null) { in dismissDropDown() 1221 imm.displayCompletions(this, null); in dismissDropDown() 1354 InputMethodManager imm = getContext().getSystemService(InputMethodManager.class); in buildImeCompletions() local 1355 if (imm != null) { in buildImeCompletions() 1376 imm.displayCompletions(this, completions); in buildImeCompletions()
|
H A D | SearchView.java | 2096 final InputMethodManager imm = in showSoftInputIfNecessary() local 2098 imm.showSoftInput(this, 0); in showSoftInputIfNecessary() 2104 final InputMethodManager imm = getContext().getSystemService(InputMethodManager.class); in setImeVisibility() local 2108 imm.hideSoftInputFromWindow(getWindowToken(), 0); in setImeVisibility() 2112 if (imm.isActive(this)) { in setImeVisibility() 2117 imm.showSoftInput(this, 0); in setImeVisibility()
|
H A D | Editor.java | 1066 if (imm != null && imm.isInputMethodSuppressingSpellChecker()) { in updateSpellCheckSpans() 1931 if (imm != null) { in maybeFireScheduledRestartInputForSetText() 2038 if (imm == null) { in reportExtractedText() 2074 if (null != imm) { in sendUpdateSelection() 2086 imm.updateSelection(mTextView, in sendUpdateSelection() 2103 if (imm != null) { in onDraw() 2104 if (imm.isActive(mTextView)) { in onDraw() 2601 if (imm != null) { in startActionModeInternal() 2611 return imm != null && imm.isFullscreenMode(); in extractedTextModeWillBeStarted() 4830 if (null == imm) { in updatePosition() [all …]
|
H A D | TextView.java | 2445 if (imm != null && imm.isActive(this)) { in setEnabled() 2455 if (imm != null) imm.restartInput(this); in setEnabled() 2694 if (imm != null) imm.restartInput(this); in setKeyListener() 7515 if (imm != null) imm.restartInput(this); in setInputType() 8017 if (imm != null && imm.isActive(this)) { in onEditorAction() 9681 if (imm != null && imm.isActive(this)) { in onKeyUp() 12795 viewClicked(imm); in onTouchEvent() 14429 viewClicked(imm); in performAccessibilityActionClick() 14532 return imm != null && imm.isActive(this); in isInputMethodTarget() 15373 if (imm != null) { in viewClicked() [all …]
|
H A D | TimePickerClockDelegate.java | 272 InputMethodManager imm = mContext.getSystemService(InputMethodManager.class); in toggleRadialPickerMode() local 273 if (imm != null) { in toggleRadialPickerMode() 274 imm.hideSoftInputFromWindow(mDelegator.getWindowToken(), 0); in toggleRadialPickerMode()
|
H A D | AbsListView.java | 6231 InputMethodManager imm = in performEditorAction() local 6233 if (imm != null) { in performEditorAction() 6234 imm.hideSoftInputFromWindow(getWindowToken(), 0); in performEditorAction()
|
/aosp14/frameworks/base/services/tests/InputMethodSystemServerTests/test-apps/SimpleTestIme/src/com/android/apps/inputmethod/simpleime/testing/ |
H A D | TestActivity.java | 92 InputMethodManager imm = getSystemService(InputMethodManager.class); in showImeWithInputMethodManager() local 93 boolean result = imm.showSoftInput(mEditText, flags); in showImeWithInputMethodManager() 108 InputMethodManager imm = getSystemService(InputMethodManager.class); in hideImeWithInputMethodManager() local 109 boolean result = imm.hideSoftInputFromWindow(mEditText.getWindowToken(), flags); in hideImeWithInputMethodManager()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/view/inputmethod/ |
H A D | InputMethodManagerTest.java | 51 final InputMethodManager imm = in testPrivateApiGetInstance() local 54 + " display.", globalImm, imm); in testPrivateApiGetInstance()
|
/aosp14/frameworks/base/core/java/com/android/internal/app/ |
H A D | AppLocaleCollector.java | 99 InputMethodManager imm = mContext.getSystemService(InputMethodManager.class); in getActiveImeLocales() local 100 if (imm != null) { in getActiveImeLocales() 101 InputMethodInfo activeIme = getActiveIme(imm); in getActiveImeLocales() 104 imm.getEnabledInputMethodSubtypeList(activeIme, true)); in getActiveImeLocales() 118 private InputMethodInfo getActiveIme(InputMethodManager imm) { in getActiveIme() argument 120 List<InputMethodInfo> infoList = imm.getEnabledInputMethodList(); in getActiveIme()
|
/aosp14/frameworks/base/core/java/android/view/textservice/ |
H A D | SpellCheckerSession.java | 176 final InputMethodManager imm = mTextServicesManager.getInputMethodManager(); in getSentenceSuggestions() local 177 if (imm != null && imm.isInputMethodSuppressingSpellChecker()) { in getSentenceSuggestions() 209 final InputMethodManager imm = mTextServicesManager.getInputMethodManager(); in getSuggestions() local 210 if (imm != null && imm.isInputMethodSuppressingSpellChecker()) { in getSuggestions()
|
/aosp14/frameworks/base/core/java/android/view/ |
H A D | ImeFocusController.java | 153 final InputMethodManager imm = in onProcessImeInputStage() local 155 if (imm == null) { in onProcessImeInputStage() 158 return imm.dispatchInputEvent(event, token, callback, mViewRootImpl.mHandler); in onProcessImeInputStage()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
H A D | KeyguardPasswordViewController.java | 265 private boolean hasMultipleEnabledIMEsOrSubtypes(InputMethodManager imm, in hasMultipleEnabledIMEsOrSubtypes() argument 268 imm.getEnabledInputMethodListAsUser(KeyguardUpdateMonitor.getCurrentUser()); in hasMultipleEnabledIMEsOrSubtypes() 277 imm.getEnabledInputMethodSubtypeList(imi, true); in hasMultipleEnabledIMEsOrSubtypes() 304 || imm.getEnabledInputMethodSubtypeList(null, false).size() > 1; in hasMultipleEnabledIMEsOrSubtypes()
|
/aosp14/frameworks/base/core/java/android/app/ |
H A D | SearchDialog.java | 525 InputMethodManager imm = getContext().getSystemService(InputMethodManager.class); in hide() 526 if (imm != null) { in hide() 527 imm.hideSoftInputFromWindow( in hide() 664 InputMethodManager imm = getContext().getSystemService(InputMethodManager.class); in onBackPressed() local 665 if (imm != null && imm.isFullscreenMode() && in onBackPressed() 666 imm.hideSoftInputFromWindow(getWindow().getDecorView().getWindowToken(), 0)) { in onBackPressed()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/ |
H A D | EditTextActivity.java | 109 InputMethodManager imm = getSystemService(InputMethodManager.class); in hideIme() local 110 imm.hideSoftInputFromWindow(mEditText.getWindowToken(), 0); in hideIme()
|
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/view/ |
H A D | InputStageBenchmark.java | 141 final InputMethodManager imm = in showSoftKeyboard() local 143 imm.showSoftInput(view, InputMethodManager.SHOW_IMPLICIT); in showSoftKeyboard()
|
/aosp14/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
H A D | PrintContentView.java | 384 InputMethodManager imm = (InputMethodManager) mContext.getSystemService( in ensureImeClosedAndInputFocusCleared() local 386 if (imm.isActive(focused)) { in ensureImeClosedAndInputFocusCleared() 387 imm.hideSoftInputFromWindow(getWindowToken(), 0); in ensureImeClosedAndInputFocusCleared()
|
/aosp14/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/inputmethodservice/ |
H A D | InputMethodServiceTest.java | 346 InputMethodManager imm = mContext.getSystemService(InputMethodManager.class); in testShowSoftInputExplicitly_fullScreenMode() local 349 imm.hasActiveInputConnection(mActivity.getEditText())).isTrue()); in testShowSoftInputExplicitly_fullScreenMode() 375 InputMethodManager imm = mContext.getSystemService(InputMethodManager.class); in testShowSoftInputImplicitly_fullScreenMode() local 378 imm.hasActiveInputConnection(mActivity.getEditText())).isTrue()); in testShowSoftInputImplicitly_fullScreenMode()
|
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/ |
H A D | InputMethodPreference.java | 242 final InputMethodManager imm = getInputMethodManager(); in getSummaryString() local 243 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(mImi, true); in getSummaryString()
|
/aosp14/frameworks/base/core/java/android/inputmethodservice/ |
H A D | ExtractEditText.java | 162 @Override protected void viewClicked(InputMethodManager imm) { in viewClicked() argument
|
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/ |
H A D | AppRestrictionsHelper.java | 422 InputMethodManager imm = (InputMethodManager) getContext().getSystemService( in getInputMethodList() local 424 return imm.getInputMethodListAsUser(mUser.getIdentifier()); in getInputMethodList()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/ |
H A D | MediaOutputController.java | 196 InfoMediaManager imm = new InfoMediaManager(mContext, packageName, null, lbm); in MediaOutputController() local 197 mLocalMediaManager = new LocalMediaManager(mContext, lbm, imm, packageName); in MediaOutputController()
|
/aosp14/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputMethodManager.java | 1418 final InputMethodManager imm = new InputMethodManager(service, displayId, looper); in createRealInstance() local 1428 IInputMethodManagerGlobalInvoker.addClient(imm.mClient, imm.mFallbackInputConnection, in createRealInstance() 1433 return imm; in createRealInstance()
|
/aosp14/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
H A D | PrintActivity.java | 635 InputMethodManager imm = getSystemService(InputMethodManager.class); in onOptionsClosed() local 636 imm.hideSoftInputFromWindow(mDestinationSpinner.getWindowToken(), 0); in onOptionsClosed() 1909 InputMethodManager imm = (InputMethodManager) in updateOptionsUi() local 1911 imm.showSoftInput(mPageRangeEditText, 0); in updateOptionsUi()
|
/aosp14/frameworks/base/services/core/java/com/android/server/inputmethod/ |
H A D | InputMethodManagerService.java | 3283 InputMethodInfo imm = enabled.get(i); in updateInputMethodsFromSettingsLocked() local 3286 ai = userAwarePackageManager.getApplicationInfo(imm.getPackageName(), in updateInputMethodsFromSettingsLocked() 3294 Slog.d(TAG, "Update state(" + imm.getId() in updateInputMethodsFromSettingsLocked() 3297 userAwarePackageManager.setApplicationEnabledSetting(imm.getPackageName(), in updateInputMethodsFromSettingsLocked()
|