/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 | 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, argument 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, color 55 RadialGradient(float x, float y, float radius, int color0, int color1, TileMode tile) argument 65 nativeCreate1(float x, float y, float radius, int colors[], float positions[], int tileMode) argument 67 nativeCreate2(float x, float y, float radius, int color0, int color1, int tileMode) argument 70 nativePostCreate1(int native_shader, float x, float y, float radius, int colors[], float positions[], int tileMode) argument 72 nativePostCreate2(int native_shader, float x, float y, float radius, int color0, int color1, int tileMode) argument [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/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/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/support/renderscript/v8/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. 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/libs/hwui/ |
H A D | TextDropShadowCache.cpp | 105 int numGlyphs, uint32_t radius, const float* positions) { 106 ShadowText entry(paint, radius, len, text, positions); 113 len, numGlyphs, radius, positions); 104 get(SkPaint* paint, const char* text, uint32_t len, int numGlyphs, uint32_t radius, const float* positions) argument
|
H A D | ShapeCache.cpp | 57 PathTexture* CircleShapeCache::getCircle(float radius, SkPaint* paint) { argument 58 CircleShapeCacheEntry entry(radius, paint); 63 path.addCircle(radius, radius, radius, SkPath::kCW_Direction);
|
H A D | TextDropShadowCache.h | 35 ShadowText(): radius(0), len(0), textSize(0.0f), typeface(NULL) { 38 ShadowText(SkPaint* paint, uint32_t radius, uint32_t len, const char* srcText, argument 40 radius(radius), len(len), positions(positions) { 62 uint32_t radius; member in struct:android::uirenderer::ShadowText 86 LTE_INT(radius) { 133 int numGlyphs, uint32_t radius, const float* positions);
|
H A D | SkiaShader.cpp | 253 static void toCircularUnitMatrix(const float x, const float y, const float radius, argument 255 const float inv = 1.0f / radius; 260 SkiaCircularGradientShader::SkiaCircularGradientShader(float x, float y, float radius, argument 266 toCircularUnitMatrix(x, y, radius, &unitMatrix);
|
H A D | ShapeCache.h | 186 CircleShapeCacheEntry(float radius, SkPaint* paint): argument 188 mRadius = *(uint32_t*) &radius; 387 PathTexture* getCircle(float radius, SkPaint* paint);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | MaskFilter.cpp | 20 static SkMaskFilter* createBlur(JNIEnv* env, jobject, float radius, int blurStyle) { argument 21 SkMaskFilter* filter = SkBlurMaskFilter::Create(SkFloatToScalar(radius), 27 static SkMaskFilter* createEmboss(JNIEnv* env, jobject, jfloatArray dirArray, float ambient, float specular, float radius) { argument 39 SkFloatToScalar(radius));
|
H A D | PathEffect.cpp | 49 static SkPathEffect* Corner_constructor(JNIEnv* env, jobject, float radius){ argument 50 return new SkCornerPathEffect(SkFloatToScalar(radius));
|
H A D | Matrix.cpp | 316 static jfloat mapRadius(JNIEnv* env, jobject clazz, SkMatrix* matrix, jfloat radius) { argument 317 return SkScalarToFloat(matrix->mapRadius(SkFloatToScalar(radius)));
|
H A D | Path.cpp | 187 static void addCircle(JNIEnv* env, jobject clazz, SkPath* obj, jfloat x, jfloat y, jfloat radius, SkPath::Direction dir) { argument 190 SkScalar radius_ = SkFloatToScalar(radius);
|
H A D | Shader.cpp | 260 static SkShader* RadialGradient_create1(JNIEnv* env, jobject, float x, float y, float radius, argument 280 SkFloatToScalar(radius), 291 static SkShader* RadialGradient_create2(JNIEnv* env, jobject, float x, float y, float radius, argument 300 SkShader* s = SkGradientShader::CreateRadial(center, SkFloatToScalar(radius), colors, NULL, 307 float x, float y, float radius, jintArray colorArray, jfloatArray posArray, int tileMode) { 333 SkiaShader* skiaShader = new SkiaCircularGradientShader(x, y, radius, storedColors, 345 float x, float y, float radius, int color0, int color1, int tileMode) { 355 SkiaShader* skiaShader = new SkiaCircularGradientShader(x, y, radius, storedColors, 306 RadialGradient_postCreate1(JNIEnv* env, jobject o, SkShader* shader, float x, float y, float radius, jintArray colorArray, jfloatArray posArray, int tileMode) argument 344 RadialGradient_postCreate2(JNIEnv* env, jobject o, SkShader* shader, float x, float y, float radius, int color0, int color1, int tileMode) argument
|
/frameworks/base/location/java/android/location/ |
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/tests/touchlag/ |
H A D | touchlag.cpp | 106 size_t x0, size_t y0, size_t radius, bool filled = false) { 107 ssize_t f = 1 - radius; 109 ssize_t ddF_y = -2 * radius; 111 ssize_t y = radius; 113 drawHLine(buf, pixel, x0-radius, y0, 2*radius); 115 drawTwoPixels(buf, pixel, x0-radius, y0, 2*radius); 105 drawCircle(Buffer* buf, uint32_t pixel, size_t x0, size_t y0, size_t radius, bool filled = false) argument
|
/frameworks/rs/driver/ |
H A D | rsdIntrinsicBlur.cpp | 30 float radius; member in struct:ConvolveParams 41 // x is of the form [-radius .. 0 .. radius] 42 // and sigma varies with radius. 43 // Based on some experimental radius values and sigma's 44 // we approximately fit sigma = f(radius) as 45 // sigma = radius * 0.4 + 0.6 46 // The larger the radius gets, the more our gaussian blur 49 float sigma = 0.4f * cp->radius + 0.6f; 59 cp->iradius = (float)ceil(cp->radius) [all...] |
/frameworks/support/renderscript/v8/rs_support/driver/ |
H A D | rsdIntrinsicBlur.cpp | 30 float radius; member in struct:ConvolveParams 41 // x is of the form [-radius .. 0 .. radius] 42 // and sigma varies with radius. 43 // Based on some experimental radius values and sigma's 44 // we approximately fit sigma = f(radius) as 45 // sigma = radius * 0.4 + 0.6 46 // The larger the radius gets, the more our gaussian blur 49 float sigma = 0.4f * cp->radius + 0.6f; 59 cp->iradius = (float)ceil(cp->radius) [all...] |
/frameworks/base/core/java/android/view/ |
H A D | GLES20RecordingCanvas.java | 154 public void drawCircle(float cx, float cy, float radius, Paint paint) { argument 155 super.drawCircle(cx, cy, radius, paint);
|