/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...] |
H A D | Path.java | 445 * @param radius The radius of a circle to add to the path 448 public void addCircle(float x, float y, float radius, Direction dir) { argument 450 native_addCircle(mNativePath, x, y, radius, dir.nativeInt); 472 * @param rx The x-radius of the rounded corners on the round-rectangle 473 * @param ry The y-radius of the rounded corners on the round-rectangle 486 * two radius values [X, Y]. The corners are ordered top-left, top-right, 640 float radius, int dir); 639 native_addCircle(int nPath, float x, float y, float radius, int dir) argument
|
/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...] |
H A D | GradientDrawable.java | 187 * Specify radius for the corners of the gradient. If this is > 0, then the 190 public void setCornerRadius(float radius) { argument 191 mGradientState.setCornerRadius(radius); 406 // inner radius 407 float radius = st.mInnerRadius != -1 ? 411 innerBounds.inset(x - radius, y - radius); 428 ringPath.moveTo(x + radius, y); 430 ringPath.lineTo(x + radius + thickness, y); 807 int radius 1008 setCornerRadius(float radius) 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...] |
H A D | Path_Delegate.java | 346 /*package*/ static void native_addCircle(int nPath, float x, float y, float radius, int dir) { argument 352 // because x/y is the center of the circle, need to offset this by the radius 354 x - radius, y - radius, radius * 2, radius * 2), false); 365 // because x/y is the center of the circle, need to offset this by the radius
|
/frameworks/base/libs/hwui/ |
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 39 radius(radius), len(len) { 61 uint32_t radius; member in struct:android::uirenderer::ShadowText 78 LTE_INT(radius) { 120 int numGlyphs, uint32_t radius);
|
H A D | FontRenderer.cpp | 713 uint32_t startIndex, uint32_t len, int numGlyphs, uint32_t radius) { 732 uint32_t paddedWidth = (uint32_t) (bounds.right - bounds.left) + 2 * radius; 733 uint32_t paddedHeight = (uint32_t) (bounds.top - bounds.bottom) + 2 * radius; 740 int penX = radius - bounds.left; 741 int penY = radius - bounds.bottom; 745 blurImage(dataBuffer, paddedWidth, paddedHeight, radius); 787 void FontRenderer::computeGaussianWeights(float* weights, int32_t radius) { argument 793 // x is of the form [-radius .. 0 .. radius] 794 // and sigma varies with radius 712 renderDropShadow(SkPaint* paint, const char *text, uint32_t startIndex, uint32_t len, int numGlyphs, uint32_t radius) argument 824 horizontalBlur(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest, int32_t width, int32_t height) argument 868 verticalBlur(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest, int32_t width, int32_t height) argument 914 blurImage(uint8_t *image, int32_t width, int32_t height, int32_t radius) argument [all...] |
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.cpp | 105 int numGlyphs, uint32_t radius) { 106 ShadowText entry(paint, radius, len, text); 111 len, numGlyphs, radius); 104 get(SkPaint* paint, const char* text, uint32_t len, int numGlyphs, uint32_t radius) argument
|
H A D | FontRenderer.h | 209 uint32_t len, int numGlyphs, uint32_t radius); 322 void computeGaussianWeights(float* weights, int32_t radius); 323 void horizontalBlur(float* weights, int32_t radius, const uint8_t *source, uint8_t *dest, 325 void verticalBlur(float* weights, int32_t radius, const uint8_t *source, uint8_t *dest, 327 void blurImage(uint8_t* image, int32_t width, int32_t height, int32_t radius);
|
H A D | SkiaShader.cpp | 250 static void toCircularUnitMatrix(const float x, const float y, const float radius, argument 252 const float inv = 1.0f / radius; 257 SkiaCircularGradientShader::SkiaCircularGradientShader(float x, float y, float radius, argument 263 toCircularUnitMatrix(x, y, radius, &unitMatrix);
|
H A D | DisplayListRenderer.cpp | 507 float radius = getFloat(); local 512 radius, dx, dy, color); 873 float radius = getFloat(); local 878 radius, dx, dy, color); 879 renderer.setupShadow(radius, dx, dy, color); 1157 void DisplayListRenderer::drawCircle(float x, float y, float radius, SkPaint* paint) { argument 1160 addFloat(radius); 1230 void DisplayListRenderer::setupShadow(float radius, float dx, float dy, int color) { argument 1232 addFloat(radius);
|
H A D | ShapeCache.h | 186 CircleShapeCacheEntry(float radius, SkPaint* paint): argument 188 mRadius = *(uint32_t*) &radius; 374 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 | Shader.cpp | 230 static SkShader* RadialGradient_create1(JNIEnv* env, jobject, float x, float y, float radius, argument 250 SkFloatToScalar(radius), 261 static SkShader* RadialGradient_create2(JNIEnv* env, jobject, float x, float y, float radius, argument 270 SkShader* s = SkGradientShader::CreateRadial(center, SkFloatToScalar(radius), colors, NULL, 277 float x, float y, float radius, jintArray colorArray, jfloatArray posArray, int tileMode) { 303 SkiaShader* skiaShader = new SkiaCircularGradientShader(x, y, radius, storedColors, 315 float x, float y, float radius, int color0, int color1, int tileMode) { 325 SkiaShader* skiaShader = new SkiaCircularGradientShader(x, y, radius, storedColors, 276 RadialGradient_postCreate1(JNIEnv* env, jobject o, SkShader* shader, float x, float y, float radius, jintArray colorArray, jfloatArray posArray, int tileMode) argument 314 RadialGradient_postCreate2(JNIEnv* env, jobject o, SkShader* shader, float x, float y, float radius, int color0, int color1, int tileMode) argument
|
/frameworks/base/docs/html/reference/renderscript/ |
H A D | doxygen.css | 162 border-radius: 0.5em; 163 -webkit-border-radius: .5em; 164 -moz-border-radius: .5em; 425 border-top-right-radius: 8px; 426 border-top-left-radius: 8px; 429 -moz-border-radius-topright: 8px; 430 -moz-border-radius-topleft: 8px; 433 -webkit-border-top-right-radius: 8px; 434 -webkit-border-top-left-radius: 8px; 449 border-bottom-left-radius [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternView.java | 700 final float radius = mSquareWidth * mDiameterFactor * 0.5f; 731 invalidateRect.set((int) (left - radius), (int) (top - radius), 732 (int) (right + radius), (int) (bottom + radius)); 751 invalidateRect.union((int) (left - radius), (int) (top - radius), 752 (int) (right + radius), (int) (bottom + radius)); 914 float radius [all...] |
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
H A D | CarouselView.java | 36 * of slots and the radius. The number of visible cards dictates how far the Carousel can be moved. 498 public void setRadius(float radius) { argument 499 mController.setRadius(radius);
|
H A D | CarouselController.java | 32 * of slots and the radius. The number of visible cards dictates how far the Carousel can be moved. 645 public void setRadius(float radius) { argument 646 mRadius = radius; 648 mRenderScript.setRadius(radius);
|