Home
last modified time | relevance | path

Searched refs:InputMethodManager (Results 1 – 25 of 89) sorted by relevance

1234

/aosp14/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
H A DInputMethodManagerTest.java39 final InputMethodManager globalImm = InputMethodManager.getInstance(); in testPrivateApiGetInstance()
43 + " @UnsupportedAppUsage", globalImm, InputMethodManager.peekInstance()); in testPrivateApiGetInstance()
51 final InputMethodManager imm = in testPrivateApiGetInstance()
52 defaultDisplayContext.getSystemService(InputMethodManager.class); in testPrivateApiGetInstance()
/aosp14/frameworks/base/core/java/android/widget/
H A DImeAwareEditText.java24 import android.view.inputmethod.InputMethodManager;
74 final InputMethodManager imm = in showSoftInputIfNecessary()
75 getContext().getSystemService(InputMethodManager.class); in showSoftInputIfNecessary()
82 final InputMethodManager imm = getContext().getSystemService(InputMethodManager.class); in scheduleShowSoftInput()
/aosp14/frameworks/base/core/java/android/view/
H A DImeFocusController.java26 import android.view.inputmethod.InputMethodManager;
51 InputMethodManager.class).getDelegate(); in getImmDelegate()
149 InputMethodManager.FinishedInputEventCallback callback) { in onProcessImeInputStage()
151 return InputMethodManager.DISPATCH_NOT_HANDLED; in onProcessImeInputStage()
153 final InputMethodManager imm = in onProcessImeInputStage()
154 mViewRootImpl.mContext.getSystemService(InputMethodManager.class); in onProcessImeInputStage()
156 return InputMethodManager.DISPATCH_NOT_HANDLED; in onProcessImeInputStage()
H A DViewRootInsetsControllerHost.java30 import android.view.inputmethod.InputMethodManager;
237 public InputMethodManager getInputMethodManager() { in getInputMethodManager()
238 return mViewRoot.mContext.getSystemService(InputMethodManager.class); in getInputMethodManager()
/aosp14/frameworks/base/services/tests/InputMethodSystemServerTests/test-apps/SimpleTestIme/src/com/android/apps/inputmethod/simpleime/testing/
H A DTestActivity.java30 import android.view.inputmethod.InputMethodManager;
92 InputMethodManager imm = getSystemService(InputMethodManager.class); in showImeWithInputMethodManager()
108 InputMethodManager imm = getSystemService(InputMethodManager.class); in hideImeWithInputMethodManager()
/aosp14/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/inputmethodservice/
H A DInputMethodServiceTest.java42 import android.view.inputmethod.InputMethodManager;
184 () -> mInputMethodService.requestHideSelf(InputMethodManager.HIDE_IMPLICIT_ONLY), in testShowHideSelf()
200 () -> mInputMethodService.requestShowSelf(InputMethodManager.SHOW_IMPLICIT), in testShowHideSelf()
208 () -> mInputMethodService.requestHideSelf(InputMethodManager.HIDE_IMPLICIT_ONLY), in testShowHideSelf()
285 mActivity.showImeWithInputMethodManager(InputMethodManager.SHOW_IMPLICIT)).isTrue(), in testShowSoftInput_disableShowImeWithHardKeyboard()
323 mActivity.showImeWithInputMethodManager(InputMethodManager.SHOW_IMPLICIT)).isTrue(), in testShowSoftInputImplicitly()
346 InputMethodManager imm = mContext.getSystemService(InputMethodManager.class); in testShowSoftInputExplicitly_fullScreenMode()
375 InputMethodManager imm = mContext.getSystemService(InputMethodManager.class); in testShowSoftInputImplicitly_fullScreenMode()
381 mActivity.showImeWithInputMethodManager(InputMethodManager.SHOW_IMPLICIT)).isTrue(), in testShowSoftInputImplicitly_fullScreenMode()
423 mActivity.showImeWithInputMethodManager(InputMethodManager.SHOW_IMPLICIT)).isTrue(), in testShowSoftInputImplicitly_withHardKeyboard()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/inputmethod/
H A DImeVisibilityStateComputer.java52 import android.view.inputmethod.InputMethodManager;
231 @InputMethodManager.ShowFlags int showFlags) { in onImeShowFlags()
241 if ((showFlags & InputMethodManager.SHOW_FORCED) != 0) { in onImeShowFlags()
244 } else if ((showFlags & InputMethodManager.SHOW_IMPLICIT) == 0) { in onImeShowFlags()
257 @InputMethodManager.HideFlags int hideFlags) { in canHideIme()
258 if ((hideFlags & InputMethodManager.HIDE_IMPLICIT_ONLY) != 0 in canHideIme()
264 if (mShowForced && (hideFlags & InputMethodManager.HIDE_NOT_ALWAYS) != 0) { in canHideIme()
292 @InputMethodManager.ShowFlags
296 flags |= InputMethodManager.SHOW_FORCED; in getShowFlags()
298 flags |= InputMethodManager.SHOW_IMPLICIT; in getShowFlags()
H A DDefaultImeVisibilityApplier.java41 import android.view.inputmethod.InputMethodManager;
171 InputMethodManager.HIDE_NOT_ALWAYS, null, reason); in applyImeVisibility()
175 InputMethodManager.SHOW_IMPLICIT, null, reason); in applyImeVisibility()
/aosp14/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/
H A DImeVisibilityStateComputerTest.java45 import android.view.inputmethod.InputMethodManager;
94 boolean res = mComputer.onImeShowFlags(null, InputMethodManager.SHOW_IMPLICIT); in testRequestImeVisibility_showImplicit()
131 mComputer.onImeShowFlags(null, InputMethodManager.SHOW_IMPLICIT); in testRequestImeVisibility_showExplicit_thenShowImplicit()
142 mComputer.onImeShowFlags(null, InputMethodManager.SHOW_FORCED); in testRequestImeVisibility_showForced_thenShowExplicit()
155 boolean res = mComputer.onImeShowFlags(null, InputMethodManager.SHOW_IMPLICIT); in testRequestImeVisibility_showImplicit_a11yNoImePolicy()
173 boolean res = mComputer.onImeShowFlags(null, InputMethodManager.SHOW_IMPLICIT); in testRequestImeVisibility_showImplicit_imeHiddenPolicy()
191 assertThat(mComputer.canHideIme(null, InputMethodManager.HIDE_NOT_ALWAYS)).isTrue(); in testRequestImeVisibility_hideNotAlways()
/aosp14/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
H A DUiAutomatorTestCase.java27 import android.view.inputmethod.InputMethodManager;
136 InputMethodManager im = (InputMethodManager) context.getSystemService( in setStubIme()
/aosp14/frameworks/base/core/java/android/view/textservice/
H A DTextServicesManager.java36 import android.view.inputmethod.InputMethodManager;
100 private final InputMethodManager mInputMethodManager;
103 @Nullable InputMethodManager inputMethodManager) throws ServiceNotFoundException { in TextServicesManager()
123 InputMethodManager.class)); in createInstance()
147 public InputMethodManager getInputMethodManager() { in getInputMethodManager()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
H A DEditTextActivity.java30 import android.view.inputmethod.InputMethodManager;
109 InputMethodManager imm = getSystemService(InputMethodManager.class); in hideIme()
/aosp14/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodManager.java287 public final class InputMethodManager { class
368 static InputMethodManager sInstance;
720 final InputMethodManager fallbackImm = in getFallbackInputMethodManagerIfNecessary()
806 InputMethodManager.this, null /* icProto */); in onPostWindowGainedFocus()
1418 final InputMethodManager imm = new InputMethodManager(service, displayId, looper); in createRealInstance()
1464 return new InputMethodManager(stubInterface, displayId, looper); in createStubInstance()
1501 InputMethodManager instance = sInstanceMap.get(displayId); in forContextInternal()
1525 public static InputMethodManager getInstance() { in getInstance()
1544 public static InputMethodManager peekInstance() { in peekInstance()
2445 final InputMethodManager fallbackImm = in prepareStylusHandwritingDelegation()
[all …]
H A DInputMethodSession.java179 public void toggleSoftInput(@InputMethodManager.ShowFlags int showFlags, in toggleSoftInput()
180 @InputMethodManager.HideFlags int hideFlags); in toggleSoftInput()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
H A DInputMethodSettingValuesWrapper.java27 import android.view.inputmethod.InputMethodManager;
57 private final InputMethodManager mImm;
86 mImm = context.getSystemService(InputMethodManager.class); in InputMethodSettingValuesWrapper()
H A DInputMethodPreference.java32 import android.view.inputmethod.InputMethodManager;
237 private InputMethodManager getInputMethodManager() { in getInputMethodManager()
238 return (InputMethodManager)getContext().getSystemService(Context.INPUT_METHOD_SERVICE); in getInputMethodManager()
242 final InputMethodManager imm = getInputMethodManager(); in getSummaryString()
H A DInputMethodAndSubtypeEnablerManager.java24 import android.view.inputmethod.InputMethodManager;
48 private InputMethodManager mImm;
55 mImm = fragment.getContext().getSystemService(InputMethodManager.class); in InputMethodAndSubtypeEnablerManager()
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/view/
H A DInputStageBenchmark.java31 import android.view.inputmethod.InputMethodManager;
141 final InputMethodManager imm = in showSoftKeyboard()
142 mActivityRule.getActivity().getSystemService(InputMethodManager.class); in showSoftKeyboard()
143 imm.showSoftInput(view, InputMethodManager.SHOW_IMPLICIT); in showSoftKeyboard()
H A DHandwritingInitiatorPerfTest.java31 import android.view.inputmethod.InputMethodManager;
64 final InputMethodManager inputMethodManager = in setup()
65 mContext.getSystemService(InputMethodManager.class); in setup()
/aosp14/frameworks/base/core/java/com/android/internal/inputmethod/
H A DImeTracingClientImpl.java22 import android.view.inputmethod.InputMethodManager;
40 public void triggerClientDump(String where, @NonNull InputMethodManager immInstance, in triggerClientDump()
H A DImeTracing.java24 import android.view.inputmethod.InputMethodManager;
113 public abstract void triggerClientDump(String where, InputMethodManager immInstance, in triggerClientDump()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardPasswordViewController.java31 import android.view.inputmethod.InputMethodManager;
54 private final InputMethodManager mInputMethodManager;
103 InputMethodManager inputMethodManager, in KeyguardPasswordViewController()
265 private boolean hasMultipleEnabledIMEsOrSubtypes(InputMethodManager imm, in hasMultipleEnabledIMEsOrSubtypes()
/aosp14/frameworks/base/core/java/android/inputmethodservice/
H A DExtractEditText.java22 import android.view.inputmethod.InputMethodManager;
162 @Override protected void viewClicked(InputMethodManager imm) { in viewClicked()
/aosp14/frameworks/base/core/java/android/webkit/
H A DFindActionModeCallback.java35 import android.view.inputmethod.InputMethodManager;
54 private InputMethodManager mInput;
71 mInput = context.getSystemService(InputMethodManager.class); in FindActionModeCallback()
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A DAppLocaleCollector.java32 import android.view.inputmethod.InputMethodManager;
99 InputMethodManager imm = mContext.getSystemService(InputMethodManager.class); in getActiveImeLocales()
118 private InputMethodInfo getActiveIme(InputMethodManager imm) { in getActiveIme()

1234