Searched refs:linePaint (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/drawable/ |
D | SquigglyProgressTest.kt | 86 val (wavePaint, linePaint) = paintCaptor.getAllValues() in testStrokeWidth() constant 89 assertThat(linePaint.strokeWidth).isEqualTo(strokeWidth) in testStrokeWidth() 98 val (wavePaint, linePaint) = paintCaptor.getAllValues() in testAlpha() constant 102 assertThat(linePaint.alpha).isEqualTo((alpha / 255f * DISABLED_ALPHA).toInt()) in testAlpha() 111 val (wavePaint, linePaint) = paintCaptor.getAllValues() in testColorFilter() constant 114 assertThat(linePaint.colorFilter).isEqualTo(colorFilter) in testColorFilter() 123 val (wavePaint, linePaint) = paintCaptor.getAllValues() in testTint() constant 126 assertThat(linePaint.color).isEqualTo(ColorUtils.setAlphaComponent(tint, DISABLED_ALPHA)) in testTint()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/drawable/ |
D | SquigglyProgress.kt | 48 private val linePaint = Paint() in <lambda>() constant in com.android.systemui.media.controls.ui.drawable.SquigglyProgress 76 linePaint.strokeWidth = value in <lambda>() 89 linePaint.strokeCap = Paint.Cap.ROUND in <lambda>() 90 linePaint.style = Paint.Style.STROKE in <lambda>() 92 linePaint.alpha = DISABLED_ALPHA in <lambda>() 207 canvas.drawPath(path, linePaint) in <lambda>() 212 canvas.drawLine(totalProgressPx, 0f, totalWidth, 0f, linePaint) in <lambda>() 228 linePaint.colorFilter = colorFilter in <lambda>() 256 linePaint.color = in <lambda>()
|
/frameworks/base/core/java/android/widget/ |
D | RadialTimePickerView.java | 848 final Paint linePaint = mPaintSelector[SELECTOR_LINE]; in drawSelector() local 849 linePaint.setColor(mSelectorColor); in drawSelector() 850 linePaint.setStrokeWidth(mSelectorStroke); in drawSelector() 851 canvas.drawLine(mXCenter, mYCenter, linePointX, linePointY, linePaint); in drawSelector()
|