Fixed
Status Update
Comments
ma...@google.com <ma...@google.com>
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 6632bba3bd1cbfdaaab3b7d991e642dbb043b523
Author: Louis Pullen-Freilich <lpf@google.com>
Date: Tue Jul 28 17:09:14 2020
Renames ColorPalette to Colors, and associated [light/dark]ColorPalette functions
This increases consistency with Typography and Shapes, and removes confusion over ColorPalette being a generic 'palette' of colors, when in reality it is a specific implementation of the Material color system.
Bug: b/161812111
Test: ./gradlew updateApi
Relnote: "Renamed ColorPalette to Colors, to better map to the Material color system and remove confusion over ColorPalette being a 'generic' theming object, as opposed to being a specific implementation of the Material color system. Additionally renames lightColorPalette and darkColorPalette to lightColors and darkColors respectively."
Change-Id: I9e97690f51cb9eb0e51ff1a57d08f1911f179232
M ui/integration-tests/benchmark/src/androidTest/java/androidx/ui/benchmark/test/ColorsBenchmark.kt
M ui/integration-tests/demos/src/main/java/androidx/ui/demos/DemoActivity.kt
M ui/integration-tests/demos/src/main/java/androidx/ui/demos/DemoColors.kt
M ui/integration-tests/demos/src/main/java/androidx/ui/demos/DemoSettingsActivity.kt
M ui/integration-tests/src/androidTest/java/androidx/ui/integration/test/ColorsTest.kt
M ui/integration-tests/src/main/java/androidx/ui/integration/test/material/ColorsTestCase.kt
M ui/ui-material/api/current.txt
M ui/ui-material/api/public_plus_experimental_current.txt
M ui/ui-material/api/restricted_current.txt
M ui/ui-material/integration-tests/material-demos/src/main/java/androidx/compose/material/demos/ColorPickerDemo.kt
M ui/ui-material/integration-tests/material-demos/src/main/java/androidx/compose/material/demos/DynamicThemeActivity.kt
M ui/ui-material/integration-tests/material-studies/src/main/java/androidx/compose/material/studies/rally/RallyTheme.kt
M ui/ui-material/samples/src/main/java/androidx/compose/material/samples/ThemeSamples.kt
M ui/ui-material/src/androidAndroidTest/kotlin/androidx/compose/material/ElevationOverlayTest.kt
M ui/ui-material/src/androidAndroidTest/kotlin/androidx/compose/material/EmphasisTest.kt
M ui/ui-material/src/androidAndroidTest/kotlin/androidx/compose/material/ripple/RippleIndicationTest.kt
M ui/ui-material/src/commonMain/kotlin/androidx/compose/material/Button.kt
M ui/ui-material/src/commonMain/kotlin/androidx/compose/material/Colors.kt
M ui/ui-material/src/commonMain/kotlin/androidx/compose/material/Emphasis.kt
M ui/ui-material/src/commonMain/kotlin/androidx/compose/material/MaterialTheme.kt
M ui/ui-material/src/commonMain/kotlin/androidx/compose/material/Snackbar.kt
M ui/ui-material/src/commonMain/kotlin/androidx/compose/material/Surface.kt
M ui/ui-tooling/src/androidTest/java/androidx/ui/tooling/preview/ParameterProviderComposable.kt
M ui/ui-tooling/src/androidTest/java/androidx/ui/tooling/preview/PreviewParameterTest.kt
https://android-review.googlesource.com/1374537
Branch: androidx-master-dev
commit 6632bba3bd1cbfdaaab3b7d991e642dbb043b523
Author: Louis Pullen-Freilich <lpf@google.com>
Date: Tue Jul 28 17:09:14 2020
Renames ColorPalette to Colors, and associated [light/dark]ColorPalette functions
This increases consistency with Typography and Shapes, and removes confusion over ColorPalette being a generic 'palette' of colors, when in reality it is a specific implementation of the Material color system.
Bug:
Test: ./gradlew updateApi
Relnote: "Renamed ColorPalette to Colors, to better map to the Material color system and remove confusion over ColorPalette being a 'generic' theming object, as opposed to being a specific implementation of the Material color system. Additionally renames lightColorPalette and darkColorPalette to lightColors and darkColors respectively."
Change-Id: I9e97690f51cb9eb0e51ff1a57d08f1911f179232
M ui/integration-tests/benchmark/src/androidTest/java/androidx/ui/benchmark/test/ColorsBenchmark.kt
M ui/integration-tests/demos/src/main/java/androidx/ui/demos/DemoActivity.kt
M ui/integration-tests/demos/src/main/java/androidx/ui/demos/DemoColors.kt
M ui/integration-tests/demos/src/main/java/androidx/ui/demos/DemoSettingsActivity.kt
M ui/integration-tests/src/androidTest/java/androidx/ui/integration/test/ColorsTest.kt
M ui/integration-tests/src/main/java/androidx/ui/integration/test/material/ColorsTestCase.kt
M ui/ui-material/api/current.txt
M ui/ui-material/api/public_plus_experimental_current.txt
M ui/ui-material/api/restricted_current.txt
M ui/ui-material/integration-tests/material-demos/src/main/java/androidx/compose/material/demos/ColorPickerDemo.kt
M ui/ui-material/integration-tests/material-demos/src/main/java/androidx/compose/material/demos/DynamicThemeActivity.kt
M ui/ui-material/integration-tests/material-studies/src/main/java/androidx/compose/material/studies/rally/RallyTheme.kt
M ui/ui-material/samples/src/main/java/androidx/compose/material/samples/ThemeSamples.kt
M ui/ui-material/src/androidAndroidTest/kotlin/androidx/compose/material/ElevationOverlayTest.kt
M ui/ui-material/src/androidAndroidTest/kotlin/androidx/compose/material/EmphasisTest.kt
M ui/ui-material/src/androidAndroidTest/kotlin/androidx/compose/material/ripple/RippleIndicationTest.kt
M ui/ui-material/src/commonMain/kotlin/androidx/compose/material/Button.kt
M ui/ui-material/src/commonMain/kotlin/androidx/compose/material/Colors.kt
M ui/ui-material/src/commonMain/kotlin/androidx/compose/material/Emphasis.kt
M ui/ui-material/src/commonMain/kotlin/androidx/compose/material/MaterialTheme.kt
M ui/ui-material/src/commonMain/kotlin/androidx/compose/material/Snackbar.kt
M ui/ui-material/src/commonMain/kotlin/androidx/compose/material/Surface.kt
M ui/ui-tooling/src/androidTest/java/androidx/ui/tooling/preview/ParameterProviderComposable.kt
M ui/ui-tooling/src/androidTest/java/androidx/ui/tooling/preview/PreviewParameterTest.kt
Description
API feedback from ColorPaletter:
Colors