/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/types/ |
D | TonalTest.java | 28 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/ |
D | ColorExtractor.java | 50 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/ |
D | SysuiColorExtractorTests.java | 51 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/ |
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 | 51 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/ |
D | ColorExtractorTest.java | 34 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/ |
D | ExtractionType.java | 43 ColorExtractor.GradientColors outGradientColorsNormal, in extractInto() 44 ColorExtractor.GradientColors outGradientColorsDark, in extractInto() 45 ColorExtractor.GradientColors outGradientColorsExtraDark); in extractInto()
|
D | Tonal.java | 30 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/ |
D | ScrimView.java | 53 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/ |
D | ScrimController.java | 41 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()
|
D | LightBarController.java | 25 import com.android.internal.colorextraction.ColorExtractor.GradientColors; 159 GradientColors scrimInFrontColor) { in setScrimState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsImpl.java | 33 import com.android.internal.colorextraction.ColorExtractor.GradientColors; 121 GradientColors colors = Dependency.get(SysuiColorExtractor.class).getColors( in showShutdownUi()
|
D | GlobalActionsDialog.java | 81 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/ |
D | GradientDrawable.java | 72 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/ |
D | SystemUIFactory.java | 28 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/ |
D | ScrimViewTest.java | 80 ColorExtractor.GradientColors colors = mView.getColors(); in testCreation_initialColor()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | ScrimControllerTest.java | 45 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/ |
D | RecentsActivity.java | 374 ColorExtractor.GradientColors systemColors = mColorExtractor.getColors( in onStart() 401 ColorExtractor.GradientColors colors = mColorExtractor.getColors( in onColorsChanged()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 38397 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 …]
|