Searched refs:faceRect (Results 1 – 2 of 2) sorted by relevance
442 RectF faceRect = new RectF(midX, midY, midX, midY);443 faceRect.inset(-r, -r);444 if (faceRect.left < 0) {445 faceRect.inset(-faceRect.left, -faceRect.left);448 if (faceRect.top < 0) {449 faceRect.inset(-faceRect.top, -faceRect.top);452 if (faceRect.right > imageRect.right) {453 faceRect.inset(faceRect.right - imageRect.right,454 faceRect.right - imageRect.right);457 if (faceRect.bottom > imageRect.bottom) {[all …]
30 public Camera2FaceProxy(Rect faceRect, int score) { in Camera2FaceProxy() argument31 mFaceRect = faceRect; in Camera2FaceProxy()