Home
last modified time | relevance | path

Searched refs:thumbnail (Results 1 – 25 of 43) sorted by relevance

12

/packages/apps/Browser/src/com/android/browser/
DBrowserBookmarksAdapter.java96 if (item.thumbnail == null || !item.has_thumbnail) { in bindGridView()
99 thumb.setImageDrawable(item.thumbnail); in bindGridView()
111 Bitmap thumbnail = item.thumbnail != null ? item.thumbnail.getBitmap() : null; in getRowObject() local
112 thumbnail = BrowserBookmarksPage.getBitmap(c, in getRowObject()
113 BookmarksLoader.COLUMN_INDEX_THUMBNAIL, thumbnail); in getRowObject()
114 item.has_thumbnail = thumbnail != null; in getRowObject()
115 if (thumbnail != null in getRowObject()
116 && (item.thumbnail == null || item.thumbnail.getBitmap() != thumbnail)) { in getRowObject()
117 item.thumbnail = new BitmapDrawable(mContext.getResources(), thumbnail); in getRowObject()
DAddBookmarkPage.java763 Bitmap thumbnail = invalidateThumbnail ? null in run() local
771 title, thumbnail, mCurrentFolder); in run()
918 Bitmap thumbnail; in save() local
921 thumbnail = (Bitmap) mMap.getParcelable( in save()
926 thumbnail = null; in save()
948 bundle.putParcelable(BrowserContract.Bookmarks.THUMBNAIL, thumbnail); in save()
DBrowserSnapshotPage.java271 ImageView thumbnail = (ImageView) view.findViewById(R.id.thumb); in bindView() local
274 thumbnail.setImageResource(R.drawable.browser_thumbnail); in bindView()
278 thumbnail.setImageBitmap(thumbBitmap); in bindView()
DBookmarks.java70 String name, Bitmap thumbnail, long parent) { in addBookmark() argument
79 bitmapToBytes(thumbnail)); in addBookmark()
DBrowserBookmarksAdapterItem.java23 public BitmapDrawable thumbnail; field in BrowserBookmarksAdapterItem
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperListAdapter.java105 holder.thumbnail = (ImageView) convertView.findViewById(R.id.thumbnail); in getView()
112 if (holder.thumbnail != null) { in getView()
113 holder.thumbnail.setImageDrawable(wallpaperInfo.thumbnail); in getView()
118 if (holder.thumbnail == null) { in getView()
119 holder.title.setCompoundDrawablesWithIntrinsicBounds(null, wallpaperInfo.thumbnail, in getView()
128 public Drawable thumbnail; field in LiveWallpaperListAdapter.LiveWallpaperInfo
135 ImageView thumbnail; field in LiveWallpaperListAdapter.ViewHolder
199 Bitmap thumbnail = Bitmap.createBitmap(thumbWidth, thumbHeight, in doInBackground() local
203 canvas.setBitmap(thumbnail); in doInBackground()
220 thumb = new BitmapDrawable(res, thumbnail); in doInBackground()
[all …]
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DFileImageRequest.java50 byte[] thumbnail = null; in loadBitmapInternal()
54 thumbnail = exif.getThumbnail(); in loadBitmapInternal()
60 if (thumbnail != null) { in loadBitmapInternal()
65 BitmapFactory.decodeByteArray(thumbnail, 0, thumbnail.length, options); in loadBitmapInternal()
88 return BitmapFactory.decodeByteArray(thumbnail, 0, thumbnail.length, in loadBitmapInternal()
93 return bitmapPool.decodeByteArray(thumbnail, options, sampledWidth, in loadBitmapInternal()
/packages/apps/Email/provider_src/com/android/email/provider/
DAttachmentProvider.java198 Bitmap thumbnail = createThumbnail(type, in); in openFile() local
199 if (thumbnail == null) { in openFile()
202 thumbnail = Bitmap.createScaledBitmap(thumbnail, width, height, true); in openFile()
204 thumbnail.compress(Bitmap.CompressFormat.PNG, 100, out); in openFile()
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/
DMostRecentImageSaver.java72 ImageProxy thumbnail = getThumbnail(fullSize.getTimestamp()); in close() local
73 if (thumbnail != null) { in close()
76 mThumbnails.remove(thumbnail.getTimestamp()); in close()
79 mSingleImageSaver.saveAndCloseImage(fullSize, Optional.fromNullable(thumbnail), in close()
DJpegImageBackendImageSaver.java75 public void saveAndCloseImage(ImageProxy image, Optional<ImageProxy> thumbnail, in saveAndCloseImage() argument
79 if (thumbnail.isPresent()) { in saveAndCloseImage()
80 thumbnail.get().close(); in saveAndCloseImage()
DYuvImageBackendImageSaver.java74 public void saveAndCloseImage(ImageProxy image, Optional<ImageProxy> thumbnail, in saveAndCloseImage() argument
78 if (thumbnail.isPresent()) { in saveAndCloseImage()
79 thumbnail.get().close(); in saveAndCloseImage()
DSingleImageSaver.java34 public void saveAndCloseImage(ImageProxy fullSize, Optional<ImageProxy> thumbnail, in saveAndCloseImage() argument
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
DWallpaperPickerActivity.java746 FrameLayout thumbnail = (FrameLayout) adapter.getView(i, null, parent); in populateWallpapersFromAdapter() local
747 parent.addView(thumbnail, i); in populateWallpapersFromAdapter()
749 thumbnail.setTag(info); in populateWallpapersFromAdapter()
750 info.setView(thumbnail); in populateWallpapersFromAdapter()
752 addLongPressHandler(thumbnail); in populateWallpapersFromAdapter()
754 thumbnail.setOnClickListener(mThumbnailOnClickListener); in populateWallpapersFromAdapter()
959 File thumbnail = new File(systemDir, name + "_small" + extension); in findBundledWallpapers() local
960 Bitmap thumb = BitmapFactory.decodeFile(thumbnail.getAbsolutePath()); in findBundledWallpapers()
DLiveWallpaperListAdapter.java115 public LiveWallpaperTile(Drawable thumbnail, WallpaperInfo info, Intent intent) { in LiveWallpaperTile() argument
116 mThumbnail = thumbnail; in LiveWallpaperTile()
DSavedWallpaperImages.java156 public void writeImage(Bitmap thumbnail, byte[] imageBytes) { in writeImage() argument
167 thumbnail.compress(Bitmap.CompressFormat.JPEG, 95, thumbFileStream); in writeImage()
/packages/apps/Gallery2/src/com/android/photos/drawables/
DDataUriThumbnailDrawable.java31 byte[] thumbnail = null; in getPreferredImageBytes()
35 thumbnail = exif.getThumbnail(); in getPreferredImageBytes()
38 return thumbnail; in getPreferredImageBytes()
/packages/apps/LegacyCamera/src/com/android/camera/
DThumbnail.java150 Thumbnail thumbnail = createThumbnail(uri, bitmap, 0); in loadFrom() local
151 if (thumbnail != null) thumbnail.setFromFile(true); in loadFrom()
152 return thumbnail; in loadFrom()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaThumbRequest.java108 Uri updateDatabase(Bitmap thumbnail) {
123 values.put(Images.Thumbnails.WIDTH, thumbnail.getWidth());
124 values.put(Images.Thumbnails.HEIGHT, thumbnail.getHeight());
/packages/apps/Browser/src/com/android/browser/widget/
DBookmarkThumbnailWidgetService.java255 Bitmap thumbnail = null, favicon = null; in getViewAt() local
259 thumbnail = BitmapFactory.decodeByteArray( in getViewAt()
261 views.setImageViewBitmap(R.id.thumb, thumbnail); in getViewAt()
/packages/apps/Camera2/src/com/android/camera/exif/
DExifData.java68 protected void setCompressedThumbnail(byte[] thumbnail) { in setCompressedThumbnail() argument
69 mThumbnail = thumbnail; in setCompressedThumbnail()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifData.java69 protected void setCompressedThumbnail(byte[] thumbnail) { in setCompressedThumbnail() argument
70 mThumbnail = thumbnail; in setCompressedThumbnail()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
DExifData.java68 protected void setCompressedThumbnail(byte[] thumbnail) { in setCompressedThumbnail() argument
69 mThumbnail = thumbnail; in setCompressedThumbnail()
/packages/apps/Camera2/src/com/android/camera/session/
DCaptureSessionManagerImpl.java214 public void notifySessionThumbnailAvailable(final Bitmap thumbnail) { in notifySessionThumbnailAvailable() argument
220 listener.onSessionThumbnailUpdate(thumbnail); in notifySessionThumbnailAvailable()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifData.java68 protected void setCompressedThumbnail(byte[] thumbnail) { in setCompressedThumbnail() argument
69 mThumbnail = thumbnail; in setCompressedThumbnail()
/packages/apps/Camera2/src/com/android/camera/data/
DPhotoItem.java210 .thumbnail(renderTinySize(uri)); in renderScreenSize()
216 .thumbnail(renderScreenSize(uri)); in renderFullSize()

12