Searched refs:Tonal (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/types/ |
D | TonalTest.java | 48 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/ |
D | SysuiColorExtractor.java | 28 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/ |
D | TonalCompat.java | 22 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/ |
D | SysuiColorExtractorTests.java | 36 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/ |
D | ColorExtractorTest.java | 37 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/ |
D | ColorExtractor.java | 30 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/ |
D | Tonal.java | 45 public class Tonal implements ExtractionType { class 66 public Tonal(Context context) { in Tonal() method in Tonal
|
/frameworks/base/boot/ |
D | preloaded-classes | 8864 com.android.internal.colorextraction.types.Tonal$ConfigParser 8865 com.android.internal.colorextraction.types.Tonal$TonalPalette 8866 com.android.internal.colorextraction.types.Tonal
|
D | boot-image-profile.txt | 33035 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/ |
D | preloaded-classes | 8885 com.android.internal.colorextraction.types.Tonal$ConfigParser 8886 com.android.internal.colorextraction.types.Tonal$TonalPalette 8887 com.android.internal.colorextraction.types.Tonal
|
D | boot-image-profile.txt | 42699 Lcom/android/internal/colorextraction/types/Tonal$ConfigParser; 42700 Lcom/android/internal/colorextraction/types/Tonal$TonalPalette; 42701 Lcom/android/internal/colorextraction/types/Tonal;
|