HomeSort by relevance Sort by last modified time
    Searched refs:getOnMainSync (Results 1 - 11 of 11) sorted by null

  /cts/tests/inputmethod/src/android/view/inputmethod/cts/
KeyboardVisibilityControlTest.java 19 import static android.view.inputmethod.cts.util.TestUtils.getOnMainSync;
150 getOnMainSync(() -> imm.isActive(editText)));
154 getOnMainSync(() -> imm.showSoftInput(editText, 0)));
161 getOnMainSync(() -> imm.hideSoftInputFromWindow(editText.getWindowToken(), 0)));
188 getOnMainSync(() -> imm.isActive(nonFocusedEditText)));
190 getOnMainSync(() -> imm.showSoftInput(nonFocusedEditText, 0)));
194 getOnMainSync(() -> imm.hideSoftInputFromWindow(
NavigationBarColorTest.java 28 import static android.view.inputmethod.cts.util.TestUtils.getOnMainSync;
172 final AlertDialog alertDialog = getOnMainSync(() -> {
189 final AlertDialog alertDialog = getOnMainSync(() -> {
InputMethodServiceTest.java 21 import static android.view.inputmethod.cts.util.TestUtils.getOnMainSync;
134 (long) getOnMainSync(() -> testActivity.getOnBackPressedCallCount()));
275 assertTrue(TestUtils.getOnMainSync(
283 final ArrayList<KeyEvent> keyEvents = TestUtils.getOnMainSync(
FocusHandlingTest.java 263 final PopupWindow popupWindow = TestUtils.getOnMainSync(() -> {
360 final IBinder appWindowToken = TestUtils.getOnMainSync(
  /cts/tests/framework/base/windowmanager/src/android/server/wm/
WindowInsetsPolicyTest.java 98 WindowInsets insets = getOnMainSync(activity::getDispatchedInsets);
108 WindowInsets insets = getOnMainSync(activity::getRootInsets);
143 WindowInsets insets = getOnMainSync(activity::getDispatchedInsets);
144 WindowInsets rootInsets = getOnMainSync(activity::getRootInsets);
150 insets = getOnMainSync(fullscreenActivity::getDispatchedInsets);
158 insets = getOnMainSync(fullscreenWmFlagsActivity::getDispatchedInsets);
201 private <R> R getOnMainSync(Supplier<R> f) {
EnsureBarContrastTest.java 89 Bitmap bitmap = getOnMainSync(() -> activity.screenshotBar(bar, mDumper));
91 if (getOnMainSync(() -> activity.barIsTapThrough(bar))) {
117 Bitmap bitmap = getOnMainSync(() -> activity.screenshotBar(bar, mDumper));
197 private <R> R getOnMainSync(Supplier<R> f) {
LocationOnScreenTests.java 125 PollingCheck.waitFor(() -> getOnMainSync(activity::isEnterAnimationComplete));
127 Point actual = getOnMainSync(activity::getViewLocationOnScreen);
137 private <R> R getOnMainSync(Supplier<R> f) {
LocationInWindowTests.java 112 PollingCheck.waitFor(() -> getOnMainSync(activity::isEnterAnimationComplete));
150 private <R> R getOnMainSync(Supplier<R> f) {
DisplayCutoutTests.java 154 WindowInsets insets = getOnMainSync(activity::getRootInsets);
155 WindowInsets dispatchedInsets = getOnMainSync(activity::getDispatchedInsets);
308 safeRect.bottom = getOnMainSync(() -> a.getDecorView().getHeight()) - safeRect.bottom;
309 safeRect.right = getOnMainSync(() -> a.getDecorView().getWidth()) - safeRect.right;
346 private <R> R getOnMainSync(Supplier<R> f) {
  /cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
NavigationBarInfo.java 20 import static android.view.inputmethod.cts.util.TestUtils.getOnMainSync;
100 final WindowInsets windowInsets = getOnMainSync(() -> view.getRootWindowInsets());
104 final Size displaySize = getOnMainSync(() -> {
110 final Rect viewBoundsOnScreen = getOnMainSync(() -> {
174 dialog = getOnMainSync(() -> {
TestUtils.java 53 public static <T> T getOnMainSync(@NonNull Supplier<T> supplier) {

Completed in 828 milliseconds