Home
last modified time | relevance | path

Searched refs:AsyncTask (Results 1 – 25 of 33) sorted by relevance

12

/development/apps/Development/src/com/android/development/
DCacheAbuser.java32 import android.os.AsyncTask;
50 AsyncTask<Void, Void, Void> mInternalAbuseTask;
51 AsyncTask<Void, Void, Void> mExternalAbuseTask;
53 static class AbuseTask extends AsyncTask<Void, Void, Void> {
109 mInternalAbuseTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in onCreate()
120 mInternalAbuseTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in onCreate()
131 mExternalAbuseTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in onCreate()
142 mExternalAbuseTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in onCreate()
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
DPrepareMusicRetrieverTask.java19 import android.os.AsyncTask;
26 public class PrepareMusicRetrieverTask extends AsyncTask<Void, Void, Void> {
/development/samples/BusinessCard/src/com/example/android/businesscard/
DBusinessCardActivity.java22 import android.os.AsyncTask;
99 AsyncTask<Uri, Void, ContactInfo> task = new AsyncTask<Uri, Void, ContactInfo>() { in loadContactInfo()
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DAsyncTask.java197 public abstract class AsyncTask<Params, Progress, Result> { class
306 public AsyncTask() { in AsyncTask() method in AsyncTask
559 public final AsyncTask<Params, Progress, Result> execute(Params... params) { in execute()
596 public final AsyncTask<Params, Progress, Result> executeOnExecutor(Executor exec, in executeOnExecutor()
685 final AsyncTask mTask;
688 AsyncTaskResult(AsyncTask task, Data... data) { in AsyncTaskResult()
DImageWorker.java99 task.executeOnExecutor(AsyncTask.DUAL_THREAD_EXECUTOR); in loadImage()
238 private class BitmapWorkerTask extends AsyncTask<Void, Void, BitmapDrawable> {
427 protected class CacheAsyncTask extends AsyncTask<Object, Void, Void> {
/development/samples/Support7Demos/src/com/example/android/supportv7/graphics/
DImageLoader.java20 import android.os.AsyncTask;
60 AsyncTaskCompat.executeParallel(new AsyncTask<Void, Void, Bitmap>() { in loadMediaStoreThumbnail()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DLoaderThrottle.java39 import android.os.AsyncTask;
397 AsyncTask<Void, Void, Void> mPopulatingTask;
435 mPopulatingTask = new AsyncTask<Void, Void, Void>() { in onOptionsItemSelected()
456 AsyncTask.THREAD_POOL_EXECUTOR, (Void[])null); in onOptionsItemSelected()
464 AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>() { in onOptionsItemSelected()
DPrintCustomContent.java23 import android.os.AsyncTask;
205 new AsyncTask<Void, Void, PrintDocumentInfo>() { in print()
296 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Void[]) null); in print()
315 new AsyncTask<Void, Void, Void>() { in print()
437 }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Void[]) null); in print()
/development/samples/browseable/StorageClient/src/com.example.android.storageclient/
DStorageClientFragment.java26 import android.os.AsyncTask;
229 AsyncTask<Uri, Void, Bitmap> imageLoadAsyncTask = new AsyncTask<Uri, Void, Bitmap>() { in onCreateDialog()
/development/samples/browseable/NetworkConnect/
D_index.jd9 The sample uses {@link android.os.AsyncTask} to perform the fetch on a
/development/samples/ApiDemos/src/com/example/android/apis/security/
DKeyStoreUsage.java24 import android.os.AsyncTask;
258 private class UpdateKeyListTask extends AsyncTask<Void, Void, Enumeration<String>> {
298 private class GenerateTask extends AsyncTask<String, Void, Boolean> {
352 private class SignTask extends AsyncTask<String, Void, String> {
414 private class VerifyTask extends AsyncTask<String, Void, Boolean> {
490 private class DeleteTask extends AsyncTask<String, Void, Void> {
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
DLoaderThrottleSupport.java32 import android.os.AsyncTask;
398 AsyncTask<Void, Void, Void> mPopulatingTask;
436 mPopulatingTask = new AsyncTask<Void, Void, Void>() { in onOptionsItemSelected()
464 AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>() { in onOptionsItemSelected()
/development/samples/browseable/BasicRenderScript/src/com.example.android.basicrenderscript/
DMainActivity.java22 import android.os.AsyncTask;
120 private class RenderScriptTask extends AsyncTask<Float, Integer, Integer> {
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.swiperefreshlistfragment/
DSwipeRefreshListFragmentFragment.java22 import android.os.AsyncTask;
205 private class DummyBackgroundTask extends AsyncTask<Void, Void, List<String>> {
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.swiperefreshlayoutbasic/
DSwipeRefreshLayoutBasicFragment.java22 import android.os.AsyncTask;
208 private class DummyBackgroundTask extends AsyncTask<Void, Void, List<String>> {
/development/samples/browseable/NetworkConnect/src/com.example.android.networkconnect/
DMainActivity.java19 import android.os.AsyncTask;
96 private class DownloadTask extends AsyncTask<String, Void, String> {
/development/samples/browseable/MediaRecorder/src/com.example.android.mediarecorder/
DMainActivity.java24 import android.os.AsyncTask;
200 class MediaPrepareTask extends AsyncTask<Void, Void, Boolean> {
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.swiperefreshmultipleviews/
DSwipeRefreshMultipleViewsFragment.java22 import android.os.AsyncTask;
230 private class DummyBackgroundTask extends AsyncTask<Void, Void, List<String>> {
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
DAuthenticatorActivity.java31 import android.os.AsyncTask;
296 public class UserLoginTask extends AsyncTask<Void, Void, String> {
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/
DAddVoicemailActivity.java33 import android.os.AsyncTask;
190 private class InsertVoicemailTask extends AsyncTask<Pair<Voicemail, Uri>, Void, Exception> {
/development/samples/training/network-usage/src/com/example/android/networkusage/
DNetworkActivity.java25 import android.os.AsyncTask;
191 private class DownloadXmlTask extends AsyncTask<String, Void, String> {
/development/samples/devbytes/graphics/ImagePixelization/src/com/example/android/imagepixelization/
DImagePixelization.java24 import android.os.AsyncTask;
291 private class PixelizeImageAsyncTask extends AsyncTask<Object, Void, BitmapDrawable> {
/development/samples/Wiktionary/src/com/example/android/wiktionary/
DLookupActivity.java27 import android.os.AsyncTask;
264 private class LookupTask extends AsyncTask<String, String, String> {
/development/samples/training/ContactsList/src/com/example/android/contactslist/util/
DImageLoader.java27 import android.os.AsyncTask;
191 private class BitmapWorkerTask extends AsyncTask<Object, Void, Bitmap> {
/development/samples/XmlAdapters/src/com/example/android/xmladapters/
DImageDownloader.java30 import android.os.AsyncTask;
235 class BitmapDownloaderTask extends AsyncTask<String, Void, Bitmap> {

12