/frameworks/support/textclassifier/src/androidTest/java/androidx/textclassifier/ |
D | TextClassificationTest.java | 98 final Bitmap resPrimaryIcon = ((BitmapDrawable) result.getIcon()).getBitmap(); in testParcel() 99 assertEquals(primaryIcon.getBitmap().getPixel(0, 0), resPrimaryIcon.getPixel(0, 0)); in testParcel() 106 final Bitmap resSecondaryIcon0 = ((BitmapDrawable) result.getSecondaryIcon(0)).getBitmap(); in testParcel() 107 assertEquals(secondaryIcon0.getBitmap().getPixel(0, 0), resSecondaryIcon0.getPixel(0, 0)); in testParcel() 114 final Bitmap resSecondaryIcon1 = ((BitmapDrawable) result.getSecondaryIcon(1)).getBitmap(); in testParcel() 115 assertEquals(secondaryIcon1.getBitmap().getPixel(0, 0), resSecondaryIcon1.getPixel(0, 0)); in testParcel() 127 final Bitmap resSecondaryIcon3 = ((BitmapDrawable) result.getSecondaryIcon(3)).getBitmap(); in testParcel()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | Icon.java | 142 public Bitmap getBitmap() { in getBitmap() method in Icon 328 return new BitmapDrawable(context.getResources(), getBitmap()); in loadDrawableInner() 331 new BitmapDrawable(context.getResources(), getBitmap())); in loadDrawableInner() 436 getBitmap().isMutable() && in convertToAshmem() 437 getBitmap().getAllocationByteCount() >= MIN_ASHMEM_ICON_SIZE) { in convertToAshmem() 438 setBitmap(getBitmap().createAshmemBitmap()); in convertToAshmem() 457 getBitmap().compress(Bitmap.CompressFormat.PNG, 100, dataStream); in writeToStream() 529 return getBitmap() == otherIcon.getBitmap(); in sameAs() 721 .append(getBitmap().getWidth()) in toString() 723 .append(getBitmap().getHeight()); in toString() [all …]
|
/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 | 537 public Bitmap getBitmap() { in getBitmap() method in TextureView 538 return getBitmap(getWidth(), getHeight()); in getBitmap() 564 public Bitmap getBitmap(int width, int height) { in getBitmap() method in TextureView 566 return getBitmap(Bitmap.createBitmap(getResources().getDisplayMetrics(), in getBitmap() 595 public Bitmap getBitmap(Bitmap bitmap) { in getBitmap() method in TextureView
|
/frameworks/support/compat/src/main/java/androidx/core/graphics/drawable/ |
D | RoundedBitmapDrawableFactory.java | 85 if (drawable.getBitmap() == null) { in create() 98 if (drawable.getBitmap() == null) { in create()
|
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
D | IconTest.java | 50 .getBitmap(); in testWithBitmap() 121 assertThat(ic.getBitmap().getWidth()).isLessThan(41); in testScaleDownIfNecessary() 122 assertThat(ic.getBitmap().getHeight()).isLessThan(21); in testScaleDownIfNecessary() 162 .getBitmap(); in testWithBitmapResource() 185 .getBitmap(); in testWithFile() 209 .getBitmap(); in testAsync() 252 .getBitmap(); in testParcel()
|
/frameworks/support/media/api21/android/support/v4/media/ |
D | MediaMetadataCompatApi21.java | 34 public static Bitmap getBitmap(Object metadataObj, String key) { in getBitmap() method in MediaMetadataCompatApi21 35 return ((MediaMetadata)metadataObj).getBitmap(key); in getBitmap()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | NotificationTest.java | 165 assertTrue(q.getLargeIcon().getBitmap().sameAs(n.getLargeIcon().getBitmap())); in largeIconMultipleReferences_keptAfterParcelling() 180 assertTrue(((Icon) q.extras.getParcelable(Notification.EXTRA_LARGE_ICON)).getBitmap() in largeIconReferenceInExtrasOnly_keptAfterParcelling() 181 .sameAs(originalIcon.getBitmap())); in largeIconReferenceInExtrasOnly_keptAfterParcelling()
|
/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/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/ |
D | IconMixinTest.java | 127 assertEquals(expected.getBitmap(), actual.getBitmap()); in testSetIconFromXml()
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
D | PlaybackControlsRow.java | 544 createBitmap(repeatDrawable.getBitmap(), repeatAllColor)); 547 createBitmap(repeatOneDrawable.getBitmap(), repeatOneColor)); 607 createBitmap(uncoloredDrawable.getBitmap(), highlightColor)); 665 createBitmap(uncoloredDrawable.getBitmap(), highlightColor)); 726 createBitmap(uncoloredDrawable.getBitmap(), highlightColor));
|
/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/packages/SystemUI/src/com/android/systemui/pip/tv/ |
D | PipNotification.java | 216 art = metadata.getBitmap(MediaMetadata.METADATA_KEY_ALBUM_ART); in updateMediaControllerMetadata() 218 art = metadata.getBitmap(MediaMetadata.METADATA_KEY_ART); in updateMediaControllerMetadata()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | ImageEncoder.java | 55 Bitmap bitmap = input.getBitmap(); in process()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | FixedSizeImageView.java | 68 (((BitmapDrawable) drawable).getBitmap() == null); in setImageDrawable()
|
/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/packages/SystemUI/src/com/android/systemui/ |
D | ImageWallpaper.java | 253 updateBitmap(mWallpaperManager.getBitmap(true /* hardware */)); in onSurfaceRedrawNeeded() 369 return mWallpaperManager.getBitmap(true /* hardware */); in loadWallpaper() 394 return mWallpaperManager.getBitmap(true /* hardware */); in loadWallpaper()
|
/frameworks/support/compat/src/androidTest/java/androidx/core/graphics/drawable/ |
D | IconCompatTest.java | 149 assertEquals(bitmap, ((BitmapDrawable) d).getBitmap()); in testCreateWithBitmap() 174 Bitmap clipped = ((BitmapDrawable) d).getBitmap(); in testCreateWithAdaptiveBitmap() 198 assertTrue(bitmap.sameAs(((BitmapDrawable) d).getBitmap())); in testCreateWithData()
|
/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 | 179 public Bitmap getBitmap() { in getBitmap() method in NinePatch
|