/cts/tests/tests/text/src/android/text/cts/ |
D | StaticLayoutMultilineBidiTest.kt | 64 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/ |
D | ContentSuggestionsManagerTest.java | 136 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/ |
D | ThumbnailUtilsTest.java | 232 private static void assertSaneThumbnail(Size expected, Bitmap actualBitmap) { in assertSaneThumbnail() argument 233 final Size actual = new Size(actualBitmap.getWidth(), actualBitmap.getHeight()); in assertSaneThumbnail()
|
D | ExifInterfaceTest.java | 1023 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/ |
D | SimpleCursorTreeAdapterTest.java | 182 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()
|
D | SimpleAdapterTest.java | 370 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()
|
D | SimpleCursorAdapterTest.java | 247 Bitmap actualBitmap = ((BitmapDrawable) view.getDrawable()).getBitmap(); in testSetViewImage() local 249 mContext.getResources(), testimgRawId, actualBitmap.getConfig()); in testSetViewImage() 250 WidgetTestUtils.assertEquals(testBitmap, actualBitmap); in testSetViewImage()
|
D | TextViewHandwritingGestureTest.java | 2150 Bitmap actualBitmap = drawToBitmap(actual); in assertPathEquals() local 2151 assertThat(expectedBitmap.sameAs(actualBitmap)).isTrue(); in assertPathEquals()
|
D | RemoteViewsTest.java | 790 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/ |
D | PointerIconTest.kt | 194 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/ |
D | PackageInstallerArchiveTest.java | 236 Bitmap actualBitmap = drawableToBitmap(actualIcon); in archiveApp_getApplicationIcon() local 237 assertThat(actualBitmap).isNotNull(); in archiveApp_getApplicationIcon() 239 recycleBitmap(actualIcon, actualBitmap); in archiveApp_getApplicationIcon()
|
D | LauncherAppsTest.java | 762 Bitmap actualBitmap, Bitmap expectedBitmap) { in recycleBitmaps() argument 763 actualBitmap.recycle(); in recycleBitmaps()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PathTest.java | 790 Bitmap actualBitmap = drawAndGetBitmap(actual, paint); in verifyPathsAreEquivalent() local 792 assertTrue(actualBitmap.sameAs(expectedBitmap)); in verifyPathsAreEquivalent()
|
D | BitmapTest.java | 2807 Bitmap actualBitmap = decodeBytes(actual); in testNdkCompress() local 2808 boolean matched = BitmapUtils.compareBitmapsMse(expectedBitmap, actualBitmap, in testNdkCompress() 2811 actualBitmap.recycle(); in testNdkCompress()
|