/frameworks/support/v7/cardview/jellybean-mr1/android/support/v7/widget/ |
D | CardViewJellybeanMr1.java | 29 public void drawRoundRect(Canvas canvas, RectF bounds, float cornerRadius, in initStatic() 31 canvas.drawRoundRect(bounds, cornerRadius, cornerRadius, paint); in initStatic()
|
/frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/ |
D | CardViewEclairMr1.java | 39 public void drawRoundRect(Canvas canvas, RectF bounds, float cornerRadius, in initStatic() 41 final float twoRadius = cornerRadius * 2; in initStatic() 44 if (cornerRadius >= 1f) { in initStatic() 46 float roundedCornerRadius = cornerRadius + .5f; in initStatic() 73 canvas.drawRect(bounds.left, bounds.top + cornerRadius, in initStatic() 74 bounds.right, bounds.bottom - cornerRadius , paint); in initStatic()
|
D | RoundRectDrawableWithShadow.java | 181 static float calculateVerticalPadding(float maxShadowSize, float cornerRadius, in calculateVerticalPadding() argument 184 return (float) (maxShadowSize * SHADOW_MULTIPLIER + (1 - COS_45) * cornerRadius); in calculateVerticalPadding() 190 static float calculateHorizontalPadding(float maxShadowSize, float cornerRadius, in calculateHorizontalPadding() argument 193 return (float) (maxShadowSize + (1 - COS_45) * cornerRadius); in calculateHorizontalPadding() 390 void drawRoundRect(Canvas canvas, RectF bounds, float cornerRadius, Paint paint); in drawRoundRect() argument
|
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/ |
D | RoundedBitmapDrawable.java | 322 public void setCornerRadius(float cornerRadius) { in setCornerRadius() argument 323 if (mCornerRadius == cornerRadius) return; in setCornerRadius() 326 if (isGreaterThanZero(cornerRadius)) { in setCornerRadius() 332 mCornerRadius = cornerRadius; in setCornerRadius()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | FakeShadowDrawable.java | 144 static float calculateVerticalPadding(float maxShadowSize, float cornerRadius, in calculateVerticalPadding() argument 147 return (float) (maxShadowSize * SHADOW_MULTIPLIER + (1 - COS_45) * cornerRadius); in calculateVerticalPadding() 153 static float calculateHorizontalPadding(float maxShadowSize, float cornerRadius, in calculateHorizontalPadding() argument 156 return (float) (maxShadowSize + (1 - COS_45) * cornerRadius); in calculateHorizontalPadding()
|
D | AnimateableViewBounds.java | 45 public AnimateableViewBounds(View source, int cornerRadius) { in AnimateableViewBounds() argument 47 mCornerRadius = cornerRadius; in AnimateableViewBounds()
|
D | RecentsView.java | 143 float cornerRadius = context.getResources().getDimensionPixelSize( in RecentsView() local 158 outline.setRoundRect(0, 0, view.getWidth(), view.getHeight(), cornerRadius); in RecentsView()
|
/frameworks/support/design/base/android/support/design/widget/ |
D | ShadowDrawableWrapper.java | 156 public static float calculateVerticalPadding(float maxShadowSize, float cornerRadius, in calculateVerticalPadding() argument 159 return (float) (maxShadowSize * SHADOW_MULTIPLIER + (1 - COS_45) * cornerRadius); in calculateVerticalPadding() 165 public static float calculateHorizontalPadding(float maxShadowSize, float cornerRadius, in calculateHorizontalPadding() argument 168 return (float) (maxShadowSize + (1 - COS_45) * cornerRadius); in calculateHorizontalPadding()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | SubtitleView.java | 307 final float cornerRadius = mCornerRadius; in onDraw() local 320 c.drawRoundRect(bounds, cornerRadius, cornerRadius, paint); in onDraw()
|