Fixed
Status Update
Comments
nj...@google.com <nj...@google.com>
ti...@google.com <ti...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit ed4cbc0c50bb906d78cc1617be5ad7fcb14c56f5
Author: Oscar Adame Vázquez <oscarad@google.com>
Date: Wed Jan 17 13:54:01 2024
Add Alignment parameter to animateContentSize
Note that it actually adds a new function altogether to fit existing
use cases where the trailing lambda causes the API to be inflexible
(can't add parameters before or after the lambda).
Relnote: "Added alignment parameter to` Modifier.animateContentSize()`."
Bug: 269803907
Test: AnimationModifierTest.testAlignmentInAnimateContentSize
Change-Id: I5623af336f137bb4464cbf7993942452e86bcd88
M compose/animation/animation/api/current.txt
M compose/animation/animation/api/restricted_current.txt
M compose/animation/animation/src/androidInstrumentedTest/kotlin/androidx/compose/animation/AnimationModifierTest.kt
M compose/animation/animation/src/commonMain/kotlin/androidx/compose/animation/AnimationModifier.kt
https://android-review.googlesource.com/2915193
Branch: androidx-main
commit ed4cbc0c50bb906d78cc1617be5ad7fcb14c56f5
Author: Oscar Adame Vázquez <oscarad@google.com>
Date: Wed Jan 17 13:54:01 2024
Add Alignment parameter to animateContentSize
Note that it actually adds a new function altogether to fit existing
use cases where the trailing lambda causes the API to be inflexible
(can't add parameters before or after the lambda).
Relnote: "Added alignment parameter to` Modifier.animateContentSize()`."
Bug: 269803907
Test: AnimationModifierTest.testAlignmentInAnimateContentSize
Change-Id: I5623af336f137bb4464cbf7993942452e86bcd88
M compose/animation/animation/api/current.txt
M compose/animation/animation/api/restricted_current.txt
M compose/animation/animation/src/androidInstrumentedTest/kotlin/androidx/compose/animation/AnimationModifierTest.kt
M compose/animation/animation/src/commonMain/kotlin/androidx/compose/animation/AnimationModifier.kt
so...@gmail.com <so...@gmail.com> #3
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.compose.animation:animation:1.7.0-alpha03
androidx.compose.animation:animation-android:1.7.0-alpha03
androidx.compose.animation:animation-desktop:1.7.0-alpha03
ap...@google.com <ap...@google.com> #4
Project: platform/frameworks/support
Branch: androidx-main
commit ff127aebdb1da64a186fc78d4d6e76d66dc271b2
Author: Doris Liu <tianliu@google.com>
Date: Tue Jul 27 14:27:30 2021
Introduce Scale Enter/Exit Transition
Also adjusted default spring stiffness for other types of enter/exit
RelNote: "New Enter/Exit transition for scale. It can be used in combination
with other types of Enter/ExitTransitions."
Fixes: 191325593
Test: New test added
Change-Id: I372dade56f09168b8d5450c897550b93dd819e53
M compose/animation/animation-core/api/current.txt
M compose/animation/animation-core/api/public_plus_experimental_current.txt
M compose/animation/animation-core/api/restricted_current.txt
M compose/animation/animation-core/src/commonMain/kotlin/androidx/compose/animation/core/VectorizedAnimationSpec.kt
M compose/animation/animation/api/public_plus_experimental_current.txt
M compose/animation/animation/integration-tests/animation-demos/src/main/java/androidx/compose/animation/demos/AnimationDemos.kt
A compose/animation/animation/integration-tests/animation-demos/src/main/java/androidx/compose/animation/demos/ScaleEnterExitDemo.kt
M compose/animation/animation/integration-tests/animation-demos/src/main/java/androidx/compose/animation/demos/ScreenTransitionDemo.kt
M compose/animation/animation/samples/src/main/java/androidx/compose/animation/samples/AnimatedVisibilitySamples.kt
M compose/animation/animation/src/androidAndroidTest/kotlin/androidx/compose/animation/AnimatedVisibilityTest.kt
M compose/animation/animation/src/commonMain/kotlin/androidx/compose/animation/AnimatedContent.kt
M compose/animation/animation/src/commonMain/kotlin/androidx/compose/animation/AnimatedVisibility.kt
M compose/animation/animation/src/commonMain/kotlin/androidx/compose/animation/EnterExitTransition.kt
https://android-review.googlesource.com/1783813
Branch: androidx-main
commit ff127aebdb1da64a186fc78d4d6e76d66dc271b2
Author: Doris Liu <tianliu@google.com>
Date: Tue Jul 27 14:27:30 2021
Introduce Scale Enter/Exit Transition
Also adjusted default spring stiffness for other types of enter/exit
RelNote: "New Enter/Exit transition for scale. It can be used in combination
with other types of Enter/ExitTransitions."
Fixes: 191325593
Test: New test added
Change-Id: I372dade56f09168b8d5450c897550b93dd819e53
M compose/animation/animation-core/api/current.txt
M compose/animation/animation-core/api/public_plus_experimental_current.txt
M compose/animation/animation-core/api/restricted_current.txt
M compose/animation/animation-core/src/commonMain/kotlin/androidx/compose/animation/core/VectorizedAnimationSpec.kt
M compose/animation/animation/api/public_plus_experimental_current.txt
M compose/animation/animation/integration-tests/animation-demos/src/main/java/androidx/compose/animation/demos/AnimationDemos.kt
A compose/animation/animation/integration-tests/animation-demos/src/main/java/androidx/compose/animation/demos/ScaleEnterExitDemo.kt
M compose/animation/animation/integration-tests/animation-demos/src/main/java/androidx/compose/animation/demos/ScreenTransitionDemo.kt
M compose/animation/animation/samples/src/main/java/androidx/compose/animation/samples/AnimatedVisibilitySamples.kt
M compose/animation/animation/src/androidAndroidTest/kotlin/androidx/compose/animation/AnimatedVisibilityTest.kt
M compose/animation/animation/src/commonMain/kotlin/androidx/compose/animation/AnimatedContent.kt
M compose/animation/animation/src/commonMain/kotlin/androidx/compose/animation/AnimatedVisibility.kt
M compose/animation/animation/src/commonMain/kotlin/androidx/compose/animation/EnterExitTransition.kt
Description
New AnimatedContent composable is introduced in compose-animation 1.0.0-beta09. AnimatedContent composable is cool feature and helps to implement transitions concisely. Thank you very much for that.
But, in EnterExitTransition.kt, TransitionData is limited to fade, slide, and changeSize only. So I can't implement material motions using AnimatedContent.
Therefore, I'd like to ask you one thing. Do you have any plans to supports scale function more?