Home
last modified time | relevance | path

Searched refs:diffArray (Results 1 – 4 of 4) sorted by relevance

/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/matchers/
DAlmostPerfectMatcher.kt52 val diffArray = lazy { IntArray(width * height) { Color.TRANSPARENT } } in <lambda>() constant
58 else -> diffArray.value[index] = Color.MAGENTA.also { different++ } in <lambda>()
68 else Bitmap.createBitmap(diffArray.value, width, height, Bitmap.Config.ARGB_8888) in <lambda>()
99 val diffArray = lazy { IntArray(width * height) { Color.TRANSPARENT } } in <lambda>() constant
109 diffArray.value[i * width + j] = Color.MAGENTA in <lambda>()
120 else Bitmap.createBitmap(diffArray.value, width, height, Bitmap.Config.ARGB_8888) in <lambda>()
DPixelPerfectMatcher.kt42 val diffArray = lazy { IntArray(width * height) { Color.TRANSPARENT } } in <lambda>() constant
48 else -> diffArray.value[index] = Color.MAGENTA.also { different++ } in <lambda>()
61 val diff = Bitmap.createBitmap(diffArray.value, width, height, Bitmap.Config.ARGB_8888) in <lambda>()
DHumanEyeMatcher.kt58 val diffArray = lazy { IntArray(width * height) { Color.TRANSPARENT } } in <lambda>() constant
62 diffArray.value[index] = Color.MAGENTA in <lambda>()
72 diffArray, in <lambda>()
89 val diffArray = lazy { IntArray(colorDiffSqArray.size) { Color.TRANSPARENT } } in <lambda>() constant
113 diffArray.value[index] = Color.MAGENTA in <lambda>()
124 diffArray, in <lambda>()
DBitmapMatcher.kt74 val diffArray = lazy { IntArray(width * height) { Color.TRANSPARENT } } in <lambda>() constant
84 diffArray.value[i * width + j] = Color.MAGENTA in <lambda>()
97 val diff = Bitmap.createBitmap(diffArray.value, width, height, Bitmap.Config.ARGB_8888) in <lambda>()