Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-master-dev
commit ece1e0ac47be4572d97afef494a24827c014af57
Author: Nader Jawad <njawad@google.com>
Date: Mon Aug 24 20:47:20 2020
Fixed wrong constructor parameter order for Rect
Relnote: "Fixed issue where Rect function constructor
with Offset and radius would create the Rect in the
order of left, right, top, bottom instead of
left, top, right, bottom.
Removed deprecated companion methods on Rect in
favor of function constructors.
Added tests to verify methods in Rect.kt"
Change-Id: I0846006bd0ec7f1a0effd90490c93002b42e132b
Fixes: 165822356
Test: Added tests to RectTest
M compose/ui/ui-geometry/api/current.txt
M compose/ui/ui-geometry/api/public_plus_experimental_current.txt
M compose/ui/ui-geometry/api/restricted_current.txt
M compose/ui/ui-geometry/src/commonMain/kotlin/androidx/compose/ui/geometry/Rect.kt
M compose/ui/ui-geometry/src/test/kotlin/androidx/compose/ui/geometry/RectTest.kt
https://android-review.googlesource.com/1409488
Branch: androidx-master-dev
commit ece1e0ac47be4572d97afef494a24827c014af57
Author: Nader Jawad <njawad@google.com>
Date: Mon Aug 24 20:47:20 2020
Fixed wrong constructor parameter order for Rect
Relnote: "Fixed issue where Rect function constructor
with Offset and radius would create the Rect in the
order of left, right, top, bottom instead of
left, top, right, bottom.
Removed deprecated companion methods on Rect in
favor of function constructors.
Added tests to verify methods in Rect.kt"
Change-Id: I0846006bd0ec7f1a0effd90490c93002b42e132b
Fixes: 165822356
Test: Added tests to RectTest
M compose/ui/ui-geometry/api/current.txt
M compose/ui/ui-geometry/api/public_plus_experimental_current.txt
M compose/ui/ui-geometry/api/restricted_current.txt
M compose/ui/ui-geometry/src/commonMain/kotlin/androidx/compose/ui/geometry/Rect.kt
M compose/ui/ui-geometry/src/test/kotlin/androidx/compose/ui/geometry/RectTest.kt
na...@google.com <na...@google.com> #3
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.compose.ui:ui:1.4.0-alpha02
androidx.compose.ui:ui-graphics:1.4.0-alpha02
ap...@google.com <ap...@google.com> #4
Project: platform/frameworks/support
Branch: androidx-main
commit ce95c06a881572290635ce30d69c8e9ab997f0a1
Author: Nader Jawad <njawad@google.com>
Date: Mon Nov 21 13:53:56 2022
Improve CompositingStrategy Docs
Clarified description of CompositingStrategy API
Bug: 256382834
Test: re-ran compose tests
Change-Id: If6c697f586efb9667cfeac5b26f7d608277d3e06
M compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/graphics/GraphicsLayerModifier.kt
https://android-review.googlesource.com/2310177
Branch: androidx-main
commit ce95c06a881572290635ce30d69c8e9ab997f0a1
Author: Nader Jawad <njawad@google.com>
Date: Mon Nov 21 13:53:56 2022
Improve CompositingStrategy Docs
Clarified description of CompositingStrategy API
Bug: 256382834
Test: re-ran compose tests
Change-Id: If6c697f586efb9667cfeac5b26f7d608277d3e06
M compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/graphics/GraphicsLayerModifier.kt
ju...@google.com <ju...@google.com> #5
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.compose.ui:ui:1.4.0-alpha03
Description
Right now compose will automatically leverage an offscreen compositinglayer if the graphicsLayer has an alpha < 1.0f. However, configuring usage of an offscreen layer is useful in other circumstances such as blend mode usage.
Alternatively if a consumer of graphicsLayer has more information regarding the scene (ex if the content is overlapping or not) they should be able to skip offscreen compositing layer for alpha usage.