Home
last modified time | relevance | path

Searched refs:expectedBitmap (Results 1 – 7 of 7) 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/media/misc/src/android/media/misc/cts/
DExifInterfaceTest.java1018 Bitmap expectedBitmap = Objects.requireNonNull( in assertBitmapsEquivalent() local
1026 assertEquals(expectedBitmap.getWidth(), actualBitmap.getWidth()); in assertBitmapsEquivalent()
1027 assertEquals(expectedBitmap.getHeight(), actualBitmap.getHeight()); in assertBitmapsEquivalent()
/cts/tests/tests/widget/src/android/widget/cts/
DRemoteViewsTest.java397 Bitmap expectedBitmap = WidgetTestUtils.getUnscaledAndDitheredBitmap( in testSetImageViewUri() local
399 WidgetTestUtils.assertEquals(expectedBitmap, imageViewBitmap); in testSetImageViewUri()
781 final Bitmap expectedBitmap = getBitmapFromFile(mContext, bitmapId); in testSingleDrawInstruction() local
784 verifyBitmap(expectedBitmap.getWidth(), expectedBitmap.getHeight(), (actualBitmap) -> { in testSingleDrawInstruction()
785 final float rmse = compareImages(expectedBitmap, actualBitmap, resourceName); in testSingleDrawInstruction()
792 expectedBitmap, resourceName + "_expected"); in testSingleDrawInstruction()
1194 Bitmap expectedBitmap = WidgetTestUtils.getUnscaledAndDitheredBitmap( in testSetUri() local
1196 WidgetTestUtils.assertEquals(expectedBitmap, imageViewBitmap); in testSetUri()
DTextViewHandwritingGestureTest.java2149 Bitmap expectedBitmap = drawToBitmap(expected); in assertPathEquals() local
2151 assertThat(expectedBitmap.sameAs(actualBitmap)).isTrue(); in assertPathEquals()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPathTest.java786 Bitmap expectedBitmap = drawAndGetBitmap(expected, paint); in verifyPathsAreEquivalent() local
787 assertTrue(actualBitmap.sameAs(expectedBitmap)); in verifyPathsAreEquivalent()
DBitmapTest.java1976 Bitmap expectedBitmap = BitmapFactory.decodeResource(mRes, R.drawable.robot); in testWriteHwBitmapToParcel() local
1977 assertTrue(expectedBitmap.sameAs(Bitmap.CREATOR.createFromParcel(p))); in testWriteHwBitmapToParcel()
2933 Bitmap expectedBitmap = decodeBytes(expected); in testNdkCompress() local
2935 boolean matched = BitmapUtils.compareBitmapsMse(expectedBitmap, actualBitmap, in testNdkCompress()
2937 expectedBitmap.recycle(); in testNdkCompress()
/cts/tests/tests/content/src/android/content/pm/cts/
DLauncherAppsTest.java780 Bitmap actualBitmap, Bitmap expectedBitmap) { in recycleBitmaps() argument
782 expectedBitmap.recycle(); in recycleBitmaps()