Home
last modified time | relevance | path

Searched refs:BitmapResult (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/
DPhotoBitmapLoader.java28 import com.android.ex.photo.loaders.PhotoBitmapLoaderInterface.BitmapResult;
34 public class PhotoBitmapLoader extends AsyncTaskLoader<BitmapResult>
50 public BitmapResult loadInBackground() { in loadInBackground()
51 BitmapResult result = new BitmapResult(); in loadInBackground()
63 result.status = BitmapResult.STATUS_EXCEPTION; in loadInBackground()
76 public void deliverResult(BitmapResult result) { in deliverResult()
111 BitmapResult result = new BitmapResult(); in onStartLoading()
112 result.status = BitmapResult.STATUS_SUCCESS; in onStartLoading()
136 public void onCanceled(BitmapResult result) { in onCanceled()
DPhotoBitmapLoaderInterface.java14 public static class BitmapResult { class
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DImageUtils.java32 import com.android.ex.photo.loaders.PhotoBitmapLoaderInterface.BitmapResult;
96 public static BitmapResult createLocalBitmap(final ContentResolver resolver, final Uri uri, in createLocalBitmap()
98 final BitmapResult result = new BitmapResult(); in createLocalBitmap()
103 result.status = BitmapResult.STATUS_EXCEPTION; in createLocalBitmap()
110 result.status = BitmapResult.STATUS_SUCCESS; in createLocalBitmap()
116 result.status = BitmapResult.STATUS_EXCEPTION; in createLocalBitmap()
120 result.status = BitmapResult.STATUS_EXCEPTION; in createLocalBitmap()
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
DPhotoViewFragment.java48 import com.android.ex.photo.loaders.PhotoBitmapLoaderInterface.BitmapResult;
56 LoaderManager.LoaderCallbacks<BitmapResult>,
323 public Loader<BitmapResult> onCreateLoader(int id, Bundle args) { in onCreateLoader()
340 public void onLoadFinished(Loader<BitmapResult> loader, BitmapResult result) { in onLoadFinished()
397 private void displayPhoto(BitmapResult result) { in displayPhoto()
398 if (result.status == BitmapResult.STATUS_EXCEPTION) { in displayPhoto()
438 public void onLoaderReset(Loader<BitmapResult> loader) { in onLoaderReset()
540 final Loader<BitmapResult> fakePhotoLoader = manager.getLoader( in onCursorChanged()
550 final Loader<BitmapResult> fakeThumbnailLoader = manager.getLoader( in onCursorChanged()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewCallbacks.java10 import com.android.ex.photo.loaders.PhotoBitmapLoaderInterface.BitmapResult;
95 public Loader<BitmapResult> onCreateBitmapLoader(int id, Bundle args, String uri); in onCreateBitmapLoader()
DPhotoViewController.java46 import com.android.ex.photo.loaders.PhotoBitmapLoaderInterface.BitmapResult;
577 public Loader<BitmapResult> onCreateBitmapLoader(int id, Bundle args, String uri) { in onCreateBitmapLoader()
1256 private class BitmapCallback implements LoaderManager.LoaderCallbacks<BitmapResult> {
1259 public Loader<BitmapResult> onCreateLoader(int id, Bundle args) { in onCreateLoader()
1273 public void onLoadFinished(Loader<BitmapResult> loader, BitmapResult result) { in onLoadFinished()
1293 public void onLoaderReset(Loader<BitmapResult> loader) { in onLoaderReset()