Searched refs:imm (Results 1 - 25 of 29) sorted by relevance

12

/frameworks/base/tools/layoutlib/bridge/src/android/view/inputmethod/
H A DInputMethodManager_Delegate.java40 InputMethodManager imm = InputMethodManager.peekInstance();
41 if (imm == null) {
42 imm = new InputMethodManager(
44 InputMethodManager.sInstance = imm;
46 return imm;
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
H A DButtonActivity.java50 InputMethodManager imm = InputMethodManager.getInstance();
53 imm.hideSoftInputFromInputMethod(v.getWindowToken(), 0);
60 imm.showSoftInput(v, 0);
/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/
H A DInputMethodSettingsImpl.java68 private static InputMethodInfo getMyImi(Context context, InputMethodManager imm) { argument
69 final List<InputMethodInfo> imis = imm.getInputMethodList();
80 Context context, InputMethodManager imm, InputMethodInfo imi) {
81 if (context == null || imm == null || imi == null) return null;
82 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(imi, true);
79 getEnabledSubtypesLabel( Context context, InputMethodManager imm, InputMethodInfo imi) argument
/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64LongBranchStub.cpp96 int64_t imm = static_cast<int64_t>((helper_get_page_address(pDest) - local
98 return ((imm <= AArch64GNULDBackend::MAX_ADRP_IMM) &&
99 (imm >= AArch64GNULDBackend::MIN_ADRP_IMM));
H A DAArch64PLT.cpp87 AArch64Relocator::DWord imm = local
90 data[1] = helper_reencode_adr_imm(data[1], imm >> 12);
127 AArch64Relocator::DWord imm = helper_get_page_address(GOTEntryAddress) - local
129 Out[0] = helper_reencode_adr_imm(Out[0], imm >> 12);
/frameworks/base/services/net/java/android/net/apf/
H A DApfGenerator.java121 void setImm(int imm, boolean signed) { argument
123 mImm = imm;
125 mImmSize = calculateImmSize(imm, signed);
128 void setUnsignedImm(int imm) { argument
129 setImm(imm, false);
132 void setSignedImm(int imm) { argument
133 setImm(imm, true);
288 private byte calculateImmSize(int imm, boolean signed) { argument
289 if (imm == 0) {
292 if (signed && (imm >
[all...]
/frameworks/base/services/tests/servicestests/src/android/net/apf/
H A DBpf2Apf.java179 int imm = parseImm(line, arg);
182 gen.addAdd(imm);
185 gen.addAnd(imm);
188 gen.addOr(imm);
191 gen.addAdd(-imm);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardPasswordView.java252 * @param imm The input method manager
256 private boolean hasMultipleEnabledIMEsOrSubtypes(InputMethodManager imm, argument
258 final List<InputMethodInfo> enabledImis = imm.getEnabledInputMethodList();
267 imm.getEnabledInputMethodSubtypeList(imi, true);
292 // imm.getEnabledInputMethodSubtypeList(null, false) will return the current IME's enabled
294 || imm.getEnabledInputMethodSubtypeList(null, false).size() > 1;
/frameworks/base/core/java/android/app/
H A DSearchDialog.java508 InputMethodManager imm = getContext().getSystemService(InputMethodManager.class);
509 if (imm != null) {
510 imm.hideSoftInputFromWindow(
645 InputMethodManager imm = getContext().getSystemService(InputMethodManager.class);
646 if (imm != null && imm.isFullscreenMode() &&
647 imm.hideSoftInputFromWindow(getWindow().getDecorView().getWindowToken(), 0)) {
/frameworks/base/core/java/android/view/
H A DWindowManagerGlobal.java184 InputMethodManager imm = InputMethodManager.getInstance();
193 imm.getClient(), imm.getInputContext());
441 InputMethodManager imm = InputMethodManager.getInstance();
442 if (imm != null) {
443 imm.windowDismissed(mViews.get(index).getWindowToken());
H A DViewRootImpl.java2190 InputMethodManager imm = InputMethodManager.peekInstance();
2191 if (imm != null && imTarget) {
2192 imm.onPreWindowFocus(mView, hasWindowFocus);
2193 imm.onPostWindowFocus(mView, mView.findFocus(),
3596 InputMethodManager imm = InputMethodManager.peekInstance();
3597 if (imm != null && mLastWasImTarget && !isInLocalFocusMode()) {
3598 imm.onPreWindowFocus(mView, hasWindowFocus);
3609 if (imm != null && mLastWasImTarget && !isInLocalFocusMode()) {
3610 imm.onPostWindowFocus(mView, mView.findFocus(),
3654 InputMethodManager imm
[all...]
H A DView.java6230 InputMethodManager imm = InputMethodManager.peekInstance();
6235 if (imm != null && mAttachInfo != null
6237 imm.focusOut(this);
6240 } else if (imm != null && mAttachInfo != null
6242 imm.focusIn(this);
10271 InputMethodManager imm = InputMethodManager.peekInstance();
10276 if (imm != null && (mPrivateFlags & PFLAG_FOCUSED) != 0) {
10277 imm.focusOut(this);
10282 } else if (imm != null && (mPrivateFlags & PFLAG_FOCUSED) != 0) {
10283 imm
[all...]
/frameworks/base/core/java/android/widget/
H A DAutoCompleteTextView.java1148 InputMethodManager imm = InputMethodManager.peekInstance();
1149 if (imm != null) {
1150 imm.displayCompletions(this, null);
1233 InputMethodManager imm = InputMethodManager.peekInstance();
1234 if (imm != null) {
1255 imm.displayCompletions(this, completions);
H A DTextView.java1603 InputMethodManager imm = InputMethodManager.peekInstance();
1604 if (imm != null && imm.isActive(this)) {
1605 imm.hideSoftInputFromWindow(getWindowToken(), 0);
1613 InputMethodManager imm = InputMethodManager.peekInstance();
1614 if (imm != null) imm.restartInput(this);
1830 InputMethodManager imm = InputMethodManager.peekInstance();
1831 if (imm != null) imm
9873 viewClicked(InputMethodManager imm) argument
[all...]
H A DSearchView.java168 InputMethodManager imm = getContext().getSystemService(InputMethodManager.class);
170 if (imm != null) {
171 imm.showSoftInputUnchecked(0, null);
975 InputMethodManager imm = getContext().getSystemService(InputMethodManager.class);
977 if (imm != null) {
978 imm.hideSoftInputFromWindow(getWindowToken(), 0);
H A DEditor.java1287 final InputMethodManager imm = InputMethodManager.peekInstance();
1573 InputMethodManager imm = InputMethodManager.peekInstance();
1574 if (imm != null) {
1590 imm.updateExtractedText(mTextView, req.token, ims.mExtractedText);
1606 final InputMethodManager imm = InputMethodManager.peekInstance();
1607 if (null != imm) {
1619 imm.updateSelection(mTextView,
1632 InputMethodManager imm = InputMethodManager.peekInstance();
1633 if (imm != null) {
1634 if (imm
[all...]
/frameworks/base/core/java/android/text/style/
H A DSuggestionSpan.java417 InputMethodManager imm = InputMethodManager.peekInstance();
418 if (imm != null) {
419 imm.notifySuggestionPicked(this, original, index);
/frameworks/base/core/java/android/inputmethodservice/
H A DExtractEditText.java162 @Override protected void viewClicked(InputMethodManager imm) { argument
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
H A DPrintContentView.java382 InputMethodManager imm = (InputMethodManager) mContext.getSystemService(
384 if (imm.isActive(focused)) {
385 imm.hideSoftInputFromWindow(getWindowToken(), 0);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DRemoteInputView.java552 final InputMethodManager imm = InputMethodManager.getInstance();
553 if (imm != null) {
560 imm.viewClicked(RemoteEditText.this);
561 imm.showSoftInput(RemoteEditText.this, 0);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSearchView.java190 InputMethodManager imm = (InputMethodManager)
193 if (imm != null) {
194 HIDDEN_METHOD_INVOKER.showSoftInputUnchecked(imm, SearchView.this, 0);
1015 InputMethodManager imm = (InputMethodManager)
1018 if (imm != null) {
1019 imm.hideSoftInputFromWindow(getWindowToken(), 0);
2078 void showSoftInputUnchecked(InputMethodManager imm, View view, int flags) { argument
2081 showSoftInputUnchecked.invoke(imm, flags, null);
2088 imm.showSoftInput(view, flags);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
H A DAppRestrictionsHelper.java271 InputMethodManager imm = (InputMethodManager)
273 List<InputMethodInfo> imis = imm.getInputMethodList();
/frameworks/base/services/core/java/com/android/server/
H A DTextServicesManagerService.java487 final InputMethodManager imm = mContext.getSystemService(InputMethodManager.class);
488 if (imm != null) {
490 imm.getCurrentInputMethodSubtype();
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicColorMatrix.cpp439 static uint8_t * addVMOV_32(uint8_t *buf, uint32_t dest_q, uint32_t imm) {
440 //vmov.32 Q#1, #imm
441 rsAssert(imm == 0);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrintActivity.java593 InputMethodManager imm = getSystemService(InputMethodManager.class);
594 imm.hideSoftInputFromWindow(mDestinationSpinner.getWindowToken(), 0);
1822 InputMethodManager imm = (InputMethodManager)
1824 imm.showSoftInput(mPageRangeEditText, 0);

Completed in 1488 milliseconds

12