Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/animation/
DColorSchemeTransitionTest.kt60 @Mock private lateinit var applyColor: ApplyCB in <lambda>() variable in com.android.systemui.media.controls.ui.animation.ColorSchemeTransitionTest
86 object : AnimatingColorTransition(DEFAULT_COLOR, extractColor, applyColor) { in <lambda>()
98 verify(applyColor, times(1)).invoke(DEFAULT_COLOR) in <lambda>()
107 verify(applyColor, times(1)).invoke(DEFAULT_COLOR) in <lambda>()
131 verify(applyColor, times(2)).invoke(expectedColor) // applied once in constructor in <lambda>()
143 verify(applyColor).invoke(expectedColor) in <lambda>()
154 verify(applyColor).invoke(expectedColor) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/animation/
DColorSchemeTransition.kt54 private val applyColor: (Int) -> Unit constant in com.android.systemui.media.controls.ui.animation.AnimatingColorTransition
66 applyColor(currentColor) in onAnimationUpdate()
82 applyColor(defaultColor)
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DScreenRotationAnimation.java361 applyColor(startColor, endColor, rgbTmpFloat, fraction, mBackColorSurface, t); in startColorAnimation()
366 applyColor(startColor, endColor, rgbTmpFloat, 1f /* fraction */, mBackColorSurface, in startColorAnimation()
373 applyColor(startColor, endColor, rgbTmpFloat, 1f /* fraction */, mBackColorSurface, in startColorAnimation()
397 private static void applyColor(int startColor, int endColor, float[] rgbFloat, in applyColor() method in ScreenRotationAnimation