Lines Matching refs:faceRect
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) {
458 faceRect.inset(faceRect.bottom - imageRect.bottom,
459 faceRect.bottom - imageRect.bottom);
462 hv.setup(mImageMatrix, imageRect, faceRect, mCircleCrop,