Lines Matching defs:AsyncTask
43 * https://android.googlesource.com/platform/frameworks/base/+/jb-release/core/java/android/os/AsyncTask.java
48 * There are 3 changes in this copy of AsyncTask:
55 * <p>AsyncTask enables proper and easy use of the UI thread. This class allows to
59 * <p>AsyncTask is designed to be a helper class around {@link Thread} and {@link android.os.Handler}
80 * <p>AsyncTask must be subclassed to be used. The subclass will override at least
86 * private class DownloadFilesTask extends AsyncTask<URL, Integer, Long> {
114 * <h2>AsyncTask's generic types</h2>
127 * private class MyTask extends AsyncTask<Void, Void, Void> { ... }
167 * <li>The AsyncTask class must be loaded on the UI thread. This is done
178 * <p>AsyncTask guarantees that all callback calls are synchronized in such a way that the following
197 public abstract class AsyncTask<Params, Progress, Result> {
198 private static final String LOG_TAG = "AsyncTask";
208 return new Thread(r, "AsyncTask #" + mCount.getAndIncrement());
288 * Indicates that {@link AsyncTask#onPostExecute} has finished.
306 public AsyncTask() {
551 * @return This instance of AsyncTask.
554 * {@link AsyncTask.Status#RUNNING} or {@link AsyncTask.Status#FINISHED}.
559 public final AsyncTask<Params, Progress, Result> execute(Params... params) {
569 * AsyncTask, however you can also use your own {@link java.util.concurrent.Executor} for custom
589 * @return This instance of AsyncTask.
592 * {@link AsyncTask.Status#RUNNING} or {@link AsyncTask.Status#FINISHED}.
596 public final AsyncTask<Params, Progress, Result> executeOnExecutor(Executor exec,
685 final AsyncTask mTask;
688 AsyncTaskResult(AsyncTask task, Data... data) {