Home
last modified time | relevance | path

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

12

/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/
DColorExtractorTest.java35 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
62 new ColorExtractor(mContext, type, true, mWallpaperManager); in ColorExtractor_extractWhenInitialized()
89 ColorExtractor extractor = new ColorExtractor(mContext, type, true, mWallpaperManager); in getColors_usesExtractedColors()
92 ColorExtractor.TYPE_NORMAL); in getColors_usesExtractedColors()
94 colors = extractor.getColors(WallpaperManager.FLAG_SYSTEM, ColorExtractor.TYPE_DARK); in getColors_usesExtractedColors()
96 colors = extractor.getColors(WallpaperManager.FLAG_SYSTEM, ColorExtractor.TYPE_EXTRA_DARK); in getColors_usesExtractedColors()
102 ColorExtractor.OnColorsChangedListener mockedListeners = in addOnColorsChangedListener_invokesListener()
103 mock(ColorExtractor.OnColorsChangedListener.class); in addOnColorsChangedListener_invokesListener()
104 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.java35 import com.android.internal.colorextraction.ColorExtractor;
42 private final ColorExtractor.GradientColors mColors;
66 mColors = new ColorExtractor.GradientColors(); in ScrimView()
102 public void setColors(@NonNull ColorExtractor.GradientColors colors) { in setColors()
106 public void setColors(@NonNull ColorExtractor.GradientColors colors, boolean animated) { in setColors()
122 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
104 ColorExtractor.this.mSystemColors = mSystemColors; in onPostExecute()
105 ColorExtractor.this.mLockColors = mLockColors; in onPostExecute()
315 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()
DAnalogClockController.java28 import com.android.internal.colorextraction.ColorExtractor;
137 ColorExtractor.GradientColors colors = mColorExtractor.getColors( in getPreview()
DBubbleClockController.java28 import com.android.internal.colorextraction.ColorExtractor;
137 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/tests/src/com/android/systemui/statusbar/phone/
DNotificationShadeWindowControllerTest.java41 import com.android.internal.colorextraction.ColorExtractor;
71 @Mock ColorExtractor.GradientColors mGradientColors;
DStatusBarTest.java72 import com.android.internal.colorextraction.ColorExtractor;
206 @Mock private ColorExtractor.GradientColors mGradientColors;
DScrimControllerTest.java47 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DColorExtractor.java26 public class ColorExtractor { class
DBaseIconFactory.java45 private final ColorExtractor mColorExtractor;
67 mColorExtractor = new ColorExtractor(); in BaseIconFactory()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardClockSwitch.java29 import com.android.internal.colorextraction.ColorExtractor;
30 import com.android.internal.colorextraction.ColorExtractor.OnColorsChangedListener;
411 ColorExtractor.GradientColors colors = mSysuiColorExtractor.getColors( in updateColors()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimController.java38 import com.android.internal.colorextraction.ColorExtractor;
39 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
40 import com.android.internal.colorextraction.ColorExtractor.OnColorsChangedListener;
947 public void onColorsChanged(ColorExtractor colorExtractor, int which) { in onColorsChanged()
DLightBarController.java31 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
DGlobalActionsDialogTest.java56 import com.android.internal.colorextraction.ColorExtractor;
183 ColorExtractor.GradientColors backdropColors = new ColorExtractor.GradientColors(); in setUp()
/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/types/
DTonalTest.java31 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/
DNewNotifPipelineBubbleControllerTest.java58 import com.android.internal.colorextraction.ColorExtractor;
164 ColorExtractor.GradientColors mGradientColors;
DBubbleControllerTest.java61 import com.android.internal.colorextraction.ColorExtractor;
173 ColorExtractor.GradientColors mGradientColors;
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java104 import com.android.internal.colorextraction.ColorExtractor;
105 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
2116 ColorExtractor.OnColorsChangedListener {
2556 public void onColorsChanged(ColorExtractor extractor, int which) {

12