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>,
321 public Loader<BitmapResult> onCreateLoader(int id, Bundle args) { in onCreateLoader()
338 public void onLoadFinished(Loader<BitmapResult> loader, BitmapResult result) { in onLoadFinished()
395 private void displayPhoto(BitmapResult result) { in displayPhoto()
396 if (result.status == BitmapResult.STATUS_EXCEPTION) { in displayPhoto()
445 public void onLoaderReset(Loader<BitmapResult> loader) { in onLoaderReset()
547 final Loader<BitmapResult> fakePhotoLoader = manager.getLoader( in onCursorChanged()
557 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.java44 import com.android.ex.photo.loaders.PhotoBitmapLoaderInterface.BitmapResult;
511 public Loader<BitmapResult> onCreateBitmapLoader(int id, Bundle args, String uri) { in onCreateBitmapLoader()
1163 private class BitmapCallback implements LoaderManager.LoaderCallbacks<BitmapResult> {
1166 public Loader<BitmapResult> onCreateLoader(int id, Bundle args) { in onCreateLoader()
1180 public void onLoadFinished(Loader<BitmapResult> loader, BitmapResult result) { in onLoadFinished()
1200 public void onLoaderReset(Loader<BitmapResult> loader) { in onLoaderReset()