Home
last modified time | relevance | path

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

/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/types/
DTonalTest.java31 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/
DColorExtractor.java48 protected final SparseArray<GradientColors[]> mGradientColors;
68 GradientColors[] colors = new GradientColors[sGradientTypes.length]; in ColorExtractor()
71 colors[type] = new GradientColors(); in ColorExtractor()
112 GradientColors[] systemColors = mGradientColors.get(WallpaperManager.FLAG_SYSTEM); in extractWallpaperColors()
113 GradientColors[] lockColors = mGradientColors.get(WallpaperManager.FLAG_LOCK); in extractWallpaperColors()
131 public GradientColors getColors(int which) { in getColors()
143 public GradientColors getColors(int which, int type) { in getColors()
179 GradientColors[] lockColors = mGradientColors.get(WallpaperManager.FLAG_LOCK); in onColorsChanged()
186 GradientColors[] systemColors = mGradientColors.get(WallpaperManager.FLAG_SYSTEM); in onColorsChanged()
213 GradientColors outGradientColorsNormal, GradientColors outGradientColorsDark, in extractInto()
[all …]
/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/
DColorExtractorTest.java35 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
70 GradientColors colorsExpectedNormal = new GradientColors(); in getColors_usesExtractedColors()
74 GradientColors colorsExpectedDark = new GradientColors(); in getColors_usesExtractedColors()
78 GradientColors colorsExpectedExtraDark = new GradientColors(); in getColors_usesExtractedColors()
91 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.java31 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/colorextraction/
DSysuiColorExtractor.java49 private final GradientColors mNeutralColorsLock;
79 mNeutralColorsLock = new GradientColors(); in SysuiColorExtractor()
128 public GradientColors getNeutralColors() { in getNeutralColors()
140 GradientColors[] system = mGradientColors.get(WallpaperManager.FLAG_SYSTEM); in dump()
141 GradientColors[] lock = mGradientColors.get(WallpaperManager.FLAG_LOCK); in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scrim/
DScrimView.java57 private final ColorExtractor.GradientColors mColors;
59 private final ColorExtractor.GradientColors mTmpColors = new ColorExtractor.GradientColors();
90 mColors = new ColorExtractor.GradientColors(); in ScrimView()
160 public void setColors(@NonNull ColorExtractor.GradientColors colors) { in setColors()
169 public void setColors(@NonNull ColorExtractor.GradientColors colors, boolean animated) { in setColors()
201 public ColorExtractor.GradientColors getColors() { in getColors()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DLightBarControllerTest.java44 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
74 private static final GradientColors COLORS_LIGHT = makeColors(Color.WHITE);
75 private static final GradientColors COLORS_DARK = makeColors(Color.BLACK);
107 private static GradientColors makeColors(@ColorInt int bgColor) { in makeColors()
108 GradientColors colors = new GradientColors(); in makeColors()
DScrimControllerTest.java60 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
132 private GradientColors mScrimInFrontColor;
267 any(ScrimState.class), anyFloat(), any(GradientColors.class)); in setup()
DCentralSurfacesImplTest.java285 @Mock private ColorExtractor.GradientColors mGradientColors;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/colorextraction/
DSysuiColorExtractorTests.java68 private ColorExtractor.GradientColors mColors;
74 mColors = new ColorExtractor.GradientColors(); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/scrim/
DScrimViewTest.java74 ColorExtractor.GradientColors colors = mView.getColors(); in testCreation_initialColor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLightBarController.java35 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
317 GradientColors scrimInFrontColor) { in setScrimState()
DScrimController.java48 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
227 private GradientColors mColors;
263 private final TriConsumer<ScrimState, Float, GradientColors> mScrimStateListener;
390 mColors = new GradientColors(); in ScrimController()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
DGlobalActionsDialogLiteTest.java204 ColorExtractor.GradientColors backdropColors = new ColorExtractor.GradientColors(); in setUp()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/
DNotificationShadeWindowControllerImplTest.java101 @Mock private ColorExtractor.GradientColors mGradientColors;
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialogLite.java105 import com.android.internal.colorextraction.ColorExtractor.GradientColors;
2580 GradientColors colors = mColorExtractor.getNeutralColors();
2591 private void updateColors(GradientColors colors, boolean animate) {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/
DBubblesTest.java296 ColorExtractor.GradientColors mGradientColors;
/frameworks/base/boot/
Dpreloaded-classes11074 com.android.internal.colorextraction.ColorExtractor$GradientColors
Dboot-image-profile.txt21256 HSPLcom/android/internal/colorextraction/ColorExtractor$GradientColors;->getMainColor()I
21257 HSPLcom/android/internal/colorextraction/ColorExtractor$GradientColors;->supportsDarkText()Z
33500 Lcom/android/internal/colorextraction/ColorExtractor$GradientColors;
/frameworks/base/config/
Dpreloaded-classes11105 com.android.internal.colorextraction.ColorExtractor$GradientColors
Dboot-image-profile.txt21320 HSPLcom/android/internal/colorextraction/ColorExtractor$GradientColors;->getMainColor()I
21321 HSPLcom/android/internal/colorextraction/ColorExtractor$GradientColors;->supportsDarkText()Z
43661 Lcom/android/internal/colorextraction/ColorExtractor$GradientColors;