Home
last modified time | relevance | path

Searched refs:RegionSubject (Results 1 – 10 of 10) sorted by relevance

/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/region/
DRegionSubjectTest.kt34 RegionSubject(rectA, timestamp = Timestamps.empty()).isHigher(rectB) in expectAllFailPositionChange()
37 RegionSubject(rectA, timestamp = Timestamps.empty()).isHigherOrEqual(rectB) in expectAllFailPositionChange()
40 RegionSubject(rectA, timestamp = Timestamps.empty()).isLower(rectB) in expectAllFailPositionChange()
43 RegionSubject(rectA, timestamp = Timestamps.empty()).isLowerOrEqual(rectB) in expectAllFailPositionChange()
51 RegionSubject(rectA, timestamp = Timestamps.empty()).isHigher(rectB) in detectPositionChangeHigher()
52 RegionSubject(rectA, timestamp = Timestamps.empty()).isHigherOrEqual(rectB) in detectPositionChangeHigher()
54 RegionSubject(rectA, timestamp = Timestamps.empty()).isLower(rectB) in detectPositionChangeHigher()
57 RegionSubject(rectA, timestamp = Timestamps.empty()).isLowerOrEqual(rectB) in detectPositionChangeHigher()
65 RegionSubject(rectA, timestamp = Timestamps.empty()).isLower(rectB) in detectPositionChangeLower()
66 RegionSubject(rectA, timestamp = Timestamps.empty()).isLowerOrEqual(rectB) in detectPositionChangeLower()
[all …]
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/region/
DRegionSubject.kt39 class RegionSubject( in <lambda>() class
83 fun isEmpty(): RegionSubject = apply { in <lambda>()
100 fun isNotEmpty(): RegionSubject = apply { in <lambda>()
113 fun minus(other: Region): RegionSubject { in <lambda>()
116 return RegionSubject(remainingRegion, timestamp, reader) in <lambda>()
120 fun plus(other: Region): RegionSubject { in <lambda>()
123 return RegionSubject(remainingRegion, timestamp, reader) in <lambda>()
127 fun isHigherOrEqual(subject: RegionSubject): RegionSubject = isHigherOrEqual(subject.region) in <lambda>()
130 override fun isHigherOrEqual(other: Rect): RegionSubject = isHigherOrEqual(Region(other)) in <lambda>()
133 override fun isHigherOrEqual(other: Region): RegionSubject = apply { in <lambda>()
[all …]
DRegionTraceSubject.kt30 FlickerTraceSubject<RegionSubject>(), IRegionSubject {
32 override val subjects by lazy { trace.entries.map { RegionSubject(it, it.timestamp, reader) } } in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/layers/
DLayerSubject.kt22 import android.tools.flicker.subject.region.RegionSubject
58 val visibleRegion: RegionSubject
59 get() = RegionSubject(layer.visibleRegion, timestamp, reader)
68 val screenBounds: RegionSubject
69 get() = RegionSubject(layer.screenBounds, timestamp, reader)
DLayerTraceEntrySubject.kt29 import android.tools.flicker.subject.region.RegionSubject in <lambda>()
68 ) : FlickerSubject(), ILayerSubject<LayerTraceEntrySubject, RegionSubject> { in <lambda>()
89 fun visibleRegion(): RegionSubject = in <lambda>()
93 fun visibleRegion(componentMatcher: IComponentMatcher): RegionSubject = in <lambda>()
100 ): RegionSubject { in <lambda>()
128 RegionSubject(visibleAreas, timestamp, reader) in <lambda>()
131 RegionSubject(visibleAreas, timestamp, reader) in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/wm/
DWindowStateSubject.kt22 import android.tools.flicker.subject.region.RegionSubject
52 val frame: RegionSubject
53 get() = RegionSubject(windowState.frame, timestamp, reader)
DWindowManagerStateSubject.kt28 import android.tools.flicker.subject.region.RegionSubject in <lambda>()
63 ) : FlickerSubject(), IWindowManagerSubject<WindowManagerStateSubject, RegionSubject> { in <lambda>()
103 override fun visibleRegion(componentMatcher: IComponentMatcher?): RegionSubject { in <lambda>()
125 return RegionSubject(visibleRegions, timestamp, reader) in <lambda>()
/platform_testing/libraries/flicker/test/src/android/tools/integration/
DFullLegacyTestRun.kt32 import android.tools.flicker.subject.region.RegionSubject
159 actual: RegionSubject?, in validateVisibleRegion()
160 expected: RegionSubject?, in validateVisibleRegion()
DFullTestRun.kt39 import android.tools.flicker.subject.region.RegionSubject
205 actual: RegionSubject?, in validateVisibleRegion()
206 expected: RegionSubject?, in validateVisibleRegion()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/surfaceflinger/
DLayersTraceSubjectTest.kt26 import android.tools.flicker.subject.region.RegionSubject in <lambda>()
359 val snapshotRegion = RegionSubject(visibleAreas, timestamp) in <lambda>()