Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/bridge/src/android/view/inputmethod/
DInputMethodManager_Delegate.java40 InputMethodManager imm = InputMethodManager.peekInstance(); in getInstance() local
41 if (imm == null) { in getInstance()
42 imm = new InputMethodManager( in getInstance()
44 InputMethodManager.sInstance = imm; in getInstance()
46 return imm; in getInstance()
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
DButtonActivity.java50 InputMethodManager imm = InputMethodManager.getInstance(); in onCreate()
53 imm.hideSoftInputFromInputMethod(v.getWindowToken(), 0); in onCreate()
60 imm.showSoftInput(v, 0); in onCreate()
/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/
DInputMethodSettingsImpl.java82 private static InputMethodInfo getMyImi(Context context, InputMethodManager imm) { in getMyImi() argument
83 final List<InputMethodInfo> imis = imm.getInputMethodList(); in getMyImi()
94 Context context, InputMethodManager imm, InputMethodInfo imi) { in getEnabledSubtypesLabel() argument
95 if (context == null || imm == null || imi == null) return null; in getEnabledSubtypesLabel()
96 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(imi, true); in getEnabledSubtypesLabel()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardPasswordView.java158 private boolean hasMultipleEnabledIMEsOrSubtypes(InputMethodManager imm, in hasMultipleEnabledIMEsOrSubtypes() argument
160 final List<InputMethodInfo> enabledImis = imm.getEnabledInputMethodList(); in hasMultipleEnabledIMEsOrSubtypes()
169 imm.getEnabledInputMethodSubtypeList(imi, true); in hasMultipleEnabledIMEsOrSubtypes()
196 || imm.getEnabledInputMethodSubtypeList(null, false).size() > 1; in hasMultipleEnabledIMEsOrSubtypes()
/frameworks/base/core/java/android/view/
DWindowManagerGlobal.java147 InputMethodManager imm = InputMethodManager.getInstance(); in getWindowSession() local
150 imm.getClient(), imm.getInputContext()); in getWindowSession()
341 InputMethodManager imm = InputMethodManager.getInstance(); in removeViewLocked() local
342 if (imm != null) { in removeViewLocked()
343 imm.windowDismissed(mViews.get(index).getWindowToken()); in removeViewLocked()
DViewRootImpl.java1852 InputMethodManager imm = InputMethodManager.peekInstance(); in performTraversals() local
1853 if (imm != null && imTarget) { in performTraversals()
1854 imm.startGettingWindowFocus(mView); in performTraversals()
1855 imm.onWindowFocus(mView, mView.findFocus(), in performTraversals()
3126 InputMethodManager imm = InputMethodManager.peekInstance(); in handleMessage() local
3128 if (hasWindowFocus && imm != null && mLastWasImTarget && in handleMessage()
3130 imm.startGettingWindowFocus(mView); in handleMessage()
3140 if (imm != null && mLastWasImTarget && !isInLocalFocusMode()) { in handleMessage()
3141 imm.onWindowFocus(mView, mView.findFocus(), in handleMessage()
3186 InputMethodManager imm = InputMethodManager.peekInstance(); in handleMessage() local
[all …]
DView.java4818 InputMethodManager imm = InputMethodManager.peekInstance(); in onFocusChanged() local
4823 if (imm != null && mAttachInfo != null in onFocusChanged()
4825 imm.focusOut(this); in onFocusChanged()
4828 } else if (imm != null && mAttachInfo != null in onFocusChanged()
4830 imm.focusIn(this); in onFocusChanged()
7914 InputMethodManager imm = InputMethodManager.peekInstance();
7919 if (imm != null && (mPrivateFlags & PFLAG_FOCUSED) != 0) {
7920 imm.focusOut(this);
7925 } else if (imm != null && (mPrivateFlags & PFLAG_FOCUSED) != 0) {
7926 imm.focusIn(this);
[all …]
/frameworks/base/core/java/android/app/
DSearchDialog.java511 InputMethodManager imm = (InputMethodManager)getContext() in hide()
513 if (imm != null) { in hide()
514 imm.hideSoftInputFromWindow( in hide()
653 InputMethodManager imm = (InputMethodManager)getContext() in onBackPressed() local
655 if (imm != null && imm.isFullscreenMode() && in onBackPressed()
656 imm.hideSoftInputFromWindow(getWindow().getDecorView().getWindowToken(), 0)) { in onBackPressed()
DActivityManagerNative.java1562 boolean imm = data.readInt() == 1; in onTransact()
1563 setImmersive(token, imm); in onTransact()
/frameworks/base/core/java/android/widget/
DAutoCompleteTextView.java1029 InputMethodManager imm = InputMethodManager.peekInstance(); in dismissDropDown() local
1030 if (imm != null) { in dismissDropDown()
1031 imm.displayCompletions(this, null); in dismissDropDown()
1114 InputMethodManager imm = InputMethodManager.peekInstance(); in buildImeCompletions() local
1115 if (imm != null) { in buildImeCompletions()
1136 imm.displayCompletions(this, completions); in buildImeCompletions()
DTextView.java1391 InputMethodManager imm = InputMethodManager.peekInstance(); in setEnabled() local
1392 if (imm != null && imm.isActive(this)) { in setEnabled()
1393 imm.hideSoftInputFromWindow(getWindowToken(), 0); in setEnabled()
1401 InputMethodManager imm = InputMethodManager.peekInstance(); in setEnabled() local
1402 if (imm != null) imm.restartInput(this); in setEnabled()
1618 InputMethodManager imm = InputMethodManager.peekInstance(); in setKeyListener() local
1619 if (imm != null) imm.restartInput(this); in setKeyListener()
3732 InputMethodManager imm = InputMethodManager.peekInstance(); in setText() local
3733 if (imm != null) imm.restartInput(this); in setText()
4024 InputMethodManager imm = InputMethodManager.peekInstance(); in setInputType() local
[all …]
DEditor.java1199 InputMethodManager imm = InputMethodManager.peekInstance(); in reportExtractedText() local
1200 if (imm != null) { in reportExtractedText()
1216 imm.updateExtractedText(mTextView, req.token, ims.mExtractedText); in reportExtractedText()
1232 final InputMethodManager imm = InputMethodManager.peekInstance(); in sendUpdateSelection() local
1233 if (null != imm) { in sendUpdateSelection()
1245 imm.updateSelection(mTextView, in sendUpdateSelection()
1258 InputMethodManager imm = InputMethodManager.peekInstance(); in onDraw() local
1259 if (imm != null) { in onDraw()
1260 if (imm.isActive(mTextView)) { in onDraw()
1270 if (imm.isWatchingCursor(mTextView) && highlight != null) { in onDraw()
[all …]
DSearchView.java141 InputMethodManager imm = (InputMethodManager)
144 if (imm != null) {
145 imm.showSoftInputUnchecked(0, null);
835 InputMethodManager imm = (InputMethodManager) in setImeVisibility() local
838 if (imm != null) { in setImeVisibility()
839 imm.hideSoftInputFromWindow(getWindowToken(), 0); in setImeVisibility()
DAbsListView.java5805 InputMethodManager imm = (InputMethodManager) in performEditorAction() local
5807 if (imm != null) { in performEditorAction()
5808 imm.hideSoftInputFromWindow(getWindowToken(), 0); in performEditorAction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DQuickSettingsModel.java720 private boolean needsToShowImeSwitchOngoingNotification(InputMethodManager imm) { in needsToShowImeSwitchOngoingNotification() argument
721 List<InputMethodInfo> imis = imm.getEnabledInputMethodList(); in needsToShowImeSwitchOngoingNotification()
731 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(imi, in needsToShowImeSwitchOngoingNotification()
764 InputMethodManager imm = in onImeWindowStatusChanged() local
766 List<InputMethodInfo> imis = imm.getInputMethodList(); in onImeWindowStatusChanged()
768 mImeState.enabled = (visible && needsToShowImeSwitchOngoingNotification(imm)); in onImeWindowStatusChanged()
770 imm, imis, mContext.getPackageManager()); in onImeWindowStatusChanged()
776 InputMethodManager imm, List<InputMethodInfo> imis, PackageManager pm) { in getCurrentInputMethodName() argument
783 final InputMethodSubtype subtype = imm.getCurrentInputMethodSubtype(); in getCurrentInputMethodName()
/frameworks/base/core/java/android/text/style/
DSuggestionSpan.java371 InputMethodManager imm = InputMethodManager.peekInstance(); in notifySelection() local
372 if (imm != null) { in notifySelection()
373 imm.notifySuggestionPicked(this, original, index); in notifySelection()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSearchView.java154 InputMethodManager imm = (InputMethodManager)
157 if (imm != null) {
158 HIDDEN_METHOD_INVOKER.showSoftInputUnchecked(imm, SearchView.this, 0);
866 InputMethodManager imm = (InputMethodManager) in setImeVisibility() local
869 if (imm != null) { in setImeVisibility()
870 imm.hideSoftInputFromWindow(getWindowToken(), 0); in setImeVisibility()
1769 void showSoftInputUnchecked(InputMethodManager imm, View view, int flags) { in showSoftInputUnchecked() argument
1772 showSoftInputUnchecked.invoke(imm, flags, null); in showSoftInputUnchecked()
1779 imm.showSoftInput(view, flags); in showSoftInputUnchecked()
/frameworks/base/core/java/android/inputmethodservice/
DExtractEditText.java153 @Override protected void viewClicked(InputMethodManager imm) { in viewClicked() argument
/frameworks/base/docs/html/training/keyboard-input/
Dvisibility.jd75 InputMethodManager imm = (InputMethodManager)
77 imm.showSoftInput(view, InputMethodManager.SHOW_IMPLICIT);
/frameworks/base/services/java/com/android/server/
DSystemServer.java349 InputMethodManagerService imm = null; in initAndLoop() local
368 imm = new InputMethodManagerService(context, wm); in initAndLoop()
369 ServiceManager.addService(Context.INPUT_METHOD_SERVICE, imm); in initAndLoop()
918 final InputMethodManagerService immF = imm; in initAndLoop()
DTextServicesManagerService.java341 final InputMethodManager imm = in getCurrentSpellCheckerSubtype() local
343 if (imm != null) { in getCurrentSpellCheckerSubtype()
345 imm.getCurrentInputMethodSubtype(); in getCurrentSpellCheckerSubtype()
DInputMethodManagerService.java1613 InputMethodInfo imm = enabled.get(i); in updateFromSettingsLocked() local
1615 ApplicationInfo ai = mIPackageManager.getApplicationInfo(imm.getPackageName(), in updateFromSettingsLocked()
1621 Slog.d(TAG, "Update state(" + imm.getId() in updateFromSettingsLocked()
1624 mIPackageManager.setApplicationEnabledSetting(imm.getPackageName(), in updateFromSettingsLocked()
2895 InputMethodInfo imm = mMethodMap.get(id); in setInputMethodEnabledLocked() local
2896 if (imm == null) { in setInputMethodEnabledLocked()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java1805 InputMethodManager imm = in showSoftKey() local
1808 if (imm.showSoftInput(mEST, 0, mSkr) && mSkr != null) { in showSoftKey()
1822 InputMethodManager imm = in hideSoftKey() local
1825 imm.hideSoftInputFromWindow(mEST.getWindowToken(), 0, mSkr); in hideSoftKey()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
DPrintJobConfigActivity.java2233 InputMethodManager imm = (InputMethodManager) in updateUi() local
2235 imm.showSoftInput(mPageRangeEditText, 0); in updateUi()