Home
last modified time | relevance | path

Searched refs:mBitmapPaint (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DBitmapsActivity.java55 private Paint mBitmapPaint; field in BitmapsActivity.BitmapsView
74 mBitmapPaint = new Paint(); in BitmapsView()
83 canvas.drawBitmap(mBitmap1, 0.0f, 0.0f, mBitmapPaint); in onDraw()
89 mBitmapPaint.setAlpha(127); in onDraw()
92 canvas.drawBitmap(mBitmap1, 0.0f, 0.0f, mBitmapPaint); in onDraw()
94 mBitmapPaint.setAlpha(255); in onDraw()
97 mBitmapPaint.setColor(0xffff0000); in onDraw()
98 canvas.drawRect(0.0f, 0.0f, mBitmap2.getWidth(), mBitmap2.getHeight(), mBitmapPaint); in onDraw()
99 mBitmapPaint.setXfermode(mDstIn); in onDraw()
100 canvas.drawBitmap(mBitmap2, 0.0f, 0.0f, mBitmapPaint); in onDraw()
[all …]
DQuickRejectActivity.java39 private Paint mBitmapPaint; field in QuickRejectActivity.QuickRejectView
47 mBitmapPaint = new Paint(); in QuickRejectView()
48 mBitmapPaint.setFilterBitmap(true); in QuickRejectView()
73 count = canvas.saveLayer(0, 0, 10, 10, mBitmapPaint, Canvas.ALL_SAVE_FLAG); in onDraw()
83 canvas.drawBitmap(mBitmap1, 0.0f, 0.0f, mBitmapPaint); in onDraw()
84 canvas.drawBitmap(mBitmap1, -mBitmap1.getWidth(), 0.0f, mBitmapPaint); in onDraw()
85 canvas.drawBitmap(mBitmap1, 50.0f, 0.0f, mBitmapPaint); in onDraw()
DBitmapsRectActivity.java40 private Paint mBitmapPaint; field in BitmapsRectActivity.BitmapsView
53 mBitmapPaint = new Paint(); in BitmapsView()
54 mBitmapPaint.setFilterBitmap(true); in BitmapsView()
70 canvas.drawBitmap(mBitmap1, mSrcRect, mDstRect, mBitmapPaint); in onDraw()
74 canvas.drawBitmap(mBitmap1, mSrcRect, mDstRect2, mBitmapPaint); in onDraw()
DBitmapMutateActivity.java60 private final Paint mBitmapPaint; field in BitmapMutateActivity.BitmapsView
72 mBitmapPaint = new Paint(); in BitmapsView()
103 canvas.drawBitmap(mBitmap1, 0.0f, 0.0f, mBitmapPaint); in onDraw()
107 canvas.drawBitmap(mPixels, 0, width, 0.0f, 0.0f, width, height, false, mBitmapPaint); in onDraw()
DBitmaps3dActivity.java44 private final Paint mBitmapPaint; field in Bitmaps3dActivity.BitmapsView
52 mBitmapPaint = new Paint(); in BitmapsView()
69 canvas.drawBitmap(mBitmap1, 0.0f, 0.0f, mBitmapPaint); in onDraw()
DBitmapsAlphaActivity.java43 private Paint mBitmapPaint; field in BitmapsAlphaActivity.BitmapsView
61 mBitmapPaint = new Paint(); in BitmapsView()
71 canvas.drawBitmap(mBitmap1, 0.0f, 0.0f, mBitmapPaint); in onDraw()
DBitmapsSkewActivity.java38 private Paint mBitmapPaint; field in BitmapsSkewActivity.BitmapsView
53 canvas.drawBitmap(mBitmap1, 0.0f, 0.0f, mBitmapPaint); in onDraw()
DBitmapMeshActivity.java38 private Paint mBitmapPaint; field in BitmapMeshActivity.BitmapMeshView
DBitmapMeshLayerActivity.java39 private Paint mBitmapPaint; field in BitmapMeshLayerActivity.BitmapMeshView