Home
last modified time | relevance | path

Searched refs:face (Results 1 – 25 of 88) sorted by relevance

1234

/packages/apps/DevCamera/src/com/android/devcamera/
DNormalizedFace.java34 public NormalizedFace(Face face, int dX, int dY, int offX, int offY) { in NormalizedFace() argument
35 if (face.getLeftEyePosition() != null) { in NormalizedFace()
37 leftEye.x = (float) (face.getLeftEyePosition().x - offX) / dX; in NormalizedFace()
38 leftEye.y = (float) (face.getLeftEyePosition().y - offY) / dY; in NormalizedFace()
40 if (face.getRightEyePosition() != null) { in NormalizedFace()
42 rightEye.x = (float) (face.getRightEyePosition().x - offX) / dX; in NormalizedFace()
43 rightEye.y = (float) (face.getRightEyePosition().y - offY) / dY; in NormalizedFace()
45 if (face.getMouthPosition() != null) { in NormalizedFace()
47 mouth.x = (float) (face.getMouthPosition().x - offX) / dX; in NormalizedFace()
48 mouth.y = (float) (face.getMouthPosition().y - offY) / dY; in NormalizedFace()
[all …]
DPreviewOverlay.java208 for (NormalizedFace face : mFaces) { in onDraw()
209 RectF r1 = face.bounds; in onDraw()
219 p[0] = face.leftEye; in onDraw()
220 p[1] = face.rightEye; in onDraw()
221 p[2] = face.mouth; in onDraw()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DFaceClustering.java52 Face face = faces[faceIndex]; in add() local
55 mCoverRegion = face.getPosition(); in add()
58 Rect region = face.getPosition(); in add()
62 mCoverRegion = face.getPosition(); in add()
105 Face face = faces[j]; in run()
106 FaceCluster cluster = map.get(face); in run()
108 cluster = new FaceCluster(face.getName()); in run()
109 map.put(face, cluster); in run()
DFace.java55 Face face = (Face) obj; in equals() local
56 return mPersonId.equals(face.mPersonId); in equals()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceSettingsRemoveButtonPreferenceController.java17 package com.android.settings.biometrics.face;
24 import android.hardware.face.Face;
25 import android.hardware.face.FaceManager;
93 public void onRemovalError(Face face, int errMsgId, CharSequence errString) {
94 Log.e(TAG, "Unable to remove face: " + face.getBiometricId()
101 public void onRemovalSucceeded(Face face, int remaining) {
DFaceSettingsAttentionPreferenceController.java17 package com.android.settings.biometrics.face;
20 import android.hardware.face.FaceManager;
21 import android.hardware.face.FaceManager.GetFeatureCallback;
22 import android.hardware.face.FaceManager.SetFeatureCallback;
DFaceStatusPreferenceController.java17 package com.android.settings.biometrics.face;
20 import android.hardware.face.FaceManager;
DFaceSettingsAppPreferenceController.java17 package com.android.settings.biometrics.face;
22 import android.hardware.face.FaceManager;
DFaceEnrollSidecar.java17 package com.android.settings.biometrics.face;
21 import android.hardware.face.FaceManager;
DFaceSettingsConfirmPreferenceController.java17 package com.android.settings.biometrics.face;
22 import android.hardware.face.FaceManager;
DFaceSettingsKeyguardPreferenceController.java17 package com.android.settings.biometrics.face;
23 import android.hardware.face.FaceManager;
DFaceEnrollIntroduction.java17 package com.android.settings.biometrics.face;
22 import android.hardware.face.FaceManager;
DFaceEnrollEnrolling.java17 package com.android.settings.biometrics.face;
21 import android.hardware.face.FaceManager;
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/face/
DFaceSettingsRemoveButtonPreferenceController.java17 package com.android.car.developeroptions.biometrics.face;
24 import android.hardware.face.Face;
25 import android.hardware.face.FaceManager;
93 public void onRemovalError(Face face, int errMsgId, CharSequence errString) {
94 Log.e(TAG, "Unable to remove face: " + face.getBiometricId()
100 public void onRemovalSucceeded(Face face, int remaining) {
DFaceSettingsAttentionPreferenceController.java17 package com.android.car.developeroptions.biometrics.face;
20 import android.hardware.face.FaceManager;
21 import android.hardware.face.FaceManager.GetFeatureCallback;
22 import android.hardware.face.FaceManager.SetFeatureCallback;
DFaceStatusPreferenceController.java17 package com.android.car.developeroptions.biometrics.face;
20 import android.hardware.face.FaceManager;
DFaceEnrollSidecar.java17 package com.android.car.developeroptions.biometrics.face;
21 import android.hardware.face.FaceManager;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DTypefaceUtils.java74 final Typeface face = paint.getTypeface(); in getCharGeometryCacheKey() local
76 if (face == Typeface.DEFAULT) { in getCharGeometryCacheKey()
78 } else if (face == Typeface.DEFAULT_BOLD) { in getCharGeometryCacheKey()
80 } else if (face == Typeface.MONOSPACE) { in getCharGeometryCacheKey()
/packages/apps/Camera2/src/com/android/camera/stats/
DCamera2FaceProxy.java35 public static Camera2FaceProxy from(Face face) { in from() argument
36 Camera2FaceProxy convertedFace = new Camera2FaceProxy(face.getBounds(), face.getScore()); in from()
DCaptureSessionStatsCollector.java80 for (Face face : facesCaptured) { in decorateAtTimeOfCaptureRequestAvailable()
81 mFaceProxies.add(Camera2FaceProxy.from(face)); in decorateAtTimeOfCaptureRequestAvailable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/face/
DFaceStatusPreferenceControllerTest.java17 package com.android.settings.biometrics.face;
31 import android.hardware.face.Face;
32 import android.hardware.face.FaceManager;
/packages/apps/Settings/src/com/android/settings/password/
DChooseLockGeneric.java40 import android.hardware.face.Face;
41 import android.hardware.face.FaceManager;
883 Face face = new Face(null, 0, 0); in removeAllFaceForUserAndFinish() local
884 mFaceManager.remove(face, userId, in removeAllFaceForUserAndFinish()
887 public void onRemovalError(Face face, int errMsgId, CharSequence err) { in removeAllFaceForUserAndFinish()
889 face.getBiometricId(), err)); in removeAllFaceForUserAndFinish()
892 public void onRemovalSucceeded(Face face, int remaining) { in removeAllFaceForUserAndFinish()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DChooseLockGeneric.java39 import android.hardware.face.Face;
40 import android.hardware.face.FaceManager;
872 Face face = new Face(null, 0, 0); in removeAllFaceForUserAndFinish() local
873 mFaceManager.remove(face, userId, in removeAllFaceForUserAndFinish()
876 public void onRemovalError(Face face, int errMsgId, CharSequence err) { in removeAllFaceForUserAndFinish()
878 face.getBiometricId(), err)); in removeAllFaceForUserAndFinish()
881 public void onRemovalSucceeded(Face face, int remaining) { in removeAllFaceForUserAndFinish()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/security/
DSecuritySettings.java26 import com.android.car.developeroptions.biometrics.face.FaceProfileStatusPreferenceController;
27 import com.android.car.developeroptions.biometrics.face.FaceStatusPreferenceController;
/packages/apps/Settings/src/com/android/settings/security/
DSecuritySettings.java26 import com.android.settings.biometrics.face.FaceProfileStatusPreferenceController;
27 import com.android.settings.biometrics.face.FaceStatusPreferenceController;

1234