Searched refs:expectedBitmap (Results 1 – 4 of 4) sorted by relevance
130 Bitmap expectedBitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888); in managerForwards_provideContextBitmap() local131 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()
527 Bitmap expectedBitmap = drawAndGetBitmap(expected); in verifyPathsAreEquivalent() local528 assertTrue(actualBitmap.sameAs(expectedBitmap)); in verifyPathsAreEquivalent()
1831 Bitmap expectedBitmap = BitmapFactory.decodeResource(mRes, R.drawable.robot); in testWriteHwBitmapToParcel() local1832 assertTrue(expectedBitmap.sameAs(Bitmap.CREATOR.createFromParcel(p))); in testWriteHwBitmapToParcel()2824 Bitmap expectedBitmap = decodeBytes(expected); in testNdkCompress() local2826 boolean matched = BitmapUtils.compareBitmapsMse(expectedBitmap, actualBitmap, in testNdkCompress()2828 expectedBitmap.recycle(); in testNdkCompress()
346 Bitmap expectedBitmap = WidgetTestUtils.getUnscaledAndDitheredBitmap( in testSetImageViewUri() local348 WidgetTestUtils.assertEquals(expectedBitmap, imageViewBitmap); in testSetImageViewUri()667 Bitmap expectedBitmap = WidgetTestUtils.getUnscaledAndDitheredBitmap( in testSetUri() local669 WidgetTestUtils.assertEquals(expectedBitmap, imageViewBitmap); in testSetUri()