Home
last modified time | relevance | path

Searched refs:Tonal (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/types/
DTonalTest.java48 Tonal tonal = new Tonal(InstrumentationRegistry.getContext()); in extractInto_usesFallback()
52 normal.getMainColor() == Tonal.MAIN_COLOR_LIGHT); in extractInto_usesFallback()
58 Tonal tonal = new Tonal(InstrumentationRegistry.getContext()); in extractInto_usesFallbackWhenTooLightOrDark()
62 normal.getMainColor() == Tonal.MAIN_COLOR_DARK); in extractInto_usesFallbackWhenTooLightOrDark()
68 normal.getMainColor() == Tonal.MAIN_COLOR_LIGHT); in extractInto_usesFallbackWhenTooLightOrDark()
73 Tonal tonal = new Tonal(InstrumentationRegistry.getContext()); in extractInto_fromBitmap()
88 Tonal tonal = new Tonal(InstrumentationRegistry.getContext()); in extractInto_supportsDarkText()
103 Tonal.ColorRange colorRange = new Tonal.ColorRange(new Range<>(0f, 50f), in colorRange_containsColor()
112 Tonal.ColorRange colorRange = new Tonal.ColorRange(new Range<>(0f, 50f), in colorRange_doesntContainColor()
127 Tonal.ConfigParser config = new Tonal.ConfigParser(InstrumentationRegistry.getContext()); in configParser_dataSanity()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/colorextraction/
DSysuiColorExtractor.java28 import com.android.internal.colorextraction.types.Tonal;
47 private final Tonal mTonal;
54 this(context, new Tonal(context), configurationController, in SysuiColorExtractor()
63 mTonal = type instanceof Tonal ? (Tonal) type : new Tonal(context); in SysuiColorExtractor()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DTonalCompat.java22 import com.android.internal.colorextraction.types.Tonal;
26 private final Tonal mTonal;
29 mTonal = new Tonal(context); in TonalCompat()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/colorextraction/
DSysuiColorExtractorTests.java36 import com.android.internal.colorextraction.types.Tonal;
112 Tonal tonal = mock(Tonal.class); in onUiModeChanged_reloadsColors()
/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/
DColorExtractorTest.java37 import com.android.internal.colorextraction.types.Tonal;
61 ExtractionType type = mock(Tonal.class); in ColorExtractor_extractWhenInitialized()
104 ColorExtractor extractor = new ColorExtractor(mContext, new Tonal(mContext), true, in addOnColorsChangedListener_invokesListener()
/frameworks/base/core/java/com/android/internal/colorextraction/
DColorExtractor.java30 import com.android.internal.colorextraction.types.Tonal;
56 this(context, new Tonal(context), true /* immediately */, in ColorExtractor()
/frameworks/base/core/java/com/android/internal/colorextraction/types/
DTonal.java45 public class Tonal implements ExtractionType { class
66 public Tonal(Context context) { in Tonal() method in Tonal
/frameworks/base/boot/
Dpreloaded-classes8864 com.android.internal.colorextraction.types.Tonal$ConfigParser
8865 com.android.internal.colorextraction.types.Tonal$TonalPalette
8866 com.android.internal.colorextraction.types.Tonal
Dboot-image-profile.txt33035 Lcom/android/internal/colorextraction/types/Tonal$ConfigParser;
33036 Lcom/android/internal/colorextraction/types/Tonal$TonalPalette;
33037 Lcom/android/internal/colorextraction/types/Tonal;
/frameworks/base/config/
Dpreloaded-classes8885 com.android.internal.colorextraction.types.Tonal$ConfigParser
8886 com.android.internal.colorextraction.types.Tonal$TonalPalette
8887 com.android.internal.colorextraction.types.Tonal
Dboot-image-profile.txt42699 Lcom/android/internal/colorextraction/types/Tonal$ConfigParser;
42700 Lcom/android/internal/colorextraction/types/Tonal$TonalPalette;
42701 Lcom/android/internal/colorextraction/types/Tonal;