Home
last modified time | relevance | path

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

123

/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DResizingEditActivity.java20 import android.view.inputmethod.InputMethodManager;
46 InputMethodManager imm = getSystemService(InputMethodManager.class); in showSoftInputOnExtraInputEditText()
47 imm.showSoftInput(mExtraInput, InputMethodManager.SHOW_IMPLICIT); in showSoftInputOnExtraInputEditText()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/inputmethods/
DInputMethods.java19 import android.view.inputmethod.InputMethodManager;
32 private static final InputMethodManager sInputMethodManager =
33 TestApis.context().instrumentedContext().getSystemService(InputMethodManager.class);
/cts/tests/inputmethod/installtests/src/android/view/inputmethod/cts/installtests/
DForceStopTest.java29 import android.view.inputmethod.InputMethodManager;
176 final InputMethodManager imm = in assertImeExistsInApiResult()
177 Objects.requireNonNull(context.getSystemService(InputMethodManager.class)); in assertImeExistsInApiResult()
187 final InputMethodManager imm = in assertImeInCurrentInputMethodInfo()
188 Objects.requireNonNull(context.getSystemService(InputMethodManager.class)); in assertImeInCurrentInputMethodInfo()
199 final InputMethodManager imm = in assertImeNotCurrentInputMethodInfo()
200 Objects.requireNonNull(context.getSystemService(InputMethodManager.class)); in assertImeNotCurrentInputMethodInfo()
215 final InputMethodManager imm = in assertImeEnabledInApiResult()
216 Objects.requireNonNull(context.getSystemService(InputMethodManager.class)); in assertImeEnabledInApiResult()
DInputMethodServiceSwitchingTest.java29 import android.view.inputmethod.InputMethodManager;
116 final InputMethodManager imm = context.getSystemService(InputMethodManager.class); in getCurrentInputMethodId()
139 final InputMethodManager imm = in getInputMethodList()
140 Objects.requireNonNull(context.getSystemService(InputMethodManager.class)); in getInputMethodList()
/cts/tests/inputmethod/tests32/src/android/view/inputmethod/cts/sdk32/
DInputMethodManagerTest.kt20 import android.view.inputmethod.InputMethodManager in <lambda>()
48 val imm = context.getSystemService(InputMethodManager::class.java)!! in <lambda>()
69 fun InputMethodManager.reflectivelyGetInputMethodWindowVisibleHeight() = in <lambda>() method
71 InputMethodManager::class.java in <lambda>()
/cts/hostsidetests/testharness/app/src/android/testharness/app/
DTestHarnessActivity.java21 import android.view.inputmethod.InputMethodManager;
53 getSystemService(InputMethodManager.class) in onResume()
56 InputMethodManager.SHOW_FORCED, in onResume()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMultiUserUtils.java32 import android.view.inputmethod.InputMethodManager;
103 final InputMethodManager imm = Objects.requireNonNull( in getCurrentInputMethodInfoAsUser()
104 context.getSystemService(InputMethodManager.class)); in getCurrentInputMethodInfoAsUser()
129 final InputMethodManager imm = Objects.requireNonNull(
130 context.getSystemService(InputMethodManager.class));
140 final InputMethodManager imm = Objects.requireNonNull(
141 context.getSystemService(InputMethodManager.class));
DSettingsProvider.java26 import android.view.inputmethod.InputMethodManager;
103 getContext().getSystemService(InputMethodManager.class) in call()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputMethodManagerMultiDisplayTest.java38 import android.view.inputmethod.InputMethodManager;
65 private InputMethodManager mImManager;
74 mImManager = mContext.getSystemService(InputMethodManager.class); in setUp()
128 final InputMethodManager im = testActivity.getSystemService(InputMethodManager.class); in testShowInputMethodAndSubtypeEnablerOnNonDefaultDisplay()
DInputMethodPickerTest.java43 import android.view.inputmethod.InputMethodManager;
64 private InputMethodManager mImManager;
72 mImManager = mContext.getSystemService(InputMethodManager.class); in setUp()
156 final InputMethodManager im = displayContext.getSystemService(InputMethodManager.class); in testShowImePickerOnExternalDisplay()
DInputMethodRegistrationTest.java35 import android.view.inputmethod.InputMethodManager;
112 final var imm = mContext.getSystemService(InputMethodManager.class); in verifyTestSetup_initiallyDisabledImes_AreFound()
129 final var imm = mContext.getSystemService(InputMethodManager.class); in testIgnoreLargeSettingsActivityComponent()
151 final var imm = mContext.getSystemService(InputMethodManager.class); in testLoadIMEsUpToThreshold()
178 final var imm = mContext.getSystemService(InputMethodManager.class); in testLoadEnabledIMEsAndMore()
DInputMethodStartInputLifecycleTest.java60 import android.view.inputmethod.InputMethodManager;
115 final InputMethodManager imm = context.getSystemService(InputMethodManager.class); in testInputConnectionStateWhenScreenStateChanges()
240 final InputMethodManager imm = editText.getContext().getSystemService( in testNoStartNewInputWhileOtherProcessHasWindowFocus()
241 InputMethodManager.class); in testNoStartNewInputWhileOtherProcessHasWindowFocus()
364 InputMethodManager.class).invalidateInput(editText)); in testInvalidateInputBeforeInputMethodSessionBecomesAvailable()
560 final InputMethodManager imm = myEditor.getContext().getSystemService( in testInvalidateInputMain()
561 InputMethodManager.class); in testInvalidateInputMain()
601 final InputMethodManager imm = myEditor.getContext().getSystemService( in testInvalidateInputMain()
602 InputMethodManager.class); in testInvalidateInputMain()
DInProcessImeTest.java35 import android.view.inputmethod.InputMethodManager;
160 final InputMethodManager imm = in testOnUpdateSelectionForInProcessIme()
161 testEditor.getContext().getSystemService(InputMethodManager.class); in testOnUpdateSelectionForInProcessIme()
DKeyboardVisibilityControlTest.java32 import static android.view.inputmethod.InputMethodManager.CLEAR_SHOW_FORCED_FLAG_WHEN_LEAVING;
95 import android.view.inputmethod.InputMethodManager;
247 final InputMethodManager imm = mInstrumentation in testBasicShowHideSoftInput()
248 .getTargetContext().getSystemService(InputMethodManager.class); in testBasicShowHideSoftInput()
300 final InputMethodManager imm = context.getSystemService(InputMethodManager.class); in verifyHideImeBackPressed()
440 final InputMethodManager imm = mInstrumentation in testShowHideSoftInputShouldBeIgnoredOnNonFocusedView()
441 .getTargetContext().getSystemService(InputMethodManager.class); in testShowHideSoftInputShouldBeIgnoredOnNonFocusedView()
475 final InputMethodManager imm = mInstrumentation in testToggleSoftInput()
476 .getTargetContext().getSystemService(InputMethodManager.class); in testToggleSoftInput()
536 final InputMethodManager imm = mInstrumentation in testShowHideKeyboardWithInterval()
[all …]
DImeInsetsVisibilityTest.java53 import android.view.inputmethod.InputMethodManager;
95 final InputMethodManager imm = getImmOrFail(); in testImeVisibilityWhenImeFocusableChildPopup()
143 final InputMethodManager imm = getImmOrFail(); in testImeVisibilityWhenImeFocusableGravityBottomChildPopup()
192 final InputMethodManager imm = getImmOrFail(); in testImeVisibilityWhenImeFocusableChildPopupOverlaps()
242 final InputMethodManager imm = getImmOrFail(); in testEditTextPositionAndPersistWhenAboveImeWindowShown()
503 private static InputMethodManager getImmOrFail() {
504 final InputMethodManager imm = InstrumentationRegistry.getInstrumentation()
505 .getTargetContext().getSystemService(InputMethodManager.class);
DInputMethodManagerTest.java50 import android.view.inputmethod.InputMethodManager;
94 private InputMethodManager mImManager;
101 mImManager = mContext.getSystemService(InputMethodManager.class); in setup()
320 final InputMethodManager imm = testActivity.getSystemService(InputMethodManager.class); in testNoStrongServedViewReferenceAfterWindowDetached()
DInputMethodSubtypeEndToEndTest.java35 import android.view.inputmethod.InputMethodManager;
113 private final InputMethodManager mImm = Objects.requireNonNull(
115 InputMethodManager.class));
320 final InputMethodManager imm = in getInputMethodListWithQueryAllPackage()
321 Objects.requireNonNull(context.getSystemService(InputMethodManager.class)); in getInputMethodListWithQueryAllPackage()
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DMultipleStepsSignInActivity.java25 import android.view.inputmethod.InputMethodManager;
107 final InputMethodManager imm = getSystemService(InputMethodManager.class); in hideSoftInput()
DLoginActivity.java31 import android.view.inputmethod.InputMethodManager;
170 final InputMethodManager imm = (InputMethodManager) getSystemService( in save()
406 final InputMethodManager imm = (InputMethodManager) getSystemService( in hideSoftInput()
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DInputMethodEnumerationTests.java40 import android.view.inputmethod.InputMethodManager;
144 sContext.getSystemService(InputMethodManager.class).getInputMethodList(); in hasInputMethod()
151 sContext.getSystemService(InputMethodManager.class).getEnabledInputMethodList(); in hasEnabledInputMethod()
158 sContext.getSystemService(InputMethodManager.class).getInputMethodList(); in getInputMethod()
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/
DCommandContentProvider.java25 import android.view.inputmethod.InputMethodManager;
80 getContext().getSystemService(InputMethodManager.class) in call()
/cts/tests/tests/car/src/android/car/cts/
DCarRotaryImeTest.java28 import android.view.inputmethod.InputMethodManager;
57 private final InputMethodManager mInputMethodManager =
58 mContext.getSystemService(InputMethodManager.class);
/cts/tests/framework/base/windowmanager/src/android/server/wm/backnavigation/
DBackGestureInvokedTest.java44 import android.view.inputmethod.InputMethodManager;
241 InputMethodManager imm = (InputMethodManager) in onCreate()
243 imm.showSoftInput(mEditText, InputMethodManager.SHOW_IMPLICIT); in onCreate()
/cts/tests/inputmethod/testapp/src/android/view/inputmethod/ctstestapp/
DMainActivity.java36 import android.view.inputmethod.InputMethodManager;
146 InputMethodManager.HANDWRITING_DELEGATE_FLAG_HOME_DELEGATOR_ALLOWED); in onCreate()
173 getSystemService(InputMethodManager.class).showSoftInput(mEditor, 0); in onStart()
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DInputMethodManagerDeviceTest.java31 import android.view.inputmethod.InputMethodManager;
54 private InputMethodManager mImm;
63 mImm = mContext.getSystemService(InputMethodManager.class); in setUpInputMethodManager()

123