/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | ExpandableBinaryDictionary.java | 95 /** Indicates whether a task for reloading the dictionary has been scheduled. */ 162 private void asyncExecuteTaskWithWriteLock(final Runnable task) { argument 163 asyncExecuteTaskWithLock(mLock.writeLock(), task); 166 private void asyncExecuteTaskWithLock(final Lock lock, final Runnable task) { argument 167 asyncPreCheckAndExecuteTaskWithLock(lock, null /* preCheckTask */, task); 171 final Callable<Boolean> preCheckTask, final Runnable task) { 172 asyncPreCheckAndExecuteTaskWithLock(mLock.writeLock(), preCheckTask, task); 176 // Execute task with lock when the result of preCheckTask is true or preCheckTask is null. 178 final Callable<Boolean> preCheckTask, final Runnable task) { 188 Log.e(TAG, "The pre check task throw 170 asyncPreCheckAndExecuteTaskWithWriteLock( final Callable<Boolean> preCheckTask, final Runnable task) argument 177 asyncPreCheckAndExecuteTaskWithLock(final Lock lock, final Callable<Boolean> preCheckTask, final Runnable task) argument [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
H A D | Utility.java | 357 public static void cancelTaskInterrupt(AsyncTask<?, ?, ?> task) { argument 358 cancelTask(task, true); 365 * task should be interrupted; otherwise, in-progress tasks are allowed 368 public static void cancelTask(AsyncTask<?, ?, ?> task, boolean mayInterruptIfRunning) { argument 369 if (task != null && task.getStatus() != AsyncTask.Status.FINISHED) { 370 task.cancel(mayInterruptIfRunning); 445 * result of the task
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | AppsCustomizePagedView.java | 66 * A simple callback interface which also provides the results of the task. 69 void run(AppsCustomizeAsyncTask task, AsyncTaskPageData data); argument 114 * A generic template for an async task used in AppsCustomize. 142 // The page that this async task is associated with 933 AppsCustomizeAsyncTask task = (AppsCustomizeAsyncTask) iter.next(); 934 task.cancel(false); 936 mDirtyPageContent.set(task.page, true); 939 View v = getPageAt(task.page); 963 AppsCustomizeAsyncTask task = (AppsCustomizeAsyncTask) iter.next(); 964 int pageIndex = task 1271 loadWidgetPreviewsInBackground(AppsCustomizeAsyncTask task, AsyncTaskPageData data) argument [all...] |
H A D | LauncherModel.java | 921 // If there is already a loader task running, tell it to stop. 922 // returns true if isLaunching() was true on the old task 2018 void enqueuePackageUpdated(PackageUpdatedTask task) { argument 2019 sWorker.post(task);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | AppsCustomizePagedView.java | 59 * A simple callback interface which also provides the results of the task. 62 void run(AppsCustomizeAsyncTask task, AsyncTaskPageData data); argument 107 * A generic template for an async task used in AppsCustomize. 135 // The page that this async task is associated with 864 AppsCustomizeAsyncTask task = (AppsCustomizeAsyncTask) iter.next(); 865 task.cancel(false); 867 mDirtyPageContent.set(task.page, true); 870 View v = getPageAt(task.page); 898 AppsCustomizeAsyncTask task = (AppsCustomizeAsyncTask) iter.next(); 899 int pageIndex = task 1215 loadWidgetPreviewsInBackground(AppsCustomizeAsyncTask task, AsyncTaskPageData data) argument [all...] |
H A D | LauncherModel.java | 1343 // If there is already a loader task running, tell it to stop. 1344 // returns true if isLaunching() was true on the old task 2908 void enqueuePackageUpdated(PackageUpdatedTask task) { argument 2909 sWorker.post(task);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | ContactsProvider2.java | 1628 protected void scheduleBackgroundTask(int task) { argument 1629 mBackgroundHandler.sendEmptyMessage(task); 1632 protected void scheduleBackgroundTask(int task, Object arg) { argument 1633 mBackgroundHandler.sendMessage(mBackgroundHandler.obtainMessage(task, arg)); 1636 protected void performBackgroundTask(int task, Object arg) { argument 1639 switch (task) { 1767 * If not, changes the database locale to the current locale using an asynchronous task. 4917 // (But make sure it's not scheduled yet. We schedule this task in initialize() 8127 * Async task that monitors the given file descriptor (the read end of a pipe) for
|
/packages/services/Telecomm/libs/ |
H A D | guava.jar | ... .concurrent.locks.ReentrantLock lock private final Runnable task final synthetic com.google.common.util. ... |