/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/ |
D | ColorExtractorTest.java | 35 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/ |
D | SysuiColorExtractorTests.java | 35 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/ |
D | ExtractionType.java | 21 import com.android.internal.colorextraction.ColorExtractor; 43 ColorExtractor.GradientColors outGradientColorsNormal, in extractInto() 44 ColorExtractor.GradientColors outGradientColorsDark, in extractInto() 45 ColorExtractor.GradientColors outGradientColorsExtraDark); in extractInto()
|
D | Tonal.java | 31 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | ScrimView.java | 33 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/ |
D | ColorExtractor.java | 38 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/ |
D | ScrimViewTest.java | 32 import com.android.internal.colorextraction.ColorExtractor; 74 ColorExtractor.GradientColors colors = mView.getColors(); in testCreation_initialColor()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/ |
D | DefaultClockController.java | 28 import com.android.internal.colorextraction.ColorExtractor; 126 ColorExtractor.GradientColors colors = mColorExtractor.getColors( in getPreview()
|
D | BubbleClockController.java | 28 import com.android.internal.colorextraction.ColorExtractor; 132 ColorExtractor.GradientColors colors = mColorExtractor.getColors( in getPreview()
|
D | AnalogClockController.java | 28 import com.android.internal.colorextraction.ColorExtractor; 132 ColorExtractor.GradientColors colors = mColorExtractor.getColors( in getPreview()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/colorextraction/ |
D | SysuiColorExtractor.java | 26 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/ |
D | TonalCompat.java | 21 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/ |
D | RecentsActivity.java | 45 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/ |
D | KeyguardClockSwitch.java | 29 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/ |
D | ScrimController.java | 37 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()
|
D | LightBarController.java | 27 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
|
D | StatusBar.java | 121 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/ |
D | TonalTest.java | 31 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsImpl.java | 31 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
|
D | GlobalActionsDialog.java | 76 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/ |
D | SystemUIFactory.java | 30 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | RecentsView.java | 51 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/ |
D | ScrimControllerTest.java | 46 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
|