Searched refs:toRect (Results 1 – 6 of 6) sorted by relevance
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/wm/ |
D | WindowManagerStateBuilder.kt | 181 defaultPinnedStackBounds = proto.pinnedTaskController?.defaultBounds?.toRect() in <lambda>() 183 pinnedStackMovementBounds = proto.pinnedTaskController?.movementBounds?.toRect() in <lambda>() 196 stableBounds = proto.displayFrames?.stableBounds?.toRect() ?: Rect(), in <lambda>() 247 bounds = proto.bounds.toRect(), in <lambda>() 251 lastNonFullscreenBounds = proto.lastNonFullscreenBounds?.toRect() ?: Rect(), in <lambda>() 369 surfacePosition = proto.surfacePosition?.toRect(), in <lambda>() 370 frame = proto.windowFrames?.frame?.toRect() ?: Rect(), in <lambda>() 371 containingFrame = proto.windowFrames?.containingFrame?.toRect() ?: Rect(), in <lambda>() 372 parentFrame = proto.windowFrames?.parentFrame?.toRect() ?: Rect(), in <lambda>() 373 contentFrame = proto.windowFrames?.contentFrame?.toRect() ?: Rect(), in <lambda>() [all …]
|
/platform_testing/libraries/flicker/utils/src/android/tools/datatypes/ |
D | Utils.kt | 23 import androidx.core.graphics.toRect 36 fun Rect.crop(crop: Rect): Rect = this.toRectF().crop(crop.toRectF()).toRect() in emptyColor()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/layers/ |
D | LayerTraceEntrySubject.kt | 38 import androidx.core.graphics.toRect in <lambda>() 130 val visibleAreas = visibleLayers.map { Region(it.layer.screenBounds.toRect()) } in <lambda>()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/surfaceflinger/ |
D | Layer.kt | 26 import androidx.core.graphics.toRect 101 Region(this.bounds.toRect())
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/parsers/ |
D | WindowManagerStateHelperTest.kt | 42 import androidx.core.graphics.toRect in <lambda>() 109 visibleRegion = Region(rect.toRect()), in <lambda>()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/region/ |
D | RegionSubject.kt | 33 import androidx.core.graphics.toRect in <lambda>() 64 ) : this(rect?.toRect(), timestamp, reader) in <lambda>()
|