Home
last modified time | relevance | path

Searched refs:ColorExtractor (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/
DColorExtractorTest.java35 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
65 new ColorExtractor(mContext, type, true, mWallpaperManager); in ColorExtractor_extractWhenInitialized()
92 ColorExtractor extractor = new ColorExtractor(mContext, type, true, mWallpaperManager); in getColors_usesExtractedColors()
95 ColorExtractor.TYPE_NORMAL); in getColors_usesExtractedColors()
97 colors = extractor.getColors(WallpaperManager.FLAG_SYSTEM, ColorExtractor.TYPE_DARK); in getColors_usesExtractedColors()
99 colors = extractor.getColors(WallpaperManager.FLAG_SYSTEM, ColorExtractor.TYPE_EXTRA_DARK); in getColors_usesExtractedColors()
105 ColorExtractor.OnColorsChangedListener mockedListeners = in addOnColorsChangedListener_invokesListener()
106 mock(ColorExtractor.OnColorsChangedListener.class); in addOnColorsChangedListener_invokesListener()
107 ColorExtractor extractor = new ColorExtractor(mContext, new Tonal(mContext), true, in addOnColorsChangedListener_invokesListener()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/colorextraction/
DSysuiColorExtractorTests.java35 import com.android.internal.colorextraction.ColorExtractor;
57 ColorExtractor.TYPE_NORMAL,
58 ColorExtractor.TYPE_DARK,
59 ColorExtractor.TYPE_EXTRA_DARK};
63 private ColorExtractor.GradientColors mColors;
69 mColors = new ColorExtractor.GradientColors(); in setUp()
100 ColorExtractor.GradientColors fallbackColors = mColorExtractor.getNeutralColors(); in getColors_fallbackWhenMediaIsVisible()
125 ColorExtractor.OnColorsChangedListener listener = mock( in onUiModeChanged_notifiesListener()
126 ColorExtractor.OnColorsChangedListener.class); in onUiModeChanged_notifiesListener()
/frameworks/base/core/java/com/android/internal/colorextraction/types/
DExtractionType.java21 import com.android.internal.colorextraction.ColorExtractor;
43 ColorExtractor.GradientColors outGradientColorsNormal, in extractInto()
44 ColorExtractor.GradientColors outGradientColorsDark, in extractInto()
45 ColorExtractor.GradientColors outGradientColorsExtraDark); in extractInto()
DTonal.java31 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DScrimView.java33 import com.android.internal.colorextraction.ColorExtractor;
40 private final ColorExtractor.GradientColors mColors;
64 mColors = new ColorExtractor.GradientColors(); in ScrimView()
100 public void setColors(@NonNull ColorExtractor.GradientColors colors) { in setColors()
104 public void setColors(@NonNull ColorExtractor.GradientColors colors, boolean animated) { in setColors()
120 public ColorExtractor.GradientColors getColors() { in getColors()
/frameworks/base/core/java/com/android/internal/colorextraction/
DColorExtractor.java38 public class ColorExtractor implements WallpaperManager.OnColorsChangedListener { class
55 public ColorExtractor(Context context) { in ColorExtractor() method in ColorExtractor
61 public ColorExtractor(Context context, ExtractionType extractionType, boolean immediately, in ColorExtractor() method in ColorExtractor
107 ColorExtractor.this.mSystemColors = mSystemColors; in onPostExecute()
108 ColorExtractor.this.mLockColors = mLockColors; in onPostExecute()
318 void onColorsChanged(ColorExtractor colorExtractor, int which); in onColorsChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DScrimViewTest.java32 import com.android.internal.colorextraction.ColorExtractor;
74 ColorExtractor.GradientColors colors = mView.getColors(); in testCreation_initialColor()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DDefaultClockController.java28 import com.android.internal.colorextraction.ColorExtractor;
126 ColorExtractor.GradientColors colors = mColorExtractor.getColors( in getPreview()
DBubbleClockController.java28 import com.android.internal.colorextraction.ColorExtractor;
132 ColorExtractor.GradientColors colors = mColorExtractor.getColors( in getPreview()
DAnalogClockController.java28 import com.android.internal.colorextraction.ColorExtractor;
132 ColorExtractor.GradientColors colors = mColorExtractor.getColors( in getPreview()
/frameworks/base/packages/SystemUI/src/com/android/systemui/colorextraction/
DSysuiColorExtractor.java26 import com.android.internal.colorextraction.ColorExtractor;
44 public class SysuiColorExtractor extends ColorExtractor implements Dumpable,
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DTonalCompat.java21 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/
DRecentsActivity.java45 import com.android.internal.colorextraction.ColorExtractor;
106 ColorExtractor.OnColorsChangedListener {
325 mUsingDarkText = mColorExtractor.getColors(ColorExtractor.TYPE_DARK, in onCreate()
373 ColorExtractor.GradientColors systemColors = mColorExtractor.getNeutralColors(); in onStart()
395 public void onColorsChanged(ColorExtractor colorExtractor, int which) { in onColorsChanged()
397 ColorExtractor.GradientColors colors = mColorExtractor.getNeutralColors(); in onColorsChanged()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardClockSwitch.java29 import com.android.internal.colorextraction.ColorExtractor;
30 import com.android.internal.colorextraction.ColorExtractor.OnColorsChangedListener;
381 ColorExtractor.GradientColors colors = mSysuiColorExtractor.getColors( in updateColors()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimController.java37 import com.android.internal.colorextraction.ColorExtractor;
38 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
39 import com.android.internal.colorextraction.ColorExtractor.OnColorsChangedListener;
858 public void onColorsChanged(ColorExtractor colorExtractor, int which) { in onColorsChanged()
DLightBarController.java27 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
DStatusBar.java121 import com.android.internal.colorextraction.ColorExtractor;
247 ColorExtractor.OnColorsChangedListener, ConfigurationListener,
1615 public void onColorsChanged(ColorExtractor extractor, int which) { in onColorsChanged()
/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/types/
DTonalTest.java31 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsImpl.java31 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
DGlobalActionsDialog.java76 import com.android.internal.colorextraction.ColorExtractor;
77 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
1504 ColorExtractor.OnColorsChangedListener {
1779 public void onColorsChanged(ColorExtractor extractor, int which) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUIFactory.java30 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DRecentsView.java51 import com.android.internal.colorextraction.ColorExtractor;
396 public void setScrimColors(ColorExtractor.GradientColors scrimColors, boolean animated) {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DScrimControllerTest.java46 import com.android.internal.colorextraction.ColorExtractor.GradientColors;