Searched refs:matrix (Results 1 – 1 of 1) sorted by relevance
/platform_testing/libraries/flicker/utils/src/android/tools/traces/surfaceflinger/ |
D | Transform.kt | 29 class Transform private constructor(val type: Int?, val matrix: Matrix33) { constant in android.tools.traces.surfaceflinger.Transform 56 return matrix.dsdx * matrix.dtdy != matrix.dtdx * matrix.dsdy 131 return "$transformType $matrix" in toString() 135 return multiplyRect(matrix, bounds ?: RectF()) in apply() 140 private fun multiplyRect(matrix: Matrix33, rect: RectF): RectF { in multiplyRect() 145 val leftTop = multiplyVec2(matrix, rect.left, rect.top) in multiplyRect() 146 val rightTop = multiplyVec2(matrix, rect.right, rect.top) in multiplyRect() 147 val leftBottom = multiplyVec2(matrix, rect.left, rect.bottom) in multiplyRect() 148 val rightBottom = multiplyVec2(matrix, rect.right, rect.bottom) in multiplyRect() 161 private fun multiplyVec2(matrix: Matrix33, x: Float, y: Float): Vec2 { in multiplyVec2() [all …]
|