/platform_testing/libraries/flicker/utils/src/android/tools/datatypes/ |
D | Utils.kt | 36 fun Rect.crop(crop: Rect): Rect = this.toRectF().crop(crop.toRectF()).toRect() in emptyColor() method 38 fun RectF.crop(crop: RectF): RectF { in emptyColor() method 39 val newLeft = maxOf(left, crop.left) in emptyColor() 40 val newTop = maxOf(top, crop.top) in emptyColor() 41 val newRight = minOf(right, crop.right) in emptyColor() 42 val newBottom = minOf(bottom, crop.bottom) in emptyColor()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/surfaceflinger/ |
D | Layer.kt | 24 import android.tools.datatypes.crop 140 if (bounds.isEmpty && crop.isEmpty) reasons.add("Crop is 0x0") 179 fun contains(innerLayer: Layer, crop: RectF = RectF()): Boolean { in contains() 185 if (!crop.isEmpty) { in contains() 186 thisBounds = this.screenBounds.crop(crop) in contains() 187 innerLayerBounds = innerLayer.screenBounds.crop(crop) in contains() 212 fun overlaps(other: Layer, crop: RectF = RectF()): Boolean { in overlaps() 215 if (!crop.isEmpty) { in overlaps() 216 thisBounds = this.screenBounds.crop(crop) in overlaps() 217 otherBounds = other.screenBounds.crop(crop) in overlaps() [all …]
|
D | LayerProperties.kt | 43 override val crop: RectF = RectF(), constant in android.tools.traces.surfaceflinger.LayerProperties 66 result = 31 * result + crop.hashCode() in hashCode() 83 "backgroundBlurRadius=$backgroundBlurRadius, crop=$crop, isRelativeOf=$isRelativeOf, " + in toString() 107 if (crop != other.crop) return false in equals() 137 crop: RectF?, in from() 159 crop ?: RectF(), in from()
|
D | ILayerProperties.kt | 46 val crop: RectF constant
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/wm/ |
D | WindowState.kt | 46 val crop: Rect, constant in android.tools.traces.wm.WindowState 94 if (crop != other.crop) return false in <lambda>() 117 result = 31 * result + crop.hashCode() in <lambda>()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/perfetto/ |
D | LayersTraceParser.kt | 164 val crop = newCropRect(layer.getChild("crop")) in <lambda>() constant 185 crop, in <lambda>() 262 private fun newCropRect(crop: Args?): RectF? { in <lambda>() 263 if (crop == null) { in <lambda>() 267 val right = crop.getChild("right")?.getInt() ?: 0 in <lambda>() 268 val left = crop.getChild("left")?.getInt() ?: 0 in <lambda>() 269 val bottom = crop.getChild("bottom")?.getInt() ?: 0 in <lambda>() 270 val top = crop.getChild("top")?.getInt() ?: 0 in <lambda>()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/ |
D | MockLayerBuilder.kt | 90 crop = absoluteBounds.toRectF(), in <lambda>()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/traces/surfaceflinger/ |
D | LayerTraceEntryBuilderTest.kt | 102 crop = null, in removesLayersFromOffDisplays()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/parsers/ |
D | WindowManagerStateHelperTest.kt | 123 crop = rect, in <lambda>()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/wm/ |
D | WindowManagerStateBuilder.kt | 377 crop = proto.animator?.lastClipRect?.toRect() ?: Rect(), in <lambda>()
|