Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/
H A DTextInterpolatorTest.kt93 interp.targetPaint.set(END_PAINT)
112 interp.targetPaint.set(END_PAINT)
130 interp.targetPaint.set(END_PAINT)
152 interp.targetPaint.set(END_PAINT)
174 interp.targetPaint.set(END_PAINT)
194 interp.targetPaint.set(END_PAINT)
217 interp.targetPaint.set(END_PAINT)
240 interp.targetPaint.set(END_PAINT)
265 interp.targetPaint.set(END_PAINT)
290 interp.targetPaint.set(END_PAINT)
[all …]
H A DTextAnimatorTest.kt56 `when`(textInterpolator.targetPaint).thenReturn(paint)
86 `when`(textInterpolator.targetPaint).thenReturn(paint)
113 `when`(textInterpolator.targetPaint).thenReturn(paint)
147 `when`(textInterpolator.targetPaint).thenReturn(paint)
/aosp14/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
H A DTextAnimator.kt280 textInterpolator.targetPaint.textSize = textSize
284 textInterpolator.targetPaint.typeface = typefaceCache.getTypefaceForVariant(fvar)
288 textInterpolator.targetPaint.color = color
291 textInterpolator.targetPaint.strokeWidth = strokeWidth
H A DTextInterpolator.kt58 val targetPaint = TextPaint(layout.paint) regex
139 updatePositionsAndFonts(shapeText(layout, targetPaint), updateBase = false)
210 basePaint.set(targetPaint)
212 lerp(basePaint, targetPaint, progress, tmpPaint)
240 lerp(basePaint, targetPaint, progress, tmpPaint)
262 val targetLayout = shapeText(layout, targetPaint)