Home
last modified time | relevance | path

Searched refs:intersection (Results 1 – 5 of 5) sorted by relevance

/platform_testing/libraries/flicker/utils/src/android/tools/datatypes/
DUtils.kt56 fun Rect.intersection(r: Rect): Rect = intersection(r.left, r.top, r.right, r.bottom) in Rect() method
70 fun Rect.intersection(left: Int, top: Int, right: Int, bottom: Int): Rect { in Rect() method
109 val intersection = Region(this) in coversAtLeast() constant
110 return intersection.op(testRegion, Region.Op.INTERSECT) && in coversAtLeast()
111 !intersection.op(testRegion, Region.Op.XOR) in coversAtLeast()
119 val intersection = Region(this) in Region() constant
120 return intersection.op(testRect, Region.Op.INTERSECT) && !intersection.op(this, Region.Op.XOR) in Region()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/region/
DRegionSubject.kt337 val intersection = Region(region) in <lambda>() constant
338 val isNotEmpty = intersection.op(other, Region.Op.XOR) in <lambda>()
347 .addExtraDescription("Difference", intersection) in <lambda>()
357 val intersection = Region(region) in <lambda>() constant
358 val isEmpty = !intersection.op(other, Region.Op.INTERSECT) in <lambda>()
376 val intersection = Region(region) in <lambda>() constant
377 val isEmpty = !intersection.op(other, Region.Op.INTERSECT) in <lambda>()
386 .addExtraDescription("Overlap region", intersection) in <lambda>()
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/
DMockLayerBuilder.kt24 import android.tools.datatypes.intersection in <lambda>()
110 child.absoluteBounds = childAbsoluteBounds.intersection(absoluteBounds) in <lambda>()
/platform_testing/libraries/flag-helpers/junit/src_base/android/platform/test/flag/junit/
DAnnotationsRetriever.java122 Sets.intersection(requiresFlagValues.keySet(), setsFlagValues.keySet()); in getFlagAnnotations()
151 Sets.intersection(classFlagValues.keySet(), methodFlagValues.keySet()); in getMergedFlagValues()
186 Set<String> inconsistentFlags = Sets.intersection(enabledFlags, disabledFlags); in getFlagValues()
DSetFlagsRule.java258 Sets.intersection(parameterizedFlags, requiredFlags);