Home
last modified time | relevance | path

Searched refs:postDelayed (Results 1 – 24 of 24) sorted by relevance

/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/
DSchedulerTest.java22 scheduler.postDelayed(new AddToTranscript("one"), 0); in testTick_ReturnsTrueIffSomeJobWasRun()
23 scheduler.postDelayed(new AddToTranscript("two"), 0); in testTick_ReturnsTrueIffSomeJobWasRun()
24 scheduler.postDelayed(new AddToTranscript("three"), 1000); in testTick_ReturnsTrueIffSomeJobWasRun()
38 scheduler.postDelayed(new AddToTranscript("one"), 1000); in testShadowPostDelayed()
39 scheduler.postDelayed(new AddToTranscript("two"), 2000); in testShadowPostDelayed()
40 scheduler.postDelayed(new AddToTranscript("three"), 3000); in testShadowPostDelayed()
80 scheduler.postDelayed(new Runnable() { in testShadowPostDelayed_WhenMoreItemsAreAdded()
84 scheduler.postDelayed(new Runnable() { in testShadowPostDelayed_WhenMoreItemsAreAdded()
88 scheduler.postDelayed(new AddToTranscript("three"), 1000); in testShadowPostDelayed_WhenMoreItemsAreAdded()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DHandlerTest.java108 new Handler().postDelayed(scratchRunnable, 1); in postDelayedThenIdleMainLooper_shouldNotRunRunnable()
115 new Handler().postDelayed(scratchRunnable, 1); in testPostDelayedThenRunMainLooperOneTask()
135 new Handler().postDelayed(scratchRunnable, 1); in testPostDelayedThenRunMainLooperToNextTask_shouldRunOneTask()
145 new Handler().postDelayed(task1, 1); in testPostDelayedTwiceThenRunMainLooperToNextTask_shouldRunMultipleTasks()
146 new Handler().postDelayed(task2, 1); in testPostDelayedTwiceThenRunMainLooperToNextTask_shouldRunMultipleTasks()
158 new Handler().postDelayed(task1, 1); in testPostDelayedTwiceThenRunMainLooperOneTask_shouldRunOnlyOneTask()
159 new Handler().postDelayed(task2, 1); in testPostDelayedTwiceThenRunMainLooperOneTask_shouldRunOnlyOneTask()
172 new Handler().postDelayed(task1, 1); in testPostDelayedMultipleThenRunMainLooperOneTask_shouldRunMultipleTask()
173 new Handler().postDelayed(task2, 10); in testPostDelayedMultipleThenRunMainLooperOneTask_shouldRunMultipleTask()
174 new Handler().postDelayed(task3, 100); in testPostDelayedMultipleThenRunMainLooperOneTask_shouldRunMultipleTask()
DLooperTest.java25 new Handler().postDelayed(new Runnable() { in idleMainLooper_executesScheduledTasks()
DViewTest.java202 view.postDelayed(runnable, 1); in shouldPostActionsToTheMessageQueueWithDelay()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/banners/
DInstallerDelegate.java82 mHandler.postDelayed(this, mMsBetweenRuns); in start()
97 mHandler.postDelayed(this, mMsBetweenRuns); in run()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowHandler.java47 return postDelayed(r, 0); in post()
51 public boolean postDelayed(Runnable r, long delayMillis) { in postDelayed() method in ShadowHandler
100 postDelayed(new Runnable() { in sendMessageDelayed()
DShadowLooper.java154 scheduler.postDelayed(runnable, delayMillis);
DShadowView.java934 public void postDelayed(Runnable action, long delayMills) { in postDelayed() method in ShadowView
935 Robolectric.getUiThreadScheduler().postDelayed(action, delayMills); in postDelayed()
940 Robolectric.getUiThreadScheduler().postDelayed(new Runnable() { in postInvalidateDelayed()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/util/
DScheduler.java30 public void postDelayed(Runnable runnable, long delayMillis) { in postDelayed() method in Scheduler
40 postDelayed(runnable, 0); in post()
/external/chromium_org/testing/android/java/src/org/chromium/native_test/
DChromeNativeTestActivity.java50 new Handler().postDelayed(new Runnable() { in onCreate()
/external/chromium_org/third_party/webrtc/examples/android/media_demo/src/org/webrtc/webrtcdemo/
DWebRTCDemo.java216 handler.postDelayed(startOrStopCallback, getCallRestartPeriodicity()); in enableTimedStartStop()
231 handler.postDelayed(startOrStopCallback, getCallRestartPeriodicity());
/external/chromium_org/base/android/java/src/org/chromium/base/
DPowerMonitor.java86 mHandler.postDelayed(sSuspendTask, SUSPEND_DELAY_MS); in onApplicationStateChange()
DThreadUtils.java180 getUiThreadHandler().postDelayed(task, delayMillis); in postOnUiThreadDelayed()
/external/skia/platform_tools/android/app/src/com/skia/
DSkiaSampleRenderer.java64 mHandler.postDelayed(new Runnable() { in startTimer()
/external/chromium_org/third_party/skia/platform_tools/android/app/src/com/skia/
DSkiaSampleRenderer.java64 mHandler.postDelayed(new Runnable() { in startTimer()
/external/chromium_org/third_party/libjingle/source/talk/examples/android/src/org/appspot/apprtc/
DAppRTCDemoActivity.java281 vsv.postDelayed(runnableThis, 1000); in onIceServers()
294 vsv.postDelayed(runnableThis, 1000); in onIceServers()
303 vsv.postDelayed(repeatedStatsLogger, 1000); in onIceServers()
/external/chromium_org/ui/android/java/src/org/chromium/ui/
DVSyncMonitor.java226 else mHandler.postDelayed(mVSyncRunnableCallback, delay / NANOSECONDS_PER_MILLISECOND); in postRunnableCallback()
/external/chromium_org/chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/
DSuggestionPopup.java158 new Handler().postDelayed(mRequestSuggestions, SUGGESTION_START_DELAY_MS); in afterTextChanged()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/widget/accessibility/
DAccessibilityTabModelListItem.java157 mHandler.postDelayed(mCloseRunnable, mCloseTimeoutMs);
404 if (hasPendingClosure) mHandler.postDelayed(mCloseRunnable, mCloseTimeoutMs); in resetState()
/external/chromium_org/chrome/android/shell/java/src/org/chromium/chrome/shell/
DChromeShellToolbar.java79 if (progress == 100) postDelayed(mClearProgressRunnable, COMPLETED_PROGRESS_TIMEOUT_MS); in onLoadProgressChanged()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/
DRobolectricTest.java129 new Handler().postDelayed(new Runnable() { in idleMainLooper_executesScheduledTasks()
/external/chromium_org/content/shell/android/java/src/org/chromium/content_shell/
DShell.java229 if (progress == 1.0) postDelayed(mClearProgressRunnable, COMPLETED_PROGRESS_TIMEOUT_MS); in onLoadProgressChanged()
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
DImeAdapter.java235 mHandler.postDelayed(mDismissInput, INPUT_DISMISS_DELAY); in updateKeyboardVisibility()
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
DContentViewCore.java1790 mContainerView.postDelayed(mFakeMouseMoveRunnable, 250);
2307 mContainerView.postDelayed(mDeferredHandleFadeInRunnable, TEXT_HANDLE_FADE_IN_DELAY);