/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/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/uirendering/src/android/uirendering/cts/testclasses/ |
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()
|
/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/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 | 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 | 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_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/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | GradientDrawableTest.java | 587 float radius; in testInflateGradientRadius() local 592 radius = gradientDrawable.getGradientRadius(); in testInflateGradientRadius() 593 assertEquals(25.0f, radius, 0.0f); in testInflateGradientRadius() 598 radius = gradientDrawable.getGradientRadius(); in testInflateGradientRadius() 599 assertEquals(50.0f, radius, 0.0f); in testInflateGradientRadius()
|
/cts/tests/tests/location/src/android/location/cts/ |
D | LocationManagerTest.java | 1116 private void registerProximityListener(double latitude, double longitude, float radius, in registerProximityListener() argument 1119 mManager.addProximityAlert(latitude, longitude, radius, expiration, mPendingIntent); in registerProximityListener()
|