Home
last modified time | relevance | path

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

123

/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/v4/jellybean/android/support/v4/view/
DViewPropertyAnimatorCompatJB.java24 public static void withStartAction(View view, Runnable runnable) { in withStartAction() argument
25 view.animate().withStartAction(runnable); in withStartAction()
28 public static void withEndAction(View view, Runnable runnable) { in withEndAction() argument
29 view.animate().withEndAction(runnable); in withEndAction()
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/services/
DTestScheduledExecutorService.java141 future.runnable.run(); in runAll()
146 scheduled.get(taskIndex).runnable.run(); in run()
155 final Runnable runnable; field in TestScheduledExecutorService.TestFuture
159 public TestFuture(Runnable runnable, long delay, TimeUnit unit) { in TestFuture() argument
160 this.runnable = runnable; in TestFuture()
/frameworks/volley/src/main/java/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/v4/java/android/support/v4/view/
DViewPropertyAnimatorCompat.java73 public void withStartAction(ViewPropertyAnimatorCompat vpa, View view, Runnable runnable); in withStartAction() argument
74 public void withEndAction(ViewPropertyAnimatorCompat vpa, View view, Runnable runnable); in withEndAction() argument
108 public void withEndAction(ViewPropertyAnimatorCompat vpa, View view, Runnable runnable) { in withEndAction() argument
109 vpa.mEndAction = runnable; in withEndAction()
278 public void withStartAction(ViewPropertyAnimatorCompat vpa, View view, Runnable runnable) { in withStartAction() argument
279 vpa.mStartAction = runnable; in withStartAction()
509 … public void withEndAction(ViewPropertyAnimatorCompat vpa, View view, final Runnable runnable) { in withEndAction() argument
511 vpa.mEndAction = runnable; in withEndAction()
515 … public void withStartAction(ViewPropertyAnimatorCompat vpa, View view, final Runnable runnable) { in withStartAction() argument
517 vpa.mStartAction = runnable; in withStartAction()
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DProgressBarManager.java28 private Runnable runnable = new Runnable() { field in ProgressBarManager
68 mHandler.postDelayed(runnable, mInitialDelay); in show()
83 mHandler.removeCallbacks(runnable); in hide()
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DInjectMethodsAdapter.java30 public InjectMethodsAdapter(ClassVisitor cv, InjectMethodRunnable runnable) { in InjectMethodsAdapter() argument
32 mRunnable = runnable; in InjectMethodsAdapter()
/frameworks/opt/bitmap/src/com/android/bitmap/
DNamedThreadFactory.java34 public Thread newThread(final Runnable runnable) { in newThread() argument
35 final Thread thread = mDefaultThreadFactory.newThread(runnable); in newThread()
/frameworks/volley/src/test/java/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/packages/SystemUI/src/com/android/systemui/statusbar/
DBackDropView.java61 public void setOnVisibilityChangedRunnable(Runnable runnable) { in setOnVisibilityChangedRunnable() argument
62 mOnVisibilityChangedRunnable = runnable; in setOnVisibilityChangedRunnable()
DKeyguardAffordanceView.java474 Interpolator interpolator, Runnable runnable) { in setImageAlpha() argument
507 if (runnable != null) { in setImageAlpha()
508 animator.addListener(getEndListener(runnable)); in setImageAlpha()
514 private Animator.AnimatorListener getEndListener(final Runnable runnable) { in getEndListener() argument
525 runnable.run(); in getEndListener()
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/
DWeirdListeners.java37 public static void setRunnable(View view, Runnable runnable, int foo, int bar) { in setRunnable() argument
38 runnable.run(); in setRunnable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardBouncer.java187 public void startPreHideAnimation(Runnable runnable) { in startPreHideAnimation() argument
189 mKeyguardView.startDisappearAnimation(runnable); in startPreHideAnimation()
190 } else if (runnable != null) { in startPreHideAnimation()
191 runnable.run(); in startPreHideAnimation()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecController.java498 private void runOnIoThread(Runnable runnable) { in runOnIoThread() argument
499 mIoHandler.post(runnable); in runOnIoThread()
502 private void runOnServiceThread(Runnable runnable) { in runOnServiceThread() argument
503 mControlHandler.post(runnable); in runOnServiceThread()
507 void flush(final Runnable runnable) { in flush() argument
514 runOnServiceThread(runnable); in flush()
DHdmiCecFeatureAction.java271 protected final void addOnFinishedCallback(HdmiCecFeatureAction action, Runnable runnable) { in addOnFinishedCallback() argument
275 mOnFinishedCallbacks.add(Pair.create(action, runnable)); in addOnFinishedCallback()
/frameworks/base/core/java/android/animation/
DAnimationHandler.java252 public void postCommitCallback(Runnable runnable) { in postCommitCallback() argument
253 mChoreographer.postCallback(Choreographer.CALLBACK_COMMIT, runnable, null); in postCommitCallback()
311 void postCommitCallback(Runnable runnable); in postCommitCallback() argument
/frameworks/base/core/java/android/view/
DViewPropertyAnimator.java811 public ViewPropertyAnimator withStartAction(Runnable runnable) { in withStartAction() argument
812 mPendingOnStartAction = runnable; in withStartAction()
813 if (runnable != null && mAnimatorOnStartMap == null) { in withStartAction()
840 public ViewPropertyAnimator withEndAction(Runnable runnable) { in withEndAction() argument
841 mPendingOnEndAction = runnable; in withEndAction()
842 if (runnable != null && mAnimatorOnEndMap == null) { in withEndAction()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipSessionListenerProxy.java39 private void proxy(Runnable runnable) { in proxy() argument
43 new Thread(runnable, "SipSessionCallbackThread").start(); in proxy()
/frameworks/base/core/java/android/service/quicksettings/
DTileService.java246 public final void unlockAndRun(Runnable runnable) { in unlockAndRun() argument
247 mUnlockRunnable = runnable; in unlockAndRun()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java238 Runnable runnable = connection.getOnFirstFrameCapturedLocked(); in onFirstFrameCaptured() local
239 if (runnable != null) { in onFirstFrameCaptured()
240 runnable.run(); in onFirstFrameCaptured()
471 Runnable runnable = connection.getOnFirstFrameCapturedLocked(); in captureFrame() local
472 if (runnable != null) { in captureFrame()
473 runnable.run(); in captureFrame()
694 public void setOnFirstFrameCapturedLocked(Runnable runnable) { in setOnFirstFrameCapturedLocked() argument
695 mOnFirstFrameCaptured = runnable; in setOnFirstFrameCapturedLocked()
/frameworks/support/v4/java/android/support/v4/content/
DModernAsyncTask.java437 public static void execute(Runnable runnable) { in execute() argument
438 sDefaultExecutor.execute(runnable); in execute()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DMffContext.java335 void postRunnable(Runnable runnable) { in postRunnable() argument
336 mHandler.post(runnable); in postRunnable()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DStaggeredGridLayoutManagerSavedStateTest.java130 for (PostLayoutRunnable runnable : postLayoutOptions) { in getParams()
134 runnable}); in getParams()
/frameworks/base/core/jni/
Dandroid_view_DisplayListCanvas.cpp56 InvokeRunnableMessage(JNIEnv* env, jobject runnable) { in InvokeRunnableMessage() argument
57 mRunnable = env->NewGlobalRef(runnable); in InvokeRunnableMessage()

123