/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 long nativeCreate(float radius);
|
BlurMaskFilter.java | 20 * This takes a mask, and blurs its edge by the specified radius. Whether or 57 * @param radius The radius to extend the blur from the original mask. Must be > 0. 61 public BlurMaskFilter(float radius, Blur style) { 62 native_instance = nativeConstructor(radius, style.native_int); 65 private static native long nativeConstructor(float radius, int style);
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowCornerPathEffect.java | 10 private float radius; field in class:ShadowCornerPathEffect 13 public void __constructor__(float radius) { 14 this.radius = radius; 18 return radius;
|
/external/python/cpython2/Demo/turtle/ |
tdemo_yinyang.py | 16 def yin(radius, color1, color2): 20 circle(radius/2., 180) 21 circle(radius, 180) 23 circle(-radius/2., 180) 29 forward(radius*0.375) 32 circle(radius*0.125) 36 backward(radius*0.375)
|
/external/python/cpython3/Lib/turtledemo/ |
yinyang.py | 16 def yin(radius, color1, color2): 20 circle(radius/2., 180) 21 circle(radius, 180) 23 circle(-radius/2., 180) 27 forward(radius*0.35) 32 circle(radius*0.15) 36 backward(radius*0.35)
|
/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 480 struct radius_client_data *radius = eloop_ctx; local 792 struct radius_client_data *radius = eloop_ctx; local 1220 struct radius_client_data *radius = eloop_ctx; local 1438 struct radius_client_data *radius; local [all...] |
radius_client.h | 2 * RADIUS client 17 * struct hostapd_radius_server - RADIUS server information for RADIUS client 19 * This structure contains information about a RADIUS server. The values are 39 * shared_secret - Shared secret for authenticating RADIUS messages 118 * struct hostapd_radius_servers - RADIUS servers for RADIUS client 122 * auth_servers - RADIUS Authentication servers in priority order 137 * acct_servers - RADIUS Accounting servers in priority order 155 * the primary RADIUS server. RADIUS client code will automatically tr [all...] |
/frameworks/base/libs/hwui/utils/ |
Blur.cpp | 29 float Blur::convertRadiusToSigma(float radius) { 30 return radius > 0 ? BLUR_SIGMA_SCALE * radius + 0.5f : 0.0f; 37 // if the original radius was on an integer boundary and the resulting radius 40 uint32_t Blur::convertRadiusToInt(float radius) { 41 const float radiusCeil = ceilf(radius); 42 if (MathUtils::areEqual(radiusCeil, radius)) { 45 return radius; 52 * Based on some experimental radius and sigma values we approximate th [all...] |
Blur.h | 28 // If radius > 0, return the corresponding sigma, else return 0 29 ANDROID_API static float convertRadiusToSigma(float radius); 30 // If sigma > 0.5, return the corresponding radius, else return 0 32 // If the original radius was on an integer boundary then after the sigma to 33 // radius conversion a small rounding error may be introduced. This function 35 static uint32_t convertRadiusToInt(float radius); 37 static void generateGaussianWeights(float* weights, float radius); 38 static void horizontal(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest, 40 static void vertical(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest,
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
threshold.rs | 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/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
threshold.rs | 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/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
threshold.rs | 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...] |
threshold_half.rs | 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 half sigma = 0.4f * (half)radius + 0.6f [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...] |
/art/test/530-checker-lse-ctor-fences/src/ |
Main.java | 21 Circle(double radius) { 22 this.radius = radius; 25 return radius; 28 return radius * radius * Math.PI; 32 return 2 * Math.PI * radius; 35 private final double radius; field in class:Circle 92 static double calcCircleArea(double radius) { 93 return new Circle(radius).getArea() [all...] |
/external/skia/src/gpu/effects/ |
GrCircleEffect.h | 21 float radius() const { return fRadius; } function in class:GrCircleEffect 24 float radius) { 25 // A radius below half causes the implicit insetting done by this processor to become 27 if (radius < .5f && GrProcessorEdgeTypeIsInverseFill(edgeType)) { 30 return std::unique_ptr<GrFragmentProcessor>(new GrCircleEffect(edgeType, center, radius)); 37 GrCircleEffect(GrClipEdgeType edgeType, SkPoint center, float radius) 42 , fRadius(radius) {}
|
/external/skqp/src/gpu/effects/ |
GrCircleEffect.h | 21 float radius() const { return fRadius; } function in class:GrCircleEffect 24 float radius) { 25 // A radius below half causes the implicit insetting done by this processor to become 27 if (radius < .5f && GrProcessorEdgeTypeIsInverseFill(edgeType)) { 30 return std::unique_ptr<GrFragmentProcessor>(new GrCircleEffect(edgeType, center, radius)); 37 GrCircleEffect(GrClipEdgeType edgeType, SkPoint center, float radius) 42 , fRadius(radius) {}
|
/external/skia/include/effects/ |
SkCornerPathEffect.h | 20 /** radius must be > 0 to have an effect. It specifies the distance from each corner 23 static sk_sp<SkPathEffect> Make(SkScalar radius) { 24 return sk_sp<SkPathEffect>(new SkCornerPathEffect(radius)); 40 explicit SkCornerPathEffect(SkScalar radius);
|
/external/skqp/include/effects/ |
SkCornerPathEffect.h | 20 /** radius must be > 0 to have an effect. It specifies the distance from each corner 23 static sk_sp<SkPathEffect> Make(SkScalar radius) { 24 return sk_sp<SkPathEffect>(new SkCornerPathEffect(radius)); 40 explicit SkCornerPathEffect(SkScalar radius);
|
/external/wpa_supplicant_8/hostapd/ |
wired.conf | 20 ##### RADIUS configuration #################################################### 27 # Optional NAS-Identifier string for RADIUS messages. When used, this should be 28 # a unique to the NAS within the scope of the RADIUS server. For example, a 32 # RADIUS authentication server 35 auth_server_shared_secret=radius 37 # RADIUS accounting server 40 acct_server_shared_secret=radius
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
RoundedRectHelper.java | 32 static void setClipToRoundedOutline(View view, boolean clip, int radius) { 34 RoundedRectHelperApi21.setClipToRoundedOutline(view, clip, radius); 43 int radius = view.getResources().getDimensionPixelSize( local 45 RoundedRectHelperApi21.setClipToRoundedOutline(view, clip, radius);
|
/external/skia/gm/ |
radial_gradient_precision.cpp | 14 SkScalar radius = 40; local 18 p.setShader(SkGradientShader::MakeRadial(center, radius,
|
/external/skia/src/core/ |
SkGaussFilter.h | 29 int radius() const { return fN - 1; } function in class:SkGaussFilter 30 int width() const { return 2 * this->radius() + 1; }
|
/external/skqp/gm/ |
radial_gradient_precision.cpp | 14 SkScalar radius = 40; local 18 p.setShader(SkGradientShader::MakeRadial(center, radius,
|
/external/skqp/src/core/ |
SkGaussFilter.h | 29 int radius() const { return fN - 1; } function in class:SkGaussFilter 30 int width() const { return 2 * this->radius() + 1; }
|