Home
last modified time | relevance | path

Searched refs:actualBitmap (Results 1 – 14 of 14) sorted by relevance

/cts/tests/tests/text/src/android/text/cts/
DStaticLayoutMultilineBidiTest.kt64 val actualBitmap = Bitmap.createBitmap(width, actualLayout.height, Bitmap.Config.ARGB_8888) in testConsistentBidiDraw() constant
65 val actualCanvas = Canvas(actualBitmap) in testConsistentBidiDraw()
90 assertThat(actualBitmap.sameAs(expectBitmap)).isTrue() in testConsistentBidiDraw()
/cts/tests/contentsuggestions/src/android/contentsuggestions/cts/
DContentSuggestionsManagerTest.java136 Bitmap actualBitmap = bundleArg.getValue().getParcelable( in managerForwards_provideContextBitmap() local
140 assertThat(actualBitmap.getWidth()).isEqualTo(expectedBitmap.getWidth()); in managerForwards_provideContextBitmap()
141 assertThat(actualBitmap.getHeight()).isEqualTo(expectedBitmap.getHeight()); in managerForwards_provideContextBitmap()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DThumbnailUtilsTest.java232 private static void assertSaneThumbnail(Size expected, Bitmap actualBitmap) { in assertSaneThumbnail() argument
233 final Size actual = new Size(actualBitmap.getWidth(), actualBitmap.getHeight()); in assertSaneThumbnail()
DExifInterfaceTest.java1023 Bitmap actualBitmap = Objects.requireNonNull(decodeBitmap(actualImageFile, actualOptions)); in assertBitmapsEquivalent() local
1028 assertEquals(expectedBitmap.getWidth(), actualBitmap.getWidth()); in assertBitmapsEquivalent()
1029 assertEquals(expectedBitmap.getHeight(), actualBitmap.getHeight()); in assertBitmapsEquivalent()
/cts/tests/tests/widget/src/android/widget/cts/
DSimpleCursorTreeAdapterTest.java182 Bitmap actualBitmap = ((BitmapDrawable) view.getDrawable()).getBitmap(); in testSetViewImage() local
184 android.widget.cts.R.raw.testimage, actualBitmap.getConfig()); in testSetViewImage()
185 WidgetTestUtils.assertEquals(test, actualBitmap); in testSetViewImage()
DSimpleAdapterTest.java370 Bitmap actualBitmap = ((BitmapDrawable) view.getDrawable()).getBitmap(); in testSetViewImage() local
372 mContext.getResources(), R.raw.testimage, actualBitmap.getConfig()); in testSetViewImage()
373 WidgetTestUtils.assertEquals(testBitmap, actualBitmap); in testSetViewImage()
DSimpleCursorAdapterTest.java247 Bitmap actualBitmap = ((BitmapDrawable) view.getDrawable()).getBitmap(); in testSetViewImage() local
249 mContext.getResources(), testimgRawId, actualBitmap.getConfig()); in testSetViewImage()
250 WidgetTestUtils.assertEquals(testBitmap, actualBitmap); in testSetViewImage()
DTextViewHandwritingGestureTest.java2150 Bitmap actualBitmap = drawToBitmap(actual); in assertPathEquals() local
2151 assertThat(expectedBitmap.sameAs(actualBitmap)).isTrue(); in assertPathEquals()
DRemoteViewsTest.java790 verifyBitmap(expectedBitmap.getWidth(), expectedBitmap.getHeight(), (actualBitmap) -> { in testSingleDrawInstruction()
791 final float rmse = compareImages(expectedBitmap, actualBitmap, resourceName); in testSingleDrawInstruction()
796 actualBitmap, resourceName + "_actual"); in testSingleDrawInstruction()
/cts/tests/input/src/android/input/cts/
DPointerIconTest.kt194 val actualBitmap: Bitmap? = virtualDisplayRule.getScreenshot() in getActualScreenshot() constant
195 assertNotNull(actualBitmap, "Screenshot is null.") in getActualScreenshot()
196 return actualBitmap in getActualScreenshot()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageInstallerArchiveTest.java236 Bitmap actualBitmap = drawableToBitmap(actualIcon); in archiveApp_getApplicationIcon() local
237 assertThat(actualBitmap).isNotNull(); in archiveApp_getApplicationIcon()
239 recycleBitmap(actualIcon, actualBitmap); in archiveApp_getApplicationIcon()
DLauncherAppsTest.java762 Bitmap actualBitmap, Bitmap expectedBitmap) { in recycleBitmaps() argument
763 actualBitmap.recycle(); in recycleBitmaps()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPathTest.java790 Bitmap actualBitmap = drawAndGetBitmap(actual, paint); in verifyPathsAreEquivalent() local
792 assertTrue(actualBitmap.sameAs(expectedBitmap)); in verifyPathsAreEquivalent()
DBitmapTest.java2807 Bitmap actualBitmap = decodeBytes(actual); in testNdkCompress() local
2808 boolean matched = BitmapUtils.compareBitmapsMse(expectedBitmap, actualBitmap, in testNdkCompress()
2811 actualBitmap.recycle(); in testNdkCompress()