Home
last modified time | relevance | path

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

123

/packages/modules/NetworkStack/src/android/net/apf/
DBaseApfGenerator.java285 public static IntImmediate newSigned(int imm) { in newSigned() argument
286 return new IntImmediate(imm, IntImmediateType.INDETERMINATE_SIZE_SIGNED); in newSigned()
289 public static IntImmediate newUnsigned(long imm) { in newUnsigned() argument
291 checkRange("Unsigned IMM", imm, 0 /* lowerBound */, in newUnsigned()
293 return new IntImmediate((int) imm, IntImmediateType.INDETERMINATE_SIZE_UNSIGNED); in newUnsigned()
296 public static IntImmediate newTwosComplementUnsigned(long imm) { in newTwosComplementUnsigned() argument
297 checkRange("Unsigned TwosComplement IMM", imm, Integer.MIN_VALUE, in newTwosComplementUnsigned()
299 return new IntImmediate((int) imm, IntImmediateType.INDETERMINATE_SIZE_UNSIGNED); in newTwosComplementUnsigned()
302 public static IntImmediate newTwosComplementSigned(long imm) { in newTwosComplementSigned() argument
303 checkRange("Signed TwosComplement IMM", imm, Integer.MIN_VALUE, in newTwosComplementSigned()
[all …]
/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/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.kt67 val imm: InputMethodManager? = inputMethodManager in showInputMethod() constant
68 if (imm != null) { in showInputMethod()
69 imm.showSoftInput(this, 0) in showInputMethod()
74 val imm: InputMethodManager? = inputMethodManager in hideInputMethod() constant
75 if (imm != null) { in hideInputMethod()
76 imm.hideSoftInputFromWindow(getWindowToken(), 0) in hideInputMethod()
DSearchActivityView.kt244 val imm: InputMethodManager? = in hideInputMethod() constant
246 if (imm != null) { in hideInputMethod()
247 imm.hideSoftInputFromWindow(getWindowToken(), 0) in hideInputMethod()
284 val imm: InputMethodManager? = in updateInputMethodSuggestions() constant
286 if (imm == null || !imm.isFullscreenMode()) return in updateInputMethodSuggestions()
290 imm.displayCompletions(mQueryTextView, completions) in updateInputMethodSuggestions()
/packages/modules/Virtualization/vmbase/
Dcommon.h26 .macro mov_i, reg:req, imm:req
27 movz \reg, :abs_g3:\imm
28 movk \reg, :abs_g2_nc:\imm
29 movk \reg, :abs_g1_nc:\imm
30 movk \reg, :abs_g0_nc:\imm
/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/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/modules/NetworkStack/tests/unit/src/android/net/apf/
DBpf2Apf.java188 int imm = parseImm(line, arg); in convertLine() local
191 gen.addAdd(imm); in convertLine()
194 gen.addAnd(imm); in convertLine()
197 gen.addOr(imm); in convertLine()
200 gen.addAdd(-imm); in convertLine()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DNewKeyboardSettingsUtils.java73 InputMethodManager imm = context.getSystemService(InputMethodManager.class); in getSelectedKeyboardLayoutLabelForUser() local
75 if (imm == null || im == null) { in getSelectedKeyboardLayoutLabelForUser()
78 InputMethodInfo imeInfo = imm.getCurrentInputMethodInfoAsUser(UserHandle.of(userId)); in getSelectedKeyboardLayoutLabelForUser()
79 InputMethodSubtype subtype = imm.getCurrentInputMethodSubtype(); in getSelectedKeyboardLayoutLabelForUser()
DUserDictionaryListPreferenceController.java108 final InputMethodManager imm = in getUserDictionaryLocalesSet() local
110 final List<InputMethodInfo> imis = imm.getEnabledInputMethodList(); in getUserDictionaryLocalesSet()
113 imm.getEnabledInputMethodSubtypeList( in getUserDictionaryLocalesSet()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupNameEditDialogFragment.java328 final InputMethodManager imm = (InputMethodManager) getActivity().getSystemService( in showInputMethod() local
330 if (imm != null) { in showInputMethod()
331 imm.showSoftInput(view, /* flags */ 0); in showInputMethod()
336 final InputMethodManager imm = (InputMethodManager) getActivity().getSystemService( in hideInputMethod() local
338 if (imm != null && mGroupNameEditText != null) { in hideInputMethod()
339 imm.hideSoftInputFromWindow(mGroupNameEditText.getWindowToken(), /* flags */ 0); in hideInputMethod()
/packages/apps/Launcher3/src/com/android/launcher3/
DExtendedEditText.java122 InputMethodManager imm = getContext().getSystemService(InputMethodManager.class); in showSoftInputInternal() local
123 if (imm != null) { in showSoftInputInternal()
124 result = imm.showSoftInput(this, InputMethodManager.SHOW_IMPLICIT); in showSoftInputInternal()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
DAccessibilityHelper.java39 InputMethodManager imm = context.getSystemService(InputMethodManager.class); in dismissKeyboard() local
40 imm.hideSoftInputFromWindow(view.getApplicationWindowToken(), 0); in dismissKeyboard()
/packages/apps/Dialer/java/com/android/dialer/common/
DUiUtil.java29 InputMethodManager imm = in hideKeyboardFrom() local
31 imm.hideSoftInputFromWindow(view.getWindowToken(), 0); in hideKeyboardFrom()
/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/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothRenameDialogFragment.java111 InputMethodManager imm = (InputMethodManager) requireContext().getSystemService( in createAlertDialog()
113 if (imm != null) { in createAlertDialog()
114 imm.showSoftInput(deviceNameView, InputMethodManager.SHOW_IMPLICIT); in createAlertDialog()
DBluetoothPairingDialogFragment.java209 InputMethodManager imm = (InputMethodManager) in createUserEntryDialog()
211 if (imm != null) { in createUserEntryDialog()
212 imm.showSoftInput(mPairingView, InputMethodManager.SHOW_IMPLICIT); in createUserEntryDialog()
/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()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiPasswordDialog.java91 InputMethodManager imm = getActivity().getSystemService(InputMethodManager.class); in onBindDialogView() local
92 imm.hideSoftInputFromWindow(mEditText.getWindowToken(), /* flags= */ 0); in onBindDialogView()
/packages/apps/Settings/src/com/android/settings/connecteddevice/stylus/
DStylusDevicesController.java225 InputMethodManager imm = mContext.getSystemService(InputMethodManager.class); in onPreferenceClick() local
226 InputMethodInfo inputMethod = imm.getCurrentInputMethodInfo(); in onPreferenceClick()
309 InputMethodManager imm = mContext.getSystemService(InputMethodManager.class); in currentInputMethodSupportsHandwriting() local
310 InputMethodInfo inputMethod = imm.getCurrentInputMethodInfo(); in currentInputMethodSupportsHandwriting()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothRenameDialogFragmentTest.java66 InputMethodManager imm = in softInputShown() local
69 assertThat(Shadows.shadowOf(imm).isSoftInputVisible()).isTrue(); in softInputShown()

123