/frameworks/base/graphics/java/android/graphics/ |
CornerPathEffect.java | 24 * the specified radius. 25 * @param radius Amount to round sharp angles between line segments. 27 public CornerPathEffect(float radius) { 28 native_instance = nativeCreate(radius); 31 private static native int nativeCreate(float radius);
|
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) { 47 native_instance = nativeConstructor(radius, style.native_int); 50 private static native int nativeConstructor(float radius, int style);
|
RadialGradient.java | 21 /** Create a shader that draws a radial gradient given the center and radius. 22 @param x The x-coordinate of the center of the radius 23 @param y The y-coordinate of the center of the radius 24 @param radius Must be positive. The radius of the circle for this gradient 31 public RadialGradient(float x, float y, float radius, 33 if (radius <= 0) { 34 throw new IllegalArgumentException("radius must be > 0"); 42 native_instance = nativeCreate1(x, y, radius, colors, positions, tile.nativeInt); 43 native_shader = nativePostCreate1(native_instance, x, y, radius, colors, positions [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/filter/ |
SmoothFilter.java | 36 private int radius;
field in class:SmoothFilter 39 public void setRadius(int radius) {
40 this.radius = radius;
44 return this.radius;
57 return super.getMargin(size, margin) + this.radius;
65 for (int y = this.radius; y < size - this.radius; y++) {
66 for (int x = this.radius; x < size - this.radius; x++) { [all...] |
/external/skia/legacy/src/animator/ |
SkDrawBlur.cpp | 16 SK_MEMBER(radius, Float) 23 SkDrawBlur::SkDrawBlur() : radius(-1), 28 if (radius < 0) 30 return SkBlurMaskFilter::Create(radius, (SkBlurMaskFilter::BlurStyle) blurStyle);
|
SkDrawEmboss.cpp | 17 SK_MEMBER(radius, Float), 25 SkDrawEmboss::SkDrawEmboss() : radius(-1) { 30 if (radius < 0 || direction.count() !=3) 32 return SkBlurMaskFilter::CreateEmboss(direction.begin(), ambient, specular, radius);
|
/external/skia/src/animator/ |
SkDrawBlur.cpp | 16 SK_MEMBER(radius, Float) 23 SkDrawBlur::SkDrawBlur() : radius(-1), 28 if (radius < 0) 30 return SkBlurMaskFilter::Create(radius, (SkBlurMaskFilter::BlurStyle) blurStyle);
|
SkDrawEmboss.cpp | 17 SK_MEMBER(radius, Float), 25 SkDrawEmboss::SkDrawEmboss() : radius(-1) { 30 if (radius < 0 || direction.count() !=3) 32 return SkBlurMaskFilter::CreateEmboss(direction.begin(), ambient, specular, radius);
|
/external/skia/src/gpu/effects/ |
Gr1DKernelEffect.h | 16 * has a pixel radius. The kernel is specified in the src texture's space 17 * and the kernel center is pinned to a texel's center. The radius specifies 20 * two times the radius. 33 int radius) 36 , fRadius(radius) {} 40 static int WidthFromRadius(int radius) { return 2 * radius + 1; } 42 int radius() const { return fRadius; } function in class:Gr1DKernelEffect
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/ |
ConeCollisionShape.java | 24 protected float radius; field in class:ConeCollisionShape 31 public ConeCollisionShape(float radius, float height, int axis) { 32 this.radius = radius; 33 this.height = radius; 38 public ConeCollisionShape(float radius, float height) { 39 this.radius = radius; 40 this.height = radius; 46 return radius; [all...] |
CapsuleCollisionShape.java | 49 protected float radius,height; field in class:CapsuleCollisionShape 56 * creates a new CapsuleCollisionShape with the given radius and height 57 * @param radius the radius of the capsule 60 public CapsuleCollisionShape(float radius, float height) { 61 this.radius=radius; 64 CapsuleShape capShape=new CapsuleShape(radius,height); 70 * @param radius 74 public CapsuleCollisionShape(float radius, float height, int axis) [all...] |
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/ |
ConeCollisionShape.java | 22 protected float radius; field in class:ConeCollisionShape 29 public ConeCollisionShape(float radius, float height, int axis) { 30 this.radius = radius; 31 this.height = radius; 36 public ConeCollisionShape(float radius, float height) { 37 this.radius = radius; 38 this.height = radius; 44 return radius; [all...] |
CapsuleCollisionShape.java | 47 protected float radius,height; field in class:CapsuleCollisionShape 54 * creates a new CapsuleCollisionShape with the given radius and height 55 * @param radius the radius of the capsule 58 public CapsuleCollisionShape(float radius, float height) { 59 this.radius=radius; 67 * @param radius 71 public CapsuleCollisionShape(float radius, float height, int axis) { 72 this.radius=radius [all...] |
/external/jmonkeyengine/engine/src/bullet-native/ |
com_jme3_bullet_collision_shapes_CapsuleCollisionShape.cpp | 49 (JNIEnv * env, jobject object, jint axis, jfloat radius, jfloat height) { 54 shape = new btCapsuleShapeX(radius, height); 57 shape = new btCapsuleShape(radius, height); 60 shape = new btCapsuleShapeZ(radius, height);
|
com_jme3_bullet_collision_shapes_ConeCollisionShape.cpp | 49 (JNIEnv * env, jobject object, jint axis, jfloat radius, jfloat height) { 54 shape = new btConeShapeX(radius, height); 57 shape = new btConeShape(radius, height); 60 shape = new btConeShapeZ(radius, height);
|
/external/wpa_supplicant_8/src/radius/ |
radius_client.c | 2 * RADIUS client 12 #include "radius.h" 16 /* Defaults for RADIUS retransmit values (exponential backoff) */ 19 * RADIUS_CLIENT_FIRST_WAIT - RADIUS client timeout for first retry in seconds 24 * RADIUS_CLIENT_MAX_WAIT - RADIUS client maximum retry timeout in seconds 29 * RADIUS_CLIENT_MAX_RETRIES - RADIUS client maximum retries 37 * RADIUS_CLIENT_MAX_ENTRIES - RADIUS client maximum pending messages 45 * RADIUS_CLIENT_NUM_FAILOVER - RADIUS client failover point 47 * The number of failed retry attempts after which the RADIUS server will be 54 * struct radius_rx_handler - RADIUS client RX handle 375 struct radius_client_data *radius = eloop_ctx; local 687 struct radius_client_data *radius = eloop_ctx; local 1088 struct radius_client_data *radius = eloop_ctx; local 1250 struct radius_client_data *radius; local [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/effect/shapes/ |
EmitterSphereShape.java | 45 private float radius; field in class:EmitterSphereShape 50 public EmitterSphereShape(Vector3f center, float radius) { 55 if (radius <= 0) { 56 throw new IllegalArgumentException("Radius must be greater than 0"); 60 this.radius = radius; 77 store.x = (FastMath.nextRandomFloat() * 2f - 1f) * radius; 78 store.y = (FastMath.nextRandomFloat() * 2f - 1f) * radius; 79 store.z = (FastMath.nextRandomFloat() * 2f - 1f) * radius; 80 } while (store.distance(center) > radius); [all...] |
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
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 + 0.6f [all...] |
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
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 + 0.6f [all...] |
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
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 + 0.6f [all...] |
/external/libppp/src/ |
radius.h | 26 * $FreeBSD: src/usr.sbin/ppp/radius.h,v 1.22.14.1 2010/12/21 17:10:29 kensmith Exp $ 40 struct radius { struct 72 char file[PATH_MAX]; /* Radius config file */ 82 struct radius *rad_parent; /* "Parent" struct radius stored in bundle */ 102 ((d)->type == RADIUS_DESCRIPTOR ? (struct radius *)(d) : NULL) 106 extern void radius_Flush(struct radius *); 107 extern void radius_Init(struct radius *); 108 extern void radius_Destroy(struct radius *); 110 extern void radius_Show(struct radius *, struct prompt *) [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
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) { 46 if (radius > 0) { 49 radii[i] = radius; 78 int radius = a.getDimensionPixelSize( local 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/ |
Blur.cpp | 26 void Blur::generateGaussianWeights(float* weights, int32_t radius) { 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; r <= radius; r ++) [all...] |
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,
|
/external/jmonkeyengine/engine/src/core/com/jme3/light/ |
PointLight.java | 48 * In addition to a position, point lights also have a radius which
56 protected float radius = 0;
field in class:PointLight 90 * Returns the radius of the light influence. A radius of 0 means
93 * @return the radius of the light
96 return radius;
100 * Set the radius of the light influence.
102 * Setting a non-zero radius indicates the light should use attenuation.
104 * is greater than the light's radius, then the pixel will not be
105 * effected by this light, if the distance is less than the radius, then [all...] |