Home
last modified time | relevance | path

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

12345

/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/homepage/contextualcards/
DFaceReEnrollDialog.java24 import android.hardware.face.Face;
25 import android.hardware.face.FaceManager;
33 import com.android.settings.biometrics.face.FaceUpdater;
104 public void onRemovalError(Face face, int errMsgId, CharSequence errString) { in removeFaceAndReEnroll()
105 super.onRemovalError(face, errMsgId, errString); in removeFaceAndReEnroll()
110 public void onRemovalSucceeded(Face face, int remaining) { in removeFaceAndReEnroll()
111 super.onRemovalSucceeded(face, remaining); in removeFaceAndReEnroll()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceUpdater.java17 package com.android.settings.biometrics.face;
21 import android.hardware.face.Face;
22 import android.hardware.face.FaceEnrollCell;
23 import android.hardware.face.FaceEnrollOptions;
24 import android.hardware.face.FaceManager;
71 public void remove(Face face, int userId, FaceManager.RemovalCallback callback) { in remove() argument
72 mFaceManager.remove(face, userId, new NotifyingRemovalCallback(mContext, callback)); in remove()
DFaceSettingsAttentionPreferenceController.java17 package com.android.settings.biometrics.face;
22 import android.hardware.face.FaceManager;
23 import android.hardware.face.FaceManager.GetFeatureCallback;
24 import android.hardware.face.FaceManager.SetFeatureCallback;
DFaceSettingsRemoveButtonPreferenceController.java17 package com.android.settings.biometrics.face;
25 import android.hardware.face.Face;
26 import android.hardware.face.FaceManager;
164 public void onRemovalError(Face face, int errMsgId, CharSequence errString) {
165 Log.e(TAG, "Unable to remove face: " + face.getBiometricId()
172 public void onRemovalSucceeded(Face face, int remaining) {
DFaceSettingsFooterPreferenceController.java17 package com.android.settings.biometrics.face;
23 import android.hardware.face.FaceManager;
24 import android.hardware.face.FaceSensorPropertiesInternal;
25 import android.hardware.face.IFaceAuthenticatorsRegisteredCallback;
DFaceSettingsConfirmPreferenceController.java17 package com.android.settings.biometrics.face;
23 import android.hardware.face.FaceManager;
24 import android.hardware.face.FaceSensorProperties;
DFaceEnrollSidecar.java17 package com.android.settings.biometrics.face;
22 import android.hardware.face.FaceManager;
DFaceSettingsAppPreferenceController.java17 package com.android.settings.biometrics.face;
22 import android.hardware.face.FaceManager;
DFaceSettingsKeyguardPreferenceController.java17 package com.android.settings.biometrics.face;
22 import android.hardware.face.FaceManager;
DFaceSettingsLockscreenBypassPreferenceController.java17 package com.android.settings.biometrics.face;
21 import android.hardware.face.FaceManager;
DFaceStatusUtils.java17 package com.android.settings.biometrics.face;
22 import android.hardware.face.FaceManager;
DFaceStatusPreferenceController.java17 package com.android.settings.biometrics.face;
20 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/
DFaceSettingsFooterPreferenceControllerTest.java17 package com.android.settings.biometrics.face;
29 import android.hardware.face.FaceManager;
30 import android.hardware.face.FaceSensorProperties;
31 import android.hardware.face.FaceSensorPropertiesInternal;
32 import android.hardware.face.IFaceAuthenticatorsRegisteredCallback;
DFaceSettingsRemoveButtonPreferenceControllerTest.java17 package com.android.settings.biometrics.face;
26 import android.hardware.face.FaceManager;
30 import com.android.settings.biometrics.face.FaceSettingsRemoveButtonPreferenceController.ConfirmRem…
DFaceStatusPreferenceControllerTest.java17 package com.android.settings.biometrics.face;
36 import android.hardware.face.Face;
37 import android.hardware.face.FaceManager;
DFaceEnrollIntroductionTest.java17 package com.android.settings.biometrics.face;
45 import android.hardware.face.Face;
46 import android.hardware.face.FaceEnrollOptions;
47 import android.hardware.face.FaceManager;
48 import android.hardware.face.FaceSensorProperties;
49 import android.hardware.face.FaceSensorPropertiesInternal;
50 import android.hardware.face.IFaceAuthenticatorsRegisteredCallback;
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/face/
DFaceUpdaterTest.java17 package com.android.settings.biometrics.face;
29 import android.hardware.face.Face;
30 import android.hardware.face.FaceEnrollCell;
31 import android.hardware.face.FaceEnrollStages;
32 import android.hardware.face.FaceManager;
/packages/apps/Settings/tests/componenttests/src/com/android/settings/biometrics/
DBiometricEnrollActivityTest.java38 import android.hardware.face.FaceManager;
39 import android.hardware.face.FaceSensorPropertiesInternal;
54 import com.android.settings.biometrics.face.FaceEnrollIntroduction;

12345