Searched refs:mThumbnail (Results 1 – 5 of 5) sorted by relevance
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
D | PanoramaActivity.java | 148 private Thumbnail mThumbnail; field in PanoramaActivity 810 if (mThumbnail == null) { in initThumbnailButton() 811 mThumbnail = Thumbnail.loadFrom(new File(getFilesDir(), Thumbnail.LAST_THUMB_FILENAME)); in initThumbnailButton() 819 if ((mThumbnail == null || !Util.isUriValid(mThumbnail.getUri(), contentResolver))) { in updateThumbnailButton() 820 mThumbnail = Thumbnail.getLastThumbnail(contentResolver); in updateThumbnailButton() 822 if (mThumbnail != null) { in updateThumbnailButton() 823 mThumbnailView.setBitmap(mThumbnail.getBitmap()); in updateThumbnailButton() 830 if (mThumbnail != null && !mThumbnail.fromFile()) { in saveThumbnailToFile() 831 mThumbnail.saveTo(new File(getFilesDir(), Thumbnail.LAST_THUMB_FILENAME)); in saveThumbnailToFile() 869 mThumbnail = Thumbnail.createThumbnail( in saveHighResMosaic() [all …]
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | VideoCamera.java | 165 private Thumbnail mThumbnail; field in VideoCamera 611 if (!mMediaRecorderRecording && mThumbnail != null) { in onThumbnailClicked() 1001 if (!mIsVideoCaptureIntent && mThumbnail != null && !mThumbnail.fromFile()) { in onPause() 1002 mThumbnail.saveTo(new File(getFilesDir(), Thumbnail.LAST_THUMB_FILENAME)); in onPause() 1639 mThumbnail = new Thumbnail(mCurrentVideoUri, videoFrame, 0); in getThumbnail() 1640 mThumbnailView.setBitmap(mThumbnail.getBitmap()); in getThumbnail() 1760 mThumbnail = Thumbnail.loadFrom(new File(getFilesDir(), Thumbnail.LAST_THUMB_FILENAME)); in initThumbnailButton() 1764 if (mThumbnail == null || !Util.isUriValid(mThumbnail.getUri(), mContentResolver)) { in updateThumbnailButton() 1765 mThumbnail = Thumbnail.getLastThumbnail(mContentResolver); in updateThumbnailButton() 1767 if (mThumbnail != null) { in updateThumbnailButton() [all …]
|
D | Camera.java | 160 private Thumbnail mThumbnail; field in Camera 418 mThumbnail = Thumbnail.loadFrom(new File(getFilesDir(), Thumbnail.LAST_THUMB_FILENAME)); in initThumbnailButton() 424 if ((mThumbnail == null || !Util.isUriValid(mThumbnail.getUri(), mContentResolver)) in updateThumbnailButton() 426 mThumbnail = Thumbnail.getLastThumbnail(mContentResolver); in updateThumbnailButton() 428 if (mThumbnail != null) { in updateThumbnailButton() 429 mThumbnailView.setBitmap(mThumbnail.getBitmap()); in updateThumbnailButton() 983 mThumbnail = t; in updateThumbnail() 984 mThumbnailView.setBitmap(mThumbnail.getBitmap()); in updateThumbnail() 1348 if (isCameraIdle() && mThumbnail != null) { in onThumbnailClicked() 1595 if (!mIsImageCaptureIntent && mThumbnail != null && !mThumbnail.fromFile()) { in onPause() [all …]
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
D | ExifData.java | 47 private byte[] mThumbnail; field in ExifData 62 return mThumbnail; in getCompressedThumbnail() 69 mThumbnail = thumbnail; in setCompressedThumbnail() 76 return mThumbnail != null; in hasCompressedThumbnail() 189 mThumbnail = null; in clearThumbnailAndStrips() 328 !Arrays.equals(data.mThumbnail, mThumbnail)) { in equals()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | SharePopup.java | 59 private ImageView mThumbnail; field in SharePopup 121 mThumbnail = (ImageView) sharePopup.findViewById(R.id.thumbnail); in SharePopup() 122 mThumbnail.setImageBitmap(bitmap); in SharePopup() 184 mThumbnail.setScaleType(ImageView.ScaleType.CENTER_CROP); in setOrientation() 186 mThumbnail.setScaleType(ImageView.ScaleType.FIT_CENTER); in setOrientation() 189 LayoutParams params = mThumbnail.getLayoutParams(); in setOrientation() 197 mThumbnail.setLayoutParams(params); in setOrientation()
|