Home
last modified time | relevance | path

Searched refs:faces (Results 1 – 16 of 16) sorted by relevance

/cts/apps/CameraITS/tests/scene2_c/
Dtest_num_faces.py37 def draw_face_rectangles(img, faces, aw, ah): argument
48 for rect in [face['bounds'] for face in faces]:
94 faces = md['android.statistics.faces']
98 assert not faces
105 fnd_faces = len(faces)
109 img = draw_face_rectangles(img, faces, aw, ah)
115 if not faces:
119 logging.debug(' Faces: %s', str(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/
Dtest_num_faces.py37 def draw_face_rectangles(img, faces, aw, ah): argument
48 for rect in [face['bounds'] for face in faces]:
94 faces = md['android.statistics.faces']
98 assert not faces
105 fnd_faces = len(faces)
109 img = draw_face_rectangles(img, faces, aw, ah)
115 if not faces:
119 logging.debug(' Faces: %s', str(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/
Dtest_num_faces.py37 def draw_face_rectangles(img, faces, aw, ah): argument
48 for rect in [face['bounds'] for face in faces]:
94 faces = md['android.statistics.faces']
98 assert not faces
105 fnd_faces = len(faces)
109 img = draw_face_rectangles(img, faces, aw, ah)
115 if not faces:
119 logging.debug(' Faces: %s', str(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/
Dtest_num_faces.py37 def draw_face_rectangles(img, faces, aw, ah): argument
48 for rect in [face['bounds'] for face in faces]:
94 faces = md['android.statistics.faces']
98 assert not faces
105 fnd_faces = len(faces)
109 img = draw_face_rectangles(img, faces, aw, ah)
115 if not faces:
119 logging.debug(' Faces: %s', str(faces))
122 face_scores = [face['score'] for face in faces]
126 face_rectangles = [face['bounds'] for face in faces]
/cts/apps/CameraITS/tests/scene2_a/
Dtest_num_faces.py37 def draw_face_rectangles(img, faces, aw, ah): argument
48 for rect in [face['bounds'] for face in faces]:
94 faces = md['android.statistics.faces']
98 assert not faces
105 fnd_faces = len(faces)
109 img = draw_face_rectangles(img, faces, aw, ah)
115 if not faces:
119 logging.debug(' Faces: %s', str(faces))
122 face_scores = [face['score'] for face in faces]
126 face_rectangles = [face['bounds'] for face in faces]
Dtest_faces.py127 faces = cap['metadata']['android.statistics.faces']
131 if faces:
142 if not faces:
144 if not faces:
148 logging.debug('Faces: %s', faces)
150 face_scores = [face['score'] for face in faces]
151 face_rectangles = [face['bounds'] for face in faces]
162 for face in faces:
170 face_ids = [face['id'] for face in faces]
174 for k, face in enumerate(faces):
/cts/tests/tests/rscpp/librscpptest/
Drs_jni_type.cpp43 for (int faces = 0; faces <= 1; faces++) { in testTypeBuilderHelper() local
44 bool useFaces = (faces == 1); in testTypeBuilderHelper()
114 for (int faces = 0; faces <= 1; faces++) { in Java_android_cts_rscpp_RSTypeTest_testGetCount() local
115 bool useFaces = (faces == 1); in Java_android_cts_rscpp_RSTypeTest_testGetCount()
Drs_jni_allocation.cpp39 for (int faces = 0; faces <= 1; faces++) { in createTypedHelper() local
40 bool useFaces = (faces == 1); in createTypedHelper()
/cts/tests/tests/widget/src/android/widget/cts/
DGalleryCtsActivity.java74 R.drawable.faces,
77 R.drawable.faces,
80 R.drawable.faces,
DGalleryTest.java324 R.drawable.faces,
327 R.drawable.faces,
330 R.drawable.faces,
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DTypeTest.java38 for (int faces = 0; faces <= 1; faces++) { in testTypeBuilderHelper()
39 boolean useFaces = (faces == 1); in testTypeBuilderHelper()
86 for (int faces = 0; faces <= 1; faces++) { in testGetCount()
87 boolean useFaces = faces == 1; in testGetCount()
DAllocationTest.java40 for (int faces = 0; faces <= 1; faces++) { in createTypedHelper()
41 boolean useFaces = (faces == 1); in createTypedHelper()
/cts/tests/openglperf2/
Dcob_exporter.py47 for vertex_index, vertex_itself in enumerate(mesh.data.faces[uv_index].vertices):
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java3236 for (Face[] faces: listener.mFacesArray) { in testFaceDetectionByCamera()
3237 for (Face face: faces) { in testFaceDetectionByCamera()
3249 for (Face[] faces: listener.mFacesArray) { in testFaceDetectionByCamera()
3250 testFaces(faces, maxNumOfFaces, optionalFieldSupported); in testFaceDetectionByCamera()
3270 public void onFaceDetection(Face[] faces, Camera camera) { in onFaceDetection() argument
3271 mFacesArray.add(faces); in onFaceDetection()
3275 private void testFaces(Face[] faces, int maxNumOfFaces, in testFaces() argument
3278 assertNotNull(faces); in testFaces()
3279 assertTrue(faces.length <= maxNumOfFaces); in testFaces()
3280 for (int i = 0; i < faces.length; i++) { in testFaces()
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/
DCaptureRequestTest.java2177 Face[] faces = result.get(CaptureResult.STATISTICS_FACES);
2178 List<Integer> faceIds = new ArrayList<Integer>(faces.length);
2179 List<Integer> faceScores = new ArrayList<Integer>(faces.length);
2182 0, faces.length);
2184 for (Face face : faces) {
2192 Log.v(TAG, "Number of faces detected: " + faces.length);
2195 for (Face face : faces) {
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowTest.java440 mActivityRule.runOnUiThread(() -> mWindow.setBackgroundDrawableResource(R.drawable.faces)); in testSetBackgroundDrawable()