Home
last modified time | relevance | path

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

1234

/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()
/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/Messaging/tests/src/com/android/messaging/datamodel/media/
DImageRequestTest.java68 assertNotNull(imageResource.getBitmap()); in testLoadImageUnspecifiedSize()
71 final int bitmapWidth = imageResource.getBitmap().getWidth(); in testLoadImageUnspecifiedSize()
72 final int bitmapHeight = imageResource.getBitmap().getHeight(); in testLoadImageUnspecifiedSize()
98 assertNotNull(imageResource.getBitmap()); in testLoadImageWithDownsampling()
101 final int bitmapWidth = imageResource.getBitmap().getWidth(); in testLoadImageWithDownsampling()
102 final int bitmapHeight = imageResource.getBitmap().getHeight(); in testLoadImageWithDownsampling()
/packages/apps/Browser/src/com/android/browser/
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()
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()
DBookmarkUtils.java144 return bd.getBitmap(); in getIconBackground()
153 return bd.getBitmap(); in getIconBackground()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/
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()
213 Bitmap bitmap = getBitmap(); in uploadToCanvas()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DUploadedTexture.java134 private Bitmap getBitmap() { in getBitmap() method in UploadedTexture
154 if (mWidth == UNSPECIFIED) getBitmap(); in getWidth()
160 if (mWidth == UNSPECIFIED) getBitmap(); in getHeight()
193 Bitmap bitmap = getBitmap(); in updateContent()
212 Bitmap bitmap = getBitmap(); in uploadToCanvas()
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/
DNotificationService.java58 private static Bitmap getBitmap(Context context, int resId) { in getBitmap() method in NotificationService
128 .setLargeIcon(getBitmap(context, R.drawable.bucket)) in makeBigTextNotification()
171 .setLargeIcon(getBitmap(this, R.drawable.matias_hed)) in onHandleIntent()
222 .setLargeIcon(getBitmap(this, R.drawable.romainguy_hed)) in onHandleIntent()
226 .bigPicture(d.getBitmap()) in onHandleIntent()
/packages/apps/InCallUI/src/com/android/incallui/
DInCallAnimationUtils.java114 ((BitmapDrawable) from).getBitmap() != null); in startCrossFade()
116 ((BitmapDrawable) to).getBitmap() != null); in startCrossFade()
118 ((BitmapDrawable) from).getBitmap().equals(((BitmapDrawable) to).getBitmap())); in startCrossFade()
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DDecodedImageResource.java54 public Bitmap getBitmap() { in getBitmap() method in DecodedImageResource
160 if (getBitmap().hasAlpha()) { in getMediaEncodingRequest()
192 Bitmap bitmap = getBitmap(); in loadMediaBlocking()
225 if (scaledBitmap != null && scaledBitmap != getBitmap()) { in loadMediaBlocking()
DAvatarRequest.java81 bitmap = imageResource.getBitmap(); in loadMediaInternal()
125 sDefaultPersonBitmap = defaultPerson.getBitmap(); in renderDefaultAvatar()
130 sDefaultPersonBitmapLarge = largeDefaultPerson.getBitmap(); in renderDefaultAvatar()
137 defaultPerson = wearDefaultPerson.getBitmap(); in renderDefaultAvatar()
DCompositeImageRequest.java73 final Bitmap resourceBitmap = resource.getBitmap(); in loadMediaInternal()
82 ImageUtils.drawBitmapWithCircleOnCanvas(resource.getBitmap(), smallCircleCanvas, in loadMediaInternal()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dtrie_map.cpp161 iterationState->emplace_back(popCount(entry.getBitmap()), entry.getTableIndex()); in iterateNext()
254 if (!exists(bitmapEntry.getBitmap(), label)) { in getTerminalEntryIndex()
257 const int entryIndex = bitmapEntry.getTableIndex() + popCount(bitmapEntry.getBitmap(), label); in getTerminalEntryIndex()
314 const uint32_t bitmap = bitmapEntry.getBitmap(); in putInternal()
428 const int tableSize = popCount(bitmapEntry.getBitmap()); in removeInner()
Dtrie_map.h106 mTrieMap->popCount(bitmapEntry.getBitmap()), bitmapEntry.getTableIndex()); in TrieMapIterator()
264 AK_FORCE_INLINE uint32_t getBitmap() const { in getBitmap() function
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DMasterImage.java336 return consumer.getBitmap(); in getFilteredImage()
688 if (request.getBitmap() == null) { in available()
695 mGeometryOnlyBitmap = request.getBitmap(); in available()
700 mFiltersOnlyBitmap = request.getBitmap(); in available()
707 mPartialBitmap = request.getBitmap(); in available()
714 mHighresBitmap = request.getBitmap(); in available()
/packages/apps/UnifiedEmail/src/com/android/mail/photomanager/
DLetterTileProvider.java89 final Bitmap bitmap = getBitmap(dimensions, false /* getDefault */); in getLetterTile()
110 c.drawBitmap(getBitmap(dimensions, true /* getDefault */), 0, 0, null); in getLetterTile()
122 private Bitmap getBitmap(final Dimensions d, boolean getDefault) { in getBitmap() method in LetterTileProvider
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
DBitmapCache.java125 Bitmap bitmap = buffer.getBitmap(); in cache()
175 public synchronized Bitmap getBitmap(int w, int h, int type) { in getBitmap() method in BitmapCache
207 Bitmap bitmap = getBitmap(source.getWidth(), source.getHeight(), type); in getBitmapCopy()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
DTransitionImage.java96 public BitmapDrawable getBitmap() { in getBitmap() method in TransitionImage
252 ActivityTransitionBitmapHelper.bitmapAsBinderBundle(mBitmap.getBitmap())); in writeToBundle()
269 ActivityTransitionBitmapHelper.bitmapAsBinderBundle(mBitmap.getBitmap())); in writeToIntent()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoTable.java193 mPhotoSource.donePaging(getBitmap(mSelection)); in clearSelection()
506 final Bitmap current = getBitmap(mParent); in doInBackground()
961 private Bitmap getBitmap(View photo) { in getBitmap() method in PhotoTable
974 return bitmap.getBitmap(); in getBitmap()
980 mPhotoSource.recycle(getBitmap(photo)); in recycle()
/packages/apps/Contacts/src/com/android/contacts/widget/
DQuickContactImageView.java48 if (mBitmapDrawable == null || mBitmapDrawable.getBitmap() == null in setTint()
49 || mBitmapDrawable.getBitmap().hasAlpha()) { in setTint()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DCachingPipeline.java292 && request.getBitmap() == null) in render()
301 Bitmap bitmap = request.getBitmap(); in render()
356 bitmap = mEnvironment.getBitmap(iconBounds.width(), in render()
DFilterEnvironment.java70 public Bitmap getBitmap(int w, int h, int type) { in getBitmap() method in FilterEnvironment
71 return mBitmapCache.getBitmap(w, h, type); in getBitmap()
DRenderingRequest.java74 bitmap = MasterImage.getImage().getBitmapCache().getBitmap( in post()
138 public Bitmap getBitmap() { in getBitmap() method in RenderingRequest
/packages/apps/Launcher2/src/com/android/launcher2/
DPagedViewWidget.java99 mInfo != null && preview != null && preview.getBitmap() != null) { in onDetachedFromWindow()
100 mWidgetPreviewLoader.recycleBitmap(mInfo, preview.getBitmap()); in onDetachedFromWindow()

1234