Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/colorextraction/
DSysuiColorExtractorTests.java69 private SysuiColorExtractor mColorExtractor; field in SysuiColorExtractorTests
77 mColorExtractor = new SysuiColorExtractor( in setUp()
97 simulateEvent(mColorExtractor); in getColors()
101 mColorExtractor.getColors(which, type), mColors); in getColors()
129 mColorExtractor.addOnColorsChangedListener(listener); in onUiModeChanged_notifiesListener()
130 mColorExtractor.onUiModeChanged(); in onUiModeChanged_notifiesListener()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DBaseIconFactory.java86 private final ColorExtractor mColorExtractor; field in BaseIconFactory
117 mColorExtractor = new ColorExtractor(); in BaseIconFactory()
182 return BitmapInfo.of(icon, mColorExtractor.findDominantColorByHue(icon)); in createIconBitmap()
220 ? options.mExtractedColor : mColorExtractor.findDominantColorByHue(bitmap); in createBadgedIconBitmap()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/
DNotificationShadeWindowControllerImplTest.java100 @Mock private SysuiColorExtractor mColorExtractor; field in NotificationShadeWindowControllerImplTest
139 when(mColorExtractor.getNeutralColors()).thenReturn(mGradientColors); in setUp()
155 mColorExtractor, in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DNotificationShadeWindowControllerImpl.java132 private final SysuiColorExtractor mColorExtractor; field in NotificationShadeWindowControllerImpl
178 mColorExtractor = colorExtractor; in NotificationShadeWindowControllerImpl()
957 final boolean useDarkText = mColorExtractor.getNeutralColors().supportsDarkText(); in onThemeChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
DGlobalActionsDialogLiteTest.java125 @Mock private SysuiColorExtractor mColorExtractor; field in GlobalActionsDialogLiteTest
186 mColorExtractor, in setUp()
206 when(mColorExtractor.getNeutralColors()).thenReturn(backdropColors); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialogLite.java2275 protected final SysuiColorExtractor mColorExtractor;
2377 mColorExtractor = sysuiColorExtractor;
2579 mColorExtractor.addOnColorsChangedListener(this);
2580 GradientColors colors = mColorExtractor.getNeutralColors();
2608 mColorExtractor.removeOnColorsChangedListener(this);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DCentralSurfacesImplTest.java282 @Mock private SysuiColorExtractor mColorExtractor; field in CentralSurfacesImplTest
438 when(mColorExtractor.getNeutralColors()).thenReturn(mGradientColors); in setup()
532 mColorExtractor, in createCentralSurfaces()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardViewMediatorTest.java191 private @Mock SysuiColorExtractor mColorExtractor; field in KeyguardViewMediatorTest
262 mColorExtractor, in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCentralSurfacesImpl.java552 private final SysuiColorExtractor mColorExtractor; field in CentralSurfacesImpl
748 mColorExtractor = colorExtractor; in CentralSurfacesImpl()
872 mColorExtractor.addOnColorsChangedListener(mOnColorsChangedListener); in start()
2292 final boolean lockDarkText = mColorExtractor.getNeutralColors().supportsDarkText(); in updateTheme()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/
DBubblesTest.java294 private SysuiColorExtractor mColorExtractor; field in BubblesTest
384 when(mColorExtractor.getNeutralColors()).thenReturn(mGradientColors); in setUp()
412 mColorExtractor, in setUp()