Home
last modified time | relevance | path

Searched refs:Face (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyFaceDetectMapper.java27 import android.hardware.camera2.params.Face;
61 private Camera.Face[] mFaces;
62 private Camera.Face[] mFacesPrev;
87 public void onFaceDetection(Camera.Face[] faces, Camera camera) { in LegacyFaceDetectMapper()
211 Camera.Face[] faces, previousFaces; in mapResultFaces()
239 List<Face> convertedFaces = new ArrayList<>(); in mapResultFaces()
241 for (Camera.Face face : faces) { in mapResultFaces()
255 result.set(CaptureResult.STATISTICS_FACES, convertedFaces.toArray(new Face[0])); in mapResultFaces()
DParameterUtils.java25 import android.hardware.camera2.params.Face;
175 public Face toFace( in toFace()
179 Face.SCORE_MIN, in toFace()
180 Face.SCORE_MAX, in toFace()
184 return new Face(rect, score, idSafe, leftEyePosition, rightEyePosition, mouthPosition); in toFace()
198 public Face toFace() { in toFace()
200 Face.SCORE_MIN, in toFace()
201 Face.SCORE_MAX, in toFace()
205 return new Face(rect, score); in toFace()
912 public static Face convertFaceFromLegacy(Camera.Face face, Rect activeArray, in convertFaceFromLegacy()
[all …]
/frameworks/base/media/java/android/media/
DFaceDetector.java35 public class Face { class in FaceDetector
89 private Face() { in Face() method in FaceDetector.Face
139 public int findFaces(Bitmap bitmap, Face[] faces) in findFaces()
158 faces[i] = new Face(); in findFaces()
191 native private void fft_get_face(Face face, int i); in fft_get_face()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
DFaceSquareFilterTest.java39 import android.hardware.Camera.Face;
59 FrameValues facesFrame = createFrame(FrameType.array(Camera.Face.class), new int[] {1,1}). in testFaceSquareFilter()
66 Face face = new Face(); in testFaceSquareFilter()
71 Face[] faces = new Face[1]; in testFaceSquareFilter()
/frameworks/base/core/java/android/hardware/camera2/params/
DFace.java29 public final class Face { class
88 public Face(Rect bounds, int score, int id, in Face() method in Face
132 public Face(Rect bounds, int score) { in Face() method in Face
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DFaceSquareFilter.java22 import android.hardware.Camera.Face;
51 FrameType facesType = FrameType.array(Camera.Face.class); in getSignature()
67 Face[] faces = (Face[]) facesFrame.getValues(); in onProcess()
82 public void drawBoxes(byte[] pixels, Face[] faces, int[] dims) { in drawBoxes()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java48 import android.hardware.camera2.params.Face;
633 private boolean setFaces(Face[] faces) { in setFaces()
642 for (Face face : faces) { in setFaces()
649 if (face.getId() == Face.ID_UNSUPPORTED) { in setFaces()
665 for (Face face : faces) { in setFaces()
697 private Face[] getFaces() { in getFaces()
713 return new Face[0]; in getFaces()
718 return new Face[0]; in getFaces()
725 return new Face[0]; in getFaces()
752 ArrayList<Face> faceList = new ArrayList<Face>(); in getFaces()
[all …]
/frameworks/base/core/java/android/hardware/camera2/
DCaptureResult.java3596 public static final Key<android.hardware.camera2.params.Face[]> STATISTICS_FACES =
3597 …new Key<android.hardware.camera2.params.Face[]>("android.statistics.faces", android.hardware.camer…
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraMetadataTest.java38 import android.hardware.camera2.params.Face;
1038 Face[] resultFaces = mMetadata.get(CaptureResult.STATISTICS_FACES); in testReadWriteOverride()
1056 Face[] resultSimpleFaces = mMetadata.get(CaptureResult.STATISTICS_FACES); in testReadWriteOverride()
1059 assertEquals(Face.ID_UNSUPPORTED, resultSimpleFaces[i].getId()); in testReadWriteOverride()
/frameworks/base/core/java/android/hardware/
DCamera.java1153 mFaceListener.onFaceDetection((Face[])msg.obj, mCamera); in handleMessage()
1652 void onFaceDetection(Face[] faces, Camera camera); in onFaceDetection()
1731 public static class Face { class in Camera
1735 public Face() { in Face() method in Camera.Face
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DCameraAgent.java216 public void onFaceDetection(Camera.Face[] faces, CameraProxy camera); in onFaceDetection()
DAndroidCameraAgentImpl.java1334 final Camera.Face[] faces, Camera camera) { in onFaceDetection()
/frameworks/rs/script_api/include/
Drs_for_each.rsh407 * rsGetFace: Coordinate of the Face for the specified kernel context
/frameworks/base/
Dpreloaded-classes91 [Landroid.hardware.camera2.params.Face;
1134 android.hardware.Camera$Face
1219 android.hardware.camera2.params.Face
Dcompiled-classes-phone1476 android.hardware.Camera$Face
1657 android.hardware.camera2.params.Face
/frameworks/base/services/
Dprofile-classes936 Landroid/hardware/Camera$Face;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt12157 public static deprecated class Camera.Face {
12158 ctor public Camera.Face();
12168 …method public abstract void onFaceDetection(android.hardware.Camera.Face[], android.hardware.Camer…
13035 …ndroid.hardware.camera2.CaptureResult.Key<android.hardware.camera2.params.Face[]> STATISTICS_FACES;
13088 public final class Face {
14391 method public int findFaces(android.graphics.Bitmap, android.media.FaceDetector.Face[]);
14394 public class FaceDetector.Face {
/frameworks/base/api/
Dcurrent.txt14499 public static deprecated class Camera.Face {
14500 ctor public Camera.Face();
14510 …method public abstract void onFaceDetection(android.hardware.Camera.Face[], android.hardware.Camer…
15547 …ndroid.hardware.camera2.CaptureResult.Key<android.hardware.camera2.params.Face[]> STATISTICS_FACES;
15602 public final class Face {
21677 method public int findFaces(android.graphics.Bitmap, android.media.FaceDetector.Face[]);
21680 public class FaceDetector.Face {
Dsystem-current.txt15279 public static deprecated class Camera.Face {
15280 ctor public Camera.Face();
15290 …method public abstract void onFaceDetection(android.hardware.Camera.Face[], android.hardware.Camer…
16339 …ndroid.hardware.camera2.CaptureResult.Key<android.hardware.camera2.params.Face[]> STATISTICS_FACES;
16394 public final class Face {
23519 method public int findFaces(android.graphics.Bitmap, android.media.FaceDetector.Face[]);
23522 public class FaceDetector.Face {