Home
last modified time | relevance | path

Searched refs:thumb (Results 1 – 21 of 21) sorted by relevance

/packages/apps/MusicFX/src/com/android/musicfx/seekbar/
DAbsSeekBar.java72 Drawable thumb = a.getDrawable(com.android.internal.R.styleable.SeekBar_thumb); in AbsSeekBar() local
73 setThumb(thumb); // will guess mThumbOffset if thumb != null... in AbsSeekBar()
96 public void setThumb(Drawable thumb) { in setThumb() argument
101 if (mThumb != null && thumb != mThumb) { in setThumb()
107 if (thumb != null) { in setThumb()
108 thumb.setCallback(this); in setThumb()
114 mThumbOffset = thumb.getIntrinsicHeight() / 2; in setThumb()
116 mThumbOffset = thumb.getIntrinsicWidth() / 2; in setThumb()
121 (thumb.getIntrinsicWidth() != mThumb.getIntrinsicWidth() in setThumb()
122 || thumb.getIntrinsicHeight() != mThumb.getIntrinsicHeight())) { in setThumb()
[all …]
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
DWallpaperPickerActivity.java180 Bitmap thumb = createThumbnail( in onSave()
182 a.getSavedImages().writeImage(thumb, imageBytes); in onSave()
202 public ResourceWallpaperInfo(Resources res, int resId, Drawable thumb) { in ResourceWallpaperInfo() argument
205 mThumb = thumb; in ResourceWallpaperInfo()
242 public DefaultWallpaperInfo(Drawable thumb) { in DefaultWallpaperInfo() argument
243 mThumb = thumb; in DefaultWallpaperInfo()
677 Bitmap thumb = null; in getThumbnailOfLastPhoto() local
680 thumb = MediaStore.Images.Thumbnails.getThumbnail(getContentResolver(), in getThumbnailOfLastPhoto()
684 return thumb; in getThumbnailOfLastPhoto()
829 protected void onPostExecute(Bitmap thumb) { in addTemporaryWallpaperTile() argument
[all …]
DSavedWallpaperImages.java55 public SavedWallpaperTile(int dbId, Drawable thumb) { in SavedWallpaperTile() argument
57 mThumb = thumb; in SavedWallpaperTile()
113 Bitmap thumb = BitmapFactory.decodeFile(file.getAbsolutePath()); in loadThumbnailsAndImageIdList() local
114 if (thumb != null) { in loadThumbnailsAndImageIdList()
115 mImages.add(new SavedWallpaperTile(result.getInt(0), new BitmapDrawable(thumb))); in loadThumbnailsAndImageIdList()
DLiveWallpaperListAdapter.java173 Drawable thumb = info.loadThumbnail(packageManager); in doInBackground() local
176 LiveWallpaperTile wallpaper = new LiveWallpaperTile(thumb, info, launchIntent); in doInBackground()
/packages/apps/Browser/src/com/android/browser/
DBrowserBookmarksAdapter.java85 ImageView thumb = (ImageView) view.findViewById(R.id.thumb); in bindGridView() local
91 thumb.setImageResource(R.drawable.thumb_bookmark_widget_folder_holo); in bindGridView()
92 thumb.setScaleType(ScaleType.FIT_END); in bindGridView()
93 thumb.setBackground(null); in bindGridView()
95 thumb.setScaleType(ScaleType.CENTER_CROP); in bindGridView()
97 thumb.setImageResource(R.drawable.browser_thumbnail); in bindGridView()
99 thumb.setImageDrawable(item.thumbnail); in bindGridView()
101 thumb.setBackgroundResource(R.drawable.border_thumb_bookmarks_widget_holo); in bindGridView()
DPieControl.java315 ImageView thumb = (ImageView) view.findViewById(R.id.thumb); in getView() local
320 thumb.setImageBitmap(b); in getView()
DBrowserSnapshotPage.java271 ImageView thumbnail = (ImageView) view.findViewById(R.id.thumb); in bindView()
/packages/apps/Browser/src/com/android/browser/widget/
DBookmarkThumbnailWidgetService.java245 … views.setImageViewResource(R.id.thumb, R.drawable.thumb_bookmark_widget_folder_back_holo); in getViewAt()
247 … views.setImageViewResource(R.id.thumb, R.drawable.thumb_bookmark_widget_folder_holo); in getViewAt()
250 views.setDrawableParameters(R.id.thumb, true, 0, -1, null, -1); in getViewAt()
257 views.setDrawableParameters(R.id.thumb, true, 255, -1, null, -1); in getViewAt()
261 views.setImageViewBitmap(R.id.thumb, thumbnail); in getViewAt()
263 views.setImageViewResource(R.id.thumb, in getViewAt()
/packages/apps/Settings/src/com/android/settings/
DActivityPicker.java389 final Bitmap thumb = Bitmap.createBitmap(mIconWidth, mIconHeight, c); in createIconThumbnail() local
391 canvas.setBitmap(thumb); in createIconThumbnail()
404 icon = new BitmapDrawable(thumb); in createIconThumbnail()
409 final Bitmap thumb = Bitmap.createBitmap(mIconWidth, mIconHeight, c); in createIconThumbnail() local
411 canvas.setBitmap(thumb); in createIconThumbnail()
419 icon = new BitmapDrawable(thumb); in createIconThumbnail()
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperListAdapter.java192 Drawable thumb = info.loadThumbnail(packageManager); in doInBackground() local
193 if (thumb == null) { in doInBackground()
220 thumb = new BitmapDrawable(res, thumbnail); in doInBackground()
222 wallpaper.thumbnail = thumb; in doInBackground()
/packages/apps/Browser/src/com/android/browser/preferences/
DInvertedContrastPreview.java61 for (String thumb : THUMBS) { in init()
62 if (TextUtils.isEmpty(thumb)) { in init()
68 builder.append(thumb); in init()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifInterface.java1756 byte[] thumb = mData.getCompressedThumbnail(); in getThumbnailBitmap()
1757 return BitmapFactory.decodeByteArray(thumb, 0, thumb.length); in getThumbnailBitmap()
1817 public boolean setCompressedThumbnail(byte[] thumb) { in setCompressedThumbnail() argument
1819 mData.setCompressedThumbnail(thumb); in setCompressedThumbnail()
1830 public boolean setCompressedThumbnail(Bitmap thumb) { in setCompressedThumbnail() argument
1832 if (!thumb.compress(Bitmap.CompressFormat.JPEG, 90, thumbnail)) { in setCompressedThumbnail()
/packages/apps/Mms/src/com/android/mms/exif/
DExifInterface.java1756 byte[] thumb = mData.getCompressedThumbnail(); in getThumbnailBitmap()
1757 return BitmapFactory.decodeByteArray(thumb, 0, thumb.length); in getThumbnailBitmap()
1817 public boolean setCompressedThumbnail(byte[] thumb) { in setCompressedThumbnail() argument
1819 mData.setCompressedThumbnail(thumb); in setCompressedThumbnail()
1830 public boolean setCompressedThumbnail(Bitmap thumb) { in setCompressedThumbnail() argument
1832 if (!thumb.compress(Bitmap.CompressFormat.JPEG, 90, thumbnail)) { in setCompressedThumbnail()
/packages/apps/Camera2/src/com/android/camera/exif/
DExifInterface.java1756 byte[] thumb = mData.getCompressedThumbnail(); in getThumbnailBitmap()
1757 return BitmapFactory.decodeByteArray(thumb, 0, thumb.length); in getThumbnailBitmap()
1817 public boolean setCompressedThumbnail(byte[] thumb) { in setCompressedThumbnail() argument
1819 mData.setCompressedThumbnail(thumb); in setCompressedThumbnail()
1830 public boolean setCompressedThumbnail(Bitmap thumb) { in setCompressedThumbnail() argument
1832 if (!thumb.compress(Bitmap.CompressFormat.JPEG, 90, thumbnail)) { in setCompressedThumbnail()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
DExifInterface.java1756 byte[] thumb = mData.getCompressedThumbnail(); in getThumbnailBitmap()
1757 return BitmapFactory.decodeByteArray(thumb, 0, thumb.length); in getThumbnailBitmap()
1817 public boolean setCompressedThumbnail(byte[] thumb) { in setCompressedThumbnail() argument
1819 mData.setCompressedThumbnail(thumb); in setCompressedThumbnail()
1830 public boolean setCompressedThumbnail(Bitmap thumb) { in setCompressedThumbnail() argument
1832 if (!thumb.compress(Bitmap.CompressFormat.JPEG, 90, thumbnail)) { in setCompressedThumbnail()
/packages/apps/Gallery/src/com/android/camera/
DGalleryPicker.java708 Bitmap thumb = Bitmap.createBitmap(imageWidth, imageHeight, in makeMiniThumbBitmap()
710 Canvas tempCanvas = new Canvas(thumb); in makeMiniThumbBitmap()
717 placeImage(thumb, c, pdpaint, imageWidth, padding, imageHeight, in makeMiniThumbBitmap()
720 thumb.recycle(); in makeMiniThumbBitmap()
/packages/apps/Browser/src/com/android/browser/homepages/
DRequestHandler.java137 byte[] thumb = cursor.getBlob(2); in writeTemplatedIndex()
138 stream.write(Base64.encode(thumb, Base64.DEFAULT)); in writeTemplatedIndex()
/packages/apps/Browser/src/com/android/browser/provider/
DBrowserProvider2.java688 byte[] thumb = null, favicon = null; in addDefaultBookmarks()
690 thumb = readRaw(res, thumbId); in addDefaultBookmarks()
697 if (thumb != null || favicon != null) { in addDefaultBookmarks()
703 if (thumb != null) { in addDefaultBookmarks()
704 imageValues.put(Images.THUMBNAIL, thumb); in addDefaultBookmarks()
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_wordlist.combined.gz