/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/ |
D | LoginTest.java | 64 mActivityRule.runOnUiThread(() -> { in testFocus_noService() 82 mActivityRule.runOnUiThread(() -> mUsername.requestFocus()); in testFocus_serviceDoesNotAutofill() 86 mActivityRule.runOnUiThread(() -> mPassword.requestFocus()); in testFocus_serviceDoesNotAutofill() 90 mActivityRule.runOnUiThread(() -> { in testFocus_serviceDoesNotAutofill() 115 mActivityRule.runOnUiThread(() -> mUsername.requestFocus()); in testFocus_autofillBothFields() 121 mActivityRule.runOnUiThread(() -> mPassword.requestFocus()); in testFocus_autofillBothFields() 131 mActivityRule.runOnUiThread(() -> mUsername.requestFocus()); in testFocus_autofillBothFields() 136 mActivityRule.runOnUiThread(() -> mPassword.requestFocus()); in testFocus_autofillBothFields() 169 mActivityRule.runOnUiThread(() -> mUsername.requestFocus()); in testFocus_autofillUsernameOnly() 175 mActivityRule.runOnUiThread(() -> mPassword.requestFocus()); in testFocus_autofillUsernameOnly() [all …]
|
/frameworks/base/core/tests/coretests/src/android/animation/ |
D | ValueAnimatorTests.java | 90 mActivityRule.runOnUiThread(new Runnable() { in testStartDelay() 104 mActivityRule.runOnUiThread(new Runnable() { in testStartDelay() 113 mActivityRule.runOnUiThread(new Runnable() { in testStartDelay() 136 mActivityRule.runOnUiThread(new Runnable() { in testListenerCallbacks() 148 mActivityRule.runOnUiThread(new Runnable() { in testListenerCallbacks() 159 mActivityRule.runOnUiThread(new Runnable() { in testListenerCallbacks() 174 mActivityRule.runOnUiThread(new Runnable() { in testListenerCallbacks() 200 mActivityRule.runOnUiThread(new Runnable() { in testIsStarted() 214 mActivityRule.runOnUiThread(new Runnable() { in testIsStarted() 225 mActivityRule.runOnUiThread(new Runnable() { in testIsStarted() [all …]
|
D | EventsTest.java | 280 mActivityRule.runOnUiThread(() -> { in testStartCancel() 301 mActivityRule.runOnUiThread(() -> { in testStartEnd() 322 mActivityRule.runOnUiThread(() -> { in testStartDelayedCancel() 343 mActivityRule.runOnUiThread(() -> { in testStartDelayedEnd() 363 mActivityRule.runOnUiThread(() -> { in testPlayingCancel() 384 mActivityRule.runOnUiThread(() -> { in testPlayingEnd() 406 mActivityRule.runOnUiThread(() -> { in testPlayingDelayedCancel() 428 mActivityRule.runOnUiThread(() -> { in testPlayingDelayedEnd() 449 mActivityRule.runOnUiThread(() -> { in testPlayingDelayedCancelMidDelay() 473 mActivityRule.runOnUiThread(() -> { in testPlayingDelayedEndMidDelay() [all …]
|
D | AnimatorSetActivityTest.java | 253 mActivityRule.runOnUiThread(() -> { 273 mActivityRule.runOnUiThread(s::start); 286 mActivityRule.runOnUiThread(s::start); 300 mActivityRule.runOnUiThread(() -> { 309 mActivityRule.runOnUiThread(() -> { 347 mActivityRule.runOnUiThread(() -> { in testStart() 400 mActivityRule.runOnUiThread(s::start); in testCancel() 403 mActivityRule.runOnUiThread(() -> { in testCancel() 435 mActivityRule.runOnUiThread(s::start); in testIsRunning() 449 mActivityRule.runOnUiThread(() -> { in testPauseAndResume() [all …]
|
D | ViewPropertyAnimatorTest.java | 205 mActivityRule.runOnUiThread(() -> { in testStartCancel() 226 mActivityRule.runOnUiThread(() -> { in testStartDelayedCancel() 246 mActivityRule.runOnUiThread(() -> { in testPlayingCancel() 268 mActivityRule.runOnUiThread(() -> { in testPlayingDelayedCancel() 289 mActivityRule.runOnUiThread(() -> { in testPlayingDelayedCancelMidDelay() 314 mActivityRule.runOnUiThread(() -> { in testStartDoubleCancel() 336 mActivityRule.runOnUiThread(() -> { in testStartDelayedDoubleCancel()
|
D | AutoCancelTest.java | 133 mActivityRule.runOnUiThread(() -> { in testAutoCancel() 147 mActivityRule.runOnUiThread(() -> { in testAutoCancelDelayed() 161 mActivityRule.runOnUiThread(() -> { in testAutoCancelTestLater() 175 mActivityRule.runOnUiThread(() -> { in testAutoCancelDelayedTestLater()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewInputConnectionTest.java | 100 mActivityRule.runOnUiThread(() -> { in testInputConnectionCallbacks() 107 mActivityRule.runOnUiThread(editText1::requestFocus); in testInputConnectionCallbacks() 114 mActivityRule.runOnUiThread(() -> mImm.showSoftInput(editText1, 0)); in testInputConnectionCallbacks() 116 mActivityRule.runOnUiThread(() -> { in testInputConnectionCallbacks() 127 mActivityRule.runOnUiThread(editText2::requestFocus); in testInputConnectionCallbacks() 135 mActivityRule.runOnUiThread(() -> mImm.showSoftInput(editText2, 0)); in testInputConnectionCallbacks() 137 mActivityRule.runOnUiThread(() -> { in testInputConnectionCallbacks() 154 mActivityRule.runOnUiThread(() -> { in testInputConnectionCallbacks_nullInputConnection() 161 mActivityRule.runOnUiThread(editText1::requestFocus); in testInputConnectionCallbacks_nullInputConnection() 168 mActivityRule.runOnUiThread(() -> mImm.showSoftInput(editText1, 0)); in testInputConnectionCallbacks_nullInputConnection() [all …]
|
D | VisibilityTest.java | 72 getActivity().runOnUiThread(() -> mInvisible.requestFocus()); in testVisibleToInvisible() 86 getActivity().runOnUiThread(() -> mGone.requestFocus()); in testVisibleToGone() 100 getActivity().runOnUiThread(() -> mGone.requestFocus()); in testGoneToVisible() 120 getActivity().runOnUiThread(() -> mGone.requestFocus()); in testGoneToInvisible() 140 getActivity().runOnUiThread(() -> mInvisible.requestFocus()); in testInvisibleToVisible() 160 getActivity().runOnUiThread(() -> mInvisible.requestFocus()); in testInvisibleToGone()
|
D | RenderNodeAnimatorTest.java | 78 getActivity().runOnUiThread(() -> { in testViewDetachCancelsRenderNodeAnimator() 82 getActivity().runOnUiThread(() -> { in testViewDetachCancelsRenderNodeAnimator() 98 getActivity().runOnUiThread(()-> { in testViewDetachCancelsRenderNodeAnimator()
|
D | ViewInvalidateTest.java | 66 mActivityRule.runOnUiThread(() -> { in setup() 178 mActivityRule.runOnUiThread(() -> { in testInvalidate_simple() 230 mActivityRule.runOnUiThread(() -> { in testInvalidateChild_childHardwareLayer() 250 mActivityRule.runOnUiThread(() -> { in testInvalidateChild_childSoftwareLayer() 297 activityTestRule.runOnUiThread(() -> { in runOnMainAndDrawSync()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListFocusableTest.java | 190 mActivity.runOnUiThread(new Runnable() { in setFullAdapter() 199 mActivity.runOnUiThread(new Runnable() { in setEmptyAdapter() 208 mActivity.runOnUiThread(new Runnable() { in setNullAdapter() 217 mActivity.runOnUiThread(new Runnable() { in setFocusable() 226 mActivity.runOnUiThread(new Runnable() { in setNonFocusable()
|
D | ListViewHeightTest.java | 60 mActivity.runOnUiThread(new Runnable() { in testButtons() 69 mActivity.runOnUiThread(new Runnable() { in testButtons() 77 mActivity.runOnUiThread(new Runnable() { in testButtons()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
D | ListWithNoFadingEdgeTest.java | 52 getActivity().runOnUiThread(() -> mListView.requestFocus()); in testScrollDownToBottom() 65 getActivity().runOnUiThread(() -> mListView.requestFocus()); in testScrollFromBottomToTop() 69 getActivity().runOnUiThread(new Runnable() { in testScrollFromBottomToTop()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewProcessTextTest.java | 59 mActivityRule.runOnUiThread(() -> mTextView = new TextView(mActivity)); in testProcessTextActivityResultNonEditable() 68 mActivityRule.runOnUiThread(() -> { in testProcessTextActivityResultNonEditable() 79 mActivityRule.runOnUiThread(() -> mTextView = new EditText(mActivity)); in testProcessTextActivityResultCancel() 95 mActivityRule.runOnUiThread(() -> mTextView = new EditText(mActivity)); in testProcessTextActivityNoData()
|
D | TextViewActivityTest.java | 319 mActivityRule.runOnUiThread(() -> { in testToolbarAppearsAfterSelection_withFirstStringLtrAlgorithmAndRtlHint() 371 mActivityRule.runOnUiThread(() -> { in testToolbarAppearsAccessibilityLongClick() 386 mActivityRule.runOnUiThread(() -> { in testToolbarMenuItemClickAfterSelectionChange() 424 mActivityRule.runOnUiThread(() -> { in testSelectionOnCreateActionModeReturnsFalse() 461 mActivityRule.runOnUiThread(() -> textView.setFocusableInTouchMode(true)); in testSelectionRemovedWhenNonselectableTextLosesFocus() 467 mActivityRule.runOnUiThread(() -> textView.clearFocus()); in testSelectionRemovedWhenNonselectableTextLosesFocus() 506 mActivityRule.runOnUiThread(() -> { in addLinkifiedTextToTextView() 962 mActivityRule.runOnUiThread( in testSetSelectionAndActionMode() 972 mActivityRule.runOnUiThread( in testSetSelectionAndActionMode() 980 mActivityRule.runOnUiThread( in testSetSelectionAndActionMode() [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
D | GridSetSelectionBaseTest.java | 59 mActivity.runOnUiThread(new Runnable() { in testSetSelectionToTheEnd() 75 mActivity.runOnUiThread(new Runnable() { in testSetSelectionToMiddle() 90 mActivity.runOnUiThread(new Runnable() { in testSetSelectionToTheTop()
|
/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/ |
D | ScreenRecordTestBase.kt | 46 runOnUiThread { in setup() 62 fun runOnUiThread(predicate: (it: MainActivity) -> Unit) { in runOnUiThread() method 63 mActivityRule.runOnUiThread { in runOnUiThread()
|
D | BufferPresentationTests.kt | 103 runOnUiThread { activity -> in <lambda>() 122 runOnUiThread { activity -> in <lambda>() 137 runOnUiThread { activity -> in <lambda>() 158 runOnUiThread { activity -> in <lambda>()
|
D | GeometryTests.kt | 141 runOnUiThread { in <lambda>() 154 runOnUiThread { in <lambda>() 166 runOnUiThread { in <lambda>() 189 runOnUiThread { in <lambda>() 202 runOnUiThread { in <lambda>() 213 runOnUiThread { in <lambda>()
|
D | SharedBufferModeTests.kt | 68 runOnUiThread { in <lambda>() 81 runOnUiThread { in <lambda>()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
D | ListSetSelectionTest.java | 66 mActivity.runOnUiThread(new Runnable() { in testSetSelection() 96 mActivity.runOnUiThread(new Runnable() { in testSetSelectionFromTop() 132 mActivity.runOnUiThread(new Runnable() { in testSetSelection0()
|
/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
D | GamePerformanceActivity.java | 60 runOnUiThread(new Runnable() { in attachSurfaceView() 80 runOnUiThread(new Runnable() { in attachOpenGLView() 99 runOnUiThread(new Runnable() { in attachControlView()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/ |
D | ControlsActivityTest.kt | 85 activityRule.runOnUiThread { activityRule.activity.onConfigurationChanged(newConfig) } in testOrientationChangeForwardsToUiController() 95 activityRule.runOnUiThread { activityRule.activity.onConfigurationChanged(newConfig) } in testScreenChangeForwardsToUiController() 106 activityRule.runOnUiThread { activityRule.activity.onConfigurationChanged(newConfig) } in testChangeSmallestScreenSizeForwardsToUiController()
|
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/ |
D | BlasTest.java | 84 public void runOnUiThread(Runnable action) { in runOnUiThread() method in BlasTest 86 mActivity.runOnUiThread(action); in runOnUiThread() 99 runOnUiThread(ta); in runTest()
|
/frameworks/base/core/tests/coretests/src/android/widget/touchmode/ |
D | TouchModeFocusableTest.java | 67 getActivity().runOnUiThread(() -> mButton.requestFocus()); in testClickEditTextGivesItFocus() 81 getActivity().runOnUiThread(() -> mButton.requestFocus()); in testEnterTouchModeGivesFocusBackToFocusableInTouchMode()
|