/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 | 221 WidgetTestUtils.assertEquals(testimageBitmap.getBitmap(), imageViewBitmap.getBitmap()); in testSetImageIcon() 237 WidgetTestUtils.assertEquals(testimageBitmap.getBitmap(), imageViewBitmap.getBitmap()); in testSetImageResource() 259 Bitmap.Config viewConfig = imageViewBitmap.getBitmap().getConfig(); in testSetImageURI() 263 WidgetTestUtils.assertEquals(testimageBitmap, imageViewBitmap.getBitmap()); in testSetImageURI() 279 WidgetTestUtils.assertEquals(testimageBitmap.getBitmap(), imageViewBitmap.getBitmap()); in testSetImageDrawable() 296 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 | RemoteViewsTest.java | 240 WidgetTestUtils.assertEquals(dBlack.getBitmap(), in testSetIcon() 241 ((BitmapDrawable) image.getDrawable()).getBitmap()); in testSetIcon() 254 WidgetTestUtils.assertEquals(dBlue.getBitmap(), in testSetImageViewIcon() 255 ((BitmapDrawable) image.getDrawable()).getBitmap()); in testSetImageViewIcon() 268 WidgetTestUtils.assertEquals(d.getBitmap(), in testSetImageViewResource() 269 ((BitmapDrawable) image.getDrawable()).getBitmap()); in testSetImageViewResource() 291 Bitmap imageViewBitmap = ((BitmapDrawable) image.getDrawable()).getBitmap(); in testSetImageViewUri() 403 WidgetTestUtils.assertEquals(d.getBitmap(), in testReapply() 404 ((BitmapDrawable) image.getDrawable()).getBitmap()); in testReapply() 492 WidgetTestUtils.assertEquals(bitmap, ((BitmapDrawable) image.getDrawable()).getBitmap()); in testSetImageViewBitmap() [all …]
|
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 | TextViewTest.java | 3964 WidgetTestUtils.assertEquals(TestUtils.getBitmap(mActivity, R.drawable.start), in testCompound() 3965 ((BitmapDrawable) drawables[0]).getBitmap()); in testCompound() 3967 WidgetTestUtils.assertEquals(TestUtils.getBitmap(mActivity, R.drawable.pass), in testCompound() 3968 ((BitmapDrawable) drawables[1]).getBitmap()); in testCompound() 3970 WidgetTestUtils.assertEquals(TestUtils.getBitmap(mActivity, R.drawable.failed), in testCompound() 3971 ((BitmapDrawable) drawables[2]).getBitmap()); in testCompound() 4105 WidgetTestUtils.assertEquals(TestUtils.getBitmap(mActivity, R.drawable.start), in testCursorDrawable_canBeSet_toDrawableResource() 4106 ((BitmapDrawable) mTextView.getTextCursorDrawable()).getBitmap()); in testCursorDrawable_canBeSet_toDrawableResource() 4157 WidgetTestUtils.assertEquals(TestUtils.getBitmap(mActivity, R.drawable.start), in testHandleDrawables_canBeSet_toDrawableResources() 4158 ((BitmapDrawable) mTextView.getTextSelectHandle()).getBitmap()); in testHandleDrawables_canBeSet_toDrawableResources() [all …]
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | ImageSpanTest.java | 122 WidgetTestUtils.assertEquals(bitmapDrawable.getBitmap(), resultDrawable.getBitmap()); in testGetDrawable()
|
/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 | 120 activity.getTextureView().getBitmap(bitmap); in testScaling() 136 activity.getTextureView().getBitmap(bitmap); in testRotateScale() 178 activity.getTextureView().getBitmap(bitmap); in testTransformScale()
|
D | TextureViewCtsActivity.java | 148 this.getTextureView().getBitmap(bitmap); in getContents()
|
D | MenuInflaterTest.java | 335 WidgetTestUtils.assertEquals(expected, b.getBitmap()); in verifyDrawableContent()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaRouterTest.java | 214 assertTrue(getBitmap(mTestIconDrawable).sameAs(getBitmap(userRoute.getIconDrawable()))); in testUserRouteInfo() 305 assertTrue(getBitmap(mTestIconDrawable).sameAs(getBitmap(routeGroup.getIconDrawable()))); in testRouteGroup() 570 private Bitmap getBitmap(Drawable drawable) { in getBitmap() method in MediaRouterTest
|
D | DecodeAccuracyTestBase.java | 658 return snapshot.getBitmap(); in generateBitmapFromVideoViewSnapshot() 1308 public abstract Bitmap getBitmap(); in getBitmap() method in VideoViewSnapshot 1332 bitmap = tv.getBitmap(); in run() 1339 public Bitmap getBitmap() { in getBitmap() method in TextureViewSnapshot 1406 public Bitmap getBitmap() { in getBitmap() method in SurfaceViewSnapshot 1522 public Bitmap getBitmap() { in getBitmap() method in GLSurfaceViewSnapshot
|
/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/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()
|
D | ThemedDrawableTest.java | 84 assertNotNull(d.getBitmap()); in verifyBitmapDrawable()
|
/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/camera/src/android/hardware/camera2/cts/ |
D | MultiViewTest.java | 952 Bitmap bitmap0 = mTextureView[viewIdx0].getBitmap(); in testTextureImageWriterReaderOperation() 953 Bitmap bitmap1 = mTextureView[viewIdx1].getBitmap(); in testTextureImageWriterReaderOperation()
|