Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DDeferredHandler.java79 public void post(Runnable runnable) { in post() argument
80 post(runnable, 0); in post()
82 public void post(Runnable runnable, int type) { in post() argument
84 mQueue.add(new Pair<Runnable, Integer>(runnable, type)); in post()
92 public void postIdle(final Runnable runnable) { in postIdle() argument
93 postIdle(runnable, 0); in postIdle()
95 public void postIdle(final Runnable runnable, int type) { in postIdle() argument
96 post(new IdleRunnable(runnable), type); in postIdle()
99 public void cancelRunnable(Runnable runnable) { in cancelRunnable() argument
101 while (mQueue.remove(runnable)) { } in cancelRunnable()
/packages/apps/Launcher2/src/com/android/launcher2/
DDeferredHandler.java78 public void post(Runnable runnable) { in post() argument
79 post(runnable, 0); in post()
81 public void post(Runnable runnable, int type) { in post() argument
83 mQueue.add(new Pair<Runnable, Integer>(runnable, type)); in post()
91 public void postIdle(final Runnable runnable) { in postIdle() argument
92 postIdle(runnable, 0); in postIdle()
94 public void postIdle(final Runnable runnable, int type) { in postIdle() argument
95 post(new IdleRunnable(runnable), type); in postIdle()
98 public void cancelRunnable(Runnable runnable) { in cancelRunnable() argument
100 while (mQueue.remove(runnable)) { } in cancelRunnable()
/packages/apps/DeskClock/src/com/android/deskclock/
DUtils.java371 public static void setMidnightUpdater(Handler handler, Runnable runnable) { in setMidnightUpdater() argument
373 if (handler == null || runnable == null || timezone == null) { in setMidnightUpdater()
380 handler.removeCallbacks(runnable); in setMidnightUpdater()
381 handler.postDelayed(runnable, runInMillis); in setMidnightUpdater()
385 public static void cancelMidnightUpdater(Handler handler, Runnable runnable) { in cancelMidnightUpdater() argument
386 if (handler == null || runnable == null) { in cancelMidnightUpdater()
389 handler.removeCallbacks(runnable); in cancelMidnightUpdater()
394 public static void setQuarterHourUpdater(Handler handler, Runnable runnable) { in setQuarterHourUpdater() argument
396 if (handler == null || runnable == null || timezone == null) { in setQuarterHourUpdater()
404 handler.removeCallbacks(runnable); in setQuarterHourUpdater()
[all …]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DEmailAsyncTask.java231 public static EmailAsyncTask<Void, Void, Void> runAsyncParallel(Runnable runnable) { in runAsyncParallel() argument
232 return runAsyncInternal(PARALLEL_EXECUTOR, runnable); in runAsyncParallel()
238 public static EmailAsyncTask<Void, Void, Void> runAsyncSerial(Runnable runnable) { in runAsyncSerial() argument
239 return runAsyncInternal(SERIAL_EXECUTOR, runnable); in runAsyncSerial()
243 final Runnable runnable) { in runAsyncInternal() argument
247 runnable.run(); in runAsyncInternal()
/packages/apps/Browser/src/com/android/browser/
DGoogleAccountLogin.java73 Runnable runnable) { in GoogleAccountLogin() argument
77 mRunnable = runnable; in GoogleAccountLogin()
215 Runnable runnable) { in startLoginIfNeeded() argument
218 runnable.run(); in startLoginIfNeeded()
225 runnable.run(); in startLoginIfNeeded()
230 new GoogleAccountLogin(activity, accounts[0], runnable); in startLoginIfNeeded()
DBackgroundHandler.java35 public static void execute(Runnable runnable) { in execute() argument
36 mThreadPool.execute(runnable); in execute()
DBookmarkUtils.java247 Runnable runnable = new Runnable(){ in displayRemoveBookmarkDialog()
256 new Thread(runnable).start(); in displayRemoveBookmarkDialog()
/packages/apps/Contacts/src/com/android/contacts/util/
DSchedulingUtils.java28 public static void doAfterLayout(final View view, final Runnable runnable) { in doAfterLayout() argument
34 runnable.run(); in doAfterLayout()
41 public static void doAfterDraw(final View view, final Runnable runnable) { in doAfterDraw() argument
46 runnable.run(); in doAfterDraw()
/packages/apps/Camera/tests/src/com/android/camera/activity/
DCameraTestCase.java73 Runnable runnable = new Runnable() { in call() local
85 getActivity().findViewById(R.id.gl_root_view).postDelayed(runnable, 50); in call()
93 Runnable runnable = new Runnable() { in call() local
102 getActivity().findViewById(R.id.gl_root_view).postDelayed(runnable, 50); in call()
/packages/apps/Mms/tests/src/com/android/mms/
DMmsStability.java63 Runnable runnable = new sendMms(); field in MmsStability
96 inst.runOnMainSync(runnable); in testSend5MMS()
DInterceptSendSms.java84 Runnable runnable = new sendMms(); field in InterceptSendSms
113 inst.runOnMainSync(runnable); in testInterceptSendSms()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DCountingTimerView.java567 public void registerVirtualButtonAction(final Runnable runnable) { in registerVirtualButtonAction() argument
591 runnable.run(); in registerVirtualButtonAction()
603 runnable.run(); in registerVirtualButtonAction()
/packages/apps/Email/tests/src/com/android/email/
DTestUtils.java64 public static void expectThrowable(Runnable runnable, in expectThrowable() argument
67 runnable.run(); in expectThrowable()
/packages/apps/Dialer/tests/src/com/android/dialer/util/
DFakeAsyncTaskExecutor.java80 public SubmittedTaskImpl(Object identifier, Runnable runnable, in SubmittedTaskImpl() argument
83 mRunnable = runnable; in SubmittedTaskImpl()
/packages/apps/Dialer/src/com/android/dialer/voicemail/
DVoicemailPlaybackFragment.java244 public void runOnUiThread(Runnable runnable) { in runOnUiThread() argument
247 activity.runOnUiThread(runnable); in runOnUiThread()
DVoicemailPlaybackPresenter.java68 void runOnUiThread(Runnable runnable); in runOnUiThread() argument
/packages/apps/Camera2/src/com/android/camera/
DWideAnglePanoramaUI.java332 String OKString, Runnable runnable) { in showAlertDialog() argument
333 mDialogHelper.showAlertDialog(title, failedString, OKString, runnable); in showAlertDialog()
/packages/apps/VideoEditor/src/com/android/videoeditor/
DVideoEditorActivity.java1697 Runnable runnable;
1698 while ((runnable = mQueue.poll()) != null) {
1699 runnable.run();
/packages/apps/Dialer/src/com/android/dialer/
DCallDetailActivity.java206 private synchronized void postDelayed(Runnable runnable, long delayMillis) { in postDelayed() argument
212 blankView.postDelayed(runnable, delayMillis); in postDelayed()
/packages/apps/LegacyCamera/src/com/android/camera/
DCamera.java2250 Runnable runnable = new Runnable() { in onRestorePreferencesClicked()
2258 getString(android.R.string.ok), runnable, in onRestorePreferencesClicked() local
DVideoCamera.java2067 Runnable runnable = new Runnable() { in onRestorePreferencesClicked() local
2075 getString(android.R.string.ok), runnable, in onRestorePreferencesClicked() local
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_wordlist.combined.gz