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 | 1018 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/ |
| D | RemoteViewsTest.java | 397 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()
|
| 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 | 786 Bitmap expectedBitmap = drawAndGetBitmap(expected, paint); in verifyPathsAreEquivalent() local 787 assertTrue(actualBitmap.sameAs(expectedBitmap)); in verifyPathsAreEquivalent()
|
| D | BitmapTest.java | 1976 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/ |
| D | LauncherAppsTest.java | 780 Bitmap actualBitmap, Bitmap expectedBitmap) { in recycleBitmaps() argument 782 expectedBitmap.recycle(); in recycleBitmaps()
|