Searched refs:face (Results 1 - 11 of 11) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/stats/
H A DCamera2FaceProxy.java35 public static Camera2FaceProxy from(Face face) { argument
36 Camera2FaceProxy convertedFace = new Camera2FaceProxy(face.getBounds(), face.getScore());
H A DCaptureSessionStatsCollector.java80 for (Face face : facesCaptured) {
81 mFaceProxies.add(Camera2FaceProxy.from(face));
103 * space of the face array
/packages/apps/DevCamera/src/com/android/devcamera/
H A DNormalizedFace.java34 public NormalizedFace(Face face, int dX, int dY, int offX, int offY) { argument
35 if (face.getLeftEyePosition() != null) {
37 leftEye.x = (float) (face.getLeftEyePosition().x - offX) / dX;
38 leftEye.y = (float) (face.getLeftEyePosition().y - offY) / dY;
40 if (face.getRightEyePosition() != null) {
42 rightEye.x = (float) (face.getRightEyePosition().x - offX) / dX;
43 rightEye.y = (float) (face.getRightEyePosition().y - offY) / dY;
45 if (face.getMouthPosition() != null) {
47 mouth.x = (float) (face.getMouthPosition().x - offX) / dX;
48 mouth.y = (float) (face
[all...]
H A DCameraInterface.java151 void setCaptureFlow(Boolean yuv1, Boolean yuv2, Boolean raw10, Boolean nr, Boolean edge, Boolean face); argument
H A DPreviewOverlay.java208 for (NormalizedFace face : mFaces) {
209 RectF r1 = face.bounds;
219 p[0] = face.leftEye;
220 p[1] = face.rightEye;
221 p[2] = face.mouth;
H A DApi2Camera.java58 * noise reduction, face detection) can be toggled on and off.
470 public void setCaptureFlow(Boolean yuv1, Boolean yuv2, Boolean raw10, Boolean nr, Boolean edge, Boolean face) { argument
480 if (face != null) mCaptureFace = face;
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DFaceClustering.java52 Face face = faces[faceIndex];
55 mCoverRegion = face.getPosition();
58 Rect region = face.getPosition();
62 mCoverRegion = face.getPosition();
105 Face face = faces[j];
106 FaceCluster cluster = map.get(face);
108 cluster = new FaceCluster(face.getName());
109 map.put(face, cluster);
H A DFace.java55 Face face = (Face) obj;
56 return mPersonId.equals(face.mPersonId);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DTypefaceUtils.java74 final Typeface face = paint.getTypeface();
76 if (face == Typeface.DEFAULT) {
78 } else if (face == Typeface.DEFAULT_BOLD) {
80 } else if (face == Typeface.MONOSPACE) {
/packages/apps/Camera2/src/com/android/camera/one/v2/face/
H A DFaceDetect.java17 package com.android.camera.one.v2.face;
28 * Compute face detect modes.
/packages/apps/Camera2/src/com/android/camera/one/v2/common/
H A DBasicCameraFactory.java41 import com.android.camera.one.v2.face.FaceDetect;

Completed in 218 milliseconds