Home
last modified time | relevance | path

Searched refs:expectedBitmap (Results 1 – 4 of 4) sorted by relevance

/cts/tests/contentsuggestions/src/android/contentsuggestions/cts/
DContentSuggestionsManagerTest.java130 Bitmap expectedBitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888); in managerForwards_provideContextBitmap() local
131 mManager.provideContextImage(expectedBitmap, new Bundle()); in managerForwards_provideContextBitmap()
140 assertThat(actualBitmap.getWidth()).isEqualTo(expectedBitmap.getWidth()); in managerForwards_provideContextBitmap()
141 assertThat(actualBitmap.getHeight()).isEqualTo(expectedBitmap.getHeight()); in managerForwards_provideContextBitmap()
142 assertThat(bitmapArg.getValue().getWidth()).isEqualTo(expectedBitmap.getWidth()); in managerForwards_provideContextBitmap()
143 assertThat(bitmapArg.getValue().getHeight()).isEqualTo(expectedBitmap.getHeight()); in managerForwards_provideContextBitmap()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPathTest.java527 Bitmap expectedBitmap = drawAndGetBitmap(expected); in verifyPathsAreEquivalent() local
528 assertTrue(actualBitmap.sameAs(expectedBitmap)); in verifyPathsAreEquivalent()
DBitmapTest.java1831 Bitmap expectedBitmap = BitmapFactory.decodeResource(mRes, R.drawable.robot); in testWriteHwBitmapToParcel() local
1832 assertTrue(expectedBitmap.sameAs(Bitmap.CREATOR.createFromParcel(p))); in testWriteHwBitmapToParcel()
2824 Bitmap expectedBitmap = decodeBytes(expected); in testNdkCompress() local
2826 boolean matched = BitmapUtils.compareBitmapsMse(expectedBitmap, actualBitmap, in testNdkCompress()
2828 expectedBitmap.recycle(); in testNdkCompress()
/cts/tests/tests/widget/src/android/widget/cts/
DRemoteViewsTest.java346 Bitmap expectedBitmap = WidgetTestUtils.getUnscaledAndDitheredBitmap( in testSetImageViewUri() local
348 WidgetTestUtils.assertEquals(expectedBitmap, imageViewBitmap); in testSetImageViewUri()
667 Bitmap expectedBitmap = WidgetTestUtils.getUnscaledAndDitheredBitmap( in testSetUri() local
669 WidgetTestUtils.assertEquals(expectedBitmap, imageViewBitmap); in testSetUri()