Lines Matching refs:face
118 * then possible to convert to a more concrete type such as a metering rectangle or a face.
162 * Convert to a face; the rect is considered to be the bounds, and the weight
173 * @return a new face with the optional features set
188 * Convert to a face; the rect is considered to be the bounds, and the weight
196 * @return a new face without the optional features
897 * Convert an api1 face into an active-array based api2 face.
901 * @param face a non-{@code null} api1 face
905 * @return a non-{@code null} api2 face
907 * @throws NullPointerException if the {@code face} was {@code null}
909 public static Face convertFaceFromLegacy(Camera.Face face, Rect activeArray,
911 checkNotNull(face, "face must not be null");
915 Camera.Area fakeArea = new Camera.Area(face.rect, /*weight*/1);
920 Point leftEye = face.leftEye, rightEye = face.rightEye, mouth = face.mouth;
931 api2Face = faceRect.toFace(face.id, leftEye, rightEye, mouth);