/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | intrinsic_blur.rscript | 21 static int radius; 52 radius = rad; 55 float sigma = 0.4f * (float)radius + 0.6f; 60 for (int r = -radius; r <= radius; r ++) { 62 gaussian[r + radius] = coeff1 * pow(e, floatR * floatR * coeff2); 63 normalizeFactor += gaussian[r + radius]; 67 for (int r = -radius; r <= radius; r ++) { 69 gaussian[r + radius] *= normalizeFactor; 76 for (int r = -radius; r <= radius; r ++) { 87 for (int r = -radius; r <= radius; r ++) {
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | GradientTests.java | 81 float radius = Math.min(width, height) / 2f; in testRadialGradientWithFocalPoint() local 88 radius, in testRadialGradientWithFocalPoint() 120 float radius = Math.min(width, height) / 2f; in testRadialGradientSameStartEndCircles() local 125 radius, in testRadialGradientSameStartEndCircles() 128 radius, in testRadialGradientSameStartEndCircles() 272 float radius = TEST_WIDTH / 2f; in testMatrixTransformation() local 281 radius, in testMatrixTransformation() 284 radius, in testMatrixTransformation() 290 matrix.postTranslate(radius, radius); in testMatrixTransformation()
|
D | ShaderTests.java | 116 final float radius = width / 2.0f; in testComplexShaderUsage() 117 bitmapCanvas.drawCircle(width / 2, height / 2, radius, mPaint); in testComplexShaderUsage() 123 bitmapCanvas.drawCircle(width / 2, 0, radius, mPaint); in testComplexShaderUsage() 124 bitmapCanvas.drawCircle(width / 2, height, radius, mPaint); in testComplexShaderUsage() 130 width / 2, height / 2, radius, in testComplexShaderUsage()
|
D | PaintTests.kt | 55 val radius = 3f in <lambda>() constant 64 blurPaint.maskFilter = BlurMaskFilter(radius, BlurMaskFilter.Blur.NORMAL) in <lambda>() 69 paint.setShadowLayer(radius, dx, dy, shadowColor) in <lambda>()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | CbGeoUtilsTest.java | 81 double radius = 1000; in testCircle() local 82 CbGeoUtils.Circle circle = new CbGeoUtils.Circle(p1, radius); in testCircle() 84 assertEquals(radius, circle.getRadius(), DELTA); in testCircle()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | SweepGradientTest.java | 281 for (double radius = 4; radius < 25; radius += 4) { in testColorLong() 282 double dx = Math.cos(angle) * radius; in testColorLong() 283 double dy = Math.sin(angle) * radius; in testColorLong() 293 + " and radius " + radius + " should be mostly red", in testColorLong() 307 ColorUtils.verifyColor("Radius " + radius + " at angle " + toString(angle) in testColorLong() 311 lastRadius = radius; in testColorLong()
|
D | RadialGradientTest.java | 103 for (double radius = 4; radius < 25; radius += 4) { in testColorLong() 108 double dx = Math.cos(angle) * radius; in testColorLong() 109 double dy = Math.sin(angle) * radius; in testColorLong()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | BlurStack.java | 263 float radius = 0; in computeDiskRadius() local 265 radius = blurInfinity * (frontFocalDepth3D - depth3D) / depth3D; in computeDiskRadius() 267 radius = blurInfinity * (depth3D - backFocalDepth3D) / depth3D; in computeDiskRadius() 269 diskRadiusArray[depth - MIN_DEPTH] = Math.min(radius, MAX_DISC_RADIUS); in computeDiskRadius()
|
D | layer_info.rsh | 15 // The max kernel radius of a layer.
|
D | layer_info_fast.rsh | 15 // The max kernel radius of a layer.
|
D | layered_filter_fast_f32.rscript | 65 // The dilation radius that controls how the current layer should be blended 183 // Visits every pixel in the window of radius (center_x,center_y) 214 // This pixel is not active but within the dilation radius of the active 238 // This pixel is not active but within the dilation radius of the active 539 void SetBlendInfo(int radius) { 540 g_blend_info.dilation_radius = radius; 541 g_blend_info.matte_normalizer = 1.0f / (radius + 1);
|
D | layered_filter_fast_d1new.rscript | 63 // The dilation radius that controls how the current layer should be blended 254 // This pixel is not active but within the dilation radius of the active 273 // This pixel is not active but within the dilation radius of the active 300 // This pixel is not active but within the dilation radius of the active 318 // This pixel is not active but within the dilation radius of the active 789 void SetBlendInfo(int radius) { 790 g_blend_info.dilation_radius = radius; 791 g_blend_info.matte_normalizer = 1.0f / (radius + 1);
|
D | luts_for_speedup_f32.rsh | 63 // circle of radius r and a horizontal line of height y.
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/touch/ |
D | TouchPointView.java | 83 int radius = canvas.getWidth() / 20; in onDraw() local 89 canvas.drawCircle(point.x, point.y, radius, mPaint); in onDraw()
|
/cts/apps/CtsVerifier/include/colorchecker/ |
D | imagetesthandler.h | 43 void drawLine(int angle, int radius, const Vec3i &color);
|
/cts/apps/CameraITS/tests/scene6/ |
D | test_zoom.py | 166 radius = (shape['width'] + shape['height']) / 4 168 circlish = round((math.pi * radius**2) / area, 4) 170 circles.append([shape['ctx'], shape['cty'], radius, circlish, area])
|
/cts/apps/CameraITS/utils/ |
D | opencv_processing_utils.py | 368 radius = (shape['width'] + shape['height']) / 4 370 circlish = (math.pi * radius**2) / area 373 'circlish: %.3f, ar: %.3f, pts: %d', radius, colour, 378 num_pts/radius >= CIRCLE_RADIUS_NUMPTS_THRESH):
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | GradientDrawableTest.java | 590 float radius; in testInflateGradientRadius() local 595 radius = gradientDrawable.getGradientRadius(); in testInflateGradientRadius() 596 assertEquals(25.0f, radius, 0.0f); in testInflateGradientRadius() 601 radius = gradientDrawable.getGradientRadius(); in testInflateGradientRadius() 602 assertEquals(50.0f, radius, 0.0f); in testInflateGradientRadius()
|
/cts/apps/CameraITS/tests/scene4/ |
D | test_aspect_ratio_and_crop.py | 296 def _calc_circle_image_ratio(radius, img_w, img_h): argument 306 return 100 * math.pi * math.pow(radius, 2) / (img_w * img_h)
|
/cts/apps/CtsVerifier/libs/ |
D | opencv3-android.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/opencv/
org/ ... |