Searched refs:imm (Results 1 - 25 of 26) 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/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DRemoteInputView.java125 InputMethodManager imm = InputMethodManager.getInstance();
126 if (imm != null) {
127 imm.viewClicked(mEditText);
128 imm.showSoftInput(mEditText, 0);
/frameworks/compile/mclinker/lib/Target/AArch64/
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/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardPasswordView.java221 * @param imm The input method manager
225 private boolean hasMultipleEnabledIMEsOrSubtypes(InputMethodManager imm, argument
227 final List<InputMethodInfo> enabledImis = imm.getEnabledInputMethodList();
236 imm.getEnabledInputMethodSubtypeList(imi, true);
261 // imm.getEnabledInputMethodSubtypeList(null, false) will return the current IME's enabled
263 || imm.getEnabledInputMethodSubtypeList(null, false).size() > 1;
/frameworks/base/core/java/android/app/
H A DSearchDialog.java508 InputMethodManager imm = (InputMethodManager)getContext()
510 if (imm != null) {
511 imm.hideSoftInputFromWindow(
646 InputMethodManager imm = (InputMethodManager)getContext()
648 if (imm != null && imm.isFullscreenMode() &&
649 imm.hideSoftInputFromWindow(getWindow().getDecorView().getWindowToken(), 0)) {
/frameworks/base/core/java/android/view/
H A DWindowManagerGlobal.java152 InputMethodManager imm = InputMethodManager.getInstance();
161 imm.getClient(), imm.getInputContext());
392 InputMethodManager imm = InputMethodManager.getInstance();
393 if (imm != null) {
394 imm.windowDismissed(mViews.get(index).getWindowToken());
H A DViewRootImpl.java2040 InputMethodManager imm = InputMethodManager.peekInstance();
2041 if (imm != null && imTarget) {
2042 imm.onPreWindowFocus(mView, true /* hasWindowFocus */);
2043 imm.onPostWindowFocus(mView, mView.findFocus(),
3372 InputMethodManager imm = InputMethodManager.peekInstance();
3373 if (imm != null && mLastWasImTarget && !isInLocalFocusMode()) {
3374 imm.onPreWindowFocus(mView, hasWindowFocus);
3385 if (imm != null && mLastWasImTarget && !isInLocalFocusMode()) {
3386 imm.onPostWindowFocus(mView, mView.findFocus(),
3437 InputMethodManager imm
[all...]
H A DView.java5705 InputMethodManager imm = InputMethodManager.peekInstance();
5710 if (imm != null && mAttachInfo != null
5712 imm.focusOut(this);
5715 } else if (imm != null && mAttachInfo != null
5717 imm.focusIn(this);
9548 InputMethodManager imm = InputMethodManager.peekInstance();
9553 if (imm != null && (mPrivateFlags & PFLAG_FOCUSED) != 0) {
9554 imm.focusOut(this);
9559 } else if (imm != null && (mPrivateFlags & PFLAG_FOCUSED) != 0) {
9560 imm
[all...]
/frameworks/base/core/java/android/widget/
H A DAutoCompleteTextView.java1039 InputMethodManager imm = InputMethodManager.peekInstance();
1040 if (imm != null) {
1041 imm.displayCompletions(this, null);
1124 InputMethodManager imm = InputMethodManager.peekInstance();
1125 if (imm != null) {
1146 imm.displayCompletions(this, completions);
H A DTextView.java1563 InputMethodManager imm = InputMethodManager.peekInstance();
1564 if (imm != null && imm.isActive(this)) {
1565 imm.hideSoftInputFromWindow(getWindowToken(), 0);
1573 InputMethodManager imm = InputMethodManager.peekInstance();
1574 if (imm != null) imm.restartInput(this);
1781 InputMethodManager imm = InputMethodManager.peekInstance();
1782 if (imm != null) imm
9656 viewClicked(InputMethodManager imm) argument
[all...]
H A DSearchView.java155 InputMethodManager imm = (InputMethodManager)
158 if (imm != null) {
159 imm.showSoftInputUnchecked(0, null);
907 InputMethodManager imm = (InputMethodManager)
910 if (imm != null) {
911 imm.hideSoftInputFromWindow(getWindowToken(), 0);
H A DEditor.java1192 final InputMethodManager imm = InputMethodManager.peekInstance();
1193 final boolean immFullScreen = (imm != null && imm.isFullscreenMode());
1422 InputMethodManager imm = InputMethodManager.peekInstance();
1423 if (imm != null) {
1439 imm.updateExtractedText(mTextView, req.token, ims.mExtractedText);
1455 final InputMethodManager imm = InputMethodManager.peekInstance();
1456 if (null != imm) {
1468 imm.updateSelection(mTextView,
1481 InputMethodManager imm
[all...]
H A DAbsListView.java5715 InputMethodManager imm = (InputMethodManager)
5717 if (imm != null) {
5718 imm.hideSoftInputFromWindow(getWindowToken(), 0);
/frameworks/base/core/java/android/text/style/
H A DSuggestionSpan.java381 InputMethodManager imm = InputMethodManager.peekInstance();
382 if (imm != null) {
383 imm.notifySuggestionPicked(this, original, index);
/frameworks/base/core/java/android/inputmethodservice/
H A DExtractEditText.java162 @Override protected void viewClicked(InputMethodManager imm) { argument
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSearchView.java175 InputMethodManager imm = (InputMethodManager)
178 if (imm != null) {
179 HIDDEN_METHOD_INVOKER.showSoftInputUnchecked(imm, SearchView.this, 0);
921 InputMethodManager imm = (InputMethodManager)
924 if (imm != null) {
925 imm.hideSoftInputFromWindow(getWindowToken(), 0);
1806 void showSoftInputUnchecked(InputMethodManager imm, View view, int flags) { argument
1809 showSoftInputUnchecked.invoke(imm, flags, null);
1816 imm.showSoftInput(view, flags);
/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/services/java/com/android/server/
H A DSystemServer.java537 InputMethodManagerService imm = null;
550 imm = new InputMethodManagerService(context, wm);
551 ServiceManager.addService(Context.INPUT_METHOD_SERVICE, imm);
1077 final InputMethodManagerService immF = imm;
/frameworks/base/services/core/java/com/android/server/
H A DTextServicesManagerService.java449 final InputMethodManager imm =
451 if (imm != null) {
453 imm.getCurrentInputMethodSubtype();
H A DInputMethodManagerService.java1891 InputMethodInfo imm = enabled.get(i);
1893 ApplicationInfo ai = mIPackageManager.getApplicationInfo(imm.getPackageName(),
1899 Slog.d(TAG, "Update state(" + imm.getId()
1902 mIPackageManager.setApplicationEnabledSetting(imm.getPackageName(),
3248 InputMethodInfo imm = mMethodMap.get(id);
3249 if (imm == null) {
/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.java539 InputMethodManager imm = (InputMethodManager) getSystemService(
541 imm.hideSoftInputFromWindow(mDestinationSpinner.getWindowToken(), 0);
1483 InputMethodManager imm = (InputMethodManager)
1485 imm.showSoftInput(mPageRangeEditText, 0);
/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java1805 InputMethodManager imm =
1808 if (imm.showSoftInput(mEST, 0, mSkr) && mSkr != null) {
1822 InputMethodManager imm =
1825 imm.hideSoftInputFromWindow(mEST.getWindowToken(), 0, mSkr);

Completed in 1822 milliseconds

12