Loading aconfig/systemui.aconfig +15 −0 Original line number Diff line number Diff line Loading @@ -151,6 +151,21 @@ flag { bug: "397182595" } flag { name: "smartspace_ui_update" namespace: "systemui" description: "Update Smartspace UI" bug: "389741821" } flag { name: "smartspace_ui_update_resources" namespace: "systemui" description: "Read-only flag for updating resources for Smartspace UI" bug: "389741821" is_fixed_read_only: true } flag { name: "smartspace_remoteviews_intent_handler" namespace: "systemui" Loading monet/src/com/android/systemui/monet/CustomDynamicColors.java +17 −17 Original line number Diff line number Diff line Loading @@ -79,7 +79,7 @@ public class CustomDynamicColors { /* isBackground= */ false, /* background= */ (s) -> widgetBackground(), /* secondBackground= */ null, /* contrastCurve= */ new ContrastCurve(1.0, 4.0, 5.0, 15.0), /* contrastCurve= */ new ContrastCurve(4.0, 4.0, 5.0, 15.0), /* toneDeltaPair= */ (s) -> new ToneDeltaPair(clockHour(), clockMinute(), 10.0, TonePolarity.DARKER, false)); Loading @@ -93,7 +93,7 @@ public class CustomDynamicColors { /* isBackground= */ false, /* background= */ (s) -> widgetBackground(), /* secondBackground= */ null, /* contrastCurve= */ new ContrastCurve(1.0, 6.5, 10.0, 15.0), /* contrastCurve= */ new ContrastCurve(6.5, 6.5, 10.0, 15.0), /* toneDeltaPair= */ null); } Loading @@ -105,7 +105,7 @@ public class CustomDynamicColors { /* isBackground= */ false, /* background= */ (s) -> widgetBackground(), /* secondBackground= */ null, /* contrastCurve= */ new ContrastCurve(1.0, 5.0, 70.0, 11.0), /* contrastCurve= */ new ContrastCurve(5.0, 5.0, 70.0, 11.0), /* toneDeltaPair= */ null); } Loading @@ -117,7 +117,7 @@ public class CustomDynamicColors { /* isBackground= */ false, /* background= */ (s) -> widgetBackground(), /* secondBackground= */ null, /* contrastCurve= */ new ContrastCurve(1.0, 5.0, 70.0, 11.0), /* contrastCurve= */ new ContrastCurve(5.0, 5.0, 70.0, 11.0), /* toneDeltaPair= */ null); } Loading @@ -143,7 +143,7 @@ public class CustomDynamicColors { /* isBackground= */ false, /* background= */ (s) -> themeApp(), /* secondBackground= */ null, /* contrastCurve= */ new ContrastCurve(1.0, 3.0, 7.0, 10.0), /* contrastCurve= */ new ContrastCurve(3.0, 3.0, 7.0, 10.0), /* toneDeltaPair= */ null); } Loading Loading @@ -183,7 +183,7 @@ public class CustomDynamicColors { /* isBackground= */ true, /* background= */ (s) -> mMdc.surfaceContainerLow(), /* secondBackground= */ null, /* contrastCurve= */ new ContrastCurve(1.0, 3.0, 7.0, 17.0), /* contrastCurve= */ new ContrastCurve(3.0, 3.0, 7.0, 17.0), /* toneDeltaPair= */ (s) -> new ToneDeltaPair(brandA(), brandB(), 10.0, TonePolarity.NEARER, false)); } Loading @@ -196,7 +196,7 @@ public class CustomDynamicColors { /* isBackground= */ true, /* background= */ (s) -> mMdc.surfaceContainerLow(), /* secondBackground= */ null, /* contrastCurve= */ new ContrastCurve(1.0, 3.0, 3.0, 6.0), /* contrastCurve= */ new ContrastCurve(3.0, 3.0, 3.0, 6.0), /* toneDeltaPair= */ (s) -> new ToneDeltaPair(brandB(), brandC(), 10.0, TonePolarity.NEARER, false)); } Loading @@ -209,7 +209,7 @@ public class CustomDynamicColors { /* isBackground= */ false, /* background= */ (s) -> mMdc.surfaceContainerLow(), /* secondBackground= */ null, /* contrastCurve= */ new ContrastCurve(1.0, 3.0, 4.0, 9.0), /* contrastCurve= */ new ContrastCurve(3.0, 3.0, 4.0, 9.0), /* toneDeltaPair= */ (s) -> new ToneDeltaPair(brandC(), brandD(), 10.0, TonePolarity.NEARER, false)); } Loading @@ -222,7 +222,7 @@ public class CustomDynamicColors { /* isBackground= */ false, /* background= */ (s) -> mMdc.surfaceContainerLow(), /* secondBackground= */ null, /* contrastCurve= */ new ContrastCurve(1.0, 3.0, 4.0, 13.0), /* contrastCurve= */ new ContrastCurve(3.0, 3.0, 4.0, 13.0), /* toneDeltaPair= */ (s) -> new ToneDeltaPair(brandD(), brandA(), 10.0, TonePolarity.NEARER, false)); } Loading @@ -246,10 +246,10 @@ public class CustomDynamicColors { /* name= */ "shade_active", /* palette= */ (s) -> s.primaryPalette, /* tone= */ (s) -> 90.0, /* isBackground= */ false, /* isBackground= */ true, /* background= */ (s) -> underSurface(), /* secondBackground= */ null, /* contrastCurve= */ new ContrastCurve(1.0, 3.0, 4.5, 7.0), /* contrastCurve= */ new ContrastCurve(3.0, 3.0, 4.5, 7.0), /* toneDeltaPair= */ (s) -> new ToneDeltaPair(shadeActive(), shadeInactive(), 30.0, TonePolarity.LIGHTER, false)); Loading @@ -263,7 +263,7 @@ public class CustomDynamicColors { /* isBackground= */ false, /* background= */ (s) -> shadeActive(), /* secondBackground= */ null, /* contrastCurve= */ new ContrastCurve(1.0, 4.5, 7.0, 11.0), /* contrastCurve= */ new ContrastCurve(4.5, 4.5, 7.0, 11.0), /* toneDeltaPair= */ (s) -> new ToneDeltaPair(onShadeActive(), onShadeActiveVariant(), 20.0, TonePolarity.NEARER, false)); Loading @@ -277,7 +277,7 @@ public class CustomDynamicColors { /* isBackground= */ false, /* background= */ (s) -> shadeActive(), /* secondBackground= */ null, /* contrastCurve= */ new ContrastCurve(1.0, 4.5, 7.0, 11.0), /* contrastCurve= */ new ContrastCurve(4.5, 4.5, 7.0, 11.0), /* toneDeltaPair= */ (s) -> new ToneDeltaPair(onShadeActiveVariant(), onShadeActive(), 20.0, TonePolarity.NEARER, false)); Loading @@ -301,10 +301,10 @@ public class CustomDynamicColors { /* name= */ "on_shade_inactive", /* palette= */ (s) -> s.neutralVariantPalette, /* tone= */ (s) -> 90.0, /* isBackground= */ true, /* isBackground= */ false, /* background= */ (s) -> shadeInactive(), /* secondBackground= */ null, /* contrastCurve= */ new ContrastCurve(1.0, 4.5, 7.0, 11.0), /* contrastCurve= */ new ContrastCurve(4.5, 4.5, 7.0, 11.0), /* toneDeltaPair= */ (s) -> new ToneDeltaPair(onShadeInactive(), onShadeInactiveVariant(), 10.0, TonePolarity.NEARER, false)); Loading @@ -318,9 +318,9 @@ public class CustomDynamicColors { /* isBackground= */ false, /* background= */ (s) -> shadeInactive(), /* secondBackground= */ null, /* contrastCurve= */ new ContrastCurve(1.0, 4.5, 7.0, 11.0), /* contrastCurve= */ new ContrastCurve(4.5, 4.5, 7.0, 11.0), /* toneDeltaPair= */ (s) -> new ToneDeltaPair(onShadeInactiveVariant(), onShadeInactive(), 10.0, (s) -> new ToneDeltaPair(onShadeInactive(), onShadeInactiveVariant(), 10.0, TonePolarity.NEARER, false)); } Loading Loading
aconfig/systemui.aconfig +15 −0 Original line number Diff line number Diff line Loading @@ -151,6 +151,21 @@ flag { bug: "397182595" } flag { name: "smartspace_ui_update" namespace: "systemui" description: "Update Smartspace UI" bug: "389741821" } flag { name: "smartspace_ui_update_resources" namespace: "systemui" description: "Read-only flag for updating resources for Smartspace UI" bug: "389741821" is_fixed_read_only: true } flag { name: "smartspace_remoteviews_intent_handler" namespace: "systemui" Loading
monet/src/com/android/systemui/monet/CustomDynamicColors.java +17 −17 Original line number Diff line number Diff line Loading @@ -79,7 +79,7 @@ public class CustomDynamicColors { /* isBackground= */ false, /* background= */ (s) -> widgetBackground(), /* secondBackground= */ null, /* contrastCurve= */ new ContrastCurve(1.0, 4.0, 5.0, 15.0), /* contrastCurve= */ new ContrastCurve(4.0, 4.0, 5.0, 15.0), /* toneDeltaPair= */ (s) -> new ToneDeltaPair(clockHour(), clockMinute(), 10.0, TonePolarity.DARKER, false)); Loading @@ -93,7 +93,7 @@ public class CustomDynamicColors { /* isBackground= */ false, /* background= */ (s) -> widgetBackground(), /* secondBackground= */ null, /* contrastCurve= */ new ContrastCurve(1.0, 6.5, 10.0, 15.0), /* contrastCurve= */ new ContrastCurve(6.5, 6.5, 10.0, 15.0), /* toneDeltaPair= */ null); } Loading @@ -105,7 +105,7 @@ public class CustomDynamicColors { /* isBackground= */ false, /* background= */ (s) -> widgetBackground(), /* secondBackground= */ null, /* contrastCurve= */ new ContrastCurve(1.0, 5.0, 70.0, 11.0), /* contrastCurve= */ new ContrastCurve(5.0, 5.0, 70.0, 11.0), /* toneDeltaPair= */ null); } Loading @@ -117,7 +117,7 @@ public class CustomDynamicColors { /* isBackground= */ false, /* background= */ (s) -> widgetBackground(), /* secondBackground= */ null, /* contrastCurve= */ new ContrastCurve(1.0, 5.0, 70.0, 11.0), /* contrastCurve= */ new ContrastCurve(5.0, 5.0, 70.0, 11.0), /* toneDeltaPair= */ null); } Loading @@ -143,7 +143,7 @@ public class CustomDynamicColors { /* isBackground= */ false, /* background= */ (s) -> themeApp(), /* secondBackground= */ null, /* contrastCurve= */ new ContrastCurve(1.0, 3.0, 7.0, 10.0), /* contrastCurve= */ new ContrastCurve(3.0, 3.0, 7.0, 10.0), /* toneDeltaPair= */ null); } Loading Loading @@ -183,7 +183,7 @@ public class CustomDynamicColors { /* isBackground= */ true, /* background= */ (s) -> mMdc.surfaceContainerLow(), /* secondBackground= */ null, /* contrastCurve= */ new ContrastCurve(1.0, 3.0, 7.0, 17.0), /* contrastCurve= */ new ContrastCurve(3.0, 3.0, 7.0, 17.0), /* toneDeltaPair= */ (s) -> new ToneDeltaPair(brandA(), brandB(), 10.0, TonePolarity.NEARER, false)); } Loading @@ -196,7 +196,7 @@ public class CustomDynamicColors { /* isBackground= */ true, /* background= */ (s) -> mMdc.surfaceContainerLow(), /* secondBackground= */ null, /* contrastCurve= */ new ContrastCurve(1.0, 3.0, 3.0, 6.0), /* contrastCurve= */ new ContrastCurve(3.0, 3.0, 3.0, 6.0), /* toneDeltaPair= */ (s) -> new ToneDeltaPair(brandB(), brandC(), 10.0, TonePolarity.NEARER, false)); } Loading @@ -209,7 +209,7 @@ public class CustomDynamicColors { /* isBackground= */ false, /* background= */ (s) -> mMdc.surfaceContainerLow(), /* secondBackground= */ null, /* contrastCurve= */ new ContrastCurve(1.0, 3.0, 4.0, 9.0), /* contrastCurve= */ new ContrastCurve(3.0, 3.0, 4.0, 9.0), /* toneDeltaPair= */ (s) -> new ToneDeltaPair(brandC(), brandD(), 10.0, TonePolarity.NEARER, false)); } Loading @@ -222,7 +222,7 @@ public class CustomDynamicColors { /* isBackground= */ false, /* background= */ (s) -> mMdc.surfaceContainerLow(), /* secondBackground= */ null, /* contrastCurve= */ new ContrastCurve(1.0, 3.0, 4.0, 13.0), /* contrastCurve= */ new ContrastCurve(3.0, 3.0, 4.0, 13.0), /* toneDeltaPair= */ (s) -> new ToneDeltaPair(brandD(), brandA(), 10.0, TonePolarity.NEARER, false)); } Loading @@ -246,10 +246,10 @@ public class CustomDynamicColors { /* name= */ "shade_active", /* palette= */ (s) -> s.primaryPalette, /* tone= */ (s) -> 90.0, /* isBackground= */ false, /* isBackground= */ true, /* background= */ (s) -> underSurface(), /* secondBackground= */ null, /* contrastCurve= */ new ContrastCurve(1.0, 3.0, 4.5, 7.0), /* contrastCurve= */ new ContrastCurve(3.0, 3.0, 4.5, 7.0), /* toneDeltaPair= */ (s) -> new ToneDeltaPair(shadeActive(), shadeInactive(), 30.0, TonePolarity.LIGHTER, false)); Loading @@ -263,7 +263,7 @@ public class CustomDynamicColors { /* isBackground= */ false, /* background= */ (s) -> shadeActive(), /* secondBackground= */ null, /* contrastCurve= */ new ContrastCurve(1.0, 4.5, 7.0, 11.0), /* contrastCurve= */ new ContrastCurve(4.5, 4.5, 7.0, 11.0), /* toneDeltaPair= */ (s) -> new ToneDeltaPair(onShadeActive(), onShadeActiveVariant(), 20.0, TonePolarity.NEARER, false)); Loading @@ -277,7 +277,7 @@ public class CustomDynamicColors { /* isBackground= */ false, /* background= */ (s) -> shadeActive(), /* secondBackground= */ null, /* contrastCurve= */ new ContrastCurve(1.0, 4.5, 7.0, 11.0), /* contrastCurve= */ new ContrastCurve(4.5, 4.5, 7.0, 11.0), /* toneDeltaPair= */ (s) -> new ToneDeltaPair(onShadeActiveVariant(), onShadeActive(), 20.0, TonePolarity.NEARER, false)); Loading @@ -301,10 +301,10 @@ public class CustomDynamicColors { /* name= */ "on_shade_inactive", /* palette= */ (s) -> s.neutralVariantPalette, /* tone= */ (s) -> 90.0, /* isBackground= */ true, /* isBackground= */ false, /* background= */ (s) -> shadeInactive(), /* secondBackground= */ null, /* contrastCurve= */ new ContrastCurve(1.0, 4.5, 7.0, 11.0), /* contrastCurve= */ new ContrastCurve(4.5, 4.5, 7.0, 11.0), /* toneDeltaPair= */ (s) -> new ToneDeltaPair(onShadeInactive(), onShadeInactiveVariant(), 10.0, TonePolarity.NEARER, false)); Loading @@ -318,9 +318,9 @@ public class CustomDynamicColors { /* isBackground= */ false, /* background= */ (s) -> shadeInactive(), /* secondBackground= */ null, /* contrastCurve= */ new ContrastCurve(1.0, 4.5, 7.0, 11.0), /* contrastCurve= */ new ContrastCurve(4.5, 4.5, 7.0, 11.0), /* toneDeltaPair= */ (s) -> new ToneDeltaPair(onShadeInactiveVariant(), onShadeInactive(), 10.0, (s) -> new ToneDeltaPair(onShadeInactive(), onShadeInactiveVariant(), 10.0, TonePolarity.NEARER, false)); } Loading