/cts/apps/CameraITS/tests/scene2/ |
D | test_faces.py | 83 face_scores = [face['score'] for face in faces] 84 face_rectangles = [face['bounds'] for face in faces] 109 for face in faces: 110 assert 'leftEye' not in face 111 assert 'rightEye' not in face 112 assert 'mouth' not in face 113 assert face['id'] == -1 115 face_ids = [face['id'] for face in faces] 118 for k, face in enumerate(faces): 120 l_eye = face['leftEye'] [all …]
|
D | test_num_faces.py | 70 for rect in [face['bounds'] for face in faces]: 87 face_scores = [face['score'] for face in faces] 91 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/scene2c/ |
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/apps/CameraITS/tests/scene2b/ |
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/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 | 3218 for (Face face: faces) { in testFaceDetectionByCamera() 3219 if (face != null) firstFace = face; in testFaceDetectionByCamera() 3262 Face face = faces[i]; in testFaces() local 3263 Rect rect = face.rect; in testFaces() 3272 assertTrue(face.score >= 1 && face.score <= 100); in testFaces() 3277 assertEquals(-1, face.id); in testFaces() 3278 assertNull(face.leftEye); in testFaces() 3279 assertNull(face.rightEye); in testFaces() 3280 assertNull(face.mouth); in testFaces() 3282 assertTrue(face.id != -1); in testFaces() [all …]
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CaptureRequestTest.java | 2142 for (Face face : faces) { 2143 mCollector.expectNotNull("Face rectangle shouldn't be null", face.getBounds()); 2144 faceScores.add(face.getScore()); 2146 face.getId() == Face.ID_UNSUPPORTED); 2153 for (Face face : faces) { 2156 + "shouldn't be null", face.getBounds() != null); 2160 faceBound = face.getBounds(); 2162 faceScores.add(face.getScore()); 2163 faceIds.add(face.getId()); 2166 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()
|
/cts/tests/tests/nativehardware/jni/ |
D | AHardwareBufferGLTest.cpp | 1537 for (int face = 0; face < 6; ++face) { in SetUpTexture() local 1541 glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + face, level, internal_format, in SetUpTexture() 2249 for (int face = 0; face < 6; ++face) { in TEST_P() local 2251 SetUpFramebuffer(desc.width, desc.height, desc.layers - 6 + face, kBufferAsTexture)); in TEST_P() 2266 for (int face = 0; face < 6; ++face) { in TEST_P() local 2268 SetUpFramebuffer(1, 1, desc.layers - 6 + face, kBufferAsTexture, kNone, kNone, kNone, in TEST_P()
|