Searched refs:rotatedRect (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
D | CropMath.java | 159 public static boolean pointInRotatedRect(float[] point, float[] rotatedRect, float[] center) { in pointInRotatedRect() argument 161 float angle = getUnrotated(rotatedRect, center, unrotated); in pointInRotatedRect() 248 private static float getUnrotated(float[] rotatedRect, float[] center, RectF unrotated) { in getUnrotated() argument 249 float dy = rotatedRect[1] - rotatedRect[3]; in getUnrotated() 250 float dx = rotatedRect[0] - rotatedRect[2]; in getUnrotated() 254 float[] unrotatedRect = new float[rotatedRect.length]; in getUnrotated() 255 m.mapPoints(unrotatedRect, rotatedRect); in getUnrotated()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | OrientedBitmapDrawable.java | 90 final RectF rotatedRect = new RectF(mDstRect); in draw() local 91 matrix.mapRect(rotatedRect); in draw() 92 mDstRect.set((int) rotatedRect.left, (int) rotatedRect.top, (int) rotatedRect.right, in draw() 93 (int) rotatedRect.bottom); in draw()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | TextureViewHelper.java | 280 RectF rotatedRect = new RectF(normalRect.width() / 2 - normalRect.height() / 2, 294 transform.setRectToRect(rotatedRect, desiredBounds, Matrix.ScaleToFit.FILL); 302 transform.setRectToRect(rotatedRect, desiredBounds, Matrix.ScaleToFit.FILL);
|