Home
last modified time | relevance | path

Searched refs:targetColor (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DBarTransitions.java238 int targetColor = mTintFilter == null ? 0 : mTintFilter.getColor(); in setTintMode() local
240 mTintFilter = new PorterDuffColorFilter(targetColor, tintMode); in setTintMode()
279 int targetGradientAlpha = 0, targetColor = 0; in draw() local
281 targetColor = mWarning; in draw()
283 targetColor = mSemiTransparent; in draw()
285 targetColor = mSemiTransparent; in draw()
287 targetColor = mTransparent; in draw()
289 targetColor = mOpaque; in draw()
293 mColor = targetColor; in draw()
299 mColor = targetColor; in draw()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/animation/
DColorSchemeTransitionTest.kt101 assertEquals(DEFAULT_COLOR, colorTransition.targetColor) in <lambda>()
110 assertEquals(TARGET_COLOR, colorTransition.targetColor) in <lambda>()
119 assertEquals(DEFAULT_COLOR, colorTransition.targetColor) in <lambda>()
142 assertEquals(expectedColor, colorTransition.targetColor) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/animation/
DColorSchemeTransition.kt61 var targetColor: Int = defaultColor variable in com.android.systemui.media.controls.ui.animation.AnimatingColorTransition
65 argbEvaluator.evaluate(animation.animatedFraction, sourceColor, targetColor) as Int in onAnimationUpdate()
71 if (newTargetColor != targetColor) { in updateColorScheme()
73 targetColor = newTargetColor in updateColorScheme()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/drawable/
DUserIconDrawableTest.java53 @ColorInt final int targetColor = Color.BLUE; in setTintList_shouldBeApplied() local
61 int[] colors = new int[] { targetColor }; in setTintList_shouldBeApplied()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/binder/
DMediaControlViewBinder.kt489 viewController.colorSchemeTransition.accentPrimary.targetColor in <lambda>()