Searched refs:expectedBitmap (Results 1 – 5 of 5) sorted by relevance
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/test/ |
D | DividerItemDecorationTest.java | 72 Bitmap expectedBitmap = Bitmap.createBitmap(20, 20, Bitmap.Config.ARGB_4444); in testShouldDrawDividerBelowWithEitherCondition() local 73 Canvas expectedCanvas = new Canvas(expectedBitmap); in testShouldDrawDividerBelowWithEitherCondition() 80 assertBitmapEquals(expectedBitmap, bitmap); in testShouldDrawDividerBelowWithEitherCondition() 85 assertBitmapEquals(expectedBitmap, bitmap); in testShouldDrawDividerBelowWithEitherCondition() 93 assertBitmapEquals(expectedBitmap, bitmap); in testShouldDrawDividerBelowWithEitherCondition() 100 assertBitmapEquals(expectedBitmap, bitmap); in testShouldDrawDividerBelowWithEitherCondition() 116 Bitmap expectedBitmap = Bitmap.createBitmap(20, 20, Bitmap.Config.ARGB_4444); in testShouldDrawDividerBelowWithBothCondition() local 117 Canvas expectedCanvas = new Canvas(expectedBitmap); in testShouldDrawDividerBelowWithBothCondition() 122 assertBitmapEquals(expectedBitmap, bitmap); in testShouldDrawDividerBelowWithBothCondition() 130 assertBitmapEquals(expectedBitmap, bitmap); in testShouldDrawDividerBelowWithBothCondition() [all …]
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | PaintNativeInstanceTest.kt | 137 var expectedBitmap: Bitmap? = null in <lambda>() variable 139 if (expectedBitmap == null) { in <lambda>() 140 expectedBitmap = result.get() in <lambda>() 142 assertTrue(expectedBitmap.sameAs(result.get())) in <lambda>()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/ |
D | DecorViewTest.java | 53 Bitmap expectedBitmap = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888); in setBackgroundDrawableSameAsSetWindowBackground() local 56 Canvas testCanvas = new Canvas(expectedBitmap); in setBackgroundDrawableSameAsSetWindowBackground() 76 expectedBitmap.getPixels(expPixels, 0, w, 0, 0, w, h); in setBackgroundDrawableSameAsSetWindowBackground()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | ExifInterfaceTest.java | 499 Bitmap expectedBitmap = Objects.requireNonNull( in assertBitmapsEquivalent() local 508 assertEquals(expectedBitmap.getWidth(), actualBitmap.getWidth()); in assertBitmapsEquivalent() 509 assertEquals(expectedBitmap.getHeight(), actualBitmap.getHeight()); in assertBitmapsEquivalent()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/ |
D | PromptViewModelTest.kt | 1406 val expectedBitmap = context.getDrawable(logoResFromApp).toBitmap() in <lambda>() constant 1408 assertThat((logo as BitmapDrawable).bitmap.sameAs(expectedBitmap)).isTrue() in <lambda>()
|