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
900 * Convert an api1 face into an active-array based api2 face.
904 * @param face a non-{@code null} api1 face
908 * @return a non-{@code null} api2 face
910 * @throws NullPointerException if the {@code face} was {@code null}
912 public static Face convertFaceFromLegacy(Camera.Face face, Rect activeArray,
914 checkNotNull(face, "face must not be null");
918 Camera.Area fakeArea = new Camera.Area(face.rect, /*weight*/1);
923 Point leftEye = face.leftEye, rightEye = face.rightEye, mouth = face.mouth;
934 api2Face = faceRect.toFace(face.id, leftEye, rightEye, mouth);