Searched refs:Face (Results 1 - 8 of 8) sorted by relevance
/frameworks/base/media/java/android/media/ |
H A D | FaceDetector.java | 32 * A Face contains all the information identifying the location 35 public class Face { class in class:FaceDetector 89 private Face() { method in class:FaceDetector.Face 126 * The supplied array is populated with {@link FaceDetector.Face}s for each 131 * {@link FaceDetector.Face}s. The array must be sized equal 139 public int findFaces(Bitmap bitmap, Face[] faces) 158 faces[i] = new Face(); 191 native private void fft_get_face(Face face, int i);
|
/frameworks/base/core/java/android/hardware/camera2/ |
H A D | Face.java | 26 public final class Face { class 31 * @see Face#Face(Rect, int) 85 public Face(Rect bounds, int score, int id, method in class:Face 129 public Face(Rect bounds, int score) { method in class:Face 242 * Represent the Face as a string for debugging purposes.
|
H A D | CaptureResult.java | 1027 * List of the {@link Face Faces} detected through camera face detection 1035 * @see Face 1037 public static final Key<Face[]> STATISTICS_FACES = 1038 new Key<Face[]>("android.statistics.faces", Face[].class);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | FaceSquareFilterTest.java | 39 import android.hardware.Camera.Face; 59 FrameValues facesFrame = createFrame(FrameType.array(Camera.Face.class), new int[] {1,1}). 66 Face face = new Face(); 71 Face[] faces = new Face[1];
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | FaceSquareFilter.java | 22 import android.hardware.Camera.Face; 51 FrameType facesType = FrameType.array(Camera.Face.class); 67 Face[] faces = (Face[]) facesFrame.getValues(); 73 // face following the rect member of the Face 82 public void drawBoxes(byte[] pixels, Face[] faces, int[] dims) {
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
H A D | CameraMetadataNative.java | 25 import android.hardware.camera2.Face; 469 private Face[] getFaces() { 474 Log.w(TAG, "Face detect mode metadata is null, assuming the mode is SIMPLE"); 478 return new Face[0]; 483 return new Face[0]; 487 // Face scores and rectangles are required by SIMPLE and FULL mode. 492 return new Face[0]; 494 Log.w(TAG, String.format("Face score size(%d) doesn match face rectangle size(%d)!", 500 // Face id and landmarks are only required by FULL mode. 511 Log.w(TAG, String.format("Face i [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | CameraMetadataTest.java | 25 import android.hardware.camera2.Face; 580 // android.statistics.faces (Face x n array) 612 Face[] resultFaces = mMetadata.get(CaptureResult.STATISTICS_FACES); 630 Face[] resultSimpleFaces = mMetadata.get(CaptureResult.STATISTICS_FACES); 633 assertEquals(Face.ID_UNSUPPORTED, resultSimpleFaces[i].getId());
|
/frameworks/base/core/java/android/hardware/ |
H A D | Camera.java | 965 mFaceListener.onFaceDetection((Face[])msg.obj, mCamera); 1416 void onFaceDetection(Face[] faces, Camera camera); 1465 throw new RuntimeException("Face detection is already running"); 1492 public static class Face { class in class:Camera 1496 public Face() { method in class:Camera.Face
|
Completed in 361 milliseconds