/frameworks/base/graphics/java/android/graphics/drawable/ |
D | Icon.java | 162 public Bitmap getBitmap() { in getBitmap() method in Icon 354 return new BitmapDrawable(context.getResources(), getBitmap()); in loadDrawableInner() 357 new BitmapDrawable(context.getResources(), getBitmap())); in loadDrawableInner() 487 getBitmap().isMutable() && in convertToAshmem() 488 getBitmap().getAllocationByteCount() >= MIN_ASHMEM_ICON_SIZE) { in convertToAshmem() 489 setBitmap(getBitmap().asShared()); in convertToAshmem() 508 getBitmap().compress(Bitmap.CompressFormat.PNG, 100, dataStream); in writeToStream() 584 return getBitmap() == otherIcon.getBitmap(); in sameAs() 828 .append(getBitmap().getWidth()) in toString() 830 .append(getBitmap().getHeight()); in toString() [all …]
|
/frameworks/base/services/core/java/com/android/server/textclassifier/ |
D | IconsContentProvider.java | 60 getBitmap(drawable).compress(Bitmap.CompressFormat.PNG, 100, out); 84 private static Bitmap getBitmap(Drawable drawable) { in getBitmap() method in IconsContentProvider 107 getBitmap(one).compress(Bitmap.CompressFormat.PNG, 100, stream1); in sameIcon() 109 getBitmap(two).compress(Bitmap.CompressFormat.PNG, 100, stream2); in sameIcon()
|
/frameworks/base/packages/WallpaperCropper/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()
|
D | BitmapTexture.java | 51 public Bitmap getBitmap() { in getBitmap() method in BitmapTexture
|
/frameworks/base/core/java/android/view/ |
D | TextureView.java | 551 public @Nullable Bitmap getBitmap() { in getBitmap() method in TextureView 552 return getBitmap(getWidth(), getHeight()); in getBitmap() 578 public @Nullable Bitmap getBitmap(int width, int height) { in getBitmap() method in TextureView 580 return getBitmap(Bitmap.createBitmap(getResources().getDisplayMetrics(), in getBitmap() 609 public @NonNull Bitmap getBitmap(@NonNull Bitmap bitmap) { in getBitmap() method in TextureView
|
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
D | IconTest.java | 51 .getBitmap(); in testWithBitmap() 122 assertThat(ic.getBitmap().getWidth()).isLessThan(41); in testScaleDownIfNecessary() 123 assertThat(ic.getBitmap().getHeight()).isLessThan(21); in testScaleDownIfNecessary() 163 .getBitmap(); in testWithBitmapResource() 186 .getBitmap(); in testWithFile() 210 .getBitmap(); in testAsync() 253 .getBitmap(); in testParcel()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | BluetoothUtils.java | 150 resources, ((BitmapDrawable) pair.first).getBitmap()), pair.second); in getBtRainbowDrawableWithDescription() 201 final Bitmap bitmap = MediaStore.Images.Media.getBitmap( in getBtDrawableWithDescription() 256 bitmap = ((BitmapDrawable) drawable).getBitmap(); in createIconWithDrawable() 277 bitmap = ((BitmapDrawable) drawable).getBitmap(); in buildAdvancedDrawable()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | BaseIconFactory.java | 232 bitmap = ((BitmapDrawable) badged).getBitmap(); in createBadgedIconBitmap() 250 mUserBadgeBitmap = ((BitmapDrawable) badgedDrawable).getBitmap(); in getUserBadgeBitmap() 373 Bitmap b = bitmapDrawable.getBitmap(); in createIconBitmap() 458 return getBitmap().getWidth(); in getIntrinsicHeight() 463 return getBitmap().getWidth(); in getIntrinsicWidth()
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/ |
D | IconMixinTest.java | 122 assertEquals(expected.getBitmap(), actual.getBitmap()); in testSetIconFromXml()
|
/frameworks/base/tests/notification/src/com/android/frameworks/tests/notification/ |
D | NotificationTests.java | 70 private static Bitmap getBitmap(Context context, int resId) { in getBitmap() method in NotificationTests 154 .setLargeIcon(getBitmap(context, R.drawable.bucket)) in makeBigTextNotification() 277 .setLargeIcon(getBitmap(mContext, R.drawable.matias_hed)) in testCreate() 342 .setLargeIcon(getBitmap(mContext, R.drawable.romainguy_hed)) in testCreate() 346 .bigPicture(d.getBitmap())) in testCreate()
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | CircularBitmapDrawable.java | 95 onDrawCircularBitmap(getBitmap().bmp, canvas, src, dst, 1f); in onDrawBitmap() 105 Bitmap bitmap = placeholder.getBitmap(); in onDrawPlaceholderOrProgress()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | ImageEncoder.java | 55 Bitmap bitmap = input.getBitmap(); in process()
|
/frameworks/base/core/java/android/app/ |
D | DisabledWallpaperManager.java | 120 public Bitmap getBitmap() { in getBitmap() method in DisabledWallpaperManager 125 public Bitmap getBitmap(boolean hardware) { in getBitmap() method in DisabledWallpaperManager
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/ |
D | TvPipNotificationController.java | 171 art = metadata.getBitmap(MediaMetadata.METADATA_KEY_ALBUM_ART); in updateMediaControllerMetadata() 173 art = metadata.getBitmap(MediaMetadata.METADATA_KEY_ART); in updateMediaControllerMetadata()
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | EngineWindowPage.java | 51 public Bitmap getBitmap() { in getBitmap() method in EngineWindowPage
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | AssetsAtlasActivity.java | 46 mBitmap = ((BitmapDrawable) d).getBitmap(); in BitmapsView()
|
D | GetBitmapActivity.java | 54 Bitmap b = mTextureView.getBitmap(); in onCreate()
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | RenderScriptTask.java | 125 rgbdImage = options.rgbz.getBitmap(); in prepareRefocusFilter()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | VertexFrame.java | 109 public Bitmap getBitmap() { in getBitmap() method in VertexFrame
|
D | SimpleFrame.java | 127 public Bitmap getBitmap() { in getBitmap() method in SimpleFrame
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | NotificationTest.java | 158 assertTrue(q.getLargeIcon().getBitmap().sameAs(n.getLargeIcon().getBitmap())); in largeIconMultipleReferences_keptAfterParcelling() 173 assertTrue(((Icon) q.extras.getParcelable(Notification.EXTRA_LARGE_ICON)).getBitmap() in largeIconReferenceInExtrasOnly_keptAfterParcelling() 174 .sameAs(originalIcon.getBitmap())); in largeIconReferenceInExtrasOnly_keptAfterParcelling()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | SimpleIconFactory.java | 217 result = ((BitmapDrawable) badged).getBitmap(); in createUserBadgedIconBitmap() 374 Bitmap b = bitmapDrawable.getBitmap(); in createIconBitmap() 745 return getBitmap().getWidth(); in getIntrinsicHeight() 750 return getBitmap().getWidth(); in getIntrinsicWidth()
|
/frameworks/base/core/java/android/service/quickaccesswallet/ |
D | GetWalletCardsCallbackImpl.java | 140 && cardImage.getBitmap().getConfig() != Bitmap.Config.HARDWARE) { in isValidResponse()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | PageContentRepository.java | 402 Bitmap bitmap = page.content.getBitmap(); in hasSameSize() 431 return content.getBitmap().getByteCount(); in getSizeInBytes() 435 content.getBitmap().eraseColor(Color.WHITE); in erase() 896 Bitmap bitmap = mRenderedPage.content.getBitmap(); in doInBackground()
|
/frameworks/base/graphics/java/android/graphics/ |
D | NinePatch.java | 169 public Bitmap getBitmap() { in getBitmap() method in NinePatch
|