Home
last modified time | relevance | path

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

123

/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/
DLoginTest.java56 mActivityRule.runOnUiThread(() -> { in testFocus_noService()
76 mActivityRule.runOnUiThread(() -> mUsername.requestFocus()); in testFocus_serviceDoesNotAutofill()
79 mActivityRule.runOnUiThread(() -> mPassword.requestFocus()); in testFocus_serviceDoesNotAutofill()
81 mActivityRule.runOnUiThread(() -> { in testFocus_serviceDoesNotAutofill()
108 mActivityRule.runOnUiThread(() -> mUsername.requestFocus()); in testFocus_autofillBothFields()
113 mActivityRule.runOnUiThread(() -> mPassword.requestFocus()); in testFocus_autofillBothFields()
123 mActivityRule.runOnUiThread(() -> mUsername.requestFocus()); in testFocus_autofillBothFields()
128 mActivityRule.runOnUiThread(() -> mPassword.requestFocus()); in testFocus_autofillBothFields()
161 mActivityRule.runOnUiThread(() -> mUsername.requestFocus()); in testFocus_autofillUsernameOnly()
166 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/
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()
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()
DViewGroupTransientViewTest.java57 activity.runOnUiThread(() -> activity.setContentView(mBasePanel)); in setUp()
125 mActivityRule.getActivity().runOnUiThread(() -> { in drawTransientView()
/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()
DListRetainsFocusAcrossLayoutsTest.java31 getActivity().runOnUiThread(new Runnable() { in requestLayoutOnList()
/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()
DListOfThinItemsTest.java55 getActivity().runOnUiThread(() -> mListView.requestFocus()); in testScrollToBottom()
87 getActivity().runOnUiThread(() -> mListView.requestFocus()); in testScrollToTop()
/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/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/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()
/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DGamePerformanceActivity.java42 runOnUiThread(new Runnable() { in attachSurfaceView()
65 runOnUiThread(new Runnable() { in attachOpenGLView()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewTest.java105 mActivityRule.runOnUiThread(() -> mTextView = new TextView(mActivity)); in testProcessTextActivityResultNonEditable()
114 mActivityRule.runOnUiThread(() -> { in testProcessTextActivityResultNonEditable()
129 mActivityRule.runOnUiThread(() -> mTextView = new EditText(mActivity)); in testProcessTextActivityResultEditable()
147 mActivityRule.runOnUiThread(() -> mTextView = new EditText(mActivity)); in testProcessTextActivityResultCancel()
166 mActivityRule.runOnUiThread(() -> mTextView = new EditText(mActivity)); in testProcessTextActivityNoData()
DTextViewActivityTest.java301 mActivityRule.runOnUiThread(() -> { in testToolbarAppearsAfterSelection_withFirstStringLtrAlgorithmAndRtlHint()
360 mActivityRule.runOnUiThread(() -> textView.setFocusableInTouchMode(true)); in testSelectionRemovedWhenNonselectableTextLosesFocus()
367 mActivityRule.runOnUiThread(() -> textView.clearFocus()); in testSelectionRemovedWhenNonselectableTextLosesFocus()
409 mActivityRule.runOnUiThread(() -> { in addLinkifiedTextToTextView()
800 mActivityRule.runOnUiThread( in testSetSelectionAndActionMode()
811 mActivityRule.runOnUiThread( in testSetSelectionAndActionMode()
820 mActivityRule.runOnUiThread( in testSetSelectionAndActionMode()
830 mActivityRule.runOnUiThread( in testSetSelectionAndActionMode()
841 mActivityRule.runOnUiThread( in testSetSelectionAndActionMode()
851 mActivityRule.runOnUiThread( in testSetSelectionAndActionMode()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DDescendantFocusabilityTest.java104 a.runOnUiThread(new Runnable() { in testBeforeDescendantsEnterTouchMode()
121 a.runOnUiThread(new Runnable() { in testAfterDescendantsEnterTouchMode()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DHomeActivity.java99 HomeActivity.this.runOnUiThread(new Runnable() { in onOptionsItemSelected()
114 HomeActivity.this.runOnUiThread(new Runnable() { in onOptionsItemSelected()
/frameworks/base/core/tests/coretests/src/android/app/assist/
DEmptyLayoutActivity.java43 runOnUiThread(() -> mParent.addView(view)); in addView()
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
DImageProcessingTest.java84 public void runOnUiThread(Runnable action) { in runOnUiThread() method in ImageProcessingTest
86 mActivity.runOnUiThread(action); in runOnUiThread()
99 runOnUiThread(ta); in runTest()

123