Home
last modified time | relevance | path

Searched refs:corners (Results 1 – 4 of 4) sorted by relevance

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java833 float[] corners = new float[] { in mapRect() local
841 matrix.transform(corners, 0, corners, 0, 4); in mapRect()
844 dst.left = Math.min(Math.min(corners[0], corners[2]), Math.min(corners[4], corners[6])); in mapRect()
845 dst.right = Math.max(Math.max(corners[0], corners[2]), Math.max(corners[4], corners[6])); in mapRect()
847 dst.top = Math.min(Math.min(corners[1], corners[3]), Math.min(corners[5], corners[7])); in mapRect()
848 dst.bottom = Math.max(Math.max(corners[1], corners[3]), Math.max(corners[5], corners[7])); in mapRect()
/frameworks/layoutlib/bridge/src/android/graphics/
DMatrix_Delegate.java145 float[] corners = new float[] { in mapRect() local
153 mapPoints(corners); in mapRect()
156 dst.left = Math.min(Math.min(corners[0], corners[2]), Math.min(corners[4], corners[6])); in mapRect()
157 dst.right = Math.max(Math.max(corners[0], corners[2]), Math.max(corners[4], corners[6])); in mapRect()
159 dst.top = Math.min(Math.min(corners[1], corners[3]), Math.min(corners[5], corners[7])); in mapRect()
160 dst.bottom = Math.max(Math.max(corners[1], corners[3]), Math.max(corners[5], corners[7])); in mapRect()
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
DMLand.java961 final int L = p.corners.length;
964 final int x = (int) p.corners[i * 2];
965 final int y = (int) p.corners[i * 2 + 1];
968 p.corners[(i * 2 + 2) % L],
969 p.corners[(i * 2 + 3) % L],
1040 public final float[] corners = new float[sHull.length];
1111 corners[i*2] = scale * sHull[i*2] + inset;
1112 corners[i*2+1] = scale * sHull[i*2+1] + inset;
1115 m.mapPoints(corners);
1119 final int N = corners.length/2;
[all …]
/frameworks/base/packages/SystemUI/
DREADME.md163 Draws decorations about the screen in software (e.g. rounded corners, cutouts).