Home
last modified time | relevance | path

Searched refs:mLinePaint (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DUsageGraph.java48 private final Paint mLinePaint; field in UsageGraph
82 mLinePaint = new Paint(); in UsageGraph()
83 mLinePaint.setStyle(Style.STROKE); in UsageGraph()
84 mLinePaint.setStrokeCap(Cap.ROUND); in UsageGraph()
85 mLinePaint.setStrokeJoin(Join.ROUND); in UsageGraph()
86 mLinePaint.setAntiAlias(true); in UsageGraph()
88 mLinePaint.setPathEffect(new CornerPathEffect(mCornerRadius)); in UsageGraph()
89 mLinePaint.setStrokeWidth(resources.getDimensionPixelSize(R.dimen.usage_graph_line_width)); in UsageGraph()
91 mFillPaint = new Paint(mLinePaint); in UsageGraph()
94 mDottedPaint = new Paint(mLinePaint); in UsageGraph()
[all …]
/packages/apps/Settings/src/com/android/settings/widget/
DUsageGraph.java48 private final Paint mLinePaint; field in UsageGraph
82 mLinePaint = new Paint(); in UsageGraph()
83 mLinePaint.setStyle(Style.STROKE); in UsageGraph()
84 mLinePaint.setStrokeCap(Cap.ROUND); in UsageGraph()
85 mLinePaint.setStrokeJoin(Join.ROUND); in UsageGraph()
86 mLinePaint.setAntiAlias(true); in UsageGraph()
88 mLinePaint.setPathEffect(new CornerPathEffect(mCornerRadius)); in UsageGraph()
89 mLinePaint.setStrokeWidth(resources.getDimensionPixelSize(R.dimen.usage_graph_line_width)); in UsageGraph()
91 mFillPaint = new Paint(mLinePaint); in UsageGraph()
94 mDottedPaint = new Paint(mLinePaint); in UsageGraph()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/
DWorkspacePageIndicator.java61 private Paint mLinePaint; field in WorkspacePageIndicator
68 return obj.mLinePaint.getAlpha();
73 obj.mLinePaint.setAlpha(alpha);
120 mLinePaint = new Paint(); in WorkspacePageIndicator()
121 mLinePaint.setAlpha(0); in WorkspacePageIndicator()
128 mLinePaint.setColor(darkText ? Color.BLACK : Color.WHITE); in WorkspacePageIndicator()
145 getHeight() / 2 + mLineHeight / 2, mLineHeight, mLineHeight, mLinePaint); in onDraw()
192 if (shouldAutoHide && mLinePaint.getAlpha() > 0) { in setShouldAutoHide()