/frameworks/base/graphics/java/android/graphics/ |
H A D | CornerPathEffect.java | 24 * the specified radius. 25 * @param radius Amount to round sharp angles between line segments. 27 public CornerPathEffect(float radius) { argument 28 native_instance = nativeCreate(radius); 31 private static native int nativeCreate(float radius); argument
|
H A D | BlurMaskFilter.java | 20 * This takes a mask, and blurs its edge by the specified radius. Whether or 42 * @param radius The radius to extend the blur from the original mask. Must be > 0. 46 public BlurMaskFilter(float radius, Blur style) { argument 47 native_instance = nativeConstructor(radius, style.native_int); 50 private static native int nativeConstructor(float radius, int style); argument
|
H A D | RadialGradient.java | 40 /** Create a shader that draws a radial gradient given the center and radius. 41 @param x The x-coordinate of the center of the radius 42 @param y The y-coordinate of the center of the radius 43 @param radius Must be positive. The radius of the circle for this gradient 50 public RadialGradient(float x, float y, float radius, argument 52 if (radius <= 0) { 53 throw new IllegalArgumentException("radius must be > 0"); 64 mRadius = radius; 68 native_instance = nativeCreate1(x, y, radius, color 81 RadialGradient(float x, float y, float radius, int color0, int color1, TileMode tile) argument 120 nativeCreate1(float x, float y, float radius, int colors[], float positions[], int tileMode) argument 122 nativeCreate2(float x, float y, float radius, int color0, int color1, int tileMode) argument 125 nativePostCreate1(int native_shader, float x, float y, float radius, int colors[], float positions[], int tileMode) argument 127 nativePostCreate2(int native_shader, float x, float y, float radius, int color0, int color1, int tileMode) argument [all...] |
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | threshold.fs | 22 static int radius; 34 radius = rad; 40 // x is of the form [-radius .. 0 .. radius] 41 // and sigma varies with radius. 42 // Based on some experimental radius values and sigma's 43 // we approximately fit sigma = f(radius) as 44 // sigma = radius * 0.4 + 0.6 45 // The larger the radius gets, the more our gaussian blur 48 float sigma = 0.4f * (float)radius [all...] |
H A D | fisheye.rsh | 39 const float radius = 1.15f * bound; 40 radius2 = radius*radius;
|
H A D | fisheye_approx.rsh | 39 const float radius = 1.15f * bound; 40 radius2 = radius*radius;
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | threshold.fs | 22 static int radius; 34 radius = rad; 40 // x is of the form [-radius .. 0 .. radius] 41 // and sigma varies with radius. 42 // Based on some experimental radius values and sigma's 43 // we approximately fit sigma = f(radius) as 44 // sigma = radius * 0.4 + 0.6 45 // The larger the radius gets, the more our gaussian blur 48 float sigma = 0.4f * (float)radius [all...] |
H A D | fisheye.rsh | 39 const float radius = 1.15f * bound; 40 radius2 = radius*radius;
|
H A D | fisheye_approx.rsh | 39 const float radius = 1.15f * bound; 40 radius2 = radius*radius;
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | threshold.fs | 22 static int radius; 34 radius = rad; 40 // x is of the form [-radius .. 0 .. radius] 41 // and sigma varies with radius. 42 // Based on some experimental radius values and sigma's 43 // we approximately fit sigma = f(radius) as 44 // sigma = radius * 0.4 + 0.6 45 // The larger the radius gets, the more our gaussian blur 48 float sigma = 0.4f * (float)radius [all...] |
H A D | fisheye.rsh | 39 const float radius = 1.15f * bound; 40 radius2 = radius*radius;
|
H A D | fisheye_approx.rsh | 39 const float radius = 1.15f * bound; 40 radius2 = radius*radius;
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | PaintDrawable.java | 40 * Specify radius for the corners of the rectangle. If this is > 0, then the 42 * @param radius the radius for the corners of the rectangle 44 public void setCornerRadius(float radius) { argument 46 if (radius > 0) { 49 radii[i] = radius; 78 int radius = a.getDimensionPixelSize( 80 setCornerRadius(radius); 85 com.android.internal.R.styleable.DrawableCorners_topLeftRadius, radius); 87 com.android.internal.R.styleable.DrawableCorners_topRightRadius, radius); [all...] |
/frameworks/base/libs/hwui/utils/ |
H A D | Blur.cpp | 26 void Blur::generateGaussianWeights(float* weights, int32_t radius) { argument 32 // x is of the form [-radius .. 0 .. radius] 33 // and sigma varies with radius. 34 // Based on some experimental radius values and sigma's 35 // we approximately fit sigma = f(radius) as 36 // sigma = radius * 0.3 + 0.6 37 // The larger the radius gets, the more our gaussian blur 40 float sigma = 0.3f * (float) radius + 0.6f; 50 for (int32_t r = -radius; 63 horizontal(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest, int32_t width, int32_t height) argument 107 vertical(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest, int32_t width, int32_t height) argument [all...] |
H A D | Blur.h | 27 static void generateGaussianWeights(float* weights, int32_t radius); 28 static void horizontal(float* weights, int32_t radius, const uint8_t* source, 30 static void vertical(float* weights, int32_t radius, const uint8_t* source,
|
/frameworks/base/location/java/android/location/ |
H A D | IGpsGeofenceHardware.aidl | 28 longitude, double radius, int lastTransition, int monitorTransition,
|
H A D | Geofence.java | 43 * @param radius radius in meters 47 public static Geofence createCircle(double latitude, double longitude, float radius) { argument 48 return new Geofence(latitude, longitude, radius); 51 private Geofence(double latitude, double longitude, float radius) { argument 52 checkRadius(radius); 57 mRadius = radius; 80 private static void checkRadius(float radius) { argument 81 if (radius <= 0) { 82 throw new IllegalArgumentException("invalid radius [all...] |
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
H A D | PointCloud.java | 47 private float radius = 50; field in class:PointCloud.WaveManager 51 radius = r; 55 return radius; 70 private float radius = 0.0f; field in class:PointCloud.GlowManager 98 radius = r; 102 return radius; 109 float radius; field in class:PointCloud.Point 114 radius = r; 138 Log.w(TAG, "Must specify an inner radius"); 182 if (glowDistance < glowManager.radius) { [all...] |
/frameworks/base/core/java/android/hardware/location/ |
H A D | GeofenceHardwareRequest.java | 39 private void setCircularGeofence(double latitude, double longitude, double radius) { argument 42 mRadius = radius; 51 * @param radius Radius of the geofence (in meters) 54 double longitude, double radius) { 56 geofenceRequest.setCircularGeofence(latitude, longitude, radius); 121 * Returns the radius of this geofence. 53 createCircularGeofence(double latitude, double longitude, double radius) argument
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | ScriptIntrinsicBlur.java | 25 * specified radius to all elements of an allocation. 39 * default radius is 5.0. 70 * Set the radius of the Blur. 72 * Supported range 0 < radius <= 25 74 * @param radius The radius of the blur 76 public void setRadius(float radius) { argument 77 if (radius <= 0 || radius > 25) { 80 setVar(0, radius); [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BlurMaskFilter_Delegate.java | 58 /*package*/ static int nativeConstructor(float radius, int style) { argument
|
H A D | CornerPathEffect_Delegate.java | 65 /*package*/ static int nativeCreate(float radius) { argument
|
H A D | RadialGradient_Delegate.java | 57 /*package*/ static int nativeCreate1(float x, float y, float radius, argument 59 RadialGradient_Delegate newDelegate = new RadialGradient_Delegate(x, y, radius, 65 /*package*/ static int nativeCreate2(float x, float y, float radius, argument 67 return nativeCreate1(x, y, radius, new int[] { color0, color1 }, null /*positions*/, 72 /*package*/ static int nativePostCreate1(int native_shader, float x, float y, float radius, argument 79 /*package*/ static int nativePostCreate2(int native_shader, float x, float y, float radius, argument 88 * Create a shader that draws a radial gradient given the center and radius. 90 * @param x The x-coordinate of the center of the radius 91 * @param y The y-coordinate of the center of the radius 92 * @param radius Mus 101 RadialGradient_Delegate(float x, float y, float radius, int colors[], float positions[], TileMode tile) argument 113 RadialGradientPaint(float x, float y, float radius, int[] colors, float[] positions, TileMode mode) argument [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | ScriptIntrinsicBlur.java | 25 * specified radius to all elements of an allocation. 39 * default radius is 5.0. 74 * Set the radius of the Blur. 76 * Supported range 0 < radius <= 25 78 * @param radius The radius of the blur 80 public void setRadius(float radius) { argument 81 if (radius <= 0 || radius > 25) { 84 setVar(0, radius); [all...] |
/frameworks/base/libs/hwui/ |
H A D | TextDropShadowCache.h | 36 ShadowText(): len(0), radius(0.0f), textSize(0.0f), typeface(NULL), 41 ShadowText(SkPaint* paint, float radius, uint32_t len, const char* srcText, argument 43 len(len), radius(radius), positions(positions) { 86 float radius; member in struct:android::uirenderer::ShadowText 139 int numGlyphs, float radius, const float* positions);
|