Home
last modified time | relevance | path

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

/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/matchers/
DHumanEyeMatcherTest.kt26 regions = emptyList() in <lambda>()
43 regions = emptyList() in <lambda>()
60 regions = emptyList() in <lambda>()
77 regions = emptyList() in <lambda>()
110 regions = listOf(comparedRegion) in <lambda>()
138 regions = emptyList() in <lambda>()
169 regions = emptyList() in <lambda>()
188 regions = emptyList() in <lambda>()
223 regions = emptyList() in <lambda>()
243 regions = emptyList() in <lambda>()
[all …]
DAlmostPerfectMatcherTest.kt40 regions = emptyList() in diffColor_exactMatch()
58 regions = emptyList() in diffColor_almostMatchLowRed()
76 regions = emptyList() in diffColor_almostMatchHighRed()
94 regions = emptyList() in diffColor_notMatch()
131 regions = listOf(interestingRegion) in performDiff_sameSize_partialCompare_checkDiffImage()
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/
DScreenshotTestRule.kt140 regions = emptyList<Rect>() in <lambda>()
169 regions: List<Rect> in <lambda>()
231 regions = regions in <lambda>()
242 val expectedWithHighlight = highlightedBitmap(expected, regions) in <lambda>()
274 private fun highlightedBitmap(original: Bitmap, regions: List<Rect>): Bitmap { in <lambda>()
275 if (regions.isEmpty()) return original in <lambda>()
280 for (region in regions) { in <lambda>()
427 regions: List<Rect> = emptyList() in assertAgainstGolden()
433 regions = regions in assertAgainstGolden()
DBitmapDiffer.kt50 regions: List<Rect> = emptyList(),
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/matchers/
DBitmapMatcher.kt45 regions: List<Rect> = emptyList() in <lambda>()
105 protected fun getFilter(width: Int, height: Int, regions: List<Rect>): BooleanArray { in <lambda>()
106 return if (regions.isEmpty()) { in <lambda>()
109 val regionsSanitised = regions.map { Rect(it).apply { intersect(0, 0, width, height) } } in <lambda>()
DPixelPerfectMatcher.kt33 regions: List<Rect> in <lambda>()
37 val filter = getFilter(width, height, regions) in <lambda>()
DAlmostPerfectMatcher.kt43 regions: List<Rect> in <lambda>()
47 val filter = getFilter(width, height, regions) in <lambda>()
DMSSIMMatcher.kt49 regions: List<Rect> in compareBitmaps()
51 val filter = getFilter(width, height, regions) in compareBitmaps()
71 val result = PixelPerfectMatcher().compareBitmaps(expected, given, width, height, regions) in compareBitmaps()
DHumanEyeMatcher.kt31 regions: List<Rect> in <lambda>()
37 val filter = getFilter(width, height, regions) in <lambda>()
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/
DScreenshotTestRuleTest.kt88 val regions = ArrayList<Rect>() in goldenIdentifierResolver() constant
89 regions.add(Rect(/* left= */ 1, /* top= */ 1, /* right= */ 2, /* bottom=*/ 2)) in goldenIdentifierResolver()
96 regions = regions in goldenIdentifierResolver()
110 val regions = ArrayList<Rect>() in goldenIdentifierResolver() constant
111 regions.add(Rect(startWidth, startHeight, endWidth, endHeight)) in goldenIdentifierResolver()
112 regions.add(Rect()) in goldenIdentifierResolver()
115 first.assertAgainstGolden(rule, goldenIdentifier, matcher, regions) in goldenIdentifierResolver()
DPixelPerfectMatcherTest.kt61 regions = listOf(Rect(-10, -10, 0, 0)) in performDiff_sameSize_partialCompare_topLeftOutOfBoundaries_diff()
79 regions = listOf(Rect(0, 0, first.width / 2, first.height / 2)) in performDiff_sameSize_partialCompare_topLeft_diffBoundaries()
97 regions = listOf(Rect(first.width / 2, first.height / 2, first.width, first.height)) in performDiff_sameSize_partialCompare_bottomRight()
115 regions = in performDiff_sameSize_partialCompare_bottomRightOutOfBoundaries_diff()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/wm/
DWindowManagerStateSubject.kt284 val regions = foundWindowsRegions.entries.toList() in <lambda>() constant
285 for (i in regions.indices) { in <lambda>()
286 val (ourTitle, ourRegion) = regions[i] in <lambda>()
287 for (j in i + 1 until regions.size) { in <lambda>()
288 val (otherTitle, otherRegion) = regions[j] in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/region/
DRegionSubject.kt68 regions: Collection<Region>, in <lambda>()
71 ) : this(mergeRegions(regions), timestamp, reader) in <lambda>()
487 private fun mergeRegions(regions: Collection<Region>): Region { in <lambda>()
489 regions.forEach { region -> result.op(region, Region.Op.UNION) } in <lambda>()
/platform_testing/libraries/flicker/
DREADME.md101 visible regions:
/platform_testing/libraries/sts-common-util/host-side/tests/res/
Dlogcat.txt1636 …5.806 7072 7072 F DEBUG : --->Fault address falls at 28dd205e'11000003 after any mapped regions