Home
last modified time | relevance | path

Searched refs:cornerRadius (Results 1 – 9 of 9) sorted by relevance

/frameworks/support/v7/cardview/src/android/support/v7/widget/
DCardViewApi17Impl.java31 public void drawRoundRect(Canvas canvas, RectF bounds, float cornerRadius, in initStatic()
33 canvas.drawRoundRect(bounds, cornerRadius, cornerRadius, paint); in initStatic()
DCardViewBaseImpl.java38 public void drawRoundRect(Canvas canvas, RectF bounds, float cornerRadius, in initStatic()
40 final float twoRadius = cornerRadius * 2; in initStatic()
43 if (cornerRadius >= 1f) { in initStatic()
45 float roundedCornerRadius = cornerRadius + .5f; in initStatic()
72 canvas.drawRect(bounds.left, bounds.top + cornerRadius, in initStatic()
73 bounds.right, bounds.bottom - cornerRadius , paint); in initStatic()
DRoundRectDrawableWithShadow.java177 static float calculateVerticalPadding(float maxShadowSize, float cornerRadius, in calculateVerticalPadding() argument
180 return (float) (maxShadowSize * SHADOW_MULTIPLIER + (1 - COS_45) * cornerRadius); in calculateVerticalPadding()
186 static float calculateHorizontalPadding(float maxShadowSize, float cornerRadius, in calculateHorizontalPadding() argument
189 return (float) (maxShadowSize + (1 - COS_45) * cornerRadius); in calculateHorizontalPadding()
385 void drawRoundRect(Canvas canvas, RectF bounds, float cornerRadius, Paint paint); in drawRoundRect() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/grid/
DAnimateableGridViewBounds.java25 public AnimateableGridViewBounds(View source, int cornerRadius) { in AnimateableGridViewBounds() argument
26 super(source, cornerRadius); in AnimateableGridViewBounds()
/frameworks/support/core-utils/gingerbread/android/support/v4/graphics/drawable/
DRoundedBitmapDrawable.java326 public void setCornerRadius(float cornerRadius) { in setCornerRadius() argument
327 if (mCornerRadius == cornerRadius) return; in setCornerRadius()
330 if (isGreaterThanZero(cornerRadius)) { in setCornerRadius()
336 mCornerRadius = cornerRadius; in setCornerRadius()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DFakeShadowDrawable.java147 static float calculateVerticalPadding(float maxShadowSize, float cornerRadius, in calculateVerticalPadding() argument
150 return (float) (maxShadowSize * SHADOW_MULTIPLIER + (1 - COS_45) * cornerRadius); in calculateVerticalPadding()
156 static float calculateHorizontalPadding(float maxShadowSize, float cornerRadius, in calculateHorizontalPadding() argument
159 return (float) (maxShadowSize + (1 - COS_45) * cornerRadius); in calculateHorizontalPadding()
DAnimateableViewBounds.java45 public AnimateableViewBounds(View source, int cornerRadius) { in AnimateableViewBounds() argument
47 mCornerRadius = cornerRadius; in AnimateableViewBounds()
/frameworks/support/design/base/android/support/design/widget/
DShadowDrawableWrapper.java157 public static float calculateVerticalPadding(float maxShadowSize, float cornerRadius, in calculateVerticalPadding() argument
160 return (float) (maxShadowSize * SHADOW_MULTIPLIER + (1 - COS_45) * cornerRadius); in calculateVerticalPadding()
166 public static float calculateHorizontalPadding(float maxShadowSize, float cornerRadius, in calculateHorizontalPadding() argument
169 return (float) (maxShadowSize + (1 - COS_45) * cornerRadius); in calculateHorizontalPadding()
/frameworks/base/core/java/com/android/internal/widget/
DSubtitleView.java307 final float cornerRadius = mCornerRadius; in onDraw() local
320 c.drawRoundRect(bounds, cornerRadius, cornerRadius, paint); in onDraw()