Searched refs:expectedBitmap (Results 1 – 7 of 7) sorted by relevance
/cts/tests/contentsuggestions/src/android/contentsuggestions/cts/ |
D | ContentSuggestionsManagerTest.java | 130 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/ |
D | ExifInterfaceTest.java | 1020 Bitmap expectedBitmap = Objects.requireNonNull( in assertBitmapsEquivalent() local 1028 assertEquals(expectedBitmap.getWidth(), actualBitmap.getWidth()); in assertBitmapsEquivalent() 1029 assertEquals(expectedBitmap.getHeight(), actualBitmap.getHeight()); in assertBitmapsEquivalent()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | LauncherAppsTest.java | 762 Bitmap actualBitmap, Bitmap expectedBitmap) { in recycleBitmaps() argument 764 expectedBitmap.recycle(); in recycleBitmaps()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | RemoteViewsTest.java | 381 Bitmap expectedBitmap = WidgetTestUtils.getUnscaledAndDitheredBitmap( in testSetImageViewUri() local 383 WidgetTestUtils.assertEquals(expectedBitmap, imageViewBitmap); in testSetImageViewUri() 787 final Bitmap expectedBitmap = getBitmapFromFile(mContext, bitmapId); in testSingleDrawInstruction() local 790 verifyBitmap(expectedBitmap.getWidth(), expectedBitmap.getHeight(), (actualBitmap) -> { in testSingleDrawInstruction() 791 final float rmse = compareImages(expectedBitmap, actualBitmap, resourceName); in testSingleDrawInstruction() 798 expectedBitmap, resourceName + "_expected"); in testSingleDrawInstruction() 1193 Bitmap expectedBitmap = WidgetTestUtils.getUnscaledAndDitheredBitmap( in testSetUri() local 1195 WidgetTestUtils.assertEquals(expectedBitmap, imageViewBitmap); in testSetUri()
|
D | TextViewHandwritingGestureTest.java | 2149 Bitmap expectedBitmap = drawToBitmap(expected); in assertPathEquals() local 2151 assertThat(expectedBitmap.sameAs(actualBitmap)).isTrue(); in assertPathEquals()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PathTest.java | 791 Bitmap expectedBitmap = drawAndGetBitmap(expected, paint); in verifyPathsAreEquivalent() local 792 assertTrue(actualBitmap.sameAs(expectedBitmap)); in verifyPathsAreEquivalent()
|
D | BitmapTest.java | 1895 Bitmap expectedBitmap = BitmapFactory.decodeResource(mRes, R.drawable.robot); in testWriteHwBitmapToParcel() local 1896 assertTrue(expectedBitmap.sameAs(Bitmap.CREATOR.createFromParcel(p))); in testWriteHwBitmapToParcel() 2806 Bitmap expectedBitmap = decodeBytes(expected); in testNdkCompress() local 2808 boolean matched = BitmapUtils.compareBitmapsMse(expectedBitmap, actualBitmap, in testNdkCompress() 2810 expectedBitmap.recycle(); in testNdkCompress()
|