/cts/apps/CameraITS/tests/scene2_a/ |
D | test_faces.py | 56 def check_face_landmarks(face): argument 58 l, r = face['bounds']['left'], face['bounds']['right'] 59 t, b = face['bounds']['top'], face['bounds']['bottom'] 60 l_eye_x, l_eye_y = face['leftEye']['x'], face['leftEye']['y'] 61 r_eye_x, r_eye_y = face['rightEye']['x'], face['rightEye']['y'] 62 mouth_x, mouth_y = face['mouth']['x'], face['mouth']['y'] 150 face_scores = [face['score'] for face in faces] 151 face_rectangles = [face['bounds'] for face in faces] 162 for face in faces: 163 if 'leftEye' in face or 'rightEye' in face: [all …]
|
D | test_num_faces.py | 48 for rect in [face['bounds'] for face in faces]: 122 face_scores = [face['score'] for face in faces] 126 face_rectangles = [face['bounds'] for face in faces]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | FaceDetector_FaceTest.java | 55 Face face = detectedFaces.get(0); in testFaceProperties() local 57 face.getMidPoint(eyesMP); in testFaceProperties() 60 assertTrue(face.confidence() >= goodConfidence); in testFaceProperties() 62 assertEquals(eyesDistance, face.eyesDistance(), tolerance); in testFaceProperties() 67 face.pose(FaceDetector.Face.EULER_X); in testFaceProperties() 68 face.pose(FaceDetector.Face.EULER_Y); in testFaceProperties() 69 face.pose(FaceDetector.Face.EULER_Z); in testFaceProperties() 73 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/CameraITS/tests/scene2_c/ |
D | test_num_faces.py | 48 for rect in [face['bounds'] for face in faces]: 122 face_scores = [face['score'] for face in faces] 126 face_rectangles = [face['bounds'] for face in faces]
|
/cts/apps/CameraITS/tests/scene2_d/ |
D | test_num_faces.py | 48 for rect in [face['bounds'] for face in faces]: 122 face_scores = [face['score'] for face in faces] 126 face_rectangles = [face['bounds'] for face in faces]
|
/cts/apps/CameraITS/tests/scene2_e/ |
D | test_num_faces.py | 48 for rect in [face['bounds'] for face in faces]: 122 face_scores = [face['score'] for face in faces] 126 face_rectangles = [face['bounds'] for face in faces]
|
/cts/apps/CameraITS/tests/scene2_b/ |
D | test_num_faces.py | 48 for rect in [face['bounds'] for face in faces]: 122 face_scores = [face['score'] for face in faces] 126 face_rectangles = [face['bounds'] for face in faces]
|
/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/src/android/hardware/cts/ |
D | CameraTest.java | 3237 for (Face face: faces) { in testFaceDetectionByCamera() 3238 if (face != null) firstFace = face; in testFaceDetectionByCamera() 3281 Face face = faces[i]; in testFaces() local 3282 Rect rect = face.rect; in testFaces() 3291 assertTrue(face.score >= 1 && face.score <= 100); in testFaces() 3296 assertEquals(-1, face.id); in testFaces() 3297 assertNull(face.leftEye); in testFaces() 3298 assertNull(face.rightEye); in testFaces() 3299 assertNull(face.mouth); in testFaces() 3301 assertTrue(face.id != -1); in testFaces() [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()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CaptureRequestTest.java | 2184 for (Face face : faces) { 2185 mCollector.expectNotNull("Face rectangle shouldn't be null", face.getBounds()); 2186 faceScores.add(face.getScore()); 2188 face.getId() == Face.ID_UNSUPPORTED); 2195 for (Face face : faces) { 2198 + "shouldn't be null", face.getBounds() != null); 2202 faceBound = face.getBounds(); 2204 faceScores.add(face.getScore()); 2205 faceIds.add(face.getId()); 2208 face.getId() != Face.ID_UNSUPPORTED); [all …]
|
/cts/tests/tests/nativehardware/jni/ |
D | AHardwareBufferGLTest.cpp | 1542 for (int face = 0; face < 6; ++face) { in SetUpTexture() local 1546 glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + face, level, internal_format, in SetUpTexture() 2259 for (int face = 0; face < 6; ++face) { in TEST_P() local 2261 SetUpFramebuffer(desc.width, desc.height, desc.layers - 6 + face, kBufferAsTexture)); in TEST_P() 2276 for (int face = 0; face < 6; ++face) { in TEST_P() local 2278 SetUpFramebuffer(1, 1, desc.layers - 6 + face, kBufferAsTexture, kNone, kNone, kNone, in TEST_P()
|