Home
last modified time | relevance | path

Searched refs:expectedColor (Results 1 – 8 of 8) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/
H A DColorSchemeTransitionTest.kt124 val expectedColor = DEFAULT_COLOR regex
129 assertEquals(expectedColor, colorTransition.currentColor)
130 assertEquals(expectedColor, colorTransition.sourceColor)
131 verify(applyColor, times(2)).invoke(expectedColor) // applied once in constructor
136 val expectedColor = TARGET_COLOR regex
141 assertEquals(expectedColor, colorTransition.currentColor)
142 assertEquals(expectedColor, colorTransition.targetColor)
143 verify(applyColor).invoke(expectedColor)
148 val expectedColor = Color.rgb(186, 0, 186) regex
153 assertEquals(expectedColor, colorTransition.currentColor)
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
H A DTileColorPickerTest.java51 final int expectedColor = mTintColorStateList.getColorForState( in testGetColor_StateUnavailable_ReturnUnavailableColor() local
54 assertEquals(expectedColor, color); in testGetColor_StateUnavailable_ReturnUnavailableColor()
60 final int expectedColor = mTintColorStateList.getColorForState( in testGetColor_StateInactive_ReturnInactiveColor() local
63 assertEquals(expectedColor, color); in testGetColor_StateInactive_ReturnInactiveColor()
69 final int expectedColor = mTintColorStateList.getColorForState( in testGetColor_StateActive_ReturnActiveColor() local
72 assertEquals(expectedColor, color); in testGetColor_StateActive_ReturnActiveColor()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/
H A DUnfoldBackgroundController.java52 float[] expectedColor = getCurrentBackgroundColor(); in ensureBackground() local
54 if (mBackgroundColorSet != expectedColor) { in ensureBackground()
55 transaction.setColor(mBackgroundLayer, expectedColor); in ensureBackground()
56 mBackgroundColorSet = expectedColor; in ensureBackground()
68 .setColor(mBackgroundLayer, expectedColor) in ensureBackground()
71 mBackgroundColorSet = expectedColor; in ensureBackground()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/clocks/
H A DDefaultClockProviderTest.kt105 val expectedColor = 0 regex
106 verify(mockSmallClockView).setColors(DOZE_COLOR, expectedColor)
107 verify(mockLargeClockView).setColors(DOZE_COLOR, expectedColor)
163 val expectedColor = 0 regex
171 verify(mockSmallClockView).setColors(DOZE_COLOR, expectedColor)
172 verify(mockLargeClockView).setColors(DOZE_COLOR, expectedColor)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/surfaceeffects/ripple/
H A DMultiRippleControllerTest.kt52 val expectedColor = Color.RED regex
60 updateColor(expectedColor)
63 assertThat(rippleAnimationConfig.color).isEqualTo(expectedColor)
H A DRippleAnimationTest.kt83 val expectedColor = Color.RED regex
90 updateColor(expectedColor)
93 assertThat(config.color).isEqualTo(expectedColor)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/surfaceeffects/turbulencenoise/
H A DTurbulenceNoiseControllerTest.kt154 val expectedColor = Color.RED regex
161 turbulenceNoiseController.updateNoiseColor(expectedColor)
165 assertThat(config.color).isEqualTo(expectedColor)
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/sensorprivacy/
H A DCameraPrivacyLightControllerTest.java326 int expectedColor = mDefaultColors[i]; in testAlsThresholds() local
337 assertEquals(expectedColor, lightState.getColor()); in testAlsThresholds()