/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
D | CardViewApi17Impl.java | 31 public void drawRoundRect(Canvas canvas, RectF bounds, float cornerRadius, in initStatic() 33 canvas.drawRoundRect(bounds, cornerRadius, cornerRadius, paint); in initStatic()
|
D | CardViewBaseImpl.java | 38 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()
|
D | RoundRectDrawableWithShadow.java | 177 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/ |
D | AnimateableGridViewBounds.java | 25 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/ |
D | RoundedBitmapDrawable.java | 326 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/ |
D | FakeShadowDrawable.java | 147 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()
|
D | AnimateableViewBounds.java | 45 public AnimateableViewBounds(View source, int cornerRadius) { in AnimateableViewBounds() argument 47 mCornerRadius = cornerRadius; in AnimateableViewBounds()
|
/frameworks/support/design/base/android/support/design/widget/ |
D | ShadowDrawableWrapper.java | 157 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/ |
D | SubtitleView.java | 307 final float cornerRadius = mCornerRadius; in onDraw() local 320 c.drawRoundRect(bounds, cornerRadius, cornerRadius, paint); in onDraw()
|