Home
last modified time | relevance | path

Searched refs:AsyncTask (Results 1 – 25 of 45) 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.java103 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/
DSoundRecorder.java25 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/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;
187 AsyncTask<Uri, Void, Bitmap> imageLoadAsyncTask = new AsyncTask<Uri, Void, Bitmap>() { in onCreateDialog()
/development/samples/browseable/NetworkConnect/
D_index.jd9 HttpURLConnection. AsyncTask is used to perform the fetch on a background thread.
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DAlbumArtCache.java20 import android.os.AsyncTask;
93 new AsyncTask<Void, Void, Bitmap[]>() { in fetch() method
/development/samples/Support4Demos/src/com/example/android/supportv4/media/
DAlbumArtCache.java20 import android.os.AsyncTask;
93 new AsyncTask<Void, Void, Bitmap[]>() { in fetch() method
/development/samples/ApiDemos/src/com/example/android/apis/security/
DKeyStoreUsage.java24 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/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/SupportLeanbackDemos/src/com/example/android/leanback/
DBackgroundHelper.java23 import android.os.AsyncTask;
74 class LoadBitmapTask extends AsyncTask<Request, Object, Request> {
/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/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/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/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DCalendarWatchFaceService.java31 import android.os.AsyncTask;
84 private AsyncTask<Void, Void, Integer> mLoadMeetingsTask;
243 private class LoadMeetingsTask extends AsyncTask<Void, Void, Integer> {
/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/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/
DPhoneMainActivity.java27 import android.os.AsyncTask;
96 new AsyncTask<Calendar, Void, Void>() { in showTrack() method
/development/samples/browseable/MediaRecorder/src/com.example.android.mediarecorder/
DMainActivity.java24 import android.os.AsyncTask;
214 class MediaPrepareTask extends AsyncTask<Void, Void, Boolean> {
/development/samples/browseable/GridViewPager/src/com.example.android.wearable.gridviewpager/
DSampleGridPagerAdapter.java27 import android.os.AsyncTask;
184 class DrawableLoadingTask extends AsyncTask<Integer, Void, Drawable> {

12