Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/colorextraction/
DSysuiColorExtractorTests.java64 private SysuiColorExtractor mColorExtractor; field in SysuiColorExtractorTests
72 mColorExtractor = new SysuiColorExtractor(getContext(), in setUp()
86 simulateEvent(mColorExtractor); in getColors()
90 mColorExtractor.getColors(which, type), mColors); in getColors()
97 simulateEvent(mColorExtractor); in getColors_fallbackWhenMediaIsVisible()
98 mColorExtractor.setHasMediaArtwork(true); in getColors_fallbackWhenMediaIsVisible()
100 ColorExtractor.GradientColors fallbackColors = mColorExtractor.getNeutralColors(); in getColors_fallbackWhenMediaIsVisible()
104 mColorExtractor.getColors(WallpaperManager.FLAG_LOCK, type), fallbackColors); in getColors_fallbackWhenMediaIsVisible()
106 mColorExtractor.getColors(WallpaperManager.FLAG_SYSTEM, type), fallbackColors); in getColors_fallbackWhenMediaIsVisible()
127 mColorExtractor.addOnColorsChangedListener(listener); in onUiModeChanged_notifiesListener()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DDefaultClockController.java53 private final SysuiColorExtractor mColorExtractor; field in DefaultClockController
86 mColorExtractor = colorExtractor; in DefaultClockController()
126 ColorExtractor.GradientColors colors = mColorExtractor.getColors( in getPreview()
DAnalogClockController.java53 private final SysuiColorExtractor mColorExtractor; field in AnalogClockController
93 mColorExtractor = colorExtractor; in AnalogClockController()
137 ColorExtractor.GradientColors colors = mColorExtractor.getColors( in getPreview()
DBubbleClockController.java53 private final SysuiColorExtractor mColorExtractor; field in BubbleClockController
93 mColorExtractor = colorExtractor; in BubbleClockController()
137 ColorExtractor.GradientColors colors = mColorExtractor.getColors( in getPreview()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/
DRecentsActivity.java152 private SysuiColorExtractor mColorExtractor; field in RecentsActivity
323 mColorExtractor = Dependency.get(SysuiColorExtractor.class); in onCreate()
324 mColorExtractor.addOnColorsChangedListener(this); in onCreate()
325 mUsingDarkText = mColorExtractor.getColors(ColorExtractor.TYPE_DARK, in onCreate()
373 ColorExtractor.GradientColors systemColors = mColorExtractor.getNeutralColors(); in onStart()
397 ColorExtractor.GradientColors colors = mColorExtractor.getNeutralColors(); in onColorsChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimController.java137 private final SysuiColorExtractor mColorExtractor; field in ScrimController
211 mColorExtractor = Dependency.get(SysuiColorExtractor.class); in ScrimController()
212 mColorExtractor.addOnColorsChangedListener(this); in ScrimController()
213 mColors = mColorExtractor.getNeutralColors(); in ScrimController()
901 mColors = mColorExtractor.getNeutralColors(); in onColorsChanged()
DStatusBarWindowController.java96 private final SysuiColorExtractor mColorExtractor = Dependency.get(SysuiColorExtractor.class); field in StatusBarWindowController
632 final boolean useDarkText = mColorExtractor.getNeutralColors().supportsDarkText(); in onThemeChanged()
DStatusBar.java569 protected SysuiColorExtractor mColorExtractor; field in StatusBar
660 mColorExtractor.addOnColorsChangedListener(this); in start()
1132 mColorExtractor = Dependency.get(SysuiColorExtractor.class); in getDependencies()
3338 final boolean lockDarkText = mColorExtractor.getNeutralColors().supportsDarkText(); in updateTheme()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java1503 private final SysuiColorExtractor mColorExtractor;
1517 mColorExtractor = Dependency.get(SysuiColorExtractor.class);
1660 mColorExtractor.addOnColorsChangedListener(this);
1661 GradientColors colors = mColorExtractor.getNeutralColors();
1688 mColorExtractor.removeOnColorsChangedListener(this);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationMediaManager.java96 private final SysuiColorExtractor mColorExtractor = Dependency.get(SysuiColorExtractor.class); field in NotificationMediaManager
531 mColorExtractor.setHasMediaArtwork(hasMediaArtwork); in finishUpdateMediaMetaData()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DCarStatusBar.java439 mColorExtractor = Dependency.get(SysuiColorExtractor.class); in getDependencies()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java486 private final SysuiColorExtractor mColorExtractor = Dependency.get(SysuiColorExtractor.class); field in NotificationStackScrollLayout
670 final boolean useDarkText = mColorExtractor.getNeutralColors().supportsDarkText(); in onThemeChanged()