Lines Matching refs:mTask
129 volatile LoadTask mTask;
164 mTask = new LoadTask();
165 if (DEBUG) Log.v(TAG, "Preparing load: mTask=" + mTask);
171 if (DEBUG) Log.v(TAG, "onCancelLoad: mTask=" + mTask);
172 if (mTask != null) {
181 if (mTask.waiting) {
182 mTask.waiting = false;
183 mHandler.removeCallbacks(mTask);
185 mTask = null;
187 } else if (mTask.waiting) {
191 mTask.waiting = false;
192 mHandler.removeCallbacks(mTask);
193 mTask = null;
196 boolean cancelled = mTask.cancel(false);
199 mCancellingTask = mTask;
202 mTask = null;
220 if (mCancellingTask == null && mTask != null) {
221 if (mTask.waiting) {
222 mTask.waiting = false;
223 mHandler.removeCallbacks(mTask);
231 + " to execute: " + mTask);
232 mTask.waiting = true;
233 mHandler.postAtTime(mTask, mLastLoadCompleteTime+mUpdateThrottle);
237 if (DEBUG) Log.v(TAG, "Executing: " + mTask);
238 mTask.executeOnExecutor(mExecutor, (Void[]) null);
256 if (mTask != task) {
266 mTask = null;
354 LoadTask task = mTask;
363 if (mTask != null) {
364 writer.print(prefix); writer.print("mTask="); writer.print(mTask);
365 writer.print(" waiting="); writer.println(mTask.waiting);