/cts/apps/CameraITS/tests/scene2_c/ |
D | test_num_faces.py | 37 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/ |
D | test_num_faces.py | 37 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/ |
D | test_num_faces.py | 37 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/ |
D | test_num_faces.py | 37 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/ |
D | test_num_faces.py | 37 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]
|
D | test_faces.py | 127 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/ |
D | rs_jni_type.cpp | 43 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()
|
D | rs_jni_allocation.cpp | 39 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/ |
D | GalleryCtsActivity.java | 74 R.drawable.faces, 77 R.drawable.faces, 80 R.drawable.faces,
|
D | GalleryTest.java | 324 R.drawable.faces, 327 R.drawable.faces, 330 R.drawable.faces,
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | TypeTest.java | 38 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()
|
D | AllocationTest.java | 40 for (int faces = 0; faces <= 1; faces++) { in createTypedHelper() 41 boolean useFaces = (faces == 1); in createTypedHelper()
|
/cts/tests/openglperf2/ |
D | cob_exporter.py | 47 for vertex_index, vertex_itself in enumerate(mesh.data.faces[uv_index].vertices):
|
/cts/tests/camera/src/android/hardware/cts/ |
D | CameraTest.java | 3236 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/ |
D | CaptureRequestTest.java | 2177 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/ |
D | WindowTest.java | 440 mActivityRule.runOnUiThread(() -> mWindow.setBackgroundDrawableResource(R.drawable.faces)); in testSetBackgroundDrawable()
|