Lines Matching refs:center
135 * @param rot angle of rotation about rectangle center
154 * @param center center of the rotated rectangle
157 public static boolean pointInRotatedRect(float[] point, float[] rotatedRect, float[] center) {
159 float angle = getUnrotated(rotatedRect, center, unrotated);
164 * Resizes rectangle to have a certain aspect ratio (center remains
181 * Resizes rectangle to have a certain aspect ratio (center remains
246 private static float getUnrotated(float[] rotatedRect, float[] center, RectF unrotated) {
251 m.setRotate(-angle, center[0], center[1]);