Searched refs:thumb (Results 1 - 18 of 18) sorted by relevance

/packages/apps/MusicFX/src/com/android/musicfx/seekbar/
H A DAbsSeekBar.java72 Drawable thumb = a.getDrawable(com.android.internal.R.styleable.SeekBar_thumb);
73 setThumb(thumb); // will guess mThumbOffset if thumb != null...
89 * Sets the thumb that will be drawn at the end of the progress meter within the SeekBar.
91 * If the thumb is a valid drawable (i.e. not null), half its width will be
92 * used as the new thumb offset (@see #setThumbOffset(int)).
94 * @param thumb Drawable representing the thumb
96 public void setThumb(Drawable thumb) { argument
101 if (mThumb != null && thumb !
308 setThumbPos(int w, int h, Drawable thumb, float scale, int gap) argument
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DBrowserBookmarksAdapter.java85 ImageView thumb = (ImageView) view.findViewById(R.id.thumb);
91 thumb.setImageResource(R.drawable.thumb_bookmark_widget_folder_holo);
92 thumb.setScaleType(ScaleType.FIT_END);
93 thumb.setBackground(null);
95 thumb.setScaleType(ScaleType.CENTER_CROP);
97 thumb.setImageResource(R.drawable.browser_thumbnail);
99 thumb.setImageDrawable(item.thumbnail);
101 thumb.setBackgroundResource(R.drawable.border_thumb_bookmarks_widget_holo);
H A DPieControl.java321 ImageView thumb = (ImageView) view.findViewById(R.id.thumb);
326 thumb.setImageBitmap(b);
H A DBrowserSnapshotPage.java271 ImageView thumbnail = (ImageView) view.findViewById(R.id.thumb);
/packages/apps/Browser/src/com/android/browser/preferences/
H A DInvertedContrastPreview.java61 for (String thumb : THUMBS) {
62 if (TextUtils.isEmpty(thumb)) {
68 builder.append(thumb);
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
H A DWallpaperPickerActivity.java183 Bitmap thumb = createThumbnail(
185 a.getSavedImages().writeImage(thumb, imageBytes);
203 public FileWallpaperInfo(File target, Drawable thumb) { argument
205 mThumb = thumb;
231 public ResourceWallpaperInfo(Resources res, int resId, Drawable thumb) { argument
234 mThumb = thumb;
271 public DefaultWallpaperInfo(Drawable thumb) { argument
272 mThumb = thumb;
693 Bitmap thumb = null;
697 thumb
1151 createImageTileView(LayoutInflater layoutInflater, View convertView, ViewGroup parent, Drawable thumb) argument
[all...]
H A DSavedWallpaperImages.java52 public SavedWallpaperTile(int dbId, File target, Drawable thumb) { argument
53 super(target, thumb);
90 Bitmap thumb = BitmapFactory.decodeFile(file.getAbsolutePath());
91 if (thumb != null) {
94 new BitmapDrawable(thumb)));
H A DLiveWallpaperListAdapter.java173 Drawable thumb = info.loadThumbnail(packageManager);
176 LiveWallpaperTile wallpaper = new LiveWallpaperTile(thumb, info, launchIntent);
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
H A DLiveWallpaperListAdapter.java192 Drawable thumb = info.loadThumbnail(packageManager);
193 if (thumb == null) {
220 thumb = new BitmapDrawable(res, thumbnail);
222 wallpaper.thumbnail = thumb;
/packages/apps/Browser/src/com/android/browser/widget/
H A DBookmarkThumbnailWidgetService.java245 views.setImageViewResource(R.id.thumb, R.drawable.thumb_bookmark_widget_folder_back_holo);
247 views.setImageViewResource(R.id.thumb, R.drawable.thumb_bookmark_widget_folder_holo);
250 views.setDrawableParameters(R.id.thumb, true, 0, -1, null, -1);
257 views.setDrawableParameters(R.id.thumb, true, 255, -1, null, -1);
261 views.setImageViewBitmap(R.id.thumb, thumbnail);
263 views.setImageViewResource(R.id.thumb,
/packages/apps/Settings/src/com/android/settings/
H A DActivityPicker.java389 final Bitmap thumb = Bitmap.createBitmap(mIconWidth, mIconHeight, c);
391 canvas.setBitmap(thumb);
404 icon = new BitmapDrawable(thumb);
409 final Bitmap thumb = Bitmap.createBitmap(mIconWidth, mIconHeight, c);
411 canvas.setBitmap(thumb);
419 icon = new BitmapDrawable(thumb);
/packages/apps/Browser/src/com/android/browser/homepages/
H A DRequestHandler.java137 byte[] thumb = cursor.getBlob(2);
138 stream.write(Base64.encode(thumb, Base64.DEFAULT));
/packages/apps/Gallery/src/com/android/camera/
H A DGalleryPicker.java340 // the thumb bitmaps. (Generating thumbnail bitmaps takes some time.)
708 Bitmap thumb = Bitmap.createBitmap(imageWidth, imageHeight,
710 Canvas tempCanvas = new Canvas(thumb);
717 placeImage(thumb, c, pdpaint, imageWidth, padding, imageHeight,
720 thumb.recycle();
/packages/apps/Camera2/src/com/android/camera/exif/
H A DExifInterface.java1756 byte[] thumb = mData.getCompressedThumbnail();
1757 return BitmapFactory.decodeByteArray(thumb, 0, thumb.length);
1814 * @param thumb a byte array containing a jpeg compressed image.
1817 public boolean setCompressedThumbnail(byte[] thumb) { argument
1819 mData.setCompressedThumbnail(thumb);
1827 * @param thumb a bitmap to compress to a jpeg thumbnail.
1830 public boolean setCompressedThumbnail(Bitmap thumb) { argument
1832 if (!thumb.compress(Bitmap.CompressFormat.JPEG, 90, thumbnail)) {
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
H A DExifInterface.java1756 byte[] thumb = mData.getCompressedThumbnail();
1757 return BitmapFactory.decodeByteArray(thumb, 0, thumb.length);
1814 * @param thumb a byte array containing a jpeg compressed image.
1817 public boolean setCompressedThumbnail(byte[] thumb) { argument
1819 mData.setCompressedThumbnail(thumb);
1827 * @param thumb a bitmap to compress to a jpeg thumbnail.
1830 public boolean setCompressedThumbnail(Bitmap thumb) { argument
1832 if (!thumb.compress(Bitmap.CompressFormat.JPEG, 90, thumbnail)) {
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
H A DExifInterface.java1756 byte[] thumb = mData.getCompressedThumbnail();
1757 return BitmapFactory.decodeByteArray(thumb, 0, thumb.length);
1814 * @param thumb a byte array containing a jpeg compressed image.
1817 public boolean setCompressedThumbnail(byte[] thumb) { argument
1819 mData.setCompressedThumbnail(thumb);
1827 * @param thumb a bitmap to compress to a jpeg thumbnail.
1830 public boolean setCompressedThumbnail(Bitmap thumb) { argument
1832 if (!thumb.compress(Bitmap.CompressFormat.JPEG, 90, thumbnail)) {
/packages/apps/Mms/src/com/android/mms/exif/
H A DExifInterface.java1756 byte[] thumb = mData.getCompressedThumbnail();
1757 return BitmapFactory.decodeByteArray(thumb, 0, thumb.length);
1814 * @param thumb a byte array containing a jpeg compressed image.
1817 public boolean setCompressedThumbnail(byte[] thumb) { argument
1819 mData.setCompressedThumbnail(thumb);
1827 * @param thumb a bitmap to compress to a jpeg thumbnail.
1830 public boolean setCompressedThumbnail(Bitmap thumb) { argument
1832 if (!thumb.compress(Bitmap.CompressFormat.JPEG, 90, thumbnail)) {
/packages/apps/Browser/src/com/android/browser/provider/
H A DBrowserProvider2.java688 byte[] thumb = null, favicon = null;
690 thumb = readRaw(res, thumbId);
697 if (thumb != null || favicon != null) {
703 if (thumb != null) {
704 imageValues.put(Images.THUMBNAIL, thumb);

Completed in 685 milliseconds