Home
last modified time | relevance | path

Searched refs:mShadowPaint (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DScaledTextActivity.java50 private final Paint mShadowPaint; field in ScaledTextActivity.ScaledTextView
65 mShadowPaint = new Paint(); in ScaledTextView()
66 mShadowPaint.setAntiAlias(true); in ScaledTextView()
67 mShadowPaint.setShadowLayer(3.0f, 0.0f, 3.0f, 0xff000000); in ScaledTextView()
68 mShadowPaint.setTextSize(20.0f); in ScaledTextView()
127 canvas.drawText(TEXT, 30.0f, 30.0f, mShadowPaint); in onDraw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DMinimizedDockShadow.java37 private final Paint mShadowPaint = new Paint(); field in MinimizedDockShadow
64 mShadowPaint.setShader(new LinearGradient( in updatePaint()
69 mShadowPaint.setShader(new LinearGradient( in updatePaint()
74 mShadowPaint.setShader(new LinearGradient( in updatePaint()
92 canvas.drawRect(0, 0, getWidth(), getHeight(), mShadowPaint); in onDraw()
/frameworks/support/swiperefreshlayout/src/main/java/androidx/swiperefreshlayout/widget/
DCircleImageView.java129 private Paint mShadowPaint; field in CircleImageView.OvalShadow
133 mShadowPaint = new Paint(); in OvalShadow()
148 canvas.drawCircle(viewWidth / 2, viewHeight / 2, viewWidth / 2, mShadowPaint); in draw()
156 mShadowPaint.setShader(mRadialGradient); in updateRadialGradient()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistDisclosure.java105 private final Paint mShadowPaint = new Paint(); field in AssistDisclosure.AssistDisclosureView
150 mShadowPaint.setColor(Color.DKGRAY); in AssistDisclosureView()
151 mShadowPaint.setXfermode(srcMode); in AssistDisclosureView()
182 mShadowPaint.setAlpha(mAlpha / 4); in onDraw()
184 drawGeometry(canvas, mShadowPaint, mShadowThickness); in onDraw()
/frameworks/support/wear/src/main/java/androidx/wear/widget/
DCircledImageView.java724 private final Paint mShadowPaint = new Paint(); field in CircledImageView.OvalShadowPainter
742 mShadowPaint.setColor(Color.BLACK); in OvalShadowPainter()
743 mShadowPaint.setStyle(Style.FILL); in OvalShadowPainter()
744 mShadowPaint.setAntiAlias(true); in OvalShadowPainter()
750 mShadowPaint.setAlpha(Math.round(mShadowPaint.getAlpha() * alpha)); in draw()
752 mShadowPaint); in draw() local
785 mShadowPaint.setShader( in updateRadialGradient()