/development/apps/Development/src/com/android/development/ |
D | CacheAbuser.java | 31 import android.os.AsyncTask; 49 AsyncTask<Void, Void, Void> mInternalAbuseTask; 50 AsyncTask<Void, Void, Void> mExternalAbuseTask; 52 static class AbuseTask extends AsyncTask<Void, Void, Void> { 108 mInternalAbuseTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in onCreate() 119 mInternalAbuseTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in onCreate() 130 mExternalAbuseTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in onCreate() 141 mExternalAbuseTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in onCreate()
|
/development/samples/DeviceAdminWhitelistedAccount/src/com/example/android/app/admin/whitelistedaccount/ |
D | MyMain.java | 20 import android.os.AsyncTask; 31 new AsyncTask<Void, Void, Boolean>() { in onCreate() method
|
/development/samples/BusinessCard/src/com/example/android/businesscard/ |
D | BusinessCardActivity.java | 22 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/ |
D | AsyncTask.java | 197 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()
|
D | ImageWorker.java | 103 task.executeOnExecutor(AsyncTask.DUAL_THREAD_EXECUTOR); in loadImage() 257 private class BitmapWorkerTask extends AsyncTask<Void, Void, BitmapDrawable> { 472 protected class CacheAsyncTask extends AsyncTask<Object, Void, Void> {
|
/development/samples/browseable/WearSpeakerSample/src/com.example.android.wearable.speaker/ |
D | SoundRecorder.java | 25 import android.os.AsyncTask; 57 private AsyncTask<Void, Void, Void> mRecordingAsyncTask; 58 private AsyncTask<Void, Void, Void> mPlayingAsyncTask; 82 mRecordingAsyncTask = new AsyncTask<Void, Void, Void>() { in startRecording() 177 mPlayingAsyncTask = new AsyncTask<Void, Void, Void>() { in startPlay()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | JobWorkService.java | 28 import android.os.AsyncTask; 56 final class CommandProcessor extends AsyncTask<Void, Void, Void> { 115 mCurProcessor.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); in onStartJob()
|
D | LoaderThrottle.java | 39 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()
|
D | PrintCustomContent.java | 23 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/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/pickers/ |
D | PickerActivity.java | 20 import android.os.AsyncTask; 109 private final AsyncTask<Void, Void, String[]> mLoader = new AsyncTask<Void, Void, String[]>() {
|
/development/samples/browseable/NetworkConnect/ |
D | _index.jd | 9 HttpsURLConnection. AsyncTask is used to perform the fetch on a background thread.
|
/development/samples/browseable/StorageClient/src/com.example.android.storageclient/ |
D | StorageClientFragment.java | 26 import android.os.AsyncTask; 187 AsyncTask<Uri, Void, Bitmap> imageLoadAsyncTask = new AsyncTask<Uri, Void, Bitmap>() { in onCreateDialog()
|
/development/samples/MultiDisplay/src/com/example/android/multidisplay/launcher/ |
D | AppListViewModel.java | 26 import android.os.AsyncTask; 70 new AsyncTask<Void, Void, List<AppEntry>>() { in loadData() method
|
D | PinnedAppListViewModel.java | 28 import android.os.AsyncTask; 82 new AsyncTask<Void, Void, List<AppEntry>>() { in loadData() method
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
D | AlbumArtCache.java | 20 import android.os.AsyncTask; 93 new AsyncTask<Void, Void, Bitmap[]>() { in fetch() method
|
/development/samples/ApiDemos/src/com/example/android/apis/security/ |
D | KeyStoreUsage.java | 24 import android.os.AsyncTask; 260 private class UpdateKeyListTask extends AsyncTask<Void, Void, Enumeration<String>> { 300 private class GenerateTask extends AsyncTask<String, Void, Boolean> { 348 private class SignTask extends AsyncTask<String, Void, String> { 410 private class VerifyTask extends AsyncTask<String, Void, Boolean> { 486 private class DeleteTask extends AsyncTask<String, Void, Void> {
|
/development/samples/browseable/BasicRenderScript/src/com.example.android.basicrenderscript/ |
D | MainActivity.java | 22 import android.os.AsyncTask; 120 private class RenderScriptTask extends AsyncTask<Float, Integer, Integer> {
|
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.swiperefreshlayoutbasic/ |
D | SwipeRefreshLayoutBasicFragment.java | 22 import android.os.AsyncTask; 208 private class DummyBackgroundTask extends AsyncTask<Void, Void, List<String>> {
|
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.swiperefreshlistfragment/ |
D | SwipeRefreshListFragmentFragment.java | 22 import android.os.AsyncTask; 205 private class DummyBackgroundTask extends AsyncTask<Void, Void, List<String>> {
|
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.swiperefreshmultipleviews/ |
D | SwipeRefreshMultipleViewsFragment.java | 22 import android.os.AsyncTask; 225 private class DummyBackgroundTask extends AsyncTask<Void, Void, List<String>> {
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | CalendarWatchFaceService.java | 31 import android.os.AsyncTask; 84 private AsyncTask<Void, Void, Integer> mLoadMeetingsTask; 243 private class LoadMeetingsTask extends AsyncTask<Void, Void, Integer> {
|
/development/samples/browseable/MediaRecorder/src/com.example.android.mediarecorder/ |
D | MainActivity.java | 24 import android.os.AsyncTask; 214 class MediaPrepareTask extends AsyncTask<Void, Void, Boolean> {
|
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/ |
D | PhoneMainActivity.java | 28 import android.os.AsyncTask; 99 new AsyncTask<Calendar, Void, Void>() { in showTrack() method
|
/development/samples/ShortcutSample/src/com/example/android/shortcutsample/ |
D | Main.java | 25 import android.os.AsyncTask; 150 new AsyncTask<Void, Void, ShortcutInfo>() { in addUriAsync() method 164 new AsyncTask<Void, Void, Void>() { in addUriAsync() method
|
/development/samples/browseable/GridViewPager/src/com.example.android.wearable.gridviewpager/ |
D | SampleGridPagerAdapter.java | 27 import android.os.AsyncTask; 184 class DrawableLoadingTask extends AsyncTask<Integer, Void, Drawable> {
|