Fixed
Status Update
Comments
nj...@google.com <nj...@google.com>
ap...@google.com <ap...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-main
commit 98df6985c665a45852e9f9ee43651f75a62bd9e9
Author: Nader Jawad <njawad@google.com>
Date: Tue Jan 05 16:24:11 2021
Make GraphicsLayerScope implement Density
Relnote: "Updated GraphicsLayerScope implement
density to support conversions of dp into
raw pixels."
Bug: 176819695
Test: Added tests to GraphicsLayerTest and
GraphicsLayerScopeTest
Change-Id: Ied528ab0f8c3cb058664ace248e93942ef374c74
M compose/ui/ui/api/current.txt
M compose/ui/ui/api/public_plus_experimental_current.txt
M compose/ui/ui/api/restricted_current.txt
M compose/ui/ui/src/androidAndroidTest/kotlin/androidx/compose/ui/draw/GraphicsLayerTest.kt
M compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/graphics/GraphicsLayerScope.kt
M compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/node/LayoutNodeWrapper.kt
M compose/ui/ui/src/test/kotlin/androidx/compose/ui/graphics/GraphicsLayerScopeTest.kt
https://android-review.googlesource.com/1540564
Branch: androidx-main
commit 98df6985c665a45852e9f9ee43651f75a62bd9e9
Author: Nader Jawad <njawad@google.com>
Date: Tue Jan 05 16:24:11 2021
Make GraphicsLayerScope implement Density
Relnote: "Updated GraphicsLayerScope implement
density to support conversions of dp into
raw pixels."
Bug: 176819695
Test: Added tests to GraphicsLayerTest and
GraphicsLayerScopeTest
Change-Id: Ied528ab0f8c3cb058664ace248e93942ef374c74
M compose/ui/ui/api/current.txt
M compose/ui/ui/api/public_plus_experimental_current.txt
M compose/ui/ui/api/restricted_current.txt
M compose/ui/ui/src/androidAndroidTest/kotlin/androidx/compose/ui/draw/GraphicsLayerTest.kt
M compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/graphics/GraphicsLayerScope.kt
M compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/node/LayoutNodeWrapper.kt
M compose/ui/ui/src/test/kotlin/androidx/compose/ui/graphics/GraphicsLayerScopeTest.kt
Description
GraphicsLayerScope
should implementDensity
to permit dp to px conversions in functions with aGraphicsLayerScope
receiver.