Home
last modified time | relevance | path

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

12

/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DDigitsEditText.java39 final InputMethodManager imm = in onFocusChanged() local
41 if (imm != null && imm.isActive(this)) { in onFocusChanged()
42 imm.hideSoftInputFromWindow(getApplicationWindowToken(), 0); in onFocusChanged()
50 final InputMethodManager imm = in onTouchEvent() local
52 if (imm != null && imm.isActive(this)) { in onTouchEvent()
53 imm.hideSoftInputFromWindow(getApplicationWindowToken(), 0); in onTouchEvent()
/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/modules/NetworkStack/src/android/net/apf/
DApfGenerator.java123 void setImm(int imm, boolean signed) { in setImm() argument
125 mImm = imm; in setImm()
127 mImmSize = calculateImmSize(imm, signed); in setImm()
130 void setUnsignedImm(int imm) { in setUnsignedImm() argument
131 setImm(imm, false); in setUnsignedImm()
134 void setSignedImm(int imm) { in setSignedImm() argument
135 setImm(imm, true); in setSignedImm()
290 private byte calculateImmSize(int imm, boolean signed) { in calculateImmSize() argument
291 if (imm == 0) { in calculateImmSize()
294 if (signed && (imm >= -128 && imm <= 127) || in calculateImmSize()
[all …]
/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/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/widget/
DImeAwareEditText.java70 final InputMethodManager imm = in showSoftInputIfNecessary() local
72 imm.showSoftInput(this, 0); in showSoftInputIfNecessary()
78 final InputMethodManager imm = getContext().getSystemService(InputMethodManager.class); in scheduleShowSoftInput() local
79 if (imm.isActive(this)) { in scheduleShowSoftInput()
84 imm.showSoftInput(this, 0); in scheduleShowSoftInput()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DImeAwareEditText.java70 final InputMethodManager imm = in showSoftInputIfNecessary() local
72 imm.showSoftInput(this, 0); in showSoftInputIfNecessary()
78 final InputMethodManager imm = getContext().getSystemService(InputMethodManager.class); in scheduleShowSoftInput() local
79 if (imm.isActive(this)) { in scheduleShowSoftInput()
84 imm.showSoftInput(this, 0); in scheduleShowSoftInput()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputMethodManager.java145 final InputMethodManager imm = mImmWrapper.mImm; in switchToNextInputSubtypeInThisIme() local
146 final InputMethodSubtype currentSubtype = imm.getCurrentInputMethodSubtype(); in switchToNextInputSubtypeInThisIme()
167 final InputMethodManager imm = mImmWrapper.mImm; in switchToNextInputMethodAndSubtype() local
168 final List<InputMethodInfo> enabledImis = imm.getEnabledInputMethodList(); in switchToNextInputMethodAndSubtype()
180 imm.setInputMethod(token, nextImi.getId()); in switchToNextInputMethodAndSubtype()
184 imm.setInputMethodAndSubtype(token, nextImi.getId(), firstSubtype); in switchToNextInputMethodAndSubtype()
239 public InputMethodInfoCache(final InputMethodManager imm, final String imePackageName) { in InputMethodInfoCache() argument
240 mImm = imm; in InputMethodInfoCache()
593 final InputMethodManager imm = getInputMethodManager(); in switchToTargetIME() local
597 imm.setInputMethodAndSubtype(token, imiId, subtype); in switchToTargetIME()
DSystemBroadcastReceiver.java99 final InputMethodManager imm = (InputMethodManager) in onReceive() local
103 !imm.getInputMethodList().isEmpty(); in onReceive()
105 && UncachedInputMethodManagerUtils.isThisImeCurrent(context, imm); in onReceive()
/packages/apps/Dialer/java/com/android/dialer/util/
DDialerUtils.java192 final InputMethodManager imm = in showInputMethod() local
194 if (imm != null) { in showInputMethod()
195 imm.showSoftInput(view, 0); in showInputMethod()
200 final InputMethodManager imm = in hideInputMethod() local
202 if (imm != null) { in hideInputMethod()
203 imm.hideSoftInputFromWindow(view.getWindowToken(), 0); in hideInputMethod()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethodcommon/
DInputMethodSettingsImpl.java68 private static InputMethodInfo getMyImi(Context context, InputMethodManager imm) { in getMyImi() argument
69 final List<InputMethodInfo> imis = imm.getInputMethodList(); in getMyImi()
80 Context context, InputMethodManager imm, InputMethodInfo imi) { in getEnabledSubtypesLabel() argument
81 if (context == null || imm == null || imi == null) return null; in getEnabledSubtypesLabel()
82 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(imi, true); in getEnabledSubtypesLabel()
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DBpf2Apf.java179 int imm = parseImm(line, arg); in convertLine() local
182 gen.addAdd(imm); in convertLine()
185 gen.addAnd(imm); in convertLine()
188 gen.addOr(imm); in convertLine()
191 gen.addAdd(-imm); in convertLine()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupNameEditDialogFragment.java324 final InputMethodManager imm = (InputMethodManager) getActivity().getSystemService( in showInputMethod() local
326 if (imm != null) { in showInputMethod()
327 imm.showSoftInput(view, /* flags */ 0); in showInputMethod()
332 final InputMethodManager imm = (InputMethodManager) getActivity().getSystemService( in hideInputMethod() local
334 if (imm != null && mGroupNameEditText != null) { in hideInputMethod()
335 imm.hideSoftInputFromWindow(mGroupNameEditText.getWindowToken(), /* flags */ 0); in hideInputMethod()
/packages/apps/Settings/src/com/android/settings/
DCryptKeeper.java769 final InputMethodManager imm = (InputMethodManager) getSystemService( in passwordEntryInit() local
771 if (imeSwitcher != null && hasMultipleEnabledIMEsOrSubtypes(imm, false)) { in passwordEntryInit()
776 imm.showInputMethodPickerFromSystem(false /* showAuxiliarySubtypes */, in passwordEntryInit()
823 private boolean hasMultipleEnabledIMEsOrSubtypes(InputMethodManager imm, in hasMultipleEnabledIMEsOrSubtypes() argument
825 final List<InputMethodInfo> enabledImis = imm.getEnabledInputMethodList(); in hasMultipleEnabledIMEsOrSubtypes()
834 imm.getEnabledInputMethodSubtypeList(imi, true); in hasMultipleEnabledIMEsOrSubtypes()
861 || imm.getEnabledInputMethodSubtypeList(null, false).size() > 1; in hasMultipleEnabledIMEsOrSubtypes()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DCryptKeeper.java769 final InputMethodManager imm = (InputMethodManager) getSystemService( in passwordEntryInit() local
771 if (imeSwitcher != null && hasMultipleEnabledIMEsOrSubtypes(imm, false)) { in passwordEntryInit()
776 imm.showInputMethodPickerFromSystem(false /* showAuxiliarySubtypes */, in passwordEntryInit()
823 private boolean hasMultipleEnabledIMEsOrSubtypes(InputMethodManager imm, in hasMultipleEnabledIMEsOrSubtypes() argument
825 final List<InputMethodInfo> enabledImis = imm.getEnabledInputMethodList(); in hasMultipleEnabledIMEsOrSubtypes()
834 imm.getEnabledInputMethodSubtypeList(imi, true); in hasMultipleEnabledIMEsOrSubtypes()
861 || imm.getEnabledInputMethodSubtypeList(null, false).size() > 1; in hasMultipleEnabledIMEsOrSubtypes()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
DUserDictionaryList.java83 final InputMethodManager imm = in getUserDictionaryLocalesSet() local
85 final List<InputMethodInfo> imis = imm.getEnabledInputMethodList(); in getUserDictionaryLocalesSet()
88 imm.getEnabledInputMethodSubtypeList( in getUserDictionaryLocalesSet()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DBluetoothNameDialogFragment.java98 InputMethodManager imm = (InputMethodManager) getContext().getSystemService( in onCreateDialog()
100 if (imm != null) { in onCreateDialog()
101 imm.showSoftInput(mDeviceNameView, InputMethodManager.SHOW_IMPLICIT); in onCreateDialog()
DBluetoothPairingDialogFragment.java219 InputMethodManager imm = (InputMethodManager) in createUserEntryDialog()
221 if (imm != null) { in createUserEntryDialog()
222 imm.showSoftInput(mPairingView, InputMethodManager.SHOW_IMPLICIT); in createUserEntryDialog()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothRenameDialogFragment.java92 InputMethodManager imm = (InputMethodManager) requireContext().getSystemService( in onCreateDialog()
94 if (imm != null) { in onCreateDialog()
95 imm.showSoftInput(mDeviceNameView, InputMethodManager.SHOW_IMPLICIT); in onCreateDialog()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothNameDialogFragment.java98 InputMethodManager imm = (InputMethodManager) getContext().getSystemService( in onCreateDialog()
100 if (imm != null) { in onCreateDialog()
101 imm.showSoftInput(mDeviceNameView, InputMethodManager.SHOW_IMPLICIT); in onCreateDialog()
DBluetoothPairingDialogFragment.java219 InputMethodManager imm = (InputMethodManager) in createUserEntryDialog()
221 if (imm != null) { in createUserEntryDialog()
222 imm.showSoftInput(mPairingView, InputMethodManager.SHOW_IMPLICIT); in createUserEntryDialog()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DUserDictionaryListPreferenceController.java108 final InputMethodManager imm = in getUserDictionaryLocalesSet() local
110 final List<InputMethodInfo> imis = imm.getEnabledInputMethodList(); in getUserDictionaryLocalesSet()
113 imm.getEnabledInputMethodSubtypeList( in getUserDictionaryLocalesSet()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/
DUserDictionaryListPreferenceController.java108 final InputMethodManager imm = in getUserDictionaryLocalesSet() local
110 final List<InputMethodInfo> imis = imm.getEnabledInputMethodList(); in getUserDictionaryLocalesSet()
113 imm.getEnabledInputMethodSubtypeList( in getUserDictionaryLocalesSet()
/packages/apps/Dialer/java/com/android/dialer/common/
DUiUtil.java29 InputMethodManager imm = in hideKeyboardFrom() local
31 imm.hideSoftInputFromWindow(view.getWindowToken(), 0); in hideKeyboardFrom()

12