Home
last modified time | relevance | path

Searched refs:thumbnail (Results 1 – 25 of 28) 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()
DBrowserBookmarksAdapterItem.java23 public BitmapDrawable thumbnail; field in BrowserBookmarksAdapterItem
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()
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()
/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/VideoEditor/src/com/android/videoeditor/
DProjectPickerAdapter.java137 ImageView iv = (ImageView) v.findViewById(R.id.thumbnail); in getView()
138 Bitmap thumbnail; in getView() local
144 thumbnail = renderNewProjectThumbnail(); in getView()
152 thumbnail = getThumbnail(project.getPath(), iv, title, duration); in getView()
155 if (thumbnail != null) { in getView()
156 drawBottomOverlay(thumbnail, title, duration); in getView()
157 iv.setImageBitmap(thumbnail); in getView()
267 final File thumbnail = new File(mProjectPath, VideoEditor.THUMBNAIL_FILENAME); in doInBackground() local
269 if (!thumbnail.exists()) { in doInBackground()
275 thumbnail.getAbsolutePath(), in doInBackground()
DVideoEditorBaseActivity.java459 Bitmap thumbnail, int index, int token, Exception exception) { in onMediaItemThumbnail() argument
473 mediaItemId, thumbnail, index, token); in onMediaItemThumbnail()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMtpImage.java81 byte[] thumbnail = mMtpContext.getMtpClient().getThumbnail( in requestImage()
83 if (thumbnail == null) { in requestImage()
87 return DecodeUtils.decode(jc, thumbnail, null); in requestImage()
/packages/apps/Email/src/com/android/email/provider/
DAttachmentProvider.java194 Bitmap thumbnail = createThumbnail(type, in); in openFile() local
195 if (thumbnail == null) { in openFile()
198 thumbnail = Bitmap.createScaledBitmap(thumbnail, width, height, true); in openFile()
200 thumbnail.compress(Bitmap.CompressFormat.PNG, 100, out); in openFile()
/packages/apps/Mms/src/com/android/mms/ui/
DVideoAttachmentView.java102 public void setVideoThumbnail(String name, Bitmap thumbnail) { in setVideoThumbnail() argument
103 mThumbnailView.setImageBitmap(thumbnail); in setVideoThumbnail()
DSlideListItemView.java134 public void setVideoThumbnail(String name, Bitmap thumbnail) { in setVideoThumbnail() argument
/packages/apps/Camera/src/com/android/camera/
DThumbnail.java155 Thumbnail thumbnail = createThumbnail(uri, bitmap, 0); in getLastThumbnailFromFile() local
156 if (thumbnail != null) thumbnail.setFromFile(true); in getLastThumbnailFromFile()
157 return thumbnail; in getLastThumbnailFromFile()
DActivityBase.java319 protected void onPostExecute(Thumbnail thumbnail) { in onPostExecute() argument
321 mThumbnail = thumbnail; in onPostExecute()
DPanoramaActivity.java685 mThumbnailView = (RotateImageView) findViewById(R.id.thumbnail); in setViews()
DCamera.java1684 mThumbnailView = (RotateImageView) findViewById(R.id.thumbnail); in initializeControlByIntent()
/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()
DCamera.java1137 mThumbnailView = (RotateImageView) findViewById(R.id.thumbnail); in onCreate()
/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/Mms/src/com/android/mms/util/
DThumbnailManager.java130 final Bitmap thumbnail = DEBUG_DISABLE_CACHE ? null : mThumbnailCache.get(uri); in getThumbnail() local
132 final boolean thumbnailExists = (thumbnail != null); in getThumbnail()
139 thumbnail + " callback: " + callback + " thumbnailExists: " + in getThumbnail()
147 ImageLoaded imageLoaded = new ImageLoaded(thumbnail, isVideo); in getThumbnail()
/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/VideoEditor/src/com/android/videoeditor/service/
DApiServiceListener.java253 Bitmap thumbnail, int index, int token, Exception exception) { in onMediaItemThumbnail() argument
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DSharePopup.java121 mThumbnail = (ImageView) sharePopup.findViewById(R.id.thumbnail); in SharePopup()
/packages/apps/Gallery/src/com/android/camera/
DGalleryPicker.java924 (GalleryPickerItem) v.findViewById(R.id.thumbnail);
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java718 mThumbnailView = (RotateImageView) findViewById(R.id.thumbnail); in createContentView()

12