Home
last modified time | relevance | path

Searched refs:mMediumPaint (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DTextActivity.java37 private final Paint mMediumPaint; field in TextActivity.CustomTextView
48 mMediumPaint = new Paint(); in CustomTextView()
49 mMediumPaint.setAntiAlias(true); in CustomTextView()
50 mMediumPaint.setColor(0xffff0000); in CustomTextView()
89 mMediumPaint.setStyle(Paint.Style.FILL_AND_STROKE); in onDraw()
90 mMediumPaint.setStrokeWidth(2.0f); in onDraw()
91 canvas.drawText("Hello OpenGL renderer!", 100, 20, mMediumPaint); in onDraw()
93 mMediumPaint.setStyle(Paint.Style.FILL); in onDraw()
94 mMediumPaint.setTextAlign(Paint.Align.CENTER); in onDraw()
95 canvas.drawText("Hello OpenGL renderer!", 100, 40, mMediumPaint); in onDraw()
[all …]
DPathsCacheActivity.java76 private final Paint mMediumPaint; field in PathsCacheActivity.PathsView
81 mMediumPaint = new Paint(); in PathsView()
82 mMediumPaint.setAntiAlias(true); in PathsView()
83 mMediumPaint.setColor(0xe00000ff); in PathsView()
84 mMediumPaint.setStrokeWidth(10.0f); in PathsView()
85 mMediumPaint.setStyle(Paint.Style.STROKE); in PathsView()
96 canvas.drawPath(mPath, mMediumPaint); in onDraw()
102 canvas.drawPath(mPath, mMediumPaint); in onDraw()
103 canvas.drawPath(mPath, mMediumPaint); in onDraw()
109 canvas.drawPath(mPath, mMediumPaint); in onDraw()
[all …]
DPaintDrawFilterActivity.java37 private final Paint mMediumPaint; field in PaintDrawFilterActivity.CustomTextView
43 mMediumPaint = new Paint(); in CustomTextView()
44 mMediumPaint.setAntiAlias(true); in CustomTextView()
45 mMediumPaint.setColor(0xff000000); in CustomTextView()
46 mMediumPaint.setFakeBoldText(true); in CustomTextView()
47 mMediumPaint.setTextSize(24.0f); in CustomTextView()
59 canvas.drawText("Hello OpenGL renderer!", 100, 120, mMediumPaint); in onDraw()
61 canvas.drawText("Hello OpenGL renderer!", 100, 220, mMediumPaint); in onDraw()
DPathsActivity.java43 private final Paint mMediumPaint; field in PathsActivity.PathsView
70 mMediumPaint = new Paint(); in PathsView()
71 mMediumPaint.setAntiAlias(true); in PathsView()
72 mMediumPaint.setColor(0xe00000ff); in PathsView()
73 mMediumPaint.setStrokeWidth(10.0f); in PathsView()
74 mMediumPaint.setStyle(Paint.Style.STROKE); in PathsView()
97 mOffset = mMediumPaint.getStrokeWidth(); in PathsView()
103 canvas.drawPath(mPath, mMediumPaint); in PathsView()
118 canvas.drawPath(mPath, mMediumPaint); in onDraw()
DLinesActivity.java60 private final Paint mMediumPaint; field in LinesActivity.LinesView
79 mMediumPaint = new Paint(); in LinesView()
80 mMediumPaint.setAntiAlias(LINE_AA); in LinesView()
81 mMediumPaint.setColor(0xff0000ff); in LinesView()
82 mMediumPaint.setStrokeWidth(4.0f); in LinesView()
122 canvas.drawLine(5.0f, 0.0f, 95.0f, 400.0f, mMediumPaint); in onDraw()