Home
last modified time | relevance | path

Searched defs:runnable (Results 1 – 25 of 53) sorted by relevance

123

/packages/apps/Dialer/java/com/android/dialer/common/concurrent/
DThreadUtil.java27 public static void postOnUiThread(Runnable runnable) { in postOnUiThread()
32 public static void postDelayedOnUiThread(Runnable runnable, long delayMillis) { in postDelayedOnUiThread()
DUiThreadExecutor.java78 public void execute(final Runnable runnable) { in execute()
/packages/apps/DeskClock/src/com/android/deskclock/uidata/
DPeriodicCallbackModel.java78 void addMinuteCallback(Runnable runnable, long offset) { in addMinuteCallback()
85 void addQuarterHourCallback(Runnable runnable) { in addQuarterHourCallback()
94 void addHourCallback(Runnable runnable) { in addHourCallback()
103 void addMidnightCallback(Runnable runnable) { in addMidnightCallback()
112 private void addPeriodicCallback(Runnable runnable, Period period, long offset) { in addPeriodicCallback()
121 void removePeriodicCallback(Runnable runnable) { in removePeriodicCallback()
DUiDataModel.java334 public void addMinuteCallback(Runnable runnable, long offset) { in addMinuteCallback()
342 public void addQuarterHourCallback(Runnable runnable) { in addQuarterHourCallback()
350 public void addHourCallback(Runnable runnable) { in addHourCallback()
358 public void addMidnightCallback(Runnable runnable) { in addMidnightCallback()
366 public void removePeriodicCallback(Runnable runnable) { in removePeriodicCallback()
/packages/apps/Contacts/src/com/android/contacts/util/
DSchedulingUtils.java28 public static void doAfterLayout(final View view, final Runnable runnable) { in doAfterLayout()
42 final Runnable runnable) { in doOnPreDraw()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowThreadUtils.java36 protected static void postOnBackgroundThread(Runnable runnable) { in postOnBackgroundThread()
41 protected static void postOnMainThread(Runnable runnable) { in postOnMainThread()
/packages/apps/TV/src/com/android/tv/ui/hideable/
DAutoHideScheduler.java47 public AutoHideScheduler(Context context, Runnable runnable) { in AutoHideScheduler()
55 AutoHideScheduler(Runnable runnable, AccessibilityManager accessibilityManager, Looper looper) { in AutoHideScheduler()
92 protected void handleMessage(Message msg, @NonNull Runnable runnable) { in handleMessage()
/packages/apps/Dialer/java/com/android/dialer/util/
DViewUtil.java90 @NonNull final View view, final boolean drawNextFrame, final Runnable runnable) { in doOnPreDraw()
104 @NonNull final View view, final boolean drawNextFrame, final ViewRunnable runnable) { in doOnPreDraw()
117 public static void doOnGlobalLayout(@NonNull final View view, final ViewRunnable runnable) { in doOnGlobalLayout()
/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/
DTimerSetupViewTest.java126 Runnable runnable = () -> { in validateDefaultState_NoTimersExist() local
149 Runnable runnable = () -> { in type0InDefaultState_NoTimersExist() local
204 Runnable runnable = () -> { in fillDisplayThenDeleteAll_NoTimersExist() local
232 Runnable runnable = () -> { in fillDisplayWith9s_NoTimersExist() local
/packages/apps/Launcher3/src/com/android/launcher3/util/
DLooperExecutor.java43 public void execute(Runnable runnable) { in execute()
54 public void post(Runnable runnable) { in post()
/packages/apps/Camera2/src/com/android/camera/async/
DHandlerExecutor.java37 public void execute(Runnable runnable) { in execute()
DAndroidPriorityThread.java18 public AndroidPriorityThread(int androidThreadPriority, Runnable runnable) { in AndroidPriorityThread()
DResettingDelayedExecutor.java62 public void execute(Runnable runnable) { in execute()
/packages/apps/Messaging/src/com/android/messaging/util/
DSafeAsyncTask.java144 public static void executeOnThreadPool(final Runnable runnable) { in executeOnThreadPool()
158 public static void executeOnThreadPool(final Runnable runnable, final boolean withWakeLock) { in executeOnThreadPool()
/packages/apps/TV/common/src/com/android/tv/common/concurrent/
DNamedThreadFactory.java36 public Thread newThread(@NonNull final Runnable runnable) { in newThread()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DContentLock.java73 public synchronized void runWhenUnlocked(Runnable runnable) { in runWhenUnlocked()
/packages/apps/TV/src/com/android/tv/util/
DMainThreadExecutor.java41 public void execute(Runnable runnable) { in execute()
DRecurringRunner.java48 Context context, long intervalMs, Runnable runnable, Runnable onStopRunnable) { in RecurringRunner()
/packages/apps/Dialer/java/com/android/dialer/strictmode/
DStrictModeUtils.java75 public static void bypass(Runnable runnable) { in bypass()
/packages/modules/SdkExtensions/tests/app-src/com/android/tests/apex/sdkextensions/
DReceiver.java88 private static void expectException(Class exceptionClass, String type, Runnable runnable) { in expectException()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/
DContactListViewModel.java117 Runnable runnable = () -> { in updateSortedContactList() local
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DLauncherAnimationRunner.java55 public void onAnimationStart(RemoteAnimationTargetCompat[] targetCompats, Runnable runnable) { in onAnimationStart()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DExecutorUtils.java54 public Thread newThread(final Runnable runnable) { in newThread()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DDragHost.java54 public void runOnUiThread(Runnable runnable) { in runOnUiThread()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestScheduledExecutorService.java184 final Runnable runnable; field in TestScheduledExecutorService.TestFuture
188 public TestFuture(Runnable runnable, long delay, TimeUnit unit) { in TestFuture()

123