Searched refs:mShadowRadius (Results 1 – 2 of 2) sorted by relevance
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | DragShadowBuilder.java | 39 private final int mShadowRadius; field in DragShadowBuilder 46 mShadowRadius = context.getResources().getDimensionPixelSize(R.dimen.drag_shadow_radius); in DragShadowBuilder() 79 paint.setShadowLayer(mShadowRadius, 0, 0, Color.argb(opacity, 0, 0, 0)); in onDrawShadow() 84 paint.setShadowLayer(mShadowRadius, 0, mShadowRadius, Color.argb(opacity, 0, 0, 0)); in onDrawShadow()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/text/ |
D | SubtitleView.java | 56 private final float mShadowRadius; field in SubtitleView 110 mShadowRadius = twoDpInPx; in SubtitleView() 303 textPaint.setShadowLayer(mShadowRadius, mShadowOffset, mShadowOffset, mEdgeColor); in onDraw() 309 float offset = mShadowRadius / 2f; in onDraw() 312 textPaint.setShadowLayer(mShadowRadius, -offset, -offset, colorUp); in onDraw() 314 textPaint.setShadowLayer(mShadowRadius, offset, offset, colorDown); in onDraw()
|