Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/dialpad/
DDigitsEditText.java41 final InputMethodManager imm = ((InputMethodManager) getContext() in onFocusChanged() local
43 if (imm != null && imm.isActive(this)) { in onFocusChanged()
44 imm.hideSoftInputFromWindow(getApplicationWindowToken(), 0); in onFocusChanged()
52 final InputMethodManager imm = ((InputMethodManager) getContext() in onTouchEvent() local
54 if (imm != null && imm.isActive(this)) { in onTouchEvent()
55 imm.hideSoftInputFromWindow(getApplicationWindowToken(), 0); in onTouchEvent()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DImfUtils.java51 final InputMethodManager imm = getInputMethodManager(context); in getInputMethodInfoOfThisIme() local
53 for (final InputMethodInfo imi : imm.getInputMethodList()) { in getInputMethodInfoOfThisIme()
69 final InputMethodManager imm = getInputMethodManager(context); in checkIfSubtypeBelongsToThisImeAndEnabled() local
71 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(myImi, true); in checkIfSubtypeBelongsToThisImeAndEnabled()
95 final InputMethodManager imm = getInputMethodManager(context); in hasMultipleEnabledIMEsOrSubtypes() local
96 final List<InputMethodInfo> enabledImis = imm.getEnabledInputMethodList(); in hasMultipleEnabledIMEsOrSubtypes()
109 final InputMethodManager imm = getInputMethodManager(context); in hasMultipleEnabledSubtypes() local
118 imm.getEnabledInputMethodSubtypeList(imi, true); in hasMultipleEnabledSubtypes()
145 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(null, true); in hasMultipleEnabledSubtypes()
175 final InputMethodManager imm = getInputMethodManager(context); in setAdditionalInputMethodSubtypes() local
[all …]
DSubtypeSwitcher.java218 final InputMethodManager imm = mImm; in switchToTargetIME() local
222 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.java385 InputMethodManager imm = (InputMethodManager) in hideInputMethod() local
387 if (imm != null) { in hideInputMethod()
388 imm.hideSoftInputFromWindow(getWindowToken(), 0); in hideInputMethod()
428 InputMethodManager imm = (InputMethodManager) in updateInputMethodSuggestions() local
430 if (imm == null || !imm.isFullscreenMode()) return; in updateInputMethodSuggestions()
435 imm.displayCompletions(mQueryTextView, completions); in updateInputMethodSuggestions()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountServerBaseFragment.java191 InputMethodManager imm = in onPause() local
193 imm.hideSoftInputFromWindow(getView().getWindowToken(), 0); in onPause()
266 InputMethodManager imm = (InputMethodManager)mContext. in makeTextViewUneditable()
268 imm.hideSoftInputFromWindow(getView().getWindowToken(), 0); in makeTextViewUneditable()
303 InputMethodManager imm = (InputMethodManager) context.getSystemService(
305 if (imm != null && imm.isActive()) {
306 imm.hideSoftInputFromWindow(getView().getWindowToken(), 0);
/packages/apps/Settings/src/com/android/settings/
DCryptKeeper.java504 final InputMethodManager imm = (InputMethodManager) getSystemService( in passwordEntryInit() local
506 if (imeSwitcher != null && hasMultipleEnabledIMEsOrSubtypes(imm, false)) { in passwordEntryInit()
511 imm.showInputMethodPicker(); in passwordEntryInit()
531 imm.showSoftInputUnchecked(0, null); in passwordEntryInit()
548 private boolean hasMultipleEnabledIMEsOrSubtypes(InputMethodManager imm, in hasMultipleEnabledIMEsOrSubtypes() argument
550 final List<InputMethodInfo> enabledImis = imm.getEnabledInputMethodList(); in hasMultipleEnabledIMEsOrSubtypes()
559 imm.getEnabledInputMethodSubtypeList(imi, true); in hasMultipleEnabledIMEsOrSubtypes()
586 || imm.getEnabledInputMethodSubtypeList(null, false).size() > 1; in hasMultipleEnabledIMEsOrSubtypes()
/packages/apps/Contacts/src/com/android/contacts/activities/
DJoinContactActivity.java236 final InputMethodManager imm = (InputMethodManager) in showInputMethod() local
238 if (imm != null) { in showInputMethod()
239 if (!imm.showSoftInput(view, 0)) { in showInputMethod()
DActionBarAdapter.java491 InputMethodManager imm = (InputMethodManager) mContext.getSystemService( in onQueryTextSubmit() local
493 if (imm != null) { in onQueryTextSubmit()
494 imm.hideSoftInputFromWindow(mSearchView.getWindowToken(), 0); in onQueryTextSubmit()
DDialtactsActivity.java1133 InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE); in showInputMethod() local
1134 if (imm != null) { in showInputMethod()
1135 if (!imm.showSoftInput(view, 0)) { in showInputMethod()
1142 InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE); in hideInputMethod() local
1143 if (imm != null && view != null) { in hideInputMethod()
1144 imm.hideSoftInputFromWindow(view.getWindowToken(), 0); in hideInputMethod()
DContactSelectionActivity.java599 final InputMethodManager imm = (InputMethodManager) in showInputMethod() local
601 if (imm != null) { in showInputMethod()
602 if (!imm.showSoftInput(view, 0)) { in showInputMethod()
/packages/apps/Contacts/src/com/android/contacts/editor/
DTextFieldsEditorView.java118 InputMethodManager imm = in editNewlyAddedField() local
120 if (imm != null) { in editNewlyAddedField()
121 if (!imm.showSoftInput(editor, InputMethodManager.SHOW_IMPLICIT)) { in editNewlyAddedField()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DInputTestsBase.java144 final InputMethodManager imm = (InputMethodManager)mLatinIME.getSystemService( in initSubtypeMap() local
149 for (final InputMethodInfo imi : imm.getInputMethodList()) { in initSubtypeMap()
/packages/apps/Browser/src/com/android/browser/
DAutoFillSettingsFragment.java282 InputMethodManager imm = (InputMethodManager) getActivity().getSystemService( in closeEditor() local
284 imm.hideSoftInputFromWindow(getView().getWindowToken(), 0); in closeEditor()
DAddBookmarkPage.java278 InputMethodManager imm = getInputMethodManager(); in onClick() local
281 imm.focusIn(mListView); in onClick()
282 imm.showSoftInput(mFolderNamer, InputMethodManager.SHOW_IMPLICIT); in onClick()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DInputMethodPreference.java83 InputMethodManager imm, InputMethodInfo imi, int imiCount) { in InputMethodPreference() argument
89 mImm = imm; in InputMethodPreference()
DInputMethodAndSubtypeEnabler.java207 InputMethodManager imm = (InputMethodManager) getSystemService( in onCreateIMM() local
211 mInputMethodProperties = imm.getInputMethodList(); in onCreateIMM()
DInputMethodAndSubtypeUtil.java158 InputMethodManager imm, List<InputMethodInfo> imis, PackageManager pm) { in getCurrentInputMethodName() argument
165 final InputMethodSubtype subtype = imm.getCurrentInputMethodSubtype(); in getCurrentInputMethodName()
DInputMethodAndLanguageSettings.java315 final InputMethodManager imm = (InputMethodManager) in onPreferenceTreeClick() local
317 imm.showInputMethodPicker(); in onPreferenceTreeClick()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncher.java1362 InputMethodManager imm = (InputMethodManager)getSystemService( in onNewIntent() local
1364 imm.hideSoftInputFromWindow(v.getWindowToken(), 0); in onNewIntent()