/cts/apps/CameraITS/utils/ |
D | opencv_processing_utils.py | 326 circle = {} 365 circle['x'] = shape['ctx'] 366 circle['y'] = shape['cty'] 367 circle['r'] = (shape['width'] + shape['height']) / 4 368 circle['w'] = float(shape['width']) 369 circle['h'] = float(shape['height']) 370 circle['x_offset'] = (shape['ctx'] - img_size[1]//2) / circle['w'] 371 circle['y_offset'] = (shape['cty'] - img_size[0]//2) / circle['h'] 375 logging.debug('Location: %.1f x %.1f', circle['x'], circle['y']) 376 logging.debug('Radius: %.3f', circle['r']) [all …]
|
/cts/apps/CameraITS/tests/scene6/ |
D | test_zoom.py | 108 def circle_cropped(circle, size): argument 120 circle_x, circle_y = circle[0], circle[1] 121 circle_r = circle[2] 184 circle = circles[0] 194 center_i = (int(round(circle[0], 0)), int(round(circle[1], 0))) 195 radius_i = int(round(circle[2], 0)) 196 cv2.circle(img, center_i, radius_i, LINE_COLOR, LINE_THICKNESS) 199 return [circle[0], circle[1], circle[2]] 265 circle = find_center_circle( 269 if circle_cropped(circle, size): [all …]
|
/cts/apps/CameraITS/tests/scene4/ |
D | test_multi_camera_alignment.py | 230 def undo_zoom(cap, circle): argument 261 circle['x'] = cr['left'] + yuv_x + circle['x'] / zoom_ratio 262 circle['y'] = cr['top'] + yuv_y + circle['y'] / zoom_ratio 263 circle['r'] = circle['r'] / zoom_ratio 266 logging.debug(' Corrected circle X: %.2f', circle['x']) 267 logging.debug(' Corrected circle Y: %.2f', circle['y']) 268 logging.debug(' Corrected circle radius: %.2f', circle['r']) 270 return circle 462 circle = {} 518 circle[i] = opencv_processing_utils.find_circle( [all …]
|
D | test_aspect_ratio_and_crop.py | 317 def _check_fov(circle, ref_fov, w, h, first_api_level): argument 319 fov_percent = _calc_circle_image_ratio(circle['r'], w, h) 330 def _check_ar(circle, ar_gt, w, h, fmt_iter, fmt_cmpr): argument 351 ar = circle['w'] / circle['h'] 358 def _check_crop(circle, cc_gt, w, h, fmt_iter, fmt_cmpr, crop_thresh_factor): argument 384 _THRESH_MIN_PIXEL / circle['w']]) 388 _THRESH_MIN_PIXEL / circle['h']]) 390 if (not np.isclose(circle['x_offset'], cc_gt['hori'], 392 not np.isclose(circle['y_offset'], cc_gt['vert'], 547 circle = opencv_processing_utils.find_circle( [all …]
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | CbGeoUtilsTest.java | 82 CbGeoUtils.Circle circle = new CbGeoUtils.Circle(p1, radius); in testCircle() local 84 assertEquals(radius, circle.getRadius(), DELTA); in testCircle() 85 assertEquals(p1, circle.getCenter()); in testCircle() 87 assertTrue(circle.contains(p1)); in testCircle()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PathMeasureTest.java | 103 Path circle = new Path(); in testIsClosed() local 104 circle.addCircle(0, 0, 1, Direction.CW); in testIsClosed() 106 PathMeasure measure = new PathMeasure(circle, false); in testIsClosed() 108 measure.setPath(circle, true); in testIsClosed()
|
/cts/apps/CameraITS/tests/inprog/rolling_shutter_skew/ |
D | test_rolling_shutter_skew.py | 460 for circle in largest_cluster: 461 cv2.circle(frame, (int(circle.x), int(circle.y)), int(circle.r), 620 for circle in circles[1:]: 621 if not x_intersects(circle, last_circle): 622 last_circle = circle
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | AnimationActivity.java | 243 OvalShape circle = new OvalShape(); in addBall() local 244 circle.resize(x, y); in addBall() 245 ShapeDrawable drawable = new ShapeDrawable(circle); in addBall()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | VectorDrawableTests.java | 65 mVd = (VectorDrawable) context.getResources().getDrawable(R.drawable.circle, null); in VectorDrawableView()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AdaptiveIconDrawableTest.java | 209 Path circle = new Path(); in testDrawSetBounds() local 210 …circle.addCircle(width / 2, height / 2, (right - left)/2 -10 /* room for anti-alias */, Direction… in testDrawSetBounds() 212 region.setPath(circle, region); in testDrawSetBounds()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | luts_for_speedup_f32.rsh | 63 // circle of radius r and a horizontal line of height y.
|
/cts/apps/CameraITS/tests/sensor_fusion/ |
D | test_sensor_fusion.py | 345 cv2.circle(frames[j], (x, y), 3, (100, 255, 255), -1) 373 cv2.circle(frame, (x, y), 3, (100, 255, 255), -1)
|
/cts/apps/CtsVerifier/libs/ |
D | opencv3-android.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/opencv/
org/ ... |