Lines Matching refs:mCornerRadius
56 float mCornerRadius;
94 mCornerRadius = Recents.getConfiguration().isGridEnabled ?
139 int vOffset = (int) Math.ceil(calculateVerticalPadding(mRawMaxShadowSize, mCornerRadius,
141 int hOffset = (int) Math.ceil(calculateHorizontalPadding(mRawMaxShadowSize, mCornerRadius,
188 final float edgeShadowTop = -mCornerRadius - mShadowSize;
189 final float inset = mCornerRadius + mInsetShadow + mRawShadowSize / 2;
198 mCardBounds.width() - 2 * inset, -mCornerRadius,
209 mCardBounds.width() - 2 * inset, -mCornerRadius + mShadowSize,
220 mCardBounds.height() - 2 * inset, -mCornerRadius, mEdgeShadowPaint);
230 mCardBounds.height() - 2 * inset, -mCornerRadius, mEdgeShadowPaint);
236 RectF innerBounds = new RectF(-mCornerRadius, -mCornerRadius, mCornerRadius, mCornerRadius);
246 mCornerShadowPath.moveTo(-mCornerRadius, 0);
254 float startRatio = mCornerRadius / (mCornerRadius + mShadowSize);
255 mCornerShadowPaint.setShader(new RadialGradient(0, 0, mCornerRadius + mShadowSize,
263 mEdgeShadowPaint.setShader(new LinearGradient(0, -mCornerRadius + mShadowSize, 0,
264 -mCornerRadius - mShadowSize,
281 Math.max(mRawMaxShadowSize, mCornerRadius + mInsetShadow + mRawMaxShadowSize / 2);
286 final float content = 2 * Math.max(mRawMaxShadowSize, mCornerRadius + mInsetShadow