Home
last modified time | relevance | path

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

/frameworks/base/tests/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.java82 private final Paint mPathPaint = new Paint(); field in LockPatternView
293 mPathPaint.setAntiAlias(true); in LockPatternView()
294 mPathPaint.setDither(true); in LockPatternView()
304 mPathPaint.setColor(pathColor); in LockPatternView()
306 mPathPaint.setStyle(Paint.Style.STROKE); in LockPatternView()
307 mPathPaint.setStrokeJoin(Paint.Join.ROUND); in LockPatternView()
308 mPathPaint.setStrokeCap(Paint.Cap.ROUND); in LockPatternView()
311 mPathPaint.setStrokeWidth(mPathWidth); in LockPatternView()
1116 mPathPaint.setColor(getCurrentColor(true /* partOfPattern */)); in onDraw()
1143 canvas.drawPath(currentPath, mPathPaint); in onDraw()
[all …]
DPointerLocationView.java119 private final Paint mPathPaint; field in PointerLocationView
167 mPathPaint = new Paint(); in PointerLocationView()
168 mPathPaint.setAntiAlias(false); in PointerLocationView()
169 mPathPaint.setARGB(255, 0, 96, 255); in PointerLocationView()
310 canvas.drawLine(lastX, lastY, x, y, mPathPaint); in onDraw()