Searched defs:AsyncTask (Results 1 - 2 of 2) sorted by relevance
/frameworks/support/compat/java/android/support/v4/os/ |
H A D | AsyncTaskCompat.java | 19 import android.os.AsyncTask; 24 * Helper for accessing features in {@link android.os.AsyncTask} 27 * @deprecated Use {@link android.os.AsyncTask} directly. 34 * on a pool of threads managed by {@link android.os.AsyncTask}. 36 * @param task The {@link android.os.AsyncTask} to execute. 38 * @return the instance of AsyncTask. 40 * @deprecated Use {@link android.os.AsyncTask#executeOnExecutor(Executor, Object[])} directly. 43 public static <Params, Progress, Result> AsyncTask<Params, Progress, Result> executeParallel( argument 44 AsyncTask<Params, Progress, Result> task, 49 task.executeOnExecutor(AsyncTask [all...] |
/frameworks/base/core/java/android/os/ |
H A D | AsyncTask.java | 38 * <p>AsyncTask enables proper and easy use of the UI thread. This class allows you 42 * <p>AsyncTask is designed to be a helper class around {@link Thread} and {@link Handler} 63 * <p>AsyncTask must be subclassed to be used. The subclass will override at least 69 * private class DownloadFilesTask extends AsyncTask<URL, Integer, Long> { 97 * <h2>AsyncTask's generic types</h2> 110 * private class MyTask extends AsyncTask<Void, Void, Void> { ... } 150 * <li>The AsyncTask class must be loaded on the UI thread. This is done 161 * <p>AsyncTask guarantees that all callback calls are synchronized in such a way that the following 180 public abstract class AsyncTask<Params, Progress, Result> { class 181 private static final String LOG_TAG = "AsyncTask"; 303 public AsyncTask() { method in class:AsyncTask 312 public AsyncTask(@Nullable Handler handler) { method in class:AsyncTask 321 public AsyncTask(@Nullable Looper callbackLooper) { method in class:AsyncTask [all...] |
Completed in 889 milliseconds