Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit e46a13ec10f5a4c207bc60691a8c438dcda3b43d
Author: Chet Haase <chet@google.com>
Date: Mon Feb 12 11:16:26 2024
New utility functions
There are new calculateBounds() APIs for Morph, which parallel
the same functions on RoundedPolygon.
Also, the functions in the Compose file for the testapp-compose
integration test were formalized and are now used more consistently
in test code as a prototype for potential integration into a future
release of Compose directly.
Bug: 325463575
Test: unit and integration tests pass
Relnote: added calculateBounds() functions to Morph
Change-Id: I8a3b6c37807effcc3919d73266fc83a721fb2866
M graphics/graphics-shapes/api/1.0.0-beta01.txt
M graphics/graphics-shapes/api/current.txt
M graphics/graphics-shapes/api/restricted_1.0.0-beta01.txt
M graphics/graphics-shapes/api/restricted_current.txt
M graphics/graphics-shapes/src/commonMain/kotlin/androidx/graphics/shapes/Morph.kt
M graphics/integration-tests/testapp-compose/src/main/AndroidManifest.xml
M graphics/integration-tests/testapp-compose/src/main/java/androidx/graphics/shapes/testcompose/Compose.kt
M graphics/integration-tests/testapp-compose/src/main/java/androidx/graphics/shapes/testcompose/MainActivity.kt
A graphics/integration-tests/testapp-compose/src/main/java/androidx/graphics/shapes/testcompose/SimpleMorph.kt
https://android-review.googlesource.com/2958946
Branch: androidx-main
commit e46a13ec10f5a4c207bc60691a8c438dcda3b43d
Author: Chet Haase <chet@google.com>
Date: Mon Feb 12 11:16:26 2024
New utility functions
There are new calculateBounds() APIs for Morph, which parallel
the same functions on RoundedPolygon.
Also, the functions in the Compose file for the testapp-compose
integration test were formalized and are now used more consistently
in test code as a prototype for potential integration into a future
release of Compose directly.
Bug: 325463575
Test: unit and integration tests pass
Relnote: added calculateBounds() functions to Morph
Change-Id: I8a3b6c37807effcc3919d73266fc83a721fb2866
M graphics/graphics-shapes/api/1.0.0-beta01.txt
M graphics/graphics-shapes/api/current.txt
M graphics/graphics-shapes/api/restricted_1.0.0-beta01.txt
M graphics/graphics-shapes/api/restricted_current.txt
M graphics/graphics-shapes/src/commonMain/kotlin/androidx/graphics/shapes/Morph.kt
M graphics/integration-tests/testapp-compose/src/main/AndroidManifest.xml
M graphics/integration-tests/testapp-compose/src/main/java/androidx/graphics/shapes/testcompose/Compose.kt
M graphics/integration-tests/testapp-compose/src/main/java/androidx/graphics/shapes/testcompose/MainActivity.kt
A graphics/integration-tests/testapp-compose/src/main/java/androidx/graphics/shapes/testcompose/SimpleMorph.kt
Description
Also, we want to make it easier to call Shapes functions from Compose, using Compose types such as Matrix and Path (the non-platform forms of those APIs). Ideally, these functions will live in Compose itself, but in the meantime we can prototype what we need in the testapp-compose integration test (the Compose.kt file specifically).