Searched refs:mLayerPaint (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | LayersActivity.java | 37 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 …]
|
D | NewLayersActivity.java | 35 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/ |
D | TextureView.java | 168 mLayerPaint = new Paint(); in init() 239 if (paint != mLayerPaint) { in setLayerType() 240 mLayerPaint = paint; in setLayerType()
|
D | ViewGroup.java | 2877 child.mLayerPaint.setAlpha((int) (alpha * 255)); in drawChild() 2878 ((HardwareCanvas) canvas).drawHardwareLayer(layer, 0, 0, child.mLayerPaint); in drawChild() 2884 scrollX + cr - cl, scrollY + cb - ct, child.mLayerPaint, in drawChild() 2920 cachePaint = child.mLayerPaint; in drawChild()
|
D | View.java | 2585 Paint mLayerPaint; field in View 10001 if (layerType != LAYER_TYPE_NONE && paint != mLayerPaint) { 10002 mLayerPaint = paint == null ? new Paint() : paint; 10023 mLayerPaint = layerDisabled ? null : (paint == null ? new Paint() : paint);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | GradientDrawable.java | 125 private Paint mLayerPaint; // internal, used if we use saveLayer() field in GradientDrawable 298 if (mLayerPaint == null) { in draw() 299 mLayerPaint = new Paint(); in draw() 301 mLayerPaint.setDither(mDither); in draw() 302 mLayerPaint.setAlpha(mAlpha); in draw() 303 mLayerPaint.setColorFilter(mColorFilter); in draw() 308 mLayerPaint, Canvas.HAS_ALPHA_LAYER_SAVE_FLAG); in draw()
|