Home
last modified time | relevance | path

Searched refs:face (Results 1 – 25 of 87) 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/homepage/contextualcards/
DFaceReEnrollDialog.java24 import android.hardware.face.Face;
25 import android.hardware.face.FaceManager;
101 public void onRemovalError(Face face, int errMsgId, CharSequence errString) { in removeFaceAndReEnroll()
102 super.onRemovalError(face, errMsgId, errString); in removeFaceAndReEnroll()
107 public void onRemovalSucceeded(Face face, int remaining) { in removeFaceAndReEnroll()
108 super.onRemovalSucceeded(face, remaining); in removeFaceAndReEnroll()
/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;
100 public void onRemovalError(Face face, int errMsgId, CharSequence errString) {
101 Log.e(TAG, "Unable to remove face: " + face.getBiometricId()
108 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;
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;
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;
DFaceEnrollIntroduction.java17 package com.android.settings.biometrics.face;
23 import android.hardware.face.FaceManager;
24 import android.hardware.face.FaceSensorPropertiesInternal;
DFaceStatusPreferenceController.java17 package com.android.settings.biometrics.face;
21 import android.hardware.face.FaceManager;
DFaceEnrollEnrolling.java17 package com.android.settings.biometrics.face;
21 import android.hardware.face.FaceManager;
DFaceEnrollEducation.java17 package com.android.settings.biometrics.face;
22 import android.hardware.face.FaceManager;
DFaceFeatureProvider.java17 package com.android.settings.biometrics.face;
/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;
36 import android.hardware.face.Face;
37 import android.hardware.face.FaceManager;
DFaceSettingsLockscreenBypassPreferenceControllerTest.java17 package com.android.settings.biometrics.face;
30 import android.hardware.face.FaceManager;
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DFaceSetupSlice.java24 import android.hardware.face.FaceManager;
38 import com.android.settings.biometrics.face.FaceStatusPreferenceController;
/packages/apps/Settings/src/com/android/settings/security/
DSecuritySettings.java27 import com.android.settings.biometrics.face.FaceProfileStatusPreferenceController;
28 import com.android.settings.biometrics.face.FaceStatusPreferenceController;
/packages/modules/GeoTZ/data_pipeline/src/main/java/com/android/timezone/location/data_pipeline/steps/
DTzS2CellUnionsToTzS2Ranges.java223 if (firstS2CellRangeEnd.face() < firstS2CellRangeStart.face() in createRangeStartAndEnd()

1234