/packages/apps/Launcher2/src/com/android/launcher2/ |
D | DeferredHandler.java | 35 private LinkedList<Pair<Runnable, Integer>> mQueue = new LinkedList<Pair<Runnable, Integer>>(); 41 Pair<Runnable, Integer> p; in handleMessage() 42 Runnable r; in handleMessage() 62 private class IdleRunnable implements Runnable { 63 Runnable mRunnable; 65 IdleRunnable(Runnable r) { in IdleRunnable() 78 public void post(Runnable runnable) { in post() 81 public void post(Runnable runnable, int type) { in post() 83 mQueue.add(new Pair<Runnable, Integer>(runnable, type)); in post() 91 public void postIdle(final Runnable runnable) { in postIdle() [all …]
|
D | LauncherModel.java | 112 static final ArrayList<Runnable> mDeferredBindRunnables = new ArrayList<Runnable>(); 199 private void runOnMainThread(Runnable r) { in runOnMainThread() 203 private void runOnMainThread(Runnable r, int type) { in runOnMainThread() 214 private static void runOnWorkerThread(Runnable r) { in runOnWorkerThread() 251 Runnable r = new Runnable() { in unbindWorkspaceItemsOnMainThread() 326 Runnable r = new Runnable() { in checkItemInfo() 343 Runnable r = new Runnable() { in updateItemInDatabaseHelper() 392 Runnable waiter = new Runnable() { in flushWorkerThread() 633 Runnable r = new Runnable() { in addItemToDatabase() 712 Runnable r = new Runnable() { in deleteItemFromDatabase() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | ExpandableBinaryDictionary.java | 165 private void asyncExecuteTaskWithWriteLock(final Runnable task) { in asyncExecuteTaskWithWriteLock() 169 private static void asyncExecuteTaskWithLock(final Lock lock, final Runnable task) { in asyncExecuteTaskWithLock() 170 ExecutorUtils.getBackgroundExecutor(ExecutorUtils.KEYBOARD).execute(new Runnable() { in asyncExecuteTaskWithLock() 200 asyncExecuteTaskWithWriteLock(new Runnable() { in close() 221 asyncExecuteTaskWithWriteLock(new Runnable() { in removeBinaryDictionary() 249 asyncExecuteTaskWithWriteLock(new Runnable() { in clear() 262 asyncExecuteTaskWithWriteLock(new Runnable() { in runGCIfRequired() 279 private void updateDictionaryWithWriteLock(@Nonnull final Runnable updateTask) { in updateDictionaryWithWriteLock() 281 final Runnable task = new Runnable() { in updateDictionaryWithWriteLock() 299 updateDictionaryWithWriteLock(new Runnable() { in addUnigramEntry() [all …]
|
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
D | DelayedOperationsTests.java | 40 mDelayedOperations.post(new Runnable() { in brokentestEnueue() 46 mDelayedOperations.post(new Runnable() { in brokentestEnueue() 73 Runnable r; in brokentestCancel() 74 mDelayedOperations.post(r = new Runnable() { in brokentestCancel() 81 mDelayedOperations.post(new Runnable() { in brokentestCancel() 107 mDelayedOperations.post(new Runnable() { in brokentestCancelAll() 113 mDelayedOperations.post(new Runnable() { in brokentestCancelAll() 140 public final ArrayList<Runnable> mPostedToHandler = new ArrayList<Runnable>(); 148 void postRunnable(Runnable r) { in postRunnable() 154 void cancelRunnable(Runnable r) { in cancelRunnable() [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | VoicemailProviderTest.java | 264 EvenMoreAsserts.assertThrows(SecurityException.class, new Runnable() { in testMustUsePackageUriWithoutFullPermission() 271 EvenMoreAsserts.assertThrows(SecurityException.class, new Runnable() { in testMustUsePackageUriWithoutFullPermission() 278 EvenMoreAsserts.assertThrows(SecurityException.class, new Runnable() { in testMustUsePackageUriWithoutFullPermission() 285 EvenMoreAsserts.assertThrows(SecurityException.class, new Runnable() { in testMustUsePackageUriWithoutFullPermission() 306 EvenMoreAsserts.assertThrows(SecurityException.class, new Runnable() { in testPermissions_InsertAndQuery() 320 EvenMoreAsserts.assertThrows(SecurityException.class, new Runnable() { in testPermissions_InsertAndQuery() 343 EvenMoreAsserts.assertThrows(SecurityException.class, new Runnable() { in testPermissions_UpdateAndDelete() 349 EvenMoreAsserts.assertThrows(SecurityException.class, new Runnable() { in testPermissions_UpdateAndDelete() 460 EvenMoreAsserts.assertThrows(SecurityException.class, new Runnable() { in checkHasNoReadAccessToUri() 466 EvenMoreAsserts.assertThrows(SecurityException.class, new Runnable() { in checkHasNoReadAccessToUri() [all …]
|
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/ |
D | ProviderPerfActivity.java | 105 setButtonAction(R.id.file_read_button, new Runnable() { in onCreate() 111 setButtonAction(R.id.file_write_button, new Runnable() { in onCreate() 117 setButtonAction(R.id.settings_read_button, new Runnable() { in onCreate() 123 setButtonAction(R.id.settings_sleep_button, new Runnable() { in onCreate() 129 setButtonAction(R.id.settings_write_button, new Runnable() { in onCreate() 135 setButtonAction(R.id.settings_writedup_button, new Runnable() { in onCreate() 141 setButtonAction(R.id.dummy_lookup_button, new Runnable() { in onCreate() 147 setButtonAction(R.id.dummy_local_lookup_button, new Runnable() { in onCreate() 154 setButtonAction(R.id.localsocket_button, new Runnable() { in onCreate() 160 setButtonAction(R.id.service_button, new Runnable() { in onCreate() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DeferredHandler.java | 36 @Thunk LinkedList<Runnable> mQueue = new LinkedList<>(); 42 Runnable r; in handleMessage() 61 private class IdleRunnable implements Runnable { 62 Runnable mRunnable; 64 IdleRunnable(Runnable r) { in IdleRunnable() 77 public void post(Runnable runnable) { in post() 87 public void postIdle(final Runnable runnable) { in postIdle() 99 LinkedList<Runnable> queue = new LinkedList<>(); in flush() 104 for (Runnable r : queue) { in flush() 111 Runnable peek = mQueue.getFirst(); in scheduleNextLocked()
|
D | LauncherModel.java | 143 static final ArrayList<Runnable> mBindCompleteRunnables = new ArrayList<Runnable>(); 154 private final Runnable mShortcutPermissionCheckRunnable = new Runnable() { 225 private void runOnMainThread(Runnable r) { in runOnMainThread() 236 private static void runOnWorkerThread(Runnable r) { in runOnWorkerThread() 319 Runnable r = new Runnable() { in checkItemInfo() 347 Runnable r = new Runnable() { in updateWorkspaceScreenOrder() 548 runOnMainThread(new Runnable() { in startLoader() 597 private class LoaderTask implements Runnable { 617 mHandler.postIdle(new Runnable() { in waitForIdle() 1433 final Runnable r = new Runnable() { in bindWorkspaceScreens() [all …]
|
D | Launcher.java | 257 private ArrayList<Runnable> mBindOnResumeCallbacks = new ArrayList<Runnable>(); 258 private ArrayList<Runnable> mOnResumeCallbacks = new ArrayList<Runnable>(); 304 private Runnable mExitSpringLoadedModeRunnable; 306 @Thunk Runnable mBuildLayersRunnable = new Runnable() { 721 Runnable exitSpringLoaded = new Runnable() { in handleActivityResult() 774 final Runnable onComplete = new Runnable() { in handleActivityResult() 794 final Runnable onComplete = new Runnable() { in handleActivityResult() 892 Runnable onCompleteRunnable = null; in completeTwoStageWidgetDrop() 901 onCompleteRunnable = new Runnable() { in completeTwoStageWidgetDrop() 1574 Runnable r = new Runnable() { in updateIconBadges() [all …]
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/compose/ |
D | ComposeActivityTest.java | 148 runTestOnUiThread(new Runnable() { in testRecipientsRefReplyAllCustomFromReplyTo() 185 runTestOnUiThread(new Runnable() { in testRecipientsRefReplyAllOnlyAccount() 226 runTestOnUiThread(new Runnable() { in testRecipientsRefReplyAllOnlyCustomFrom() 253 runTestOnUiThread(new Runnable() { in testReply() 276 runTestOnUiThread(new Runnable() { in testReplyWithReplyTo() 301 runTestOnUiThread(new Runnable() { in testReplyToSelf() 326 runTestOnUiThread(new Runnable() { in testReplyAllToSelf() 353 runTestOnUiThread(new Runnable() { in testReplyAllToSelfWithCc() 379 runTestOnUiThread(new Runnable() { in testReplyAll() 403 runTestOnUiThread(new Runnable() { in testReplyAllWithReplyTo() [all …]
|
/packages/apps/Camera2/src/com/android/camera/session/ |
D | CaptureSessionManagerImpl.java | 70 mMainHandler.execute(new Runnable() { in notifyTaskQueued() 88 mMainHandler.execute(new Runnable() { in notifyTaskDone() 108 mMainHandler.execute(new Runnable() { in notifyTaskFailed() 123 mMainHandler.execute(new Runnable() { in notifyTaskCanceled() 142 mMainHandler.execute(new Runnable() { in notifyTaskProgress() 160 mMainHandler.execute(new Runnable() { in notifyTaskProgressText() 178 mMainHandler.execute(new Runnable() { in notifySessionUpdated() 201 mMainHandler.execute(new Runnable() { in notifySessionCaptureIndicatorAvailable() 215 mMainHandler.execute(new Runnable() { in notifySessionThumbnailAvailable() 230 mMainHandler.execute(new Runnable() { in notifySessionPictureDataAvailable() [all …]
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
D | ImageBackend.java | 353 Optional.<Runnable> absent()); in receiveImage() 377 Optional<Runnable> runnableWhenDone) in receiveImage() 426 Optional<Runnable> runnableWhenDone) in receiveImage() 524 final Optional<Runnable> runnableOptional; in receiveImage() 527 Runnable unregisterRunnable = new Runnable() { in receiveImage() 535 runnableOptional = Optional.<Runnable> absent(); in receiveImage() 587 Optional<Runnable> runnableWhenDone) { in initializeTaskDone() 760 Runnable closeTask = new Runnable() { in closeImageExecutorSafe() 804 private class TaskDoneWrapper implements Runnable { 833 Runnable doneRunnable = mImageShadowTask.getRunnableWhenDone(); in run() [all …]
|
/packages/apps/EmergencyInfo/tests/src/com/android/emergency/preferences/ |
D | EmergencyContactsPreferenceTest.java | 59 runTestOnUiThread(new Runnable() { in setUp() 92 runTestOnUiThread(new Runnable() { in testAddAndRemoveEmergencyContact() 108 runTestOnUiThread(new Runnable() { in testAddAndRemoveEmergencyContact() 137 runTestOnUiThread(new Runnable() { in testReloadFromPreference() 152 runTestOnUiThread(new Runnable() { in testReloadFromPreference() 179 runTestOnUiThread(new Runnable() { in testWidgetClick_positiveButton() 196 runTestOnUiThread(new Runnable() { in testWidgetClick_positiveButton() 207 runTestOnUiThread(new Runnable() { in testWidgetClick_positiveButton() 228 runTestOnUiThread(new Runnable() { in testWidgetClick_negativeButton() 245 runTestOnUiThread(new Runnable() { in testWidgetClick_negativeButton() [all …]
|
D | NameAutoCompletePreferenceTest.java | 50 runTestOnUiThread(new Runnable() { in setUp() 96 runTestOnUiThread(new Runnable() { in testReloadFromPreference() 108 runTestOnUiThread(new Runnable() { in testSetText() 128 runTestOnUiThread(new Runnable() { in testDialogShowAndDismiss_positiveButton() 136 runTestOnUiThread(new Runnable() { in testDialogShowAndDismiss_positiveButton() 148 runTestOnUiThread(new Runnable() { in testDialogShowAndDismiss_negativeButton() 156 runTestOnUiThread(new Runnable() { in testDialogShowAndDismiss_negativeButton()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | ImageGetter.java | 100 private class ImageGetterRunnable implements Runnable { 102 private Runnable callback(final int position, final int offset, in callback() 106 return new Runnable() { in callback() 119 private Runnable completedCallback(final int requestSerial) { 120 return new Runnable() { 180 Runnable cb = callback(mCurrentPosition, offset, 216 Runnable cb = callback(mCurrentPosition, offset, 293 ((Runnable) message.obj).run(); 298 public void postGetterCallback(Runnable callback) { 302 public void postDelayedGetterCallback(Runnable callback, long delay) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | ExecutorUtils.java | 54 public Thread newThread(final Runnable runnable) { in newThread() 122 public static Runnable chain(final Runnable... runnables) { in chain() 127 public static class RunnableChain implements Runnable { 128 private final Runnable[] mRunnables; 130 private RunnableChain(final Runnable... runnables) { in RunnableChain() 138 public Runnable[] getRunnables() { in getRunnables() 144 for (Runnable runnable : mRunnables) { in run()
|
/packages/apps/DeskClock/src/com/android/deskclock/uidata/ |
D | PeriodicCallbackModel.java | 78 void addMinuteCallback(Runnable runnable, long offset) { in addMinuteCallback() 86 void addQuarterHourCallback(Runnable runnable, long offset) { in addQuarterHourCallback() 94 void addHourCallback(Runnable runnable, long offset) { in addHourCallback() 102 void addMidnightCallback(Runnable runnable, long offset) { in addMidnightCallback() 109 private void addPeriodicCallback(Runnable runnable, Period period, long offset) { in addPeriodicCallback() 118 void removePeriodicCallback(Runnable runnable) { in removePeriodicCallback() 183 private static final class PeriodicRunnable implements Runnable { 185 private final Runnable mDelegate; 189 public PeriodicRunnable(Runnable delegate, Period period, long offset) { in PeriodicRunnable()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestScheduledExecutorService.java | 51 public List<Runnable> shutdownNow() { in shutdownNow() 81 public <T> Future<T> submit(Runnable task, T result) { in submit() 86 public Future<?> submit(Runnable task) { in submit() 115 public void execute(Runnable command) { in execute() 120 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { in schedule() 132 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, in scheduleAtFixedRate() 138 public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, in scheduleWithFixedDelay() 184 final Runnable runnable; 188 public TestFuture(Runnable runnable, long delay, TimeUnit unit) { in TestFuture()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | EventLoader.java | 66 public Runnable uiCallback; 76 final Runnable uiCallback) in LoadEventDaysRequest() 130 public Runnable successCallback; 131 public Runnable cancelCallback; 134 final Runnable successCallback, final Runnable cancelCallback) { in LoadEventsRequest() 240 int startDay, final Runnable successCallback, final Runnable cancelCallback) { in loadEventsInBackground() 272 final Runnable uiCallback) in loadEventDaysInBackground()
|
/packages/apps/Messaging/src/com/android/messaging/ui/animation/ |
D | PopupTransitionAnimation.java | 72 private Runnable mOnStartCallback; 73 private Runnable mOnStopCallback; 112 private final Runnable mCleanupRunnable = new Runnable() { 129 final Runnable startAnimation = new Runnable() { in startAfterLayoutComplete() 171 public PopupTransitionAnimation setOnStartCallback(final Runnable onStart) { in setOnStartCallback() 176 public PopupTransitionAnimation setOnStopCallback(final Runnable onStop) { in setOnStopCallback() 210 ThreadUtil.getMainThreadHandler().post(new Runnable() { in dismiss()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
D | DelayedOperations.java | 36 private class QueuedOperation implements Runnable { 37 private final Runnable mActualRannable; 39 public QueuedOperation(Runnable actualRannable) { in QueuedOperation() 62 public void post(Runnable r) { in post() 73 public void removeCallbacks(Runnable r) { in removeCallbacks() 98 void postRunnable(Runnable r) { in postRunnable() 103 void cancelRunnable(Runnable r) { in cancelRunnable()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarServiceUtils.java | 71 public static void runOnMain(Runnable action) { in runOnMain() 80 public static void runOnLooper(Looper looper, Runnable action) { in runOnLooper() 91 public static void runOnMainSync(Runnable action) { in runOnMainSync() 102 public static void runOnLooperSync(Looper looper, Runnable action) { in runOnLooperSync() 114 private static final class SyncRunnable implements Runnable { 115 private final Runnable mTarget; 118 public SyncRunnable(Runnable target) { in SyncRunnable()
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
D | DevCameraActivity.java | 283 Runnable mReturnToCafRunnable = new Runnable() { 388 mMainHandler.post(new Runnable() { in setNoiseEdgeText() 399 mMainHandler.post(new Runnable() { in setNoiseEdgeTextForReprocessing() 419 mUtilityHandler.post(new Runnable() { in jpegAvailable() 423 mMainHandler.post(new Runnable() { in jpegAvailable() 433 mMainHandler.post(new Runnable() { in jpegAvailable() 444 mMainHandler.post(new Runnable() { in receivedFirstFrame() 465 mMainHandler.post(new Runnable() { in frameDataAvailable() 490 mMainHandler.post(new Runnable() { in frameDataAvailable() 514 mMainHandler.post(new Runnable() { in performanceDataAvailable()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/ |
D | PictureCallbackAdapter.java | 47 mMainExecutor.execute(new Runnable() { in provideQuickExposeUpdatable() 60 mMainExecutor.execute(new Runnable() { 73 mMainExecutor.execute(new Runnable() { 86 mMainExecutor.execute(new Runnable() { 100 mMainExecutor.execute(new Runnable() { 114 mMainExecutor.execute(new Runnable() {
|
/packages/apps/Camera2/src/com/android/camera/ui/focus/ |
D | FocusController.java | 49 mMainThread.execute(new Runnable() { in showPassiveFocusAtCenter() 68 mMainThread.execute(new Runnable() { in showPassiveFocusAt() 87 mMainThread.execute(new Runnable() { in showActiveFocusAt() 104 mMainThread.execute(new Runnable() { in clearFocusIndicator() 119 mMainThread.execute(new Runnable() { in configurePreviewDimensions() 133 mMainThread.execute(new Runnable() { in setFocusRatio()
|