Home
last modified time | relevance | path

Searched refs:runOnUiThread (Results 1 – 25 of 85) sorted by relevance

1234

/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/
DLoginTest.java64 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/
DValueAnimatorTests.java90 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 …]
DEventsTest.java280 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 …]
DAnimatorSetActivityTest.java253 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 …]
DViewPropertyAnimatorTest.java205 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()
DAutoCancelTest.java133 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/
DViewInputConnectionTest.java100 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 …]
DVisibilityTest.java72 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()
DRenderNodeAnimatorTest.java78 getActivity().runOnUiThread(() -> { in testViewDetachCancelsRenderNodeAnimator()
82 getActivity().runOnUiThread(() -> { in testViewDetachCancelsRenderNodeAnimator()
98 getActivity().runOnUiThread(()-> { in testViewDetachCancelsRenderNodeAnimator()
DViewInvalidateTest.java66 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/
DListFocusableTest.java190 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()
DListViewHeightTest.java60 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/
DListWithNoFadingEdgeTest.java52 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/
DTextViewProcessTextTest.java59 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()
DTextViewActivityTest.java319 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/
DGridSetSelectionBaseTest.java59 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/
DScreenRecordTestBase.kt46 runOnUiThread { in setup()
62 fun runOnUiThread(predicate: (it: MainActivity) -> Unit) { in runOnUiThread() method
63 mActivityRule.runOnUiThread { in runOnUiThread()
DBufferPresentationTests.kt103 runOnUiThread { activity -> in <lambda>()
122 runOnUiThread { activity -> in <lambda>()
137 runOnUiThread { activity -> in <lambda>()
158 runOnUiThread { activity -> in <lambda>()
DGeometryTests.kt141 runOnUiThread { in <lambda>()
154 runOnUiThread { in <lambda>()
166 runOnUiThread { in <lambda>()
189 runOnUiThread { in <lambda>()
202 runOnUiThread { in <lambda>()
213 runOnUiThread { in <lambda>()
DSharedBufferModeTests.kt68 runOnUiThread { in <lambda>()
81 runOnUiThread { in <lambda>()
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
DListSetSelectionTest.java66 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/
DGamePerformanceActivity.java60 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/
DControlsActivityTest.kt85 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/
DBlasTest.java84 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/
DTouchModeFocusableTest.java67 getActivity().runOnUiThread(() -> mButton.requestFocus()); in testClickEditTextGivesItFocus()
81 getActivity().runOnUiThread(() -> mButton.requestFocus()); in testEnterTouchModeGivesFocusBackToFocusableInTouchMode()

1234