Searched refs:runnable (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
H A DRunQueue.java52 final Runnable runnable = new Runnable() {
57 view.post(runnable);
58 view.post(runnable);
59 view.post(runnable);
60 view.post(runnable);
61 view.removeCallbacks(runnable);
/frameworks/support/volley/src/com/android/volley/
H A DExecutorDelivery.java59 public void postResponse(Request<?> request, Response<?> response, Runnable runnable) { argument
62 mResponsePoster.execute(new ResponseDeliveryRunnable(request, response, runnable));
82 public ResponseDeliveryRunnable(Request request, Response response, Runnable runnable) { argument
85 mRunnable = runnable;
112 // If we have been provided a post-delivery runnable, run it.
H A DResponseDelivery.java29 public void postResponse(Request<?> request, Response<?> response, Runnable runnable); argument
/frameworks/support/volley/tests/src/com/android/volley/mock/
H A DMockResponseDelivery.java41 public void postResponse(Request<?> request, Response<?> response, Runnable runnable) { argument
44 runnable.run();
/frameworks/base/services/java/com/android/server/usb/
H A DUsbHostManager.java172 Runnable runnable = new Runnable() {
177 new Thread(null, runnable, "UsbService host thread").start();
/frameworks/base/voip/java/com/android/server/sip/
H A DSipSessionListenerProxy.java39 private void proxy(Runnable runnable) { argument
43 new Thread(runnable, "SipSessionCallbackThread").start();
H A DSipSessionGroup.java1802 private void proxy(Runnable runnable) { argument
1806 new Thread(runnable, "SIP-KeepAliveProcessCallbackThread").start();
/frameworks/base/core/java/android/hardware/
H A DSystemSensorManager.java76 SensorThreadRunnable runnable = new SensorThreadRunnable();
77 Thread thread = new Thread(runnable, SensorThread.class.getName());
79 synchronized (runnable) {
81 runnable.wait();
/frameworks/base/core/java/android/view/
H A DViewPropertyAnimator.java678 * @param runnable The action to run when the next animation starts.
681 public ViewPropertyAnimator withStartAction(Runnable runnable) { argument
682 mPendingOnStartAction = runnable;
683 if (runnable != null && mAnimatorOnStartMap == null) {
692 * that animation, the runnable will not run.
707 * @param runnable The action to run when the next animation ends.
710 public ViewPropertyAnimator withEndAction(Runnable runnable) { argument
711 mPendingOnEndAction = runnable;
712 if (runnable != null && mAnimatorOnEndMap == null) {
/frameworks/base/core/java/android/os/
H A DAsyncTask.java602 public static void execute(Runnable runnable) { argument
603 sDefaultExecutor.execute(runnable);
/frameworks/support/v4/java/android/support/v4/content/
H A DModernAsyncTask.java432 public static void execute(Runnable runnable) { argument
433 sDefaultExecutor.execute(runnable);
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeechService.java319 Runnable runnable = new Runnable() {
327 Message msg = Message.obtain(this, runnable);
/frameworks/base/services/java/com/android/server/power/
H A DPowerManagerService.java1823 Runnable runnable = new Runnable() {
1837 Message msg = Message.obtain(mHandler, runnable);
1843 synchronized (runnable) {
1846 runnable.wait();
/frameworks/base/core/java/android/accounts/
H A DAccountManager.java1504 protected void postRunnableToHandler(Runnable runnable) { argument
1506 handler.post(runnable);

Completed in 5482 milliseconds