/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | TestUtils.java | 423 public static Bitmap getBitmap(Context context, @DrawableRes int resid) { 424 return ((BitmapDrawable) getDrawable(context, resid)).getBitmap(); 435 WidgetTestUtils.assertEquals(getBitmap(context, expectedLeftDrawableId), 436 ((BitmapDrawable) compoundDrawables[0]).getBitmap()); 441 WidgetTestUtils.assertEquals(getBitmap(context, expectedTopDrawableId), 442 ((BitmapDrawable) compoundDrawables[1]).getBitmap()); 447 WidgetTestUtils.assertEquals(getBitmap(context, expectedRightDrawableId), 448 ((BitmapDrawable) compoundDrawables[2]).getBitmap()); 453 WidgetTestUtils.assertEquals(getBitmap(context, expectedBottomDrawableId), 454 ((BitmapDrawable) compoundDrawables[3]).getBitmap()); [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ImageSwitcherTest.java | 102 WidgetTestUtils.assertEquals(sceneryBitmap.getBitmap(), currViewBitmap.getBitmap()); in testSetImageResource() 110 WidgetTestUtils.assertEquals(testimageBitmap.getBitmap(), currViewBitmap.getBitmap()); in testSetImageResource() 140 currViewBitmap.getBitmap().getConfig()); in testSetImageURI() 141 WidgetTestUtils.assertEquals(testImageBitmap, currViewBitmap.getBitmap()); in testSetImageURI() 149 currViewBitmap.getBitmap().getConfig()); in testSetImageURI() 152 WidgetTestUtils.assertEquals(sceneryImageBitmap, currViewBitmap.getBitmap()); in testSetImageURI()
|
D | SimpleAdapterTest.java | 330 WidgetTestUtils.assertEquals(d.getBitmap(), in testSetViewImage() 331 ((BitmapDrawable) view.getDrawable()).getBitmap()); in testSetViewImage() 354 WidgetTestUtils.assertEquals(d.getBitmap(), in testSetViewImage() 355 ((BitmapDrawable) view.getDrawable()).getBitmap()); in testSetViewImage() 370 Bitmap actualBitmap = ((BitmapDrawable) view.getDrawable()).getBitmap(); in testSetViewImage()
|
D | ImageViewTest.java | 275 WidgetTestUtils.assertEquals(testimageBitmap.getBitmap(), imageViewBitmap.getBitmap()); in testSetImageIcon() 291 WidgetTestUtils.assertEquals(testimageBitmap.getBitmap(), imageViewBitmap.getBitmap()); in testSetImageResource() 313 Bitmap.Config viewConfig = imageViewBitmap.getBitmap().getConfig(); in testSetImageURI() 317 WidgetTestUtils.assertEquals(testimageBitmap, imageViewBitmap.getBitmap()); in testSetImageURI() 333 WidgetTestUtils.assertEquals(testimageBitmap.getBitmap(), imageViewBitmap.getBitmap()); in testSetImageDrawable() 350 WidgetTestUtils.assertEquals(bitmap, imageViewBitmap.getBitmap()); in testSetImageBitmap()
|
D | SimpleCursorTreeAdapterTest.java | 156 WidgetTestUtils.assertEquals(d.getBitmap(), in testSetViewImage() 157 ((BitmapDrawable) view.getDrawable()).getBitmap()); in testSetViewImage() 182 Bitmap actualBitmap = ((BitmapDrawable) view.getDrawable()).getBitmap(); in testSetViewImage()
|
D | SimpleCursorAdapterTest.java | 219 WidgetTestUtils.assertEquals(d.getBitmap(), in testSetViewImage() 220 ((BitmapDrawable) view.getDrawable()).getBitmap()); in testSetViewImage() 247 Bitmap actualBitmap = ((BitmapDrawable) view.getDrawable()).getBitmap(); in testSetViewImage()
|
D | RemoteViewsTest.java | 274 WidgetTestUtils.assertEquals(dBlack.getBitmap(), in testSetIcon() 275 ((BitmapDrawable) image.getDrawable()).getBitmap()); in testSetIcon() 288 WidgetTestUtils.assertEquals(dLight.getBitmap(), in testSetIcon_nightMode() 289 ((BitmapDrawable) image.getDrawable()).getBitmap()); in testSetIcon_nightMode() 294 WidgetTestUtils.assertEquals(dDark.getBitmap(), in testSetIcon_nightMode() 295 ((BitmapDrawable) image.getDrawable()).getBitmap()); in testSetIcon_nightMode() 309 WidgetTestUtils.assertEquals(dBlue.getBitmap(), in testSetImageViewIcon() 310 ((BitmapDrawable) image.getDrawable()).getBitmap()); in testSetImageViewIcon() 323 WidgetTestUtils.assertEquals(d.getBitmap(), in testSetImageViewResource() 324 ((BitmapDrawable) image.getDrawable()).getBitmap()); in testSetImageViewResource() [all …]
|
/cts/tests/quickaccesswallet/src/android/quickaccesswallet/cts/ |
D | TestUtils.java | 41 Bitmap bitmap1 = ((BitmapDrawable) drawable1).getBitmap(); in compareIcons() 42 Bitmap bitmap2 = ((BitmapDrawable) drawable2).getBitmap(); in compareIcons()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaMetadataTest.java | 63 Bitmap scaledDownBitmap = metadata.getBitmap(MediaMetadata.METADATA_KEY_ALBUM_ART); in builder_setBitmapDimensionLimit_bitmapsAreScaledDown() 86 Bitmap notScaledDownBitmap = metadata.getBitmap(MediaMetadata.METADATA_KEY_ALBUM_ART); in builder_setBitmapDimensionLimit_bitmapsAreNotScaledDown()
|
D | MediaRouterTest.java | 215 assertTrue(getBitmap(mTestIconDrawable).sameAs(getBitmap(userRoute.getIconDrawable()))); in testUserRouteInfo() 306 assertTrue(getBitmap(mTestIconDrawable).sameAs(getBitmap(routeGroup.getIconDrawable()))); in testRouteGroup() 571 private Bitmap getBitmap(Drawable drawable) { in getBitmap() method in MediaRouterTest
|
D | DecodeAccuracyTestBase.java | 660 return snapshot.getBitmap(); in generateBitmapFromVideoViewSnapshot() 1310 public abstract Bitmap getBitmap(); in getBitmap() method in VideoViewSnapshot 1334 bitmap = tv.getBitmap(); in run() 1341 public Bitmap getBitmap() { in getBitmap() method in TextureViewSnapshot 1408 public Bitmap getBitmap() { in getBitmap() method in SurfaceViewSnapshot 1524 public Bitmap getBitmap() { in getBitmap() method in GLSurfaceViewSnapshot
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | BitmapDrawableTest.java | 94 assertNull(bitmapDrawable.getBitmap()); in testConstructor() 101 assertEquals(bitmap, bitmapDrawable.getBitmap()); in testConstructor() 394 bitmapDrawable.setTargetDensity(bitmapDrawable.getBitmap().getDensity()); in testGetIntrinsicSize() 441 bitmap = bitmapDrawable.getBitmap(); in testSetTargetDensity() 568 assertSame(source, bitmapDrawable.getBitmap()); in testSetBitmap() 572 assertSame(bm, bitmapDrawable.getBitmap()); in testSetBitmap() 575 assertNull(bitmapDrawable.getBitmap()); in testSetBitmap()
|
D | ThemedDrawableTest.java | 84 assertNotNull(d.getBitmap()); in verifyBitmapDrawable()
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | ImageSpanTest.java | 122 WidgetTestUtils.assertEquals(bitmapDrawable.getBitmap(), resultDrawable.getBitmap()); in testGetDrawable()
|
/cts/tests/app/src/android/app/cts/ |
D | WallpaperManagerTest.java | 327 assertBitmapDimensions(mWallpaperManager.getBitmap()); in highRatioWallpaper_largeWidth() 341 assertBitmapDimensions(mWallpaperManager.getBitmap()); in highRatioWallpaper_largeHeight() 355 assertBitmapDimensions(mWallpaperManager.getBitmap()); in highResolutionWallpaper() 372 assertThat(mWallpaperManager.getBitmap().getColorSpace()).isEqualTo(srgb); in testWideGamutWallpaper() 377 final boolean isDisplayP3 = mWallpaperManager.getBitmap().getColorSpace().equals(p3); in testWideGamutWallpaper()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/view/ |
D | BitmapView.java | 49 public Bitmap getBitmap() { in getBitmap() method in BitmapView
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | RenderScriptTask.java | 138 rgbdImage = options.rgbz.getBitmap(); in prepareRefocusFilter()
|
D | RGBZ.java | 94 public Bitmap getBitmap() { in getBitmap() method in RGBZ
|
/cts/tests/tests/view/src/android/view/cts/ |
D | TextureViewSnapshotTestActivity.java | 84 Bitmap bitmap = mTexView.getBitmap(); in onSurfaceTextureUpdated()
|
D | TextureViewCameraActivity.java | 101 Bitmap bitmap = mTextureView.getBitmap(); in onSurfaceTextureUpdated()
|
D | TextureViewTest.java | 124 activity.getTextureView().getBitmap(bitmap); in testScaling() 140 activity.getTextureView().getBitmap(bitmap); in testRotateScale() 182 activity.getTextureView().getBitmap(bitmap); in testTransformScale()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | SharedElementCallbackTest.java | 71 Bitmap finalBitmap = bitmapDrawable.getBitmap(); in testSnapshot()
|
D | FadeTest.java | 151 Bitmap bitmap = bitmapDrawable.getBitmap(); in testFadeOutTransition()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | NinePatchTest.java | 83 assertEquals(mBitmap, mNinePatch.getBitmap()); in testConstructor() 87 assertEquals(mBitmap, mNinePatch.getBitmap()); in testConstructor()
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | HandleSplashScreenExitActivity.java | 74 Bitmap bitmap = ((BitmapDrawable) background).getBitmap();
|