/cts/apps/CameraITS/tests/scene2/ |
D | test_faces.py | 79 face_scores = [face['score'] for face in faces] 80 face_rectangles = [face['bounds'] for face in faces] 95 for face in faces: 96 assert('leftEye' not in face) 97 assert('rightEye' not in face) 98 assert('mouth' not in face) 99 assert(face['id'] == -1) 101 face_ids = [face['id'] for face in faces] 104 for face in faces: 105 left_eye = face['leftEye'] [all …]
|
D | test_num_faces.py | 69 for rect in [face['bounds'] for face in faces]: 86 face_scores = [face['score'] for face in faces] 90 face_rectangles = [face['bounds'] for face in faces]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | FaceDetector_FaceTest.java | 54 Face face = detectedFaces.get(0); in testFaceProperties() local 56 face.getMidPoint(eyesMP); in testFaceProperties() 59 assertTrue(face.confidence() >= goodConfidence); in testFaceProperties() 61 assertEquals(eyesDistance, face.eyesDistance(), tolerance); in testFaceProperties() 66 face.pose(FaceDetector.Face.EULER_X); in testFaceProperties() 67 face.pose(FaceDetector.Face.EULER_Y); in testFaceProperties() 68 face.pose(FaceDetector.Face.EULER_Z); in testFaceProperties() 72 face.pose(ErrorEuler); in testFaceProperties()
|
D | FaceView.java | 82 for (Face face : detectedFaces) { in onDraw() 84 face.getMidPoint(eyesMP); in onDraw() 87 float eyesDistance = face.eyesDistance() * scale; in onDraw()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsSerializer.java | 114 private static Object serializeFace(Face face) in serializeFace() argument 117 faceObj.put("bounds", serializeRect(face.getBounds())); in serializeFace() 118 faceObj.put("score", face.getScore()); in serializeFace() 119 faceObj.put("id", face.getId()); in serializeFace() 120 if (face.getLeftEyePosition() != null) { in serializeFace() 121 faceObj.put("leftEye", serializePoint(face.getLeftEyePosition())); in serializeFace() 123 if (face.getRightEyePosition() != null) { in serializeFace() 124 faceObj.put("rightEye", serializePoint(face.getRightEyePosition())); in serializeFace() 126 if (face.getMouthPosition() != null) { in serializeFace() 127 faceObj.put("mouth", serializePoint(face.getMouthPosition())); in serializeFace()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | CameraMetadataGetter.java | 289 private static Object serializeFace(Face face) in serializeFace() argument 292 faceObj.put("bounds", serializeRect(face.getBounds())); in serializeFace() 293 faceObj.put("score", face.getScore()); in serializeFace() 294 faceObj.put("id", face.getId()); in serializeFace() 295 faceObj.put("leftEye", serializePoint(face.getLeftEyePosition())); in serializeFace() 296 faceObj.put("rightEye", serializePoint(face.getRightEyePosition())); in serializeFace() 297 faceObj.put("mouth", serializePoint(face.getMouthPosition())); in serializeFace()
|
/cts/tests/camera/src/android/hardware/cts/ |
D | CameraTest.java | 3103 for (Face face: faces) { 3104 if (face != null) firstFace = face; 3147 Face face = faces[i]; 3148 Rect rect = face.rect; 3157 assertTrue(face.score >= 1 && face.score <= 100); 3162 assertEquals(-1, face.id); 3163 assertNull(face.leftEye); 3164 assertNull(face.rightEye); 3165 assertNull(face.mouth); 3167 assertTrue(face.id != -1); [all …]
|
/cts/tests/tests/nativehardware/jni/ |
D | AHardwareBufferGLTest.cpp | 914 for (int face = 0; face < 6; ++face) { in SetUpTexture() local 916 glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + face, level, desc.format, in SetUpTexture() 1520 for (int face = 0; face < 6; ++face) { in TEST_P() local 1521 SetUpFramebuffer(desc.width, desc.height, desc.layers - 6 + face, kBufferAsTexture); in TEST_P() 1536 for (int face = 0; face < 6; ++face) { in TEST_P() local 1537 SetUpFramebuffer(1, 1, desc.layers - 6 + face, kBufferAsTexture, kNone, kNone, kNone, in TEST_P()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CaptureRequestTest.java | 1880 for (Face face : faces) { 1881 mCollector.expectNotNull("Face rectangle shouldn't be null", face.getBounds()); 1882 faceScores.add(face.getScore()); 1884 face.getId() == Face.ID_UNSUPPORTED); 1891 for (Face face : faces) { 1894 + "shouldn't be null", face.getBounds() != null); 1898 faceBound = face.getBounds(); 1900 faceScores.add(face.getScore()); 1901 faceIds.add(face.getId()); 1904 face.getId() != Face.ID_UNSUPPORTED); [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | LaunchClip.java | 44 void setup(boolean makeIn, boolean makeOut, int x, int y, int z, boolean face, boolean lods, in setup() argument 50 mHasFaces = face; in setup()
|