Home
last modified time | relevance | path

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

/frameworks/base/tests/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.java294 if (paint != mLayerPaint) { in setLayerPaint()
295 mLayerPaint = paint; in setLayerPaint()
354 mLayer.setLayerPaint(mLayerPaint); // ensure layer paint is up to date in draw()
402 mLayer.setLayerPaint(mLayerPaint); in getTextureLayer()
DView.java5036 Paint mLayerPaint; field in View
20540 mLayerPaint = mLayerType == LAYER_TYPE_NONE ? null : paint; in setLayerType()
20541 mRenderNode.setLayerPaint(mLayerPaint); in setLayerType()
20577 mLayerPaint = paint; in setLayerPaint()
20836 canvas.drawBitmap(cache, 0, 0, mLayerPaint); in updateDisplayListIfDirty()
21858 if (layerType == LAYER_TYPE_NONE || mLayerPaint == null) { in draw()
21870 int layerPaintAlpha = mLayerPaint.getAlpha(); in draw()
21872 mLayerPaint.setAlpha((int) (alpha * layerPaintAlpha)); in draw()
21874 canvas.drawBitmap(cache, 0.0f, 0.0f, mLayerPaint); in draw()
21876 mLayerPaint.setAlpha(layerPaintAlpha); in draw()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java178 private Paint mLayerPaint; // internal, used if we use saveLayer() field in GradientDrawable
752 if (mLayerPaint == null) { in draw()
753 mLayerPaint = new Paint(); in draw()
755 mLayerPaint.setDither(st.mDither); in draw()
756 mLayerPaint.setAlpha(mAlpha); in draw()
757 mLayerPaint.setColorFilter(colorFilter); in draw()
762 mLayerPaint); in draw()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt19902 Landroid/graphics/drawable/GradientDrawable;->mLayerPaint:Landroid/graphics/Paint;
77989 Landroid/view/View;->mLayerPaint:Landroid/graphics/Paint;