Home
last modified time | relevance | path

Searched refs:GradientColors (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/types/
DTonalTest.java28 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
45 GradientColors normal = new GradientColors(); in extractInto_usesFallback()
47 tonal.extractInto(null, normal, new GradientColors(), in extractInto_usesFallback()
48 new GradientColors()); in extractInto_usesFallback()
55 GradientColors normal = new GradientColors(); in extractInto_usesFallbackWhenTooLightOrDark()
58 normal, new GradientColors(), new GradientColors()); in extractInto_usesFallbackWhenTooLightOrDark()
64 normal, new GradientColors(), new GradientColors()); in extractInto_usesFallbackWhenTooLightOrDark()
128 final GradientColors normal = new GradientColors(); in tonal_blacklistTest()
129 tonal.extractInto(colorsFromBitmap, normal, new GradientColors(), in tonal_blacklistTest()
130 new GradientColors()); in tonal_blacklistTest()
[all …]
/frameworks/base/core/java/com/android/internal/colorextraction/
DColorExtractor.java50 protected final SparseArray<GradientColors[]> mGradientColors;
68 GradientColors[] colors = new GradientColors[sGradientTypes.length]; in ColorExtractor()
71 colors[type] = new GradientColors(); in ColorExtractor()
76 GradientColors[] systemColors = mGradientColors.get(WallpaperManager.FLAG_SYSTEM); in ColorExtractor()
77 GradientColors[] lockColors = mGradientColors.get(WallpaperManager.FLAG_LOCK); in ColorExtractor()
110 public GradientColors getColors(int which) { in getColors()
122 public GradientColors getColors(int which, int type) { in getColors()
158 GradientColors[] lockColors = mGradientColors.get(WallpaperManager.FLAG_LOCK); in onColorsChanged()
165 GradientColors[] systemColors = mGradientColors.get(WallpaperManager.FLAG_SYSTEM); in onColorsChanged()
192 GradientColors outGradientColorsNormal, GradientColors outGradientColorsDark, in extractInto()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/colorextraction/
DSysuiColorExtractorTests.java51 ColorExtractor.GradientColors colors = new ColorExtractor.GradientColors(); in getColors_usesGreyIfWallpaperNotVisible()
59 ColorExtractor.GradientColors fallbackColors = extractor.getFallbackColors(); in getColors_usesGreyIfWallpaperNotVisible()
71 ColorExtractor.GradientColors colors = new ColorExtractor.GradientColors(); in getColors_doesntUseFallbackIfVisible()
89 ColorExtractor.GradientColors colors = new ColorExtractor.GradientColors(); in getColors_fallbackWhenMediaIsVisible()
98 ColorExtractor.GradientColors fallbackColors = extractor.getFallbackColors(); in getColors_fallbackWhenMediaIsVisible()
108 private SysuiColorExtractor getTestableExtractor(ColorExtractor.GradientColors colors) { in getTestableExtractor()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DTonalCompat.java21 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/
DSysuiColorExtractor.java51 private final GradientColors mWpHiddenColors;
60 mWpHiddenColors = new GradientColors(); in SysuiColorExtractor()
111 GradientColors getFallbackColors() { in getFallbackColors()
122 public GradientColors getColors(int which) { in getColors()
134 public GradientColors getColors(int which, int type) { in getColors()
146 public GradientColors getColors(int which, boolean ignoreWallpaperVisibility) { in getColors()
158 public GradientColors getColors(int which, int type, boolean ignoreWallpaperVisibility) { in getColors()
199 GradientColors[] system = mGradientColors.get(WallpaperManager.FLAG_SYSTEM); in dump()
200 GradientColors[] lock = mGradientColors.get(WallpaperManager.FLAG_LOCK); in dump()
/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/
DColorExtractorTest.java34 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
67 GradientColors colorsExpectedNormal = new GradientColors(); in getColors_usesExtractedColors()
71 GradientColors colorsExpectedDark = new GradientColors(); in getColors_usesExtractedColors()
75 GradientColors colorsExpectedExtraDark = new GradientColors(); in getColors_usesExtractedColors()
88 GradientColors colors = extractor.getColors(WallpaperManager.FLAG_SYSTEM, in getColors_usesExtractedColors()
/frameworks/base/core/java/com/android/internal/colorextraction/types/
DExtractionType.java43 ColorExtractor.GradientColors outGradientColorsNormal, in extractInto()
44 ColorExtractor.GradientColors outGradientColorsDark, in extractInto()
45 ColorExtractor.GradientColors outGradientColorsExtraDark); in extractInto()
DTonal.java30 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()
254 GradientColors outColorsNormal, GradientColors outColorsDark, in applyFallback()
255 GradientColors outColorsExtraDark) { in applyFallback()
268 @NonNull GradientColors outGradientColors) { in applyFallback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DScrimView.java53 private final ColorExtractor.GradientColors mColors;
96 mColors = new ColorExtractor.GradientColors(); in ScrimView()
228 public void setColors(@NonNull ColorExtractor.GradientColors colors) { in setColors()
232 public void setColors(@NonNull ColorExtractor.GradientColors colors, boolean animated) { in setColors()
248 public ColorExtractor.GradientColors getColors() { in getColors()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimController.java41 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
121 private GradientColors mLockColors;
122 private GradientColors mSystemColors;
148 private final TriConsumer<ScrimState, Float, GradientColors> mScrimStateListener;
166 TriConsumer<ScrimState, Float, GradientColors> scrimStateListener, in ScrimController()
485 final GradientColors currentScrimColors; in updateScrims()
DLightBarController.java25 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
159 GradientColors scrimInFrontColor) { in setScrimState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsImpl.java33 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
121 GradientColors colors = Dependency.get(SysuiColorExtractor.class).getColors( in showShutdownUi()
DGlobalActionsDialog.java81 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
1432 GradientColors colors = mColorExtractor.getColors(mKeyguardShowing ?
1442 private void updateColors(GradientColors colors, boolean animate) {
/frameworks/base/core/java/com/android/internal/colorextraction/drawable/
DGradientDrawable.java72 public void setColors(@NonNull ColorExtractor.GradientColors colors) { in setColors()
76 public void setColors(@NonNull ColorExtractor.GradientColors colors, boolean animated) { in setColors()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUIFactory.java28 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
109 TriConsumer<ScrimState, Float, GradientColors> scrimStateListener, in createScrimController()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DScrimViewTest.java80 ColorExtractor.GradientColors colors = mView.getColors(); in testCreation_initialColor()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DScrimControllerTest.java45 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
72 private GradientColors mScrimInFrontColor;
649 TriConsumer<ScrimState, Float, GradientColors> scrimStateListener, in SynchronousScrimController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecentsActivity.java374 ColorExtractor.GradientColors systemColors = mColorExtractor.getColors( in onStart()
401 ColorExtractor.GradientColors colors = mColorExtractor.getColors( in onColorsChanged()
/frameworks/base/config/
Dboot-image-profile.txt38397 HSPLcom/android/internal/colorextraction/ColorExtractor$GradientColors;-><init>()V
38398 HSPLcom/android/internal/colorextraction/ColorExtractor$GradientColors;->getMainColor()I
38399 HSPLcom/android/internal/colorextraction/ColorExtractor$GradientColors;->getSecondaryColor()I
38400 HSPLcom/android/internal/colorextraction/ColorExtractor$GradientColors;->setMainColor(I)V
38401 HSPLcom/android/internal/colorextraction/ColorExtractor$GradientColors;->setSecondaryColor(I)V
38402 HSPLcom/android/internal/colorextraction/ColorExtractor$GradientColors;->setSupportsDarkText(Z)V
38403 HSPLcom/android/internal/colorextraction/ColorExtractor$GradientColors;->supportsDarkText()Z
38404 HSPLcom/android/internal/colorextraction/ColorExtractor$GradientColors;->toString()Ljava/lang/Strin…
38405 …$GradientColors;Lcom/android/internal/colorextraction/ColorExtractor$GradientColors;Lcom/android/i…
38416 …$GradientColors;Lcom/android/internal/colorextraction/ColorExtractor$GradientColors;Lcom/android/i…
[all …]