Home
last modified time | relevance | path

Searched refs:runnable (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DRunQueue.java52 final Runnable runnable = new Runnable() { in onCreate() local
57 view.post(runnable); in onCreate()
58 view.post(runnable); in onCreate()
59 view.post(runnable); in onCreate()
60 view.post(runnable); in onCreate()
61 view.removeCallbacks(runnable); in onCreate()
/frameworks/support/volley/src/com/android/volley/
DExecutorDelivery.java59 public void postResponse(Request<?> request, Response<?> response, Runnable runnable) { in postResponse() argument
62 mResponsePoster.execute(new ResponseDeliveryRunnable(request, response, runnable)); in postResponse()
82 public ResponseDeliveryRunnable(Request request, Response response, Runnable runnable) { in ResponseDeliveryRunnable() argument
85 mRunnable = runnable; in ResponseDeliveryRunnable()
DResponseDelivery.java29 public void postResponse(Request<?> request, Response<?> response, Runnable runnable); in postResponse() argument
/frameworks/support/volley/tests/src/com/android/volley/mock/
DMockResponseDelivery.java41 public void postResponse(Request<?> request, Response<?> response, Runnable runnable) { in postResponse() argument
44 runnable.run(); in postResponse()
/frameworks/base/core/java/android/view/
DViewPropertyAnimator.java681 public ViewPropertyAnimator withStartAction(Runnable runnable) { in withStartAction() argument
682 mPendingOnStartAction = runnable; in withStartAction()
683 if (runnable != null && mAnimatorOnStartMap == null) { in withStartAction()
710 public ViewPropertyAnimator withEndAction(Runnable runnable) { in withEndAction() argument
711 mPendingOnEndAction = runnable; in withEndAction()
712 if (runnable != null && mAnimatorOnEndMap == null) { in withEndAction()
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java76 SensorThreadRunnable runnable = new SensorThreadRunnable(); in startLocked() local
77 Thread thread = new Thread(runnable, SensorThread.class.getName()); in startLocked()
79 synchronized (runnable) { in startLocked()
81 runnable.wait(); in startLocked()
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
DAppLaunch.java137 AppLaunchRunnable runnable = new AppLaunchRunnable(startIntent); in startApp() local
138 Thread t = new Thread(runnable); in startApp()
145 WaitResult result = runnable.getResult(); in startApp()
/frameworks/base/voip/java/com/android/server/sip/
DSipSessionListenerProxy.java39 private void proxy(Runnable runnable) { in proxy() argument
43 new Thread(runnable, "SipSessionCallbackThread").start(); in proxy()
DSipSessionGroup.java1802 private void proxy(Runnable runnable) {
1806 new Thread(runnable, "SIP-KeepAliveProcessCallbackThread").start();
/frameworks/base/services/java/com/android/server/usb/
DUsbHostManager.java174 Runnable runnable = new Runnable() { in systemReady() local
179 new Thread(null, runnable, "UsbService host thread").start(); in systemReady()
/frameworks/support/v4/java/android/support/v4/content/
DModernAsyncTask.java432 public static void execute(Runnable runnable) { in execute() argument
433 sDefaultExecutor.execute(runnable); in execute()
/frameworks/base/core/java/android/os/
DAsyncTask.java602 public static void execute(Runnable runnable) { in execute() argument
603 sDefaultExecutor.execute(runnable); in execute()
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
DMemoryUsageTest.java147 AppLaunchRunnable runnable = new AppLaunchRunnable(startIntent); in startApp() local
148 Thread t = new Thread(runnable); in startApp()
/frameworks/base/core/java/android/speech/tts/
DTextToSpeechService.java319 Runnable runnable = new Runnable() { in enqueueSpeechItem() local
327 Message msg = Message.obtain(this, runnable); in enqueueSpeechItem()
/frameworks/base/docs/html/training/multiple-threads/
Dindex.jd56 <b><a href="define-runnable.html">Specifying the Code to Run on a Thread</a></b>
/frameworks/base/services/java/com/android/server/power/
DPowerManagerService.java1833 Runnable runnable = new Runnable() { in shutdownOrRebootInternal() local
1847 Message msg = Message.obtain(mHandler, runnable); in shutdownOrRebootInternal()
1853 synchronized (runnable) { in shutdownOrRebootInternal()
1856 runnable.wait(); in shutdownOrRebootInternal()
/frameworks/base/core/java/android/accounts/
DAccountManager.java1504 protected void postRunnableToHandler(Runnable runnable) {
1506 handler.post(runnable);
/frameworks/base/docs/html/about/versions/
Djelly-bean.jd863 … or actions in the application. The action can run any runnable object. For example, the runnable
/frameworks/base/docs/html/guide/faq/
Dcommontasks.jd615 // Create runnable for posting