Home
last modified time | relevance | path

Searched refs:getBitmap (Results 1 – 25 of 48) sorted by relevance

12

/packages/apps/Gallery/tests/src/com/android/camera/
DBitmapManagerUnitTests.java46 public Bitmap getBitmap() { in getBitmap() method in BitmapManagerUnitTests.DecodeThread
93 assertNotNull(t.getBitmap()); in testDefaultAllowDecoding()
105 assertNull(t.getBitmap()); in testCancelDecoding()
118 assertNotNull(t.getBitmap()); in testAllowDecoding()
136 assertNotNull(t1.getBitmap()); in testThreadDecoding()
138 assertNull(t2.getBitmap()); in testThreadDecoding()
/packages/apps/Gallery/src/com/android/camera/
DImageViewTouchBase.java87 if (mBitmapDisplayed.getBitmap() != null) { in onLayout()
131 Bitmap old = mBitmapDisplayed.getBitmap(); in setImageBitmap()
166 if (bitmap.getBitmap() != null) { in setImageRotateBitmapResetBase()
168 setImageBitmap(bitmap.getBitmap(), bitmap.getRotation()); in setImageRotateBitmapResetBase()
187 if (mBitmapDisplayed.getBitmap() == null) { in center()
194 mBitmapDisplayed.getBitmap().getWidth(), in center()
195 mBitmapDisplayed.getBitmap().getHeight()); in center()
297 if (mBitmapDisplayed.getBitmap() == null) { in maxZoom()
367 if (mBitmapDisplayed.getBitmap() == null) { in zoomIn()
379 if (mBitmapDisplayed.getBitmap() == null) { in zoomOut()
DRotateBitmap.java45 public Bitmap getBitmap() { in getBitmap() method in RotateBitmap
DImageLoader.java48 public void getBitmap(IImage image, in getBitmap() method in ImageLoader
/packages/apps/VideoEditor/src/com/android/videoeditor/
DBaseAdapterWithImages.java137 if (drawable != null && drawable.getBitmap() != null) { in BaseAdapterWithImages()
139 drawable.getBitmap().recycle(); in BaseAdapterWithImages()
158 if (drawable != null && drawable.getBitmap() != null) { in onDestroy()
159 drawable.getBitmap().recycle(); in onDestroy()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DUploadedTexture.java135 private Bitmap getBitmap() { in getBitmap() method in UploadedTexture
155 if (mWidth == UNSPECIFIED) getBitmap(); in getWidth()
161 if (mWidth == UNSPECIFIED) getBitmap(); in getHeight()
194 Bitmap bitmap = getBitmap(); in updateContent()
219 Bitmap bitmap = getBitmap(); in uploadToCanvas()
DBitmapTexture.java51 public Bitmap getBitmap() { in getBitmap() method in BitmapTexture
DBitmapLoader.java101 public synchronized Bitmap getBitmap() { in getBitmap() method in BitmapLoader
DBitmapTileProvider.java80 Bitmap result = pool == null ? null : pool.getBitmap(); in getTile()
DSlideshowView.java57 mPrevTexture.getBitmap().recycle(); in next()
/packages/apps/Browser/src/com/android/browser/
DBrowserBookmarksAdapter.java111 Bitmap thumbnail = item.thumbnail != null ? item.thumbnail.getBitmap() : null; in getRowObject()
112 thumbnail = BrowserBookmarksPage.getBitmap(c, in getRowObject()
116 && (item.thumbnail == null || item.thumbnail.getBitmap() != thumbnail)) { in getRowObject()
DBrowserBookmarksPage.java205 getBitmap(cursor, BookmarksLoader.COLUMN_INDEX_FAVICON), in handleContextItem()
206 getBitmap(cursor, BookmarksLoader.COLUMN_INDEX_THUMBNAIL)); in handleContextItem()
233 static Bitmap getBitmap(Cursor cursor, int columnIndex) { in getBitmap() method in BrowserBookmarksPage
234 return getBitmap(cursor, columnIndex, null); in getBitmap()
243 static Bitmap getBitmap(Cursor cursor, int columnIndex, Bitmap inBitmap) { in getBitmap() method in BrowserBookmarksPage
319 Bitmap bitmap = getBitmap(cursor, BookmarksLoader.COLUMN_INDEX_FAVICON); in populateBookmarkItem()
456 Bitmap touchIcon = getBitmap(cursor, BookmarksLoader.COLUMN_INDEX_TOUCH_ICON); in createShortcutIntent()
457 Bitmap favicon = getBitmap(cursor, BookmarksLoader.COLUMN_INDEX_FAVICON); in createShortcutIntent()
DBookmarkUtils.java144 return bd.getBitmap(); in getIconBackground()
153 return bd.getBitmap(); in getIconBackground()
DBrowserSnapshotPage.java172 item.setFavicon(getBitmap(cursor, SNAPSHOT_FAVICON)); in populateBookmarkItem()
175 static Bitmap getBitmap(Cursor cursor, int columnIndex) { in getBitmap() method in BrowserSnapshotPage
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DBitmapPool.java55 public synchronized Bitmap getBitmap() { in getBitmap() method in BitmapPool
62 public synchronized Bitmap getBitmap(int width, int height) { in getBitmap() method in BitmapPool
DDecodeUtils.java310 if (pool.isOneSize()) return pool.getBitmap(); in findCachedBitmap()
312 return pool.getBitmap(options.outWidth, options.outHeight); in findCachedBitmap()
317 if (pool.isOneSize()) return pool.getBitmap(); in findCachedBitmap()
319 return pool.getBitmap(options.outWidth, options.outHeight); in findCachedBitmap()
/packages/apps/Mms/tests/src/com/android/mms/util/
DSmileyParserUnitTests.java69 Bitmap bitmap1 = bitmapDrawable1.getBitmap(); in compareImageSpans()
70 Bitmap bitmap2 = bitmapDrawable2.getBitmap(); in compareImageSpans()
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/
DNotificationShowcaseActivity.java135 private static Bitmap getBitmap(Context context, int resId) { in getBitmap() method in NotificationShowcaseActivity
219 .setLargeIcon(getBitmap(context, R.drawable.bucket)) in makeBigTextNotification()
273 .setLargeIcon(getBitmap(this, R.drawable.matias_hed)) in onCreate()
318 .setLargeIcon(getBitmap(this, R.drawable.romainguy_hed)) in onCreate()
323 .bigPicture(d.getBitmap()) in onCreate()
/packages/apps/Contacts/tests/src/com/android/contacts/calllog/
DCallLogFragmentTest.java384 private Bitmap getBitmap(String resName) { in getBitmap() method in CallLogFragmentTest
389 return d.getBitmap(); in getBitmap()
398 mCallTypeIcons.put(Calls.INCOMING_TYPE, getBitmap("ic_call_incoming_holo_dark")); in buildIconMap()
399 mCallTypeIcons.put(Calls.MISSED_TYPE, getBitmap("ic_call_missed_holo_dark")); in buildIconMap()
400 mCallTypeIcons.put(Calls.OUTGOING_TYPE, getBitmap("ic_call_outgoing_holo_dark")); in buildIconMap()
/packages/apps/Phone/src/com/android/phone/
DAnimationUtils.java216 && ((BitmapDrawable) from).getBitmap() in startCrossFade()
217 .equals(((BitmapDrawable) to).getBitmap())); in startCrossFade()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DPhotoProcessorTest.java40 final Bitmap sourceBitmap = ((BitmapDrawable) source).getBitmap(); in testTransparency()
/packages/apps/Launcher2/src/com/android/launcher2/
DPagedViewWidget.java91 if (preview != null && preview.getBitmap() != null) { in onDetachedFromWindow()
92 preview.getBitmap().recycle(); in onDetachedFromWindow()
DFastBitmapDrawable.java105 public Bitmap getBitmap() { in getBitmap() method in FastBitmapDrawable
/packages/apps/Contacts/src/com/android/contacts/util/
DImageViewDrawableSetter.java127 : ((BitmapDrawable) mPreviousDrawable).getBitmap(); in previousBitmap()
/packages/apps/Mms/src/com/android/mms/util/
DThumbnailManager.java252 bitmap = getBitmap(mIsVideo); in run()
306 private Bitmap getBitmap(boolean isVideo) { in getBitmap() method in ThumbnailTask

12