/packages/apps/Gallery/src/com/android/camera/ |
D | ImageViewTouchBase.java | 87 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/Car/Cluster/src/android/car/cluster/ |
D | ImageResolver.java | 47 Bitmap getBitmap(@NonNull Uri uri, int width, int height); in getBitmap() method 52 Bitmap getBitmap(@NonNull Uri uri, int width, int height, float offLanesAlpha); in getBitmap() method 71 public CompletableFuture<Bitmap> getBitmap(@NonNull ImageReference img, int width, int height) { in getBitmap() method in ImageResolver 72 return getBitmap(img, width, height, 1f); in getBitmap() 86 public CompletableFuture<Bitmap> getBitmap(@NonNull ImageReference img, int width, int height, in getBitmap() method in ImageResolver 104 bitmap = mFetcher.getBitmap(uri, adjusted.x, adjusted.y, offLanesAlpha); in getBitmap() 155 img -> getBitmap(img, width, height, offLanesAlpha))); in getBitmaps()
|
/packages/apps/Gallery/tests/src/com/android/camera/ |
D | BitmapManagerUnitTests.java | 46 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/ |
D | ImageRequestTest.java | 68 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/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
D | UploadedTexture.java | 73 private Bitmap getBitmap() { in getBitmap() method in UploadedTexture 93 if (mWidth == UNSPECIFIED) getBitmap(); in getWidth() 99 if (mWidth == UNSPECIFIED) getBitmap(); in getHeight() 129 Bitmap bitmap = getBitmap(); in updateContent() 139 Bitmap bitmap = getBitmap(); in uploadToCanvas()
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | UploadedTexture.java | 134 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/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/ |
D | PreviewActivityTest.java | 161 Bitmap srcBitmap = ((TestAsset) mMockWallpaper.getAsset(context)).getBitmap(); in testClickSetWallpaper_Success_HomeScreen() 189 Bitmap srcBitmap = ((TestAsset) mMockWallpaper.getAsset(context)).getBitmap(); in testClickSetWallpaper_Success_LockScreen() 219 Bitmap srcBitmap = ((TestAsset) mMockWallpaper.getAsset(context)).getBitmap(); in testClickSetWallpaper_Success_BothHomeAndLockScreen() 264 Bitmap srcBitmap = ((TestAsset) mMockWallpaper.getAsset(context)).getBitmap(); in testClickSetWallpaper_Fails_HomeScreen_ShowsErrorDialog() 303 Bitmap srcBitmap = ((TestAsset) mMockWallpaper.getAsset(context)).getBitmap(); in testClickSetWallpaper_Fails_LockScreen_ShowsErrorDialog() 344 Bitmap srcBitmap = ((TestAsset) mMockWallpaper.getAsset(context)).getBitmap(); in testClickSetWallpaper_Fails_BothHomeAndLock_ShowsErrorDialog() 418 Point wallpaperSize = new Point(asset.getBitmap().getWidth(), in testSetsDefaultWallpaperZoomAndScroll() 419 asset.getBitmap().getHeight()); in testSetsDefaultWallpaperZoomAndScroll()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | DecodedImageResource.java | 54 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()
|
D | AvatarRequest.java | 81 bitmap = imageResource.getBitmap(); in loadMediaInternal() 125 sDefaultPersonBitmap = defaultPerson.getBitmap(); in renderDefaultAvatar() 130 sDefaultPersonBitmapLarge = largeDefaultPerson.getBitmap(); in renderDefaultAvatar() 137 defaultPerson = wearDefaultPerson.getBitmap(); in renderDefaultAvatar()
|
D | CompositeImageRequest.java | 73 final Bitmap resourceBitmap = resource.getBitmap(); in loadMediaInternal() 82 ImageUtils.drawBitmapWithCircleOnCanvas(resource.getBitmap(), smallCircleCanvas, in loadMediaInternal()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | trie_map.cpp | 161 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()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpItemTest.java | 293 metadata.getBitmap(MediaMetadataCompat.METADATA_KEY_DISPLAY_ICON)); in avrcpMediaItem_toMediaMetadata() 294 Assert.assertEquals(null, metadata.getBitmap(MediaMetadataCompat.METADATA_KEY_ART)); in avrcpMediaItem_toMediaMetadata() 295 Assert.assertEquals(null, metadata.getBitmap(MediaMetadataCompat.METADATA_KEY_ALBUM_ART)); in avrcpMediaItem_toMediaMetadata() 345 metadata.getBitmap(MediaMetadataCompat.METADATA_KEY_DISPLAY_ICON)); in avrcpFolderItem_toMediaMetadata() 346 Assert.assertEquals(null, metadata.getBitmap(MediaMetadataCompat.METADATA_KEY_ART)); in avrcpFolderItem_toMediaMetadata() 347 Assert.assertEquals(null, metadata.getBitmap(MediaMetadataCompat.METADATA_KEY_ALBUM_ART)); in avrcpFolderItem_toMediaMetadata()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | MasterImage.java | 336 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/WallpaperPicker2/src/com/android/wallpaper/asset/ |
D | BuiltInWallpaperAsset.java | 105 Bitmap builtInBitmap = ((BitmapDrawable) builtInDrawable).getBitmap(); in calculateRawDimensions() 156 return ((BitmapDrawable) drawable).getBitmap(); in doInBackground() 192 return ((BitmapDrawable) drawable).getBitmap(); in doInBackground()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
D | BitmapUtils.java | 128 Bitmap bitmap = ((BitmapDrawable) drawable).getBitmap(); in maybeFlagDrawable() 142 if (bitmapDrawable.getBitmap() != null) { in fromDrawable() 143 return bitmapDrawable.getBitmap(); in fromDrawable()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/ |
D | BitmapCache.java | 125 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/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | ContactsAsyncHelperTest.java | 148 Bitmap capturedPhoto = ((BitmapDrawable) photoCaptor.getValue()).getBitmap(); in testImageScaling() 170 Bitmap capturedPhoto = ((BitmapDrawable) photoCaptor.getValue()).getBitmap(); in testNoScaling() 184 return ((BitmapDrawable) d).getBitmap(); in getExpectedPhoto()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | QuickContactImageView.java | 42 if (mBitmapDrawable == null || mBitmapDrawable.getBitmap() == null in setTint() 43 || mBitmapDrawable.getBitmap().hasAlpha()) { in setTint()
|
/packages/apps/Car/Cluster/tests/robotests/src/android/car/cluster/ |
D | ImageResolverTest.java | 39 public Bitmap getBitmap(Uri uri, int width, int height) { in setup() 44 public Bitmap getBitmap(Uri uri, int width, int height, float offLanesAlpha) { in setup()
|
/packages/apps/ThemePicker/src/com/google/android/apps/wallpaper/asset/ |
D | ThemeBundleThumbAsset.java | 91 return ((BitmapDrawable) thumb).getBitmap(); in doInBackground() 95 return ((BitmapDrawable) layer).getBitmap(); in doInBackground()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
D | UtilsTest.java | 210 assertThat(icon.getBitmap()).isNotNull(); in createIconWithDrawable_BitmapDrawable() 219 assertThat(icon.getBitmap()).isNotNull(); in createIconWithDrawable_ColorDrawable() 229 assertThat(icon.getBitmap()).isNotNull(); in createIconWithDrawable_VectorDrawable()
|
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
D | VoiceRecordingView.java | 69 float micIconWidth = mMicIconDrawable.getBitmap().getWidth(); in onSizeChanged() 70 float micIconHeight = mMicIconDrawable.getBitmap().getHeight(); in onSizeChanged()
|
/packages/services/Car/car-lib/src/android/car/cluster/renderer/ |
D | InstrumentClusterRenderingService.java | 585 public Bitmap getBitmap(Uri uri) { in getBitmap() method in InstrumentClusterRenderingService 636 public Bitmap getBitmap(@NonNull Uri uri, int width, int height) { in getBitmap() method in InstrumentClusterRenderingService 637 return getBitmap(uri, width, height, 1f); in getBitmap() 658 public Bitmap getBitmap(@NonNull Uri uri, int width, int height, float offLanesAlpha) { in getBitmap() method in InstrumentClusterRenderingService
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
D | FilterEnvironment.java | 70 public Bitmap getBitmap(int w, int h, int type) { in getBitmap() method in FilterEnvironment 71 return mBitmapCache.getBitmap(w, h, type); in getBitmap()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | BaseWidgetSheet.java | 113 if (image.getBitmap() == null) { in beginDraggingWidget() 121 image.getBitmapBounds(), image.getBitmap().getWidth(), image.getWidth(), in beginDraggingWidget()
|