Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/
DTextInterpolatorTest.kt93 interp.targetPaint.set(END_PAINT) in testStartState()
112 interp.targetPaint.set(END_PAINT) in testEndState()
130 interp.targetPaint.set(END_PAINT) in testMiddleState()
152 interp.targetPaint.set(END_PAINT) in testRebase()
174 interp.targetPaint.set(END_PAINT) in testBidi_LTR()
194 interp.targetPaint.set(END_PAINT) in testBidi_RTL()
217 interp.targetPaint.set(END_PAINT) in testGlyphCallback_Empty()
240 interp.targetPaint.set(END_PAINT) in testGlyphCallback_Xcoordinate()
265 interp.targetPaint.set(END_PAINT) in testGlyphCallback_Ycoordinate()
290 interp.targetPaint.set(END_PAINT) in testGlyphCallback_TextSize()
[all …]
DTextAnimatorTest.kt56 `when`(textInterpolator.targetPaint).thenReturn(paint) in testAnimationStarted()
86 `when`(textInterpolator.targetPaint).thenReturn(paint) in testAnimationNotStarted()
113 `when`(textInterpolator.targetPaint).thenReturn(paint) in testAnimationEnded()
147 `when`(textInterpolator.targetPaint).thenReturn(paint) in testCacheTypeface()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DTextAnimator.kt186 textInterpolator.targetPaint.textSize = textSize in updateLayout()
302 textInterpolator.targetPaint.textSize = textSize in draw()
305 textInterpolator.targetPaint.typeface = typefaceCache.getTypefaceForVariant(fvar) in draw()
308 textInterpolator.targetPaint.color = color in draw()
311 textInterpolator.targetPaint.strokeWidth = strokeWidth in draw()
DTextInterpolator.kt58 val targetPaint = TextPaint(layout.paint) in <lambda>() constant
139 updatePositionsAndFonts(shapeText(layout, targetPaint), updateBase = false) in <lambda>()
210 basePaint.set(targetPaint) in <lambda>()
212 lerp(basePaint, targetPaint, progress, tmpPaint) in <lambda>()
240 lerp(basePaint, targetPaint, progress, tmpPaint) in <lambda>()
262 val targetLayout = shapeText(layout, targetPaint) in <lambda>()