HomeSort by relevance Sort by last modified time
    Searched refs:mPhotoTask (Results 1 - 2 of 2) sorted by null

  /development/samples/training/threadsample/src/com/example/android/threadsample/
PhotoDecodeRunnable.java 50 final TaskRunnableDecodeMethods mPhotoTask;
105 mPhotoTask = downloadTask;
118 mPhotoTask.setImageDecodeThread(Thread.currentThread());
124 byte[] imageBuffer = mPhotoTask.getByteBuffer();
139 mPhotoTask.handleDecodeState(DECODE_STATE_STARTED);
149 int targetWidth = mPhotoTask.getTargetWidth();
150 int targetHeight = mPhotoTask.getTargetHeight();
265 mPhotoTask.handleDecodeState(DECODE_STATE_FAILED);
273 mPhotoTask.setImage(returnBitmap);
276 mPhotoTask.handleDecodeState(DECODE_STATE_COMPLETED)
    [all...]
PhotoDownloadRunnable.java 51 final TaskRunnableDownloadMethods mPhotoTask;
100 mPhotoTask = photoTask;
114 mPhotoTask.setDownloadThread(Thread.currentThread());
123 byte[] byteBuffer = mPhotoTask.getByteBuffer();
145 mPhotoTask.handleDownloadState(HTTP_STATE_STARTED);
155 (HttpURLConnection) mPhotoTask.getImageURL().openConnection();
359 mPhotoTask.setByteBuffer(byteBuffer);
366 mPhotoTask.handleDownloadState(HTTP_STATE_COMPLETED);
378 mPhotoTask.handleDownloadState(HTTP_STATE_FAILED);
389 mPhotoTask.setDownloadThread(null)
    [all...]

Completed in 420 milliseconds