Home
last modified time | relevance | path

Searched refs:mPathPaint (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DScaledPathsActivity.java38 private final Paint mPathPaint; field in ScaledPathsActivity.PathsView
45 mPathPaint = new Paint(); in PathsView()
46 mPathPaint.setAntiAlias(true); in PathsView()
47 mPathPaint.setColor(0xff0000ff); in PathsView()
48 mPathPaint.setStrokeWidth(5.0f); in PathsView()
49 mPathPaint.setStyle(Paint.Style.FILL); in PathsView()
65 mPathPaint.setColor(0xff0000ff); in onDraw()
66 mPathPaint.setStyle(Paint.Style.FILL); in onDraw()
74 mPathPaint.setColor(0xffff0000); in onDraw()
75 mPathPaint.setStyle(Paint.Style.STROKE); in onDraw()
[all …]
DTextOnPathActivity.java72 private final Paint mPathPaint; field in TextOnPathActivity.TextOnPathView
87 mPathPaint = new Paint(); in TextOnPathView()
88 mPathPaint.setAntiAlias(true); in TextOnPathView()
89 mPathPaint.setStyle(Paint.Style.STROKE); in TextOnPathView()
90 mPathPaint.setColor(0xff000099); in TextOnPathView()
116 canvas.drawPath(mPath, mPathPaint); in onDraw()
125 canvas.drawLines(mLines, mPathPaint); in onDraw()
129 canvas.drawPath(mStraightPath, mPathPaint); in onDraw()
138 mPathPaint); in onDraw()
139 canvas.drawPath(mPath, mPathPaint); in onDraw()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternView.java104 private final Paint mPathPaint = new Paint(); field in LockPatternView
344 mPathPaint.setAntiAlias(true); in LockPatternView()
345 mPathPaint.setDither(true); in LockPatternView()
356 mPathPaint.setColor(pathColor); in LockPatternView()
358 mPathPaint.setStyle(Paint.Style.STROKE); in LockPatternView()
359 mPathPaint.setStrokeJoin(Paint.Join.ROUND); in LockPatternView()
360 mPathPaint.setStrokeCap(Paint.Cap.ROUND); in LockPatternView()
363 mPathPaint.setStrokeWidth(mPathWidth); in LockPatternView()
1262 mPathPaint.setColor(regularColor); in setColors()
1331 mPathPaint.setColor(getCurrentColor(true /* partOfPattern */)); in onDraw()
[all …]
DPointerLocationView.java136 private final Paint mPathPaint; field in PointerLocationView
195 mPathPaint = new Paint(); in PointerLocationView()
196 mPathPaint.setAntiAlias(false); in PointerLocationView()
197 mPathPaint.setARGB(255, 0, 96, 255); in PointerLocationView()
198 mPathPaint.setStyle(Paint.Style.STROKE); in PointerLocationView()
321 canvas.drawLine(lastX, lastY, x, y, mPathPaint); in onDraw()
1009 mPathPaint.setStrokeWidth(1 * mDensity);