Home
last modified time | relevance | path

Searched refs:createBitmap (Results 1 – 15 of 15) sorted by relevance

/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/report/
DScubaExportStrategyTest.kt39 import platform.test.screenshot.utils.createBitmap
139 actual = createBitmap(Color.GREEN), in reportResult_withoutOptionalArgs_writesActualAndProto()
157 actual = createBitmap(Color.GREEN), in reportResult_withDiff_writesDiff()
158 diff = createBitmap(Color.YELLOW), in reportResult_withDiff_writesDiff()
176 actual = createBitmap(Color.GREEN), in reportResult_withExpected_writesExpected()
177 expected = createBitmap(Color.RED), in reportResult_withExpected_writesExpected()
195 actual = createBitmap(Color.GREEN), in reportResult_passed_writesStatus()
209 actual = createBitmap(Color.GREEN), in reportResult_failed_writesStatus()
223 actual = createBitmap(Color.RED), in reportResult_writesCorrectImageContents()
224 diff = createBitmap(Color.GREEN), in reportResult_writesCorrectImageContents()
[all …]
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/utils/
DBitmapUtils.kt31 internal fun createBitmap( in createBitmap() method
36 ) = Bitmap.createBitmap(width, height, bitmapConfig).also { Canvas(it).drawColor(color) } in createBitmap()
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/matchers/
DAlmostPerfectMatcher.kt68 else Bitmap.createBitmap(diffArray.value, width, height, Bitmap.Config.ARGB_8888) in <lambda>()
120 else Bitmap.createBitmap(diffArray.value, width, height, Bitmap.Config.ARGB_8888) in <lambda>()
DPixelPerfectMatcher.kt61 val diff = Bitmap.createBitmap(diffArray.value, width, height, Bitmap.Config.ARGB_8888) in <lambda>()
DBitmapMatcher.kt97 val diff = Bitmap.createBitmap(diffArray.value, width, height, Bitmap.Config.ARGB_8888) in <lambda>()
DHumanEyeMatcher.kt212 Bitmap.createBitmap(diffBitmapArray.value, width, height, Bitmap.Config.ARGB_8888) in <lambda>()
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/
DWindowCapture.kt55 Bitmap.createBitmap( in generateBitmap()
DMaterialYouColorsSimulationUtils.kt149 return Bitmap.createBitmap( in bitmapWithMaterialYouColorsSimulation()
DViewCapture.kt185 val destBitmap = Bitmap.createBitmap(rectWidth, rectHeight, Bitmap.Config.ARGB_8888) in generateBitmap()
/platform_testing/libraries/motion/src/platform/test/motion/filmstrip/
DFilmstrip.kt147 val filmstrip = Bitmap.createBitmap(width, height, bitmapConfig) in render()
199 val filmstrip = Bitmap.createBitmap(width, height, bitmapConfig) in render()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/rules/
DTemporaryMediaNotification.kt59 val bitmap: Bitmap = Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888) in before()
/platform_testing/libraries/motion/tests/src/platform/test/motion/
DMotionTestRuleTest.kt191 ) = Bitmap.createBitmap(width, height, bitmapConfig).also { Canvas(it).drawColor(color) } in mockScreenshot()
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DThemeHelper.java69 Bitmap.createBitmap( in setWallpaper()
/platform_testing/libraries/motion/tests/src/platform/test/motion/truth/
DRecordedMotionSubjectTest.kt159 Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888).also { in <lambda>()
/platform_testing/libraries/motion/tests/src/platform/test/motion/filmstrip/
DFilmstripTest.kt265 ) = Bitmap.createBitmap(width, height, bitmapConfig).also { Canvas(it).drawColor(color) } in mockScreenshot()