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.java298 if (paint != mLayerPaint) { in setLayerPaint()
299 mLayerPaint = paint; in setLayerPaint()
358 mLayer.setLayerPaint(mLayerPaint); // ensure layer paint is up to date in draw()
406 mLayer.setLayerPaint(mLayerPaint); in getTextureLayer()
DView.java5142 Paint mLayerPaint; field in View
21184 mLayerPaint = mLayerType == LAYER_TYPE_NONE ? null : paint; in setLayerType()
21185 mRenderNode.setLayerPaint(mLayerPaint); in setLayerType()
21236 mLayerPaint = paint; in setLayerPaint()
21499 canvas.drawBitmap(cache, 0, 0, mLayerPaint); in updateDisplayListIfDirty()
22522 if (layerType == LAYER_TYPE_NONE || mLayerPaint == null) { in draw()
22534 int layerPaintAlpha = mLayerPaint.getAlpha(); in draw()
22536 mLayerPaint.setAlpha((int) (alpha * layerPaintAlpha)); in draw()
22538 canvas.drawBitmap(cache, 0.0f, 0.0f, mLayerPaint); in draw()
22540 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
767 if (mLayerPaint == null) { in draw()
768 mLayerPaint = new Paint(); in draw()
770 mLayerPaint.setDither(st.mDither); in draw()
771 mLayerPaint.setAlpha(mAlpha); in draw()
772 mLayerPaint.setColorFilter(colorFilter); in draw()
777 mLayerPaint); in draw()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt19893 Landroid/graphics/drawable/GradientDrawable;->mLayerPaint:Landroid/graphics/Paint;
66883 Landroid/view/View;->mLayerPaint:Landroid/graphics/Paint;