Searched refs:faceRect (Results 1 – 2 of 2) sorted by relevance
67 Rect faceRect = new Rect(); in testFaceSquareFilter() local69 faceRect.set(-533, -453, 369, 224); in testFaceSquareFilter()70 face.rect = faceRect; in testFaceSquareFilter()87 int top = (faceRect.top+HEIGHT_OFFSET)*bitmap.getHeight()/FACE_X_RANGE; in testFaceSquareFilter()88 int bottom = (faceRect.bottom+HEIGHT_OFFSET)*bitmap.getHeight()/FACE_X_RANGE; in testFaceSquareFilter()89 int left = (faceRect.left+WIDTH_OFFSET)*bitmap.getWidth()/FACE_X_RANGE; in testFaceSquareFilter()90 int right = (faceRect.right+WIDTH_OFFSET)*bitmap.getWidth()/FACE_X_RANGE; in testFaceSquareFilter()
920 WeightedRectangle faceRect = in convertFaceFromLegacy() local934 api2Face = faceRect.toFace(face.id, leftEye, rightEye, mouth); in convertFaceFromLegacy()936 api2Face = faceRect.toFace(); in convertFaceFromLegacy()