Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-master-dev
commit b371acdb2499b1f74bdccfd8c8498586ed944d19
Author: Nader Jawad <njawad@google.com>
Date: Wed Aug 26 16:42:21 2020
Remove Size operations that consume Offset
parameters
Relnote: "Removed operator methods on Size
API that consume Offset parameters. The
result of these operations is unclear
and the type of result is unexpected
for these. Ex. should size - offset return
an offset or a size result with the difference?
Also removed deprecated methods on Size class."
Updated DrawScope usages of operators that
consumed both Size and Offset types
to have explicit calculations done.
Change-Id: Iec902c3664d8669534b8d7eca2b572e6a8d2838a
Fixes: 166514214
Test: Re-ran compose tests
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/Offset.kt
M compose/ui/ui-geometry/src/commonMain/kotlin/androidx/compose/ui/geometry/Size.kt
M compose/ui/ui-graphics/api/current.txt
M compose/ui/ui-graphics/api/public_plus_experimental_current.txt
M compose/ui/ui-graphics/api/restricted_current.txt
M compose/ui/ui-graphics/src/commonMain/kotlin/androidx/compose/ui/graphics/drawscope/DrawScope.kt
https://android-review.googlesource.com/1412970
Branch: androidx-master-dev
commit b371acdb2499b1f74bdccfd8c8498586ed944d19
Author: Nader Jawad <njawad@google.com>
Date: Wed Aug 26 16:42:21 2020
Remove Size operations that consume Offset
parameters
Relnote: "Removed operator methods on Size
API that consume Offset parameters. The
result of these operations is unclear
and the type of result is unexpected
for these. Ex. should size - offset return
an offset or a size result with the difference?
Also removed deprecated methods on Size class."
Updated DrawScope usages of operators that
consumed both Size and Offset types
to have explicit calculations done.
Change-Id: Iec902c3664d8669534b8d7eca2b572e6a8d2838a
Fixes: 166514214
Test: Re-ran compose tests
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/Offset.kt
M compose/ui/ui-geometry/src/commonMain/kotlin/androidx/compose/ui/geometry/Size.kt
M compose/ui/ui-graphics/api/current.txt
M compose/ui/ui-graphics/api/public_plus_experimental_current.txt
M compose/ui/ui-graphics/api/restricted_current.txt
M compose/ui/ui-graphics/src/commonMain/kotlin/androidx/compose/ui/graphics/drawscope/DrawScope.kt
Description