/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/types/ |
D | TonalTest.java | 31 import com.android.internal.colorextraction.ColorExtractor.GradientColors; 47 GradientColors normal = new GradientColors(); in extractInto_usesFallback() 49 tonal.extractInto(null, normal, new GradientColors(), in extractInto_usesFallback() 50 new GradientColors()); in extractInto_usesFallback() 57 GradientColors normal = new GradientColors(); in extractInto_usesFallbackWhenTooLightOrDark() 60 normal, new GradientColors(), new GradientColors()); in extractInto_usesFallbackWhenTooLightOrDark() 66 normal, new GradientColors(), new GradientColors()); in extractInto_usesFallbackWhenTooLightOrDark() 74 GradientColors normal = new GradientColors(); in extractInto_fromBitmap() 75 GradientColors dark = new GradientColors(); in extractInto_fromBitmap() 76 GradientColors extraDark = new GradientColors(); in extractInto_fromBitmap() [all …]
|
/frameworks/base/core/java/com/android/internal/colorextraction/ |
D | ColorExtractor.java | 48 protected final SparseArray<GradientColors[]> mGradientColors; 68 GradientColors[] colors = new GradientColors[sGradientTypes.length]; in ColorExtractor() 71 colors[type] = new GradientColors(); in ColorExtractor() 115 GradientColors[] systemColors = mGradientColors.get(WallpaperManager.FLAG_SYSTEM); in extractWallpaperColors() 116 GradientColors[] lockColors = mGradientColors.get(WallpaperManager.FLAG_LOCK); in extractWallpaperColors() 134 public GradientColors getColors(int which) { in getColors() 146 public GradientColors getColors(int which, int type) { in getColors() 182 GradientColors[] lockColors = mGradientColors.get(WallpaperManager.FLAG_LOCK); in onColorsChanged() 189 GradientColors[] systemColors = mGradientColors.get(WallpaperManager.FLAG_SYSTEM); in onColorsChanged() 216 GradientColors outGradientColorsNormal, GradientColors outGradientColorsDark, in extractInto() [all …]
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | TonalCompat.java | 21 import com.android.internal.colorextraction.ColorExtractor.GradientColors; 33 GradientColors darkColors = new GradientColors(); in extractDarkColors() 34 mTonal.extractInto(colors, new GradientColors(), darkColors, new GradientColors()); in extractDarkColors()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/colorextraction/ |
D | SysuiColorExtractor.java | 49 private final GradientColors mNeutralColorsLock; 50 private final GradientColors mBackdropColors; 64 mNeutralColorsLock = new GradientColors(); in SysuiColorExtractor() 67 mBackdropColors = new GradientColors(); in SysuiColorExtractor() 107 public GradientColors getColors(int which, int type) { in getColors() 122 public GradientColors getNeutralColors() { in getNeutralColors() 141 GradientColors[] system = mGradientColors.get(WallpaperManager.FLAG_SYSTEM); in dump() 142 GradientColors[] lock = mGradientColors.get(WallpaperManager.FLAG_LOCK); in dump()
|
/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/ |
D | ColorExtractorTest.java | 35 import com.android.internal.colorextraction.ColorExtractor.GradientColors; 73 GradientColors colorsExpectedNormal = new GradientColors(); in getColors_usesExtractedColors() 77 GradientColors colorsExpectedDark = new GradientColors(); in getColors_usesExtractedColors() 81 GradientColors colorsExpectedExtraDark = new GradientColors(); in getColors_usesExtractedColors() 94 GradientColors colors = extractor.getColors(WallpaperManager.FLAG_SYSTEM, in getColors_usesExtractedColors()
|
/frameworks/base/core/java/com/android/internal/colorextraction/types/ |
D | ExtractionType.java | 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; 86 @NonNull GradientColors outColorsNormal, @NonNull GradientColors outColorsDark, in extractInto() 87 @NonNull GradientColors outColorsExtraDark) { in extractInto() 105 @NonNull GradientColors outColorsNormal, @NonNull GradientColors outColorsDark, in runTonalExtraction() 106 @NonNull GradientColors outColorsExtraDark) { in runTonalExtraction() 236 GradientColors outColorsNormal, GradientColors outColorsDark, in applyFallback() 237 GradientColors outColorsExtraDark) { in applyFallback() 250 @NonNull GradientColors outGradientColors) { in applyFallback()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | ScrimView.java | 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/packages/SystemUI/tests/src/com/android/systemui/colorextraction/ |
D | SysuiColorExtractorTests.java | 63 private ColorExtractor.GradientColors mColors; 69 mColors = new ColorExtractor.GradientColors(); in setUp() 100 ColorExtractor.GradientColors fallbackColors = mColorExtractor.getNeutralColors(); in getColors_fallbackWhenMediaIsVisible()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsImpl.java | 31 import com.android.internal.colorextraction.ColorExtractor.GradientColors; 130 GradientColors colors = Dependency.get(SysuiColorExtractor.class).getNeutralColors(); in showShutdownUi()
|
D | GlobalActionsDialog.java | 77 import com.android.internal.colorextraction.ColorExtractor.GradientColors; 1667 GradientColors colors = mColorExtractor.getNeutralColors(); 1677 private void updateColors(GradientColors colors, boolean animate) {
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | ScrimViewTest.java | 74 ColorExtractor.GradientColors colors = mView.getColors(); in testCreation_initialColor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | LightBarController.java | 27 import com.android.internal.colorextraction.ColorExtractor.GradientColors; 180 GradientColors scrimInFrontColor) { in setScrimState()
|
D | ScrimController.java | 38 import com.android.internal.colorextraction.ColorExtractor.GradientColors; 135 private GradientColors mColors; 161 private final TriConsumer<ScrimState, Float, GradientColors> mScrimStateListener; 178 TriConsumer<ScrimState, Float, GradientColors> scrimStateListener, in ScrimController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SystemUIFactory.java | 30 import com.android.internal.colorextraction.ColorExtractor.GradientColors; 139 TriConsumer<ScrimState, Float, GradientColors> scrimStateListener, in createScrimController()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/ |
D | DefaultClockController.java | 126 ColorExtractor.GradientColors colors = mColorExtractor.getColors( in getPreview()
|
D | BubbleClockController.java | 132 ColorExtractor.GradientColors colors = mColorExtractor.getColors( in getPreview()
|
D | AnalogClockController.java | 132 ColorExtractor.GradientColors colors = mColorExtractor.getColors( in getPreview()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | ScrimControllerTest.java | 46 import com.android.internal.colorextraction.ColorExtractor.GradientColors; 73 private GradientColors mScrimInFrontColor; 681 TriConsumer<ScrimState, Float, GradientColors> scrimStateListener, in SynchronousScrimController()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/ |
D | RecentsActivity.java | 373 ColorExtractor.GradientColors systemColors = mColorExtractor.getNeutralColors(); in onStart() 397 ColorExtractor.GradientColors colors = mColorExtractor.getNeutralColors(); in onColorsChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardClockSwitch.java | 381 ColorExtractor.GradientColors colors = mSysuiColorExtractor.getColors( in updateColors()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | RecentsView.java | 396 public void setScrimColors(ColorExtractor.GradientColors scrimColors, boolean animated) {
|