Home
last modified time | relevance | path

Searched refs:imm (Results 1 – 25 of 32) sorted by relevance

12

/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/
DDigitsEditText.java47 final InputMethodManager imm = ((InputMethodManager) getContext() in onFocusChanged() local
49 if (imm != null && imm.isActive(this)) { in onFocusChanged()
50 imm.hideSoftInputFromWindow(getApplicationWindowToken(), 0); in onFocusChanged()
58 final InputMethodManager imm = ((InputMethodManager) getContext() in onTouchEvent() local
60 if (imm != null && imm.isActive(this)) { in onTouchEvent()
61 imm.hideSoftInputFromWindow(getApplicationWindowToken(), 0); in onTouchEvent()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DUncachedInputMethodManagerUtils.java40 final InputMethodManager imm) { in isThisImeEnabled() argument
42 for (final InputMethodInfo imi : imm.getEnabledInputMethodList()) { in isThisImeEnabled()
59 final InputMethodManager imm) { in isThisImeCurrent() argument
60 final InputMethodInfo imi = getInputMethodInfoOf(context.getPackageName(), imm); in isThisImeCurrent()
76 final InputMethodManager imm) { in getInputMethodInfoOf() argument
77 for (final InputMethodInfo imi : imm.getInputMethodList()) { in getInputMethodInfoOf()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputMethodManager.java127 final InputMethodManager imm = mImmWrapper.mImm; in switchToNextInputSubtypeInThisIme() local
128 final InputMethodSubtype currentSubtype = imm.getCurrentInputMethodSubtype(); in switchToNextInputSubtypeInThisIme()
149 final InputMethodManager imm = mImmWrapper.mImm; in switchToNextInputMethodAndSubtype() local
150 final List<InputMethodInfo> enabledImis = imm.getEnabledInputMethodList(); in switchToNextInputMethodAndSubtype()
162 imm.setInputMethod(token, nextImi.getId()); in switchToNextInputMethodAndSubtype()
166 imm.setInputMethodAndSubtype(token, nextImi.getId(), firstSubtype); in switchToNextInputMethodAndSubtype()
217 public InputMethodInfoCache(final InputMethodManager imm, final String imePackageName) { in InputMethodInfoCache() argument
218 mImm = imm; in InputMethodInfoCache()
DSystemBroadcastReceiver.java90 final InputMethodManager imm = in onReceive() local
94 !imm.getInputMethodList().isEmpty(); in onReceive()
96 && UncachedInputMethodManagerUtils.isThisImeCurrent(context, imm); in onReceive()
DSubtypeSwitcher.java205 final InputMethodManager imm = mRichImm.getInputMethodManager(); in switchToTargetIME() local
209 imm.setInputMethodAndSubtype(token, imiId, subtype); in switchToTargetIME()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DQueryTextView.java77 InputMethodManager imm = getInputMethodManager(); in showInputMethod() local
78 if (imm != null) { in showInputMethod()
79 imm.showSoftInput(this, 0); in showInputMethod()
84 InputMethodManager imm = getInputMethodManager(); in hideInputMethod() local
85 if (imm != null) { in hideInputMethod()
86 imm.hideSoftInputFromWindow(getWindowToken(), 0); in hideInputMethod()
DSearchActivityView.java296 InputMethodManager imm = (InputMethodManager) in hideInputMethod() local
298 if (imm != null) { in hideInputMethod()
299 imm.hideSoftInputFromWindow(getWindowToken(), 0); in hideInputMethod()
339 InputMethodManager imm = (InputMethodManager) in updateInputMethodSuggestions() local
341 if (imm == null || !imm.isFullscreenMode()) return; in updateInputMethodSuggestions()
346 imm.displayCompletions(mQueryTextView, completions); in updateInputMethodSuggestions()
/packages/apps/Settings/src/com/android/settings/
DCryptKeeper.java279 final InputMethodManager imm = (InputMethodManager) getSystemService( in handleBadAttempt() local
281 imm.showSoftInput(mPasswordEntry, 0); in handleBadAttempt()
765 final InputMethodManager imm = (InputMethodManager) getSystemService( in passwordEntryInit() local
767 if (imeSwitcher != null && hasMultipleEnabledIMEsOrSubtypes(imm, false)) { in passwordEntryInit()
772 imm.showInputMethodPicker(); in passwordEntryInit()
797 imm.showSoftInputUnchecked(0, null); in passwordEntryInit()
819 private boolean hasMultipleEnabledIMEsOrSubtypes(InputMethodManager imm, in hasMultipleEnabledIMEsOrSubtypes() argument
821 final List<InputMethodInfo> enabledImis = imm.getEnabledInputMethodList(); in hasMultipleEnabledIMEsOrSubtypes()
830 imm.getEnabledInputMethodSubtypeList(imi, true); in hasMultipleEnabledIMEsOrSubtypes()
857 || imm.getEnabledInputMethodSubtypeList(null, false).size() > 1; in hasMultipleEnabledIMEsOrSubtypes()
/packages/apps/Dialer/src/com/android/dialer/util/
DDialerUtils.java174 final InputMethodManager imm = (InputMethodManager) view.getContext().getSystemService( in showInputMethod() local
176 if (imm != null) { in showInputMethod()
177 imm.showSoftInput(view, 0); in showInputMethod()
182 final InputMethodManager imm = (InputMethodManager) view.getContext().getSystemService( in hideInputMethod() local
184 if (imm != null) { in hideInputMethod()
185 imm.hideSoftInputFromWindow(view.getWindowToken(), 0); in hideInputMethod()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountServerBaseFragment.java174 final InputMethodManager imm = in onPause() local
176 imm.hideSoftInputFromWindow(getView().getWindowToken(), 0); in onPause()
223 InputMethodManager imm = (InputMethodManager) mAppContext. in makeTextViewUneditable()
225 imm.hideSoftInputFromWindow(getView().getWindowToken(), 0); in makeTextViewUneditable()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
DUserDictionaryList.java81 final InputMethodManager imm = in getUserDictionaryLocalesSet() local
83 final List<InputMethodInfo> imis = imm.getEnabledInputMethodList(); in getUserDictionaryLocalesSet()
86 imm.getEnabledInputMethodSubtypeList( in getUserDictionaryLocalesSet()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DUserDictionaryList.java103 final InputMethodManager imm = in getUserDictionaryLocalesSet() local
105 final List<InputMethodInfo> imis = imm.getEnabledInputMethodList(); in getUserDictionaryLocalesSet()
108 imm.getEnabledInputMethodSubtypeList( in getUserDictionaryLocalesSet()
DInputMethodPreference.java200 final InputMethodManager imm = getInputMethodManager(); in getSummaryString() local
201 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(mImi, true); in getSummaryString()
DInputMethodAndLanguageSettings.java320 final InputMethodManager imm = (InputMethodManager) in onPreferenceTreeClick() local
322 imm.showInputMethodPicker(); in onPreferenceTreeClick()
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DAttachmentsView.java79 InputMethodManager imm = (InputMethodManager) getContext().getSystemService( in expandView() local
81 if (imm != null) { in expandView()
82 imm.hideSoftInputFromWindow(getWindowToken(), 0); in expandView()
/packages/apps/Contacts/src/com/android/contacts/activities/
DActionBarAdapter.java411 final InputMethodManager imm = (InputMethodManager) mContext.getSystemService( in showInputMethod() local
413 if (imm != null) { in showInputMethod()
414 imm.showSoftInput(view, 0); in showInputMethod()
DContactSelectionActivity.java637 final InputMethodManager imm = (InputMethodManager) in showInputMethod() local
639 if (imm != null) { in showInputMethod()
640 if (!imm.showSoftInput(view, 0)) { in showInputMethod()
/packages/apps/Contacts/src/com/android/contacts/editor/
DTextFieldsEditorView.java128 InputMethodManager imm = in editNewlyAddedField() local
130 if (imm != null) { in editNewlyAddedField()
131 if (!imm.showSoftInput(editor, InputMethodManager.SHOW_IMPLICIT)) { in editNewlyAddedField()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSettingsValues.java256 final RichInputMethodManager imm = RichInputMethodManager.getInstance(); in isLanguageSwitchKeyEnabled() local
258 return imm.hasMultipleEnabledIMEsOrSubtypes(false /* include aux subtypes */); in isLanguageSwitchKeyEnabled()
260 return imm.hasMultipleEnabledSubtypesInThisIme(false /* include aux subtypes */); in isLanguageSwitchKeyEnabled()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DTextInputWizardFragment.java174 InputMethodManager imm = (InputMethodManager) getActivity() in onPause() local
176 imm.hideSoftInputFromWindow(mTextInput.getWindowToken(), 0); in onPause()
DPasswordInputWizardFragment.java192 InputMethodManager imm = (InputMethodManager) getActivity() in onPause() local
194 imm.hideSoftInputFromWindow(mTextInput.getWindowToken(), 0); in onPause()
/packages/apps/Settings/src/com/android/settings/wifi/
DWriteWifiConfigToNfcDialog.java154 InputMethodManager imm = (InputMethodManager) in onClick() local
156 imm.hideSoftInputFromWindow(mPasswordView.getWindowToken(), 0); in onClick()
/packages/apps/Browser/src/com/android/browser/
DAddBookmarkPage.java278 InputMethodManager imm = getInputMethodManager(); in onClick() local
281 imm.focusIn(mListView); in onClick()
282 imm.showSoftInput(mFolderNamer, InputMethodManager.SHOW_IMPLICIT); in onClick()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/
DSetupWizardActivity.java84 final InputMethodManager imm) { in SettingsPoolingHandler() argument
86 mImmInHandler = imm; in SettingsPoolingHandler()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DAppLoadingTask.java373 InputMethodManager imm = (InputMethodManager) in getDefaultSystemImes() local
375 List<InputMethodInfo> imis = imm.getInputMethodList(); in getDefaultSystemImes()

12