Home
last modified time | relevance | path

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

/aosp12/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A 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 …]
H A 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()
138 mPathPaint); in onDraw()
139 canvas.drawPath(mPath, mPathPaint); in onDraw()
144 canvas.drawPath(mPath, mPathPaint); in onDraw()
[all …]
/aosp12/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternView.java85 private final Paint mPathPaint = new Paint(); field in LockPatternView
316 mPathPaint.setAntiAlias(true); in LockPatternView()
317 mPathPaint.setDither(true); in LockPatternView()
325 mPathPaint.setColor(pathColor); in LockPatternView()
327 mPathPaint.setStyle(Paint.Style.STROKE); in LockPatternView()
328 mPathPaint.setStrokeJoin(Paint.Join.ROUND); in LockPatternView()
329 mPathPaint.setStrokeCap(Paint.Cap.ROUND); in LockPatternView()
332 mPathPaint.setStrokeWidth(mPathWidth); in LockPatternView()
1105 mPathPaint.setColor(regularColor); in setColors()
1210 mPathPaint.setAlpha(255); in onDraw()
[all …]
H A DPointerLocationView.java136 private final Paint mPathPaint; field in PointerLocationView
197 mPathPaint = new Paint(); in PointerLocationView()
198 mPathPaint.setAntiAlias(false); in PointerLocationView()
199 mPathPaint.setARGB(255, 0, 96, 255); in PointerLocationView()
308 canvas.drawLine(lastX, lastY, x, y, mPathPaint); in onDraw()