Searched refs:mPathPaint (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | ScaledPathsActivity.java | 38 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 …]
|
D | TextOnPathActivity.java | 72 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/ |
D | LockPatternView.java | 85 private final Paint mPathPaint = new Paint(); field in LockPatternView 315 mPathPaint.setAntiAlias(true); in LockPatternView() 316 mPathPaint.setDither(true); in LockPatternView() 323 mPathPaint.setColor(pathColor); in LockPatternView() 325 mPathPaint.setStyle(Paint.Style.STROKE); in LockPatternView() 326 mPathPaint.setStrokeJoin(Paint.Join.ROUND); in LockPatternView() 327 mPathPaint.setStrokeCap(Paint.Cap.ROUND); in LockPatternView() 330 mPathPaint.setStrokeWidth(mPathWidth); in LockPatternView() 1181 mPathPaint.setColor(getCurrentColor(true /* partOfPattern */)); in onDraw() 1215 mPathPaint.setAlpha((int) 255 - lineFadeVal ); in onDraw() [all …]
|
D | PointerLocationView.java | 135 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() 373 canvas.drawLine(lastX, lastY, x, y, mPathPaint); in onDraw()
|