Home
last modified time | relevance | path

Searched refs:getBitmap (Results 1 – 16 of 16) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DImageSwitcherTest.java72 WidgetTestUtils.assertEquals(sceneryBitmap.getBitmap(), currViewBitmap.getBitmap()); in testSetImageResource()
80 WidgetTestUtils.assertEquals(testimageBitmap.getBitmap(), currViewBitmap.getBitmap()); in testSetImageResource()
110 currViewBitmap.getBitmap().getConfig()); in testSetImageURI()
111 WidgetTestUtils.assertEquals(testImageBitmap, currViewBitmap.getBitmap()); in testSetImageURI()
119 currViewBitmap.getBitmap().getConfig()); in testSetImageURI()
122 WidgetTestUtils.assertEquals(sceneryImageBitmap, currViewBitmap.getBitmap()); in testSetImageURI()
DTextViewTest.java2507 WidgetTestUtils.assertEquals(getBitmap(R.drawable.start),
2508 ((BitmapDrawable) drawables[0]).getBitmap());
2510 WidgetTestUtils.assertEquals(getBitmap(R.drawable.pass),
2511 ((BitmapDrawable) drawables[1]).getBitmap());
2513 WidgetTestUtils.assertEquals(getBitmap(R.drawable.failed),
2514 ((BitmapDrawable) drawables[2]).getBitmap());
4205 WidgetTestUtils.assertEquals(getBitmap(R.drawable.icon_blue), in testDrawableResolution()
4206 ((BitmapDrawable) drawables[LEFT]).getBitmap()); in testDrawableResolution()
4207 WidgetTestUtils.assertEquals(getBitmap(R.drawable.icon_red), in testDrawableResolution()
4208 ((BitmapDrawable) drawables[RIGHT]).getBitmap()); in testDrawableResolution()
[all …]
DImageViewTest.java190 WidgetTestUtils.assertEquals(testimageBitmap.getBitmap(), imageViewBitmap.getBitmap()); in testSetImageIcon()
206 WidgetTestUtils.assertEquals(testimageBitmap.getBitmap(), imageViewBitmap.getBitmap()); in testSetImageResource()
229 Bitmap.Config viewConfig = imageViewBitmap.getBitmap().getConfig(); in testSetImageURI()
233 WidgetTestUtils.assertEquals(testimageBitmap, imageViewBitmap.getBitmap()); in testSetImageURI()
250 WidgetTestUtils.assertEquals(testimageBitmap.getBitmap(), imageViewBitmap.getBitmap()); in testSetImageDrawable()
268 WidgetTestUtils.assertEquals(bitmap, imageViewBitmap.getBitmap()); in testSetImageBitmap()
DRemoteViewsTest.java165 WidgetTestUtils.assertEquals(dBlack.getBitmap(), in testSetIcon()
166 ((BitmapDrawable) image.getDrawable()).getBitmap()); in testSetIcon()
178 WidgetTestUtils.assertEquals(dBlue.getBitmap(), in testSetImageViewIcon()
179 ((BitmapDrawable) image.getDrawable()).getBitmap()); in testSetImageViewIcon()
191 WidgetTestUtils.assertEquals(d.getBitmap(), in testSetImageViewResource()
192 ((BitmapDrawable) image.getDrawable()).getBitmap()); in testSetImageViewResource()
217 Bitmap imageViewBitmap = ((BitmapDrawable) image.getDrawable()).getBitmap(); in testSetImageViewUri()
317 WidgetTestUtils.assertEquals(d.getBitmap(), in testReapply()
318 ((BitmapDrawable) image.getDrawable()).getBitmap()); in testReapply()
395 WidgetTestUtils.assertEquals(bitmap, ((BitmapDrawable) image.getDrawable()).getBitmap()); in testSetImageViewBitmap()
[all …]
DSimpleAdapterTest.java295 WidgetTestUtils.assertEquals(d.getBitmap(), in testSetViewImage()
296 ((BitmapDrawable) view.getDrawable()).getBitmap()); in testSetViewImage()
320 WidgetTestUtils.assertEquals(d.getBitmap(), in testSetViewImage()
321 ((BitmapDrawable) view.getDrawable()).getBitmap()); in testSetViewImage()
336 Bitmap actualBitmap = ((BitmapDrawable) view.getDrawable()).getBitmap(); in testSetViewImage()
DSimpleCursorTreeAdapterTest.java142 WidgetTestUtils.assertEquals(d.getBitmap(), in testSetViewImage()
143 ((BitmapDrawable) view.getDrawable()).getBitmap()); in testSetViewImage()
168 Bitmap actualBitmap = ((BitmapDrawable) view.getDrawable()).getBitmap(); in testSetViewImage()
DSimpleCursorAdapterTest.java195 WidgetTestUtils.assertEquals(d.getBitmap(), in testSetViewImage()
196 ((BitmapDrawable) view.getDrawable()).getBitmap()); in testSetViewImage()
223 Bitmap actualBitmap = ((BitmapDrawable) view.getDrawable()).getBitmap(); in testSetViewImage()
/cts/tests/tests/content/src/android/content/pm/cts/
DComponentInfoTest.java82 WidgetTestUtils.assertEquals(((BitmapDrawable) d).getBitmap(), in testLoadIcon()
83 ((BitmapDrawable) defaultIcon).getBitmap()); in testLoadIcon()
88 WidgetTestUtils.assertEquals(((BitmapDrawable) d).getBitmap(), in testLoadIcon()
89 ((BitmapDrawable) d2).getBitmap()); in testLoadIcon()
/cts/tests/tests/text/src/android/text/style/cts/
DImageSpanTest.java96 WidgetTestUtils.assertEquals(bitmapDrawable.getBitmap(), resultDrawable.getBitmap()); in testGetDrawable()
/cts/tests/tests/textureview/src/android/textureview/cts/
DTextureViewSnapshotTestActivity.java80 Bitmap bitmap = mTexView.getBitmap(); in onSurfaceTextureUpdated()
/cts/tests/tests/graphics2/src/android/graphics2/cts/
DTextureViewCameraActivity.java95 Bitmap bitmap = mTextureView.getBitmap(); in onSurfaceTextureUpdated()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DThemedDrawableTest.java70 assertNotNull(d.getBitmap()); in internalTestBitmapDrawable()
DBitmapDrawableTest.java66 assertNull(bitmapDrawable.getBitmap()); in testConstructor()
73 assertEquals(bitmap, bitmapDrawable.getBitmap()); in testConstructor()
/cts/tests/tests/view/src/android/view/cts/
DMenuInflaterTest.java227 WidgetTestUtils.assertEquals(expected, b.getBitmap()); in assertIconUsingDrawableRes()
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStore_Images_MediaTest.java172 Bitmap result = Media.getBitmap(mContentResolver, in testInsertImageWithBitmap()
/cts/tests/tests/content/src/android/content/cts/
DContextWrapperTest.java113 mContextWrapper.setWallpaper(mOriginalWallpaper.getBitmap()); in tearDown()