Home
last modified time | relevance | path

Searched refs:BitmapResult (Results 1 – 7 of 7) 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.java11 public static class BitmapResult { class
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DImageUtils.java32 import com.android.ex.photo.loaders.PhotoBitmapLoaderInterface.BitmapResult;
99 public static BitmapResult createLocalBitmap(final ContentResolver resolver, final Uri uri, in createLocalBitmap()
101 final BitmapResult result = new BitmapResult(); in createLocalBitmap()
106 result.status = BitmapResult.STATUS_EXCEPTION; in createLocalBitmap()
113 result.status = BitmapResult.STATUS_SUCCESS; in createLocalBitmap()
119 result.status = BitmapResult.STATUS_EXCEPTION; in createLocalBitmap()
123 result.status = BitmapResult.STATUS_EXCEPTION; in createLocalBitmap()
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
DPhotoViewFragment.java49 import com.android.ex.photo.loaders.PhotoBitmapLoaderInterface.BitmapResult;
59 LoaderManager.LoaderCallbacks<BitmapResult>,
338 public Loader<BitmapResult> onCreateLoader(int id, Bundle args) { in onCreateLoader()
355 public void onLoadFinished(Loader<BitmapResult> loader, BitmapResult result) { in onLoadFinished()
409 private void displayPhoto(BitmapResult result) { in displayPhoto()
411 if (result.status == BitmapResult.STATUS_EXCEPTION) { in displayPhoto()
454 public void onLoaderReset(Loader<BitmapResult> loader) { in onLoaderReset()
551 final Loader<BitmapResult> fakePhotoLoader = manager.getLoader( in onCursorChanged()
561 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;
87 public Loader<BitmapResult> onCreateBitmapLoader(int id, Bundle args, String uri); in onCreateBitmapLoader()
/frameworks/opt/photoviewer/activity/src/com/android/ex/photo/
DPhotoViewActivity.java59 import com.android.ex.photo.loaders.PhotoBitmapLoaderInterface.BitmapResult;
404 public Loader<BitmapResult> onCreateBitmapLoader(int id, Bundle args, String uri) { in onCreateBitmapLoader()
1026 private class BitmapCallback implements LoaderManager.LoaderCallbacks<BitmapResult> {
1029 public Loader<BitmapResult> onCreateLoader(int id, Bundle args) { in onCreateLoader()
1043 public void onLoadFinished(Loader<BitmapResult> loader, BitmapResult result) { in onLoadFinished()
1068 public void onLoaderReset(Loader<BitmapResult> loader) { in onLoaderReset()
/frameworks/opt/photoviewer/appcompat/src/com/android/ex/photo/
DPhotoViewActivity.java58 import com.android.ex.photo.loaders.PhotoBitmapLoaderInterface.BitmapResult;
403 public Loader<BitmapResult> onCreateBitmapLoader(int id, Bundle args, String uri) { in onCreateBitmapLoader()
1025 private class BitmapCallback implements LoaderManager.LoaderCallbacks<BitmapResult> {
1028 public Loader<BitmapResult> onCreateLoader(int id, Bundle args) { in onCreateLoader()
1042 public void onLoadFinished(Loader<BitmapResult> loader, BitmapResult result) { in onLoadFinished()
1067 public void onLoaderReset(Loader<BitmapResult> loader) { in onLoaderReset()