/packages/apps/MusicFX/src/com/android/musicfx/seekbar/ |
H A D | AbsSeekBar.java | 72 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 D | BrowserBookmarksAdapter.java | 85 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 D | PieControl.java | 321 ImageView thumb = (ImageView) view.findViewById(R.id.thumb); 326 thumb.setImageBitmap(b);
|
H A D | BrowserSnapshotPage.java | 271 ImageView thumbnail = (ImageView) view.findViewById(R.id.thumb);
|
/packages/apps/Browser/src/com/android/browser/preferences/ |
H A D | InvertedContrastPreview.java | 61 for (String thumb : THUMBS) { 62 if (TextUtils.isEmpty(thumb)) { 68 builder.append(thumb);
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
H A D | WallpaperPickerActivity.java | 183 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 D | SavedWallpaperImages.java | 52 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 D | LiveWallpaperListAdapter.java | 173 Drawable thumb = info.loadThumbnail(packageManager); 176 LiveWallpaperTile wallpaper = new LiveWallpaperTile(thumb, info, launchIntent);
|
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
H A D | LiveWallpaperListAdapter.java | 192 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 D | BookmarkThumbnailWidgetService.java | 245 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 D | ActivityPicker.java | 389 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 D | RequestHandler.java | 137 byte[] thumb = cursor.getBlob(2);
138 stream.write(Base64.encode(thumb, Base64.DEFAULT));
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | GalleryPicker.java | 340 // 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 D | ExifInterface.java | 1756 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 D | ExifInterface.java | 1756 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 D | ExifInterface.java | 1756 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 D | ExifInterface.java | 1756 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 D | BrowserProvider2.java | 688 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);
|