Searched refs:photoBitmap (Results 1 - 2 of 2) sorted by relevance

/frameworks/ex/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java389 * @param photoBitmap the bitmap to bind.
391 public void bindPhoto(Bitmap photoBitmap) { argument
395 if (photoBitmap == drawableBitmap) {
400 changed = photoBitmap != null &&
401 (mDrawable.getIntrinsicWidth() != photoBitmap.getWidth() ||
402 mDrawable.getIntrinsicHeight() != photoBitmap.getHeight());
409 if (mDrawable == null && photoBitmap != null) {
410 mDrawable = new BitmapDrawable(getResources(), photoBitmap);
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java391 * @param photoBitmap the bitmap to bind.
393 public void bindPhoto(Bitmap photoBitmap) { argument
397 if (photoBitmap == drawableBitmap) {
402 changed = photoBitmap != null &&
403 (mDrawable.getIntrinsicWidth() != photoBitmap.getWidth() ||
404 mDrawable.getIntrinsicHeight() != photoBitmap.getHeight());
411 if (mDrawable == null && photoBitmap != null) {
412 mDrawable = new BitmapDrawable(getResources(), photoBitmap);

Completed in 70 milliseconds