Home
last modified time | relevance | path

Searched refs:currentColor (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/libs/hwui/
DNinePatchUtils.h85 uint32_t currentColor = chunk.getColors()[i++]; in SetLatticeFlags() local
86 if (Res_png_9patch::TRANSPARENT_COLOR == currentColor) { in SetLatticeFlags()
89 } else if (Res_png_9patch::NO_COLOR != currentColor) { in SetLatticeFlags()
91 *colors = currentColor; in SetLatticeFlags()
/frameworks/native/services/surfaceflinger/tests/
DEffectLayer_test.cpp171 Color currentColor; in TEST_F() local
176 currentColor = shot->getPixelColor(x, y); in TEST_F()
177 ASSERT_GT(currentColor.r, previousColor.r); in TEST_F()
178 ASSERT_LT(currentColor.b, previousColor.b); in TEST_F()
179 ASSERT_EQ(0, currentColor.g); in TEST_F()
DLayerTypeAndRenderTypeTransaction_test.cpp645 Color currentColor; in TEST_P() local
650 currentColor = shot->getPixelColor(x, y); in TEST_P()
651 ASSERT_GT(currentColor.r, previousColor.r); in TEST_P()
652 ASSERT_LT(currentColor.b, previousColor.b); in TEST_P()
653 ASSERT_EQ(0, currentColor.g); in TEST_P()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DViewLayerInvalidationActivity.java31 int currentColor = Color.WHITE; field in ViewLayerInvalidationActivity
83 currentColor = (currentColor == Color.WHITE) ? Color.RED : Color.WHITE;
85 tv.setTextColor(currentColor);
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/animation/
DColorSchemeTransition.kt60 var currentColor: Int = defaultColor variable in com.android.systemui.media.controls.ui.animation.AnimatingColorTransition
64 currentColor = in onAnimationUpdate()
66 applyColor(currentColor) in onAnimationUpdate()
72 sourceColor = currentColor in updateColorScheme()
/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/
DDefaultClockController.kt119 private var currentColor = Color.MAGENTA variable
135 currentColor = seedColor!!
137 view.setColors(DOZE_COLOR, currentColor)
178 if (currentColor == color) { in updateColor()
182 currentColor = color in updateColor()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/animation/
DColorSchemeTransitionTest.kt129 assertEquals(expectedColor, colorTransition.currentColor) in <lambda>()
141 assertEquals(expectedColor, colorTransition.currentColor) in <lambda>()
153 assertEquals(expectedColor, colorTransition.currentColor) in <lambda>()
/frameworks/libs/systemui/monet/src/com/android/systemui/monet/
DColorScheme.java281 int currentColor = entry.getKey(); in getSeedColors() local
284 double hueA = intToHct.get(currentColor).getHue(); in getSeedColors()
291 seeds.add(currentColor); in getSeedColors()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
DUserIconDrawable.java333 int currentColor = porterDuffColorFilter.getColor(); in shouldUpdateColorFilter() local
335 return currentColor != color || currentMode != mode; in shouldUpdateColorFilter()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java1993 WallpaperColors currentColor = page.getColors(area); in updatePageColors() local
2001 if (currentColor == null || !color.equals(currentColor)) { in updatePageColors()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/binder/
DMediaControlViewBinder.kt565 colorSchemeTransition.accentPrimary.currentColor, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaViewController.kt1142 colorSchemeTransition.accentPrimary.currentColor, in <lambda>()