/cts/tests/framework/base/windowmanager/src/android/server/wm/ime/ |
D | WindowInsetsAnimationImeTests.java | 17 package android.server.wm.ime; 21 import static android.view.WindowInsets.Type.ime; 90 final WindowManagerState.WindowState ime = wms.getInputMethodWindowState(); in initActivity() 91 return ime != null in initActivity() 92 && ime.getPackageName().equals(MockIme.class.getPackageName()); in initActivity() 127 getInstrumentation().runOnMainSync(() -> mRootView.getWindowInsetsController().show(ime())); in testAnimationCallbacks_overlapping_opposite() 151 && NONE.equals(argument.getInsets(ime())))); in testAnimationCallbacks_overlapping_opposite() 181 assertAnimationSteps(callback.imeAnimSteps, true /* showAnimation */, ime()); in testAnimationCallbacks_overlapping_opposite() 193 assertEquals(before.getInsets(ime()), callback.imeAnimSteps.get(0).insets.getInsets(ime())); in testAnimationCallbacks_overlapping_opposite() 195 after.getInsets(ime()), in testAnimationCallbacks_overlapping_opposite() [all …]
|
D | WindowManagerReflectionTests.java | 16 package android.server.wm.ime;
|
D | MultiDisplaySecurityImeTests.java | 17 package android.server.wm.ime;
|
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/ |
D | ImeCommandReceiver.java | 17 package android.inputmethodservice.cts.ime; 25 import android.inputmethodservice.cts.ime.ImeCommandReceiver.ImeCommandCallbacks; 60 void register(T ime) { in register() argument 61 mIme = ime; in register() 62 ime.registerReceiver(this, new IntentFilter(ImeCommandConstants.ACTION_IME_COMMAND), in register()
|
D | CtsBaseInputMethod.java | 17 package android.inputmethodservice.cts.ime; 35 import android.inputmethodservice.cts.ime.ImeCommandReceiver.ImeCommandCallbacks;
|
D | CommandContentProvider.java | 17 package android.inputmethodservice.cts.ime;
|
D | BitmapImage.java | 17 package android.inputmethodservice.cts.ime;
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/ |
D | WindowInsetsAnimationSynchronicityTests.java | 24 import static android.view.WindowInsets.Type.ime; 188 if ((typeMask & ime()) != 0) { in onControllableInsetsChanged() 198 ime(), true); in showIme() 200 mTestView.getWindowInsetsController().show(ime()); in showIme() 207 ime(), false); in hideIme() 209 mTestView.getWindowInsetsController().hide(ime()); in hideIme() 236 if (mLayoutInsets.isVisible(ime())) { 276 Insets insets = getEffectiveInsets().getInsets(ime()); in onDraw() 284 return (animation.getTypeMask() & ime()) != 0; in isImeAnimation() 302 ImeSession(ComponentName ime) throws Exception { in ImeSession() argument [all …]
|
D | WindowInsetsControllerTests.java | 27 import static android.view.WindowInsets.Type.ime; 250 getInstrumentation().runOnMainSync(() -> rootView.getWindowInsetsController().show(ime())); in testImeShowAndHide() 252 () -> rootView.getRootWindowInsets().isVisible(ime())); in testImeShowAndHide() 253 getInstrumentation().runOnMainSync(() -> rootView.getWindowInsetsController().hide(ime())); in testImeShowAndHide() 254 PollingCheck.waitFor(TIMEOUT, () -> !rootView.getRootWindowInsets().isVisible(ime())); in testImeShowAndHide() 285 final boolean imeVisible = insets.isVisible(ime()); in testImeForceShowingNavigationBar() 296 getInstrumentation().runOnMainSync(() -> rootView.getWindowInsetsController().show(ime())); in testImeForceShowingNavigationBar() 303 getInstrumentation().runOnMainSync(() -> rootView.getWindowInsetsController().hide(ime())); in testImeForceShowingNavigationBar() 669 () -> rootView.getRootWindowInsets().isVisible(ime())); in testShowImeOnCreate() 683 () -> rootView.getRootWindowInsets().isVisible(ime())); in testShowImeOnCreate_doesntCauseImeToReappearWhenDialogIsShown() [all …]
|
D | WindowInsetsTest.java | 21 import static android.view.WindowInsets.Type.ime; 248 .setInsets(ime(), Insets.of(0, 0, 0, 300)) in testBuilder_typeMap() 260 assertEquals(Insets.of(0, 0, 0, 300), insets.getInsets(ime())); in testBuilder_typeMap() 293 new WindowInsets.Builder().setInsetsIgnoringVisibility(ime(), Insets.NONE); in testBuilder_typeMapIgnoringVisibility() 301 insets.getInsetsIgnoringVisibility(ime()); in testBuilder_typeMapIgnoringVisibility() 321 .setBoundingRects(ime(), List.of(new Rect(0, 90, 100, 100))) in testBuilder_boundingRectsTypeMap() 354 insets.getBoundingRects(ime())); in testBuilder_boundingRectsTypeMap() 417 .setBoundingRectsIgnoringVisibility(ime(), List.of(new Rect(0, 90, 100, 100))); in testBuilder_boundingRectsTypeMapIgnoringVisibility() 425 insets.getBoundingRectsIgnoringVisibility(ime()); in testBuilder_boundingRectsTypeMapIgnoringVisibility() 445 .setInsets(ime(), Insets.of(0, 0, 0, 300)) in testBuilder_visibility() [all …]
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | ImeInsetsControllerTest.java | 20 import static android.view.WindowInsets.Type.ime; 139 if ((typeMask & ime()) != 0 && !mControlling) { in testChangeSizeWhileControlling() 141 controller.controlWindowInsetsAnimation(ime(), -1, null, null, in testChangeSizeWhileControlling() 152 lastInsets[0].getInsets(ime()).bottom); in testChangeSizeWhileControlling() 153 assertEquals(animController[0].getShownStateInsets(), lastInsets[0].getInsets(ime())); in testChangeSizeWhileControlling() 158 lastInsets[0].getInsets(ime()).bottom + KEYBOARD_HEIGHT_INCREASE; in testChangeSizeWhileControlling() 165 lastInsets[0].getInsets(ime()).bottom); in testChangeSizeWhileControlling() 182 lastInsets[0].getInsets(ime()).bottom); in testChangeSizeWhileControlling()
|
D | ImeInsetsVisibilityTest.java | 121 () -> editText.getRootWindowInsets().isVisible(WindowInsets.Type.ime())); in testImeVisibilityWhenImeFocusableChildPopup() 127 WindowInsets.Type.ime() | WindowInsets.Type.statusBars() in testImeVisibilityWhenImeFocusableChildPopup() 133 () -> editText.getRootWindowInsets().isVisible(WindowInsets.Type.ime()), in testImeVisibilityWhenImeFocusableChildPopup() 167 () -> editText.getRootWindowInsets().isVisible(WindowInsets.Type.ime())); in testImeVisibilityWhenImeFocusableGravityBottomChildPopup() 182 () -> editText.getRootWindowInsets().isVisible(WindowInsets.Type.ime()), in testImeVisibilityWhenImeFocusableGravityBottomChildPopup() 216 () -> editText.getRootWindowInsets().isVisible(WindowInsets.Type.ime())); in testImeVisibilityWhenImeFocusableChildPopupOverlaps() 231 () -> editText.getRootWindowInsets().isVisible(WindowInsets.Type.ime()), in testImeVisibilityWhenImeFocusableChildPopupOverlaps() 289 isInsetsVisible(insetsFromActivity[0], WindowInsets.Type.ime())); in testEditTextPositionAndPersistWhenAboveImeWindowShown() 292 isInsetsVisible(insetsFromActivity[0], WindowInsets.Type.ime()) in testEditTextPositionAndPersistWhenAboveImeWindowShown() 304 isInsetsVisible(insetsFromActivity[0], WindowInsets.Type.ime()) in testEditTextPositionAndPersistWhenAboveImeWindowShown() [all …]
|
D | InputMethodStatsTest.java | 216 awaitControl(WindowInsets.Type.ime(), activity); in testClientShowImeRequestFinished() 222 .show(WindowInsets.Type.ime())); in testClientShowImeRequestFinished() 240 .hide(WindowInsets.Type.ime())); in testClientHideImeRequestFinished() 382 activity.getWindow().getInsetsController().show(WindowInsets.Type.ime()); in testFromUser_withWic_showImeRequestFinished() 409 activity.getWindow().getInsetsController().hide(WindowInsets.Type.ime()); in testFromUser_withWic_hideImeRequestFinished()
|
D | ExtractViewTest.java | 99 () -> editText.getWindowInsetsController().show(WindowInsets.Type.ime())); in testOnCreateExtractTextView() 128 () -> editText.getWindowInsetsController().show(WindowInsets.Type.ime())); in testOnCreateExtractTextViewWithCustomView() 164 () -> editText.getWindowInsetsController().show(WindowInsets.Type.ime())); in testSetExtractView()
|
D | KeyboardVisibilityControlTest.java | 24 import static android.view.WindowInsets.Type.ime; 763 if ((typeMask & ime()) != 0) { in testImeVisibilityWhenDismissingDialogWithImeFocused() 766 editText.getWindowInsetsController().show(ime()); in testImeVisibilityWhenDismissingDialogWithImeFocused() 787 editTextRef.get().getWindowInsetsController().hide(ime()); in testImeVisibilityWhenDismissingDialogWithImeFocused() 878 editText.getWindowInsetsController().show(ime()); in runImeDoesntReshowAfterKeyguardTest() 1112 activity.getWindow().getDecorView().getWindowInsetsController().show(ime()); in runRestoreImeVisibility() 1198 decorView.getWindowInsetsController().show(ime()); in runImeVisibilityWhenImeTransitionBetweenActivities() 1224 imeInsetsVisible.set(insets.isVisible(WindowInsets.Type.ime())); in runImeVisibilityWhenImeTransitionBetweenActivities() 1316 if (!insets.isVisible(WindowInsets.Type.ime())) { in testImeInsetsInvisibleAfterBackingFromImeHiddenActivity() 1329 editText.getRootWindowInsets().isVisible(ime()); in testImeInsetsInvisibleAfterBackingFromImeHiddenActivity() [all …]
|
D | NavigationBarColorTest.java | 20 import static android.view.WindowInsets.Type.ime; 152 activity.getWindow().getDecorView().getWindowInsetsController().show(ime()); in launchTestActivity() 210 activity.getWindow().getDecorView().getWindowInsetsController().show(ime()); in showDialogIfNecessary()
|
/cts/hostsidetests/inputmethodservice/deviceside/ime1/src/android/inputmethodservice/cts/ime1/ |
D | CtsInputMethod1.java | 19 import android.inputmethodservice.cts.ime.CtsBaseInputMethod; 20 import android.inputmethodservice.cts.ime.Watermark;
|
/cts/hostsidetests/inputmethodservice/deviceside/ime2/src/android/inputmethodservice/cts/ime2/ |
D | CtsInputMethod2.java | 19 import android.inputmethodservice.cts.ime.CtsBaseInputMethod; 20 import android.inputmethodservice.cts.ime.Watermark;
|
/cts/tests/inputmethod/mocka11yime/client/ |
D | Android.bp | 21 name: "cts-mock-a11y-ime-client", 28 "cts-mock-a11y-ime-common",
|
/cts/tests/framework/base/locale/ImeApp/src/android/localemanager/cts/ime/ |
D | TestIme.java | 17 package android.localemanager.cts.ime;
|
D | MainActivity.java | 17 package android.localemanager.cts.ime;
|
/cts/tests/inputmethod/mocka11yime/common/ |
D | Android.bp | 21 name: "cts-mock-a11y-ime-common",
|
/cts/tests/inputmethod/mocka11yime/service/ |
D | Android.bp | 32 "cts-mock-a11y-ime-common",
|
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
D | InputMethodVisibilityVerifier.java | 24 import android.inputmethodservice.cts.ime.Watermark;
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | WindowInsetsAnimationTestBase.java | 20 import static android.view.WindowInsets.Type.ime; 101 if ((types & ime()) != 0) { in commonAnimationAssertions() 102 assertTrue((callback.lastAnimation.getTypeMask() & ime()) != 0); in commonAnimationAssertions() 256 if ((animation.getTypeMask() & ime()) != 0) { in onPrepare()
|