Home
last modified time | relevance | path

Searched refs:mLayerPaint (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DLayersActivity.java37 private Paint mLayerPaint; field in LayersActivity.LayersView
43 mLayerPaint = new Paint(); in LayersView()
55 int count = canvas.saveLayer(0.0f, 0.0f, 200.0f, 100.0f, mLayerPaint, in onDraw()
65 count = canvas.saveLayer(0.0f, 0.0f, 200.0f, 100.0f, mLayerPaint, in onDraw()
80 mLayerPaint.setAlpha(127); in onDraw()
81 mLayerPaint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.SRC_OUT)); in onDraw()
82 count = canvas.saveLayer(50.0f, 25.0f, 150.0f, 75.0f, mLayerPaint, in onDraw()
96 mLayerPaint.setColor(0xffff0000); in onDraw()
97 mLayerPaint.setAlpha(127); in onDraw()
98 mLayerPaint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.DST_ATOP)); in onDraw()
[all …]
DNewLayersActivity.java35 private Paint mLayerPaint; field in NewLayersActivity.LayersView
41 mLayerPaint = new Paint(); in LayersView()
42 mLayerPaint.setAlpha(127); in LayersView()
65 int count = canvas.saveLayer(0.0f, 0.0f, 200.0f, 100.0f, mLayerPaint, saveFlags); in drawStuff()
/frameworks/base/core/java/android/view/
DTextureView.java376 if (paint != mLayerPaint) { in setLayerPaint()
377 mLayerPaint = paint; in setLayerPaint()
437 mLayer.setLayerPaint(mLayerPaint); // ensure layer paint is up to date in draw()
496 mLayer.setLayerPaint(mLayerPaint); in getTextureLayer()
DView.java5613 Paint mLayerPaint; field in View
23304 mLayerPaint = mLayerType == LAYER_TYPE_NONE ? null : paint; in setLayerType()
23305 mRenderNode.setLayerPaint(mLayerPaint); in setLayerType()
23372 mLayerPaint = paint; in setLayerPaint()
23670 canvas.drawBitmap(cache, 0, 0, mLayerPaint); in updateDisplayListIfDirty()
24720 if (layerType == LAYER_TYPE_NONE || mLayerPaint == null) { in draw()
24732 int layerPaintAlpha = mLayerPaint.getAlpha(); in draw()
24734 mLayerPaint.setAlpha((int) (alpha * layerPaintAlpha)); in draw()
24736 canvas.drawBitmap(cache, 0.0f, 0.0f, mLayerPaint); in draw()
24738 mLayerPaint.setAlpha(layerPaintAlpha); in draw()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java189 private Paint mLayerPaint; // internal, used if we use saveLayer() field in GradientDrawable
776 if (mLayerPaint == null) { in draw()
777 mLayerPaint = new Paint(); in draw()
779 mLayerPaint.setDither(st.mDither); in draw()
780 mLayerPaint.setAlpha(mAlpha); in draw()
781 mLayerPaint.setColorFilter(colorFilter); in draw()
786 mLayerPaint); in draw()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt17015 Landroid/graphics/drawable/GradientDrawable;->mLayerPaint:Landroid/graphics/Paint;
62917 Landroid/view/View;->mLayerPaint:Landroid/graphics/Paint;