Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/animation/
DEventsTest.java273 getActivity().runOnUiThread(new Runnable() { in testStartCancel()
296 getActivity().runOnUiThread(new Runnable() { in testStartEnd()
319 getActivity().runOnUiThread(new Runnable() { in testStartDelayedCancel()
342 getActivity().runOnUiThread(new Runnable() { in testStartDelayedEnd()
364 getActivity().runOnUiThread(new Runnable() { in testPlayingCancel()
387 getActivity().runOnUiThread(new Runnable() { in testPlayingEnd()
411 getActivity().runOnUiThread(new Runnable() { in testPlayingDelayedCancel()
435 getActivity().runOnUiThread(new Runnable() { in testPlayingDelayedEnd()
458 getActivity().runOnUiThread(new Runnable() { in testPlayingDelayedCancelMidDelay()
485 getActivity().runOnUiThread(new Runnable() { in testPlayingDelayedEndMidDelay()
[all …]
DViewPropertyAnimatorTest.java206 getActivity().runOnUiThread(new Runnable() { in testStartCancel()
229 getActivity().runOnUiThread(new Runnable() { in testStartDelayedCancel()
251 getActivity().runOnUiThread(new Runnable() { in testPlayingCancel()
275 getActivity().runOnUiThread(new Runnable() { in testPlayingDelayedCancel()
298 getActivity().runOnUiThread(new Runnable() { in testPlayingDelayedCancelMidDelay()
326 getActivity().runOnUiThread(new Runnable() { in testStartDoubleCancel()
350 getActivity().runOnUiThread(new Runnable() { in testStartDelayedDoubleCancel()
DAutoCancelTest.java126 getActivity().runOnUiThread(new Runnable() { in testAutoCancel()
142 getActivity().runOnUiThread(new Runnable() { in testAutoCancelDelayed()
158 getActivity().runOnUiThread(new Runnable() { in testAutoCancelTestLater()
174 getActivity().runOnUiThread(new Runnable() { in testAutoCancelDelayedTestLater()
DAnimatorSetEventsTest.java59 getActivity().runOnUiThread(new Runnable() { in testPlayingCancelDuringChildDelay()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListFocusableTest.java189 mActivity.runOnUiThread(new Runnable() { in setFullAdapter()
198 mActivity.runOnUiThread(new Runnable() { in setEmptyAdapter()
207 mActivity.runOnUiThread(new Runnable() { in setNullAdapter()
216 mActivity.runOnUiThread(new Runnable() { in setFocusable()
225 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.java32 getActivity().runOnUiThread(new Runnable() { in requestLayoutOnList()
/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.java64 mActivity.runOnUiThread(new Runnable() { in testSetSelection()
94 mActivity.runOnUiThread(new Runnable() { in testSetSelectionFromTop()
130 mActivity.runOnUiThread(new Runnable() { in testSetSelection0()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DDescendantFocusabilityTest.java105 a.runOnUiThread(new Runnable() { in testBeforeDescendantsEnterTouchMode()
122 a.runOnUiThread(new Runnable() { in testAfterDescendantsEnterTouchMode()
/frameworks/base/tests/ImfTest/tests/src/com/android/imftest/samples/
DButtonActivityTest.java39 mTargetActivity.runOnUiThread(new Runnable() { in testButtonActivatesIme()
DImfBaseTestCase.java87 mTargetActivity.runOnUiThread(new Runnable() { in verifyEditTextAdjustment()
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
DImageProcessingTest.java99 public void runOnUiThread(Runnable action) { in runOnUiThread() method in ImageProcessingTest
101 mActivity.runOnUiThread(action); in runOnUiThread()
114 runOnUiThread(ta); in runTest()
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
DGridTouchSetSelectionTest.java64 mActivity.runOnUiThread(new Runnable() { in testSetSelection()
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
DListWithNoFadingEdgeTest.java65 getActivity().runOnUiThread(new Runnable() { in testScrollFromBottomToTop()
/frameworks/rs/java/tests/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()
/frameworks/base/core/tests/coretests/src/android/view/
DBigCacheTest.java73 getActivity().runOnUiThread(new Runnable() { in createCacheForView()
DZeroSizedTest.java91 getActivity().runOnUiThread(new Runnable() { in createCacheForView()
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java291 runOnUiThread(new Runnable() { in assertDisplayCanShowPresentation()
305 runOnUiThread(new Runnable() { in assertDisplayCanShowPresentation()
315 private void runOnUiThread(Runnable runnable) { in runOnUiThread() method in VirtualDisplayTest
/frameworks/base/docs/html/tools/testing/
Dactivity_testing.jd253 <code><em>appActivity</em>.runOnUiThread()</code>, where <code><em>appActivity</em></code> is
283 * This request must be run on the UI thread. To do this, use the runOnUiThread method
286 mActivity.runOnUiThread(new Runnable() {
353 use the <code>@UIThread</code> annotation or the <code>runOnUiThread()</code> method. The
370 <code>runOnUiThread()</code>.
372 Remove the <code>@UiThreadTest</code> annotation, remove the <code>runOnUiThread()</code>
Dactivity_test.jd578 …o this, you use the {@link android.app.Activity#runOnUiThread(java.lang.Runnable) Activity.runOnUi…
579 …method. You pass the code to <code>runOnUiThread()</code>in an anonymous {@link java.lang.Runnable…
600 mActivity.runOnUiThread(
607 ); // end of invocation of runOnUiThread
/frameworks/base/core/java/android/accounts/
DGrantCredentialsPermissionActivity.java97 runOnUiThread(new Runnable() { in onCreate()
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
DRSTestCore.java136 mCtx.runOnUiThread(new Runnable() { in checkAndRunNextTest()
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
DRSTestCore.java140 mCtx.runOnUiThread(new Runnable() { in checkAndRunNextTest()
/frameworks/base/docs/html/guide/webapps/
Dmigrating.jd103 you can use the {@link android.app.Activity#runOnUiThread runOnUiThread()} method
107 runOnUiThread(new Runnable() {

12