/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
BitmapLoader.java | 44 // mTask is not null only when a task is on the way 45 private Future<Bitmap> mTask; 51 mTask = null; 61 if (mState == STATE_REQUESTED) mTask = submitBitmapTask(this); 73 if (mTask == null) mTask = submitBitmapTask(this); 80 if (mTask != null) mTask.cancel(); 91 if (mTask != null) mTask.cancel() [all...] |
MenuExecutor.java | 61 private Future<?> mTask; 133 if (mTask != null) { 134 if (!mWaitOnStop) mTask.cancel(); 137 mTask = null; 346 mTask = mActivity.getBatchServiceThreadPoolIfAvailable().submit(operation, null); 355 mTask = mActivity.getBatchServiceThreadPoolIfAvailable().submit(operation, null);
|
/frameworks/base/core/java/android/content/ |
AsyncTaskLoader.java | 129 volatile LoadTask mTask; 164 mTask = new LoadTask(); 165 if (DEBUG) Slog.v(TAG, "Preparing load: mTask=" + mTask); 171 if (DEBUG) Slog.v(TAG, "onCancelLoad: mTask=" + mTask); 172 if (mTask != null) { 178 if (mTask.waiting) { 179 mTask.waiting = false; 180 mHandler.removeCallbacks(mTask); [all...] |
/frameworks/support/v4/java/android/support/v4/content/ |
AsyncTaskLoader.java | 84 volatile LoadTask mTask; 113 mTask = new LoadTask(); 114 if (DEBUG) Log.v(TAG, "Preparing load: mTask=" + mTask); 135 if (DEBUG) Log.v(TAG, "cancelLoad: mTask=" + mTask); 136 if (mTask != null) { 142 if (mTask.waiting) { 143 mTask.waiting = false; 144 mHandler.removeCallbacks(mTask); [all...] |
ModernAsyncTask.java | 474 result.mTask.finish(result.mData[0]); 477 result.mTask.onProgressUpdate(result.mData); 489 final ModernAsyncTask mTask; 493 mTask = task;
|
/cts/tests/tests/holo/src/android/holo/cts/ |
AllThemesIterator.java | 31 private final int mTask; 37 mTask = task; 53 intent.putExtra(LayoutTestActivity.EXTRA_TASK, mTask);
|
SingleLayoutIterator.java | 30 private final int mTask; 36 mTask = task; 51 intent.putExtra(LayoutTestActivity.EXTRA_TASK, mTask);
|
SingleThemeIterator.java | 30 private final int mTask; 36 mTask = task; 52 intent.putExtra(LayoutTestActivity.EXTRA_TASK, mTask);
|
SingleThemeLayoutIterator.java | 27 private final int mTask; 35 mTask = task; 49 intent.putExtra(LayoutTestActivity.EXTRA_TASK, mTask);
|
/frameworks/base/libs/hwui/thread/ |
TaskManager.h | 68 TaskWrapper(): mTask(), mProcessor() { } 71 mTask(task), mProcessor(processor) { 74 sp<TaskBase> mTask;
|
TaskManager.cpp | 91 task.mProcessor->process(task.mTask);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
AlarmService_Service.java | 55 Thread thr = new Thread(null, mTask, "AlarmService_Service"); 71 Runnable mTask = new Runnable() {
|
NotifyingService.java | 54 Thread notifyingThread = new Thread(null, mTask, "NotifyingService"); 67 private Runnable mTask = new Runnable() {
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
SinglePhotoDataAdapter.java | 48 private Future<?> mTask; 152 if (mTask == null) { 154 mTask = mThreadPool.submit( 157 mTask = mThreadPool.submit( 166 Future<?> task = mTask; 170 mTask = null;
|
/development/apps/GestureBuilder/src/com/android/gesture/builder/ |
GestureBuilderActivity.java | 81 private GesturesLoadTask mTask; 135 if (mTask != null && mTask.getStatus() != GesturesLoadTask.Status.FINISHED) { 136 mTask.cancel(true); 138 mTask = (GesturesLoadTask) new GesturesLoadTask().execute(); 145 if (mTask != null && mTask.getStatus() != GesturesLoadTask.Status.FINISHED) { 146 mTask.cancel(true); 147 mTask = null;
|
/frameworks/base/libs/hwui/ |
PathCache.h | 82 return mTask; 86 mTask = task; 90 if (mTask != NULL) { 91 mTask.clear(); 96 sp<Task<SkBitmap*> > mTask;
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
ServiceProxy.java | 52 private ProxyTask mTask; 114 mTask.run(); 165 mTask = task;
|
/packages/apps/Email/tests/src/com/android/email/ |
ThrottleTest.java | 173 public TimerTask mTask; 189 e.mTask = task; 204 e.mTask.run();
|
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ |
AttachmentDrawable.java | 51 private DecodeTask mTask; 160 if (mTask != null) { 161 mTask.cancel(); 162 mTask = null; 371 if (mTask != null) { 372 mTask.cancel(); 377 mTask = new DecodeTask(mCurrKey, w, bufferH, bufferW, bufferH, this, mCache); 378 mTask.executeOnExecutor(EXECUTOR);
|
/development/samples/training/bitmapfun/src/com/example/android/bitmapfun/util/ |
AsyncTask.java | 670 result.mTask.finish(result.mData[0]); 673 result.mTask.onProgressUpdate(result.mData); 685 final AsyncTask mTask; 689 mTask = task;
|
/frameworks/base/core/java/android/os/ |
AsyncTask.java | 645 result.mTask.finish(result.mData[0]); 648 result.mTask.onProgressUpdate(result.mData); 660 final AsyncTask mTask; 664 mTask = task;
|
Handler.java | 743 private final Runnable mTask; 747 mTask = task; 753 mTask.run();
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
TestDocumentsProvider.java | 150 private WeakReference<CloudTask> mTask; 237 CloudTask task = mTask != null ? mTask.get() : null; 241 mTask = new WeakReference<CloudTask>(task); 248 while (mTask.get() != null) {
|
/development/apps/Development/src/com/android/development/ |
PackageSummary.java | 54 private TextView mTask; 79 mTask = (TextView)findViewById(R.id.task); 131 mTask.setText("\"" + info.applicationInfo.taskAffinity + "\""); 133 mTask.setText("(No Task Affinity)");
|
/frameworks/base/services/java/com/android/server/power/ |
DisplayPowerState.java | 355 AsyncTask.THREAD_POOL_EXECUTOR.execute(mTask); 372 private final Runnable mTask = new Runnable() {
|