Home
last modified time | relevance | path

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

12345678910>>...31

/aosp_15_r20/external/robolectric/integration_tests/ctesque/src/androidTest/java/android/app/
H A DInputMethodManagerTest.java6 import android.view.inputmethod.InputMethodManager;
19 InputMethodManager applicationInputMethodManager = in inputMethodManager_applicationInstance_isSameAsActivityInstance()
20 (InputMethodManager) in inputMethodManager_applicationInstance_isSameAsActivityInstance()
26 InputMethodManager activityInputMethodManager = in inputMethodManager_applicationInstance_isSameAsActivityInstance()
27 (InputMethodManager) activity.getSystemService(Context.INPUT_METHOD_SERVICE); in inputMethodManager_applicationInstance_isSameAsActivityInstance()
38 InputMethodManager activityInputMethodManager = in inputMethodManager_activityInstance_isSameAsActivityInstance()
39 (InputMethodManager) activity.getSystemService(Context.INPUT_METHOD_SERVICE); in inputMethodManager_activityInstance_isSameAsActivityInstance()
40 InputMethodManager anotherActivityInputMethodManager = in inputMethodManager_activityInstance_isSameAsActivityInstance()
41 (InputMethodManager) activity.getSystemService(Context.INPUT_METHOD_SERVICE); in inputMethodManager_activityInstance_isSameAsActivityInstance()
50 InputMethodManager applicationInputMethodManager = in inputMethodManager_retrievesSameIsAcceptingText()
[all …]
/aosp_15_r20/packages/apps/Dialer/java/com/android/dialer/common/
DUiUtil.java22 import android.view.inputmethod.InputMethodManager;
29 InputMethodManager imm = in hideKeyboardFrom()
30 (InputMethodManager) context.getSystemService(Activity.INPUT_METHOD_SERVICE); in hideKeyboardFrom()
36 InputMethodManager inputMethodManager = in showKeyboardFrom()
37 (InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE); in showKeyboardFrom()
43 InputMethodManager inputMethodManager = in forceOpenKeyboardFrom()
44 (InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE); in forceOpenKeyboardFrom()
46 view.getApplicationWindowToken(), InputMethodManager.SHOW_FORCED, 0); in forceOpenKeyboardFrom()
/aosp_15_r20/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
H A DShadowInputMethodManager.java20 import android.view.inputmethod.InputMethodManager;
40 @Implements(value = InputMethodManager.class)
125 resultCode = InputMethodManager.RESULT_HIDDEN; in hideSoftInputFromWindow()
127 resultCode = InputMethodManager.RESULT_UNCHANGED_HIDDEN; in hideSoftInputFromWindow()
253 protected static InputMethodManager peekInstance() { in peekInstance()
258 return InputMethodManager.getInstance(); in peekInstance()
300 @ForType(InputMethodManager.class)
305 InputMethodManager peekInstance(); in peekInstance()
309 void setMInstance(InputMethodManager instance); in setMInstance()
313 void setInstance(InputMethodManager instance); in setInstance()
[all …]
/aosp_15_r20/frameworks/layoutlib/bridge/src/android/view/inputmethod/
H A DInputMethodManager_Delegate.java44 /*package*/ static boolean showSoftInput(InputMethodManager thisManager, View view, int flags) { in showSoftInput()
49 /*package*/ static boolean showSoftInput(InputMethodManager thisManager, View view, int flags, in showSoftInput()
55 /*package*/ static boolean showSoftInput(InputMethodManager thisManager, View view, in showSoftInput()
61 /*package*/static boolean showSoftInput(InputMethodManager thisManager, View view, in showSoftInput()
67 /*package*/ static boolean hideSoftInputFromWindow(InputMethodManager thisManager, in hideSoftInputFromWindow()
73 /*package*/ static boolean hideSoftInputFromWindow(InputMethodManager thisManager, in hideSoftInputFromWindow()
79 /*package*/ static boolean hideSoftInputFromWindow(InputMethodManager thisManager, in hideSoftInputFromWindow()
/aosp_15_r20/packages/apps/Messaging/src/com/android/messaging/util/
DImeUtil.java21 import android.view.inputmethod.InputMethodManager;
64 final InputMethodManager inputMethodManager = in hideImeKeyboard()
65 (InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE); in hideImeKeyboard()
75 final InputMethodManager inputMethodManager = in showImeKeyboard()
76 (InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE); in showImeKeyboard()
84 final InputMethodManager inputMethodManager = in hideSoftInput()
85 (InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE); in hideSoftInput()
/aosp_15_r20/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
H A DShadowInputMethodManagerTest.java16 import android.view.inputmethod.InputMethodManager;
32 private InputMethodManager manager;
38 (InputMethodManager) in setUp()
62 assertThat(resultReceiver.resultCode).isEqualTo(InputMethodManager.RESULT_HIDDEN); in hideSoftInputFromWindow_shouldNotifyResult_hidden()
70 assertThat(resultReceiver.resultCode).isEqualTo(InputMethodManager.RESULT_UNCHANGED_HIDDEN); in hideSoftInputFromWindow_shouldNotifiyResult_alreadyHidden()
166 InputMethodManager applicationInputMethodManager = in inputMethodManager_activityContextEnabled_differentInstancesRetrieveInputMethodList()
167 (InputMethodManager) in inputMethodManager_activityContextEnabled_differentInstancesRetrieveInputMethodList()
171 InputMethodManager activityInputMethodManager = in inputMethodManager_activityContextEnabled_differentInstancesRetrieveInputMethodList()
172 (InputMethodManager) activity.getSystemService(Context.INPUT_METHOD_SERVICE); in inputMethodManager_activityContextEnabled_differentInstancesRetrieveInputMethodList()
/aosp_15_r20/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/inputmethodservice/
H A DInputMethodServiceTest.java45 import android.view.inputmethod.InputMethodManager;
229 () -> mInputMethodService.requestHideSelf(InputMethodManager.HIDE_IMPLICIT_ONLY), in testShowHideSelf()
245 () -> mInputMethodService.requestShowSelf(InputMethodManager.SHOW_IMPLICIT), in testShowHideSelf()
253 () -> mInputMethodService.requestHideSelf(InputMethodManager.HIDE_IMPLICIT_ONLY), in testShowHideSelf()
330 mActivity.showImeWithInputMethodManager(InputMethodManager.SHOW_IMPLICIT)).isTrue(), in testShowSoftInput_disableShowImeWithHardKeyboard()
368 mActivity.showImeWithInputMethodManager(InputMethodManager.SHOW_IMPLICIT)).isTrue(), in testShowSoftInputImplicitly()
391 InputMethodManager imm = mContext.getSystemService(InputMethodManager.class); in testShowSoftInputExplicitly_fullScreenMode()
425 InputMethodManager imm = mContext.getSystemService(InputMethodManager.class); in testShowSoftInputImplicitly_fullScreenMode()
431 mActivity.showImeWithInputMethodManager(InputMethodManager.SHOW_IMPLICIT)).isTrue(), in testShowSoftInputImplicitly_fullScreenMode()
478 mActivity.showImeWithInputMethodManager(InputMethodManager.SHOW_IMPLICIT)).isTrue(), in testShowSoftInputImplicitly_withHardKeyboard()
[all …]
/aosp_15_r20/frameworks/base/core/java/android/view/
H A DImeFocusController.java27 import android.view.inputmethod.InputMethodManager;
52 InputMethodManager.class).getDelegate(); in getImmDelegate()
150 InputMethodManager.FinishedInputEventCallback callback) { in onProcessImeInputStage()
152 return InputMethodManager.DISPATCH_NOT_HANDLED; in onProcessImeInputStage()
162 return InputMethodManager.DISPATCH_NOT_HANDLED; in onProcessImeInputStage()
165 final InputMethodManager imm = in onProcessImeInputStage()
166 mViewRootImpl.mContext.getSystemService(InputMethodManager.class); in onProcessImeInputStage()
168 return InputMethodManager.DISPATCH_NOT_HANDLED; in onProcessImeInputStage()
/aosp_15_r20/cts/tests/inputmethod/installtests/src/android/view/inputmethod/cts/installtests/
H A DForceStopTest.java30 import android.view.inputmethod.InputMethodManager;
172 final InputMethodManager imm = in assertImeExistsInApiResult()
173 Objects.requireNonNull(context.getSystemService(InputMethodManager.class)); in assertImeExistsInApiResult()
183 final InputMethodManager imm = in assertImeInCurrentInputMethodInfo()
184 Objects.requireNonNull(context.getSystemService(InputMethodManager.class)); in assertImeInCurrentInputMethodInfo()
195 final InputMethodManager imm = in assertImeNotCurrentInputMethodInfo()
196 Objects.requireNonNull(context.getSystemService(InputMethodManager.class)); in assertImeNotCurrentInputMethodInfo()
211 final InputMethodManager imm = in assertImeEnabledInApiResult()
212 Objects.requireNonNull(context.getSystemService(InputMethodManager.class)); in assertImeEnabledInApiResult()
H A DUserUnlockTest.java28 import android.view.inputmethod.InputMethodManager;
86 @NonNull InputMethodManager imm, int userId) { in getInputMethodListAsUser()
96 private static void assertImeInApiResult(@NonNull InputMethodManager imm, in assertImeInApiResult()
102 private static void assertImeNotInApiResult(@NonNull InputMethodManager imm, in assertImeNotInApiResult()
124 final InputMethodManager imm = Objects.requireNonNull( in testDirectBootUnawareImesInvisibleAfterStoppingUser()
125 context.getSystemService(InputMethodManager.class)); in testDirectBootUnawareImesInvisibleAfterStoppingUser()
/aosp_15_r20/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DInputMethodManagerCompatWrapper.java21 import android.view.inputmethod.InputMethodManager;
29 InputMethodManager.class, "switchToNextInputMethod", IBinder.class, boolean.class);
34 CompatUtils.getMethod(InputMethodManager.class,
37 public final InputMethodManager mImm;
40 mImm = (InputMethodManager)context.getSystemService(Context.INPUT_METHOD_SERVICE); in InputMethodManagerCompatWrapper()
/aosp_15_r20/frameworks/base/core/tests/InputMethodCoreTests/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()
/aosp_15_r20/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DDigitsEditText.java24 import android.view.inputmethod.InputMethodManager;
39 final InputMethodManager imm = in onFocusChanged()
40 ((InputMethodManager) getContext().getSystemService(Context.INPUT_METHOD_SERVICE)); in onFocusChanged()
50 final InputMethodManager imm = in onTouchEvent()
51 ((InputMethodManager) getContext().getSystemService(Context.INPUT_METHOD_SERVICE)); in onTouchEvent()
/aosp_15_r20/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodManager.java294 public final class InputMethodManager { class
395 static InputMethodManager sInstance;
406 private static final SparseArray<InputMethodManager> sInstanceMap = new SparseArray<>();
784 private InputMethodManager getFallbackInputMethodManagerIfNecessary(@Nullable View view) { in getFallbackInputMethodManagerIfNecessary()
803 final InputMethodManager fallbackImm = in getFallbackInputMethodManagerIfNecessary()
804 viewRootImpl.mContext.getSystemService(InputMethodManager.class); in getFallbackInputMethodManagerIfNecessary()
889 InputMethodManager.this, null /* icProto */); in onPostWindowGainedFocus()
1575 private static InputMethodManager createInstance(int displayId, Looper looper) { in createInstance()
1581 private static InputMethodManager createRealInstance(int displayId, Looper looper) { in createRealInstance()
1586 final InputMethodManager imm = new InputMethodManager(service, displayId, looper); in createRealInstance()
[all …]
/aosp_15_r20/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()
/aosp_15_r20/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
H A DMultiUserUtils.java32 import android.view.inputmethod.InputMethodManager;
103 final InputMethodManager imm = Objects.requireNonNull( in getCurrentInputMethodInfoAsUser()
104 context.getSystemService(InputMethodManager.class)); in getCurrentInputMethodInfoAsUser()
137 final InputMethodManager imm = Objects.requireNonNull(
138 context.getSystemService(InputMethodManager.class));
148 final InputMethodManager imm = Objects.requireNonNull(
149 context.getSystemService(InputMethodManager.class));
/aosp_15_r20/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/
DDigitsEditText.java27 import android.view.inputmethod.InputMethodManager;
47 final InputMethodManager imm = ((InputMethodManager) getContext() in onFocusChanged()
58 final InputMethodManager imm = ((InputMethodManager) getContext() in onTouchEvent()
/aosp_15_r20/external/robolectric/integration_tests/mockito-experimental/src/test/java/org/robolectric/integrationtests/mockito/experimental/
H A DMockitoSpyTest.java10 import android.view.inputmethod.InputMethodManager;
34 InputMethodManager expected = mock(InputMethodManager.class); in spyContext_canSpyGetSystemService()
36 InputMethodManager actual = in spyContext_canSpyGetSystemService()
37 (InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE); in spyContext_canSpyGetSystemService()
/aosp_15_r20/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DQueryTextView.kt23 import android.view.inputmethod.InputMethodManager
63 private val inputMethodManager: InputMethodManager?
64 get() = getContext().getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager
67 val imm: InputMethodManager? = inputMethodManager in showInputMethod()
74 val imm: InputMethodManager? = inputMethodManager in hideInputMethod()
/aosp_15_r20/frameworks/base/services/core/java/com/android/server/inputmethod/
H A DImeVisibilityStateComputer.java55 import android.view.inputmethod.InputMethodManager;
256 @InputMethodManager.ShowFlags int showFlags) { in onImeShowFlags()
266 if ((showFlags & InputMethodManager.SHOW_FORCED) != 0) { in onImeShowFlags()
269 } else if ((showFlags & InputMethodManager.SHOW_IMPLICIT) == 0) { in onImeShowFlags()
283 @InputMethodManager.HideFlags int hideFlags) { in canHideIme()
284 if ((hideFlags & InputMethodManager.HIDE_IMPLICIT_ONLY) != 0 in canHideIme()
290 if (mShowForced && (hideFlags & InputMethodManager.HIDE_NOT_ALWAYS) != 0) { in canHideIme()
320 @InputMethodManager.ShowFlags
324 flags |= InputMethodManager.SHOW_FORCED; in getShowFlags()
326 flags |= InputMethodManager.SHOW_IMPLICIT; in getShowFlags()
/aosp_15_r20/frameworks/base/services/tests/InputMethodSystemServerTests/test-apps/SimpleTestIme/src/com/android/apps/inputmethod/simpleime/testing/
H A DTestActivity.java30 import android.view.inputmethod.InputMethodManager;
93 InputMethodManager imm = getSystemService(InputMethodManager.class); in showImeWithInputMethodManager()
109 InputMethodManager imm = getSystemService(InputMethodManager.class); in hideImeWithInputMethodManager()
/aosp_15_r20/cts/tests/inputmethod/src/android/view/inputmethod/cts/
H A DKeyboardVisibilityControlTest.java32 import static android.view.inputmethod.InputMethodManager.CLEAR_SHOW_FORCED_FLAG_WHEN_LEAVING;
95 import android.view.inputmethod.InputMethodManager;
263 final InputMethodManager imm = mTestActivity.getSystemService(InputMethodManager.class); in testBasicShowHideSoftInput()
343 final InputMethodManager imm = testActivity.getSystemService(InputMethodManager.class); in verifyHideImeBackPressed()
455 final InputMethodManager imm = mInstrumentation in testShowHideSoftInputShouldBeIgnoredOnNonFocusedView()
456 .getTargetContext().getSystemService(InputMethodManager.class); in testShowHideSoftInputShouldBeIgnoredOnNonFocusedView()
504 final InputMethodManager imm = mTestActivity.getSystemService(InputMethodManager.class); in testToggleSoftInput()
549 final InputMethodManager imm = mInstrumentation in testShowHideKeyboardWithInterval()
550 .getTargetContext().getSystemService(InputMethodManager.class); in testShowHideKeyboardWithInterval()
598 final var imm = mTestActivity.getSystemService(InputMethodManager.class); in testShowHideKeyboardImmediately()
[all …]
H A DInputMethodStartInputLifecycleTest.java60 import android.view.inputmethod.InputMethodManager;
121 final InputMethodManager imm = context.getSystemService(InputMethodManager.class); in testInputConnectionStateWhenScreenStateChanges()
246 final InputMethodManager imm = editText.getContext().getSystemService( in testNoStartNewInputWhileOtherProcessHasWindowFocus()
247 InputMethodManager.class); in testNoStartNewInputWhileOtherProcessHasWindowFocus()
370 InputMethodManager.class).invalidateInput(editText)); in testInvalidateInputBeforeInputMethodSessionBecomesAvailable()
566 final InputMethodManager imm = myEditor.getContext().getSystemService( in testInvalidateInputMain()
567 InputMethodManager.class); in testInvalidateInputMain()
607 final InputMethodManager imm = myEditor.getContext().getSystemService( in testInvalidateInputMain()
608 InputMethodManager.class); in testInvalidateInputMain()
H A DStylusHandwritingTest.java87 import android.view.inputmethod.InputMethodManager;
241 InputMethodManager.class).isStylusHandwritingAvailable()); in testIsStylusHandwritingAvailable_prefDisabled()
256 InputMethodManager.class).isStylusHandwritingAvailable()); in testIsStylusHandwritingAvailable()
281 InputMethodManager.class).isConnectionlessStylusHandwritingAvailable()); in testIsConnectionlessStylusHandwritingAvailable_prefDisabled()
298 InputMethodManager.class).isConnectionlessStylusHandwritingAvailable()); in testIsConnectionlessStylusHandwritingAvailable()
309 final InputMethodManager imm = mContext.getSystemService(InputMethodManager.class); in testHandwritingNoInitOnDeviceWithNoStylus()
329 final InputMethodManager imm = mContext.getSystemService(InputMethodManager.class); in testHandwritingDoesNotStartWhenNoStylusDown()
360 final InputMethodManager imm = mContext.getSystemService(InputMethodManager.class); in testHandwritingStartAndFinish()
508 final InputMethodManager imm = InstrumentationRegistry.getInstrumentation() in testHandwritingStylusEvents()
509 .getTargetContext().getSystemService(InputMethodManager.class); in testHandwritingStylusEvents()
[all …]
/aosp_15_r20/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
H A DResizingEditActivity.java20 import android.view.inputmethod.InputMethodManager;
46 InputMethodManager imm = getSystemService(InputMethodManager.class); in showSoftInputOnExtraInputEditText()
47 imm.showSoftInput(mExtraInput, InputMethodManager.SHOW_IMPLICIT); in showSoftInputOnExtraInputEditText()

12345678910>>...31