Fixed
Status Update
Comments
cl...@google.com <cl...@google.com>
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 932f4806b2824d047cffda31dcea89a8c526c49c
Author: Jelle Fresen <jellefresen@google.com>
Date: Tue Jul 14 18:29:17 2020
Use MonotonicFrameClock as AnimationClockObservable
Introduces an AnimationClockObservable that takes a MonotonicFrameClock,
so you can use a MonotonicFrameClock in the current animation APIs.
Moved one ScrollableTest to MonotonicFrameClock as a proof of concept.
Bug: 161247083
Test: ./gradlew compose:foundation:foundation:cC \
-Pandroid.testInstrumentationRunnerArguments.class=\
androidx.compose.foundation.ScrollableTest#scrollable_horizontalScroll
Relnote: "Added MonotonicFrameAnimationClock that enables you to use a
MonotonicFrameClock as an AnimationClockObservable to bridge the gap
between the new coroutines based clocks and APIs that still use the old
callback based clocks.
The MonotonicFrameClock equivalent of ManualAnimationClock is now
ManualFrameClock."
Change-Id: I111c7b7182a1495f95eab1bb808d3acd6af82447
M compose/compose-dispatch/api/current.txt
M compose/compose-dispatch/api/public_plus_experimental_current.txt
M compose/compose-dispatch/api/restricted_current.txt
M compose/compose-dispatch/src/commonMain/kotlin/androidx/compose/runtime/dispatch/BroadcastFrameClock.kt
M compose/compose-runtime/src/commonMain/kotlin/androidx/compose/runtime/Recomposer.kt
M ui/ui-animation-core/api/current.txt
M ui/ui-animation-core/api/public_plus_experimental_current.txt
M ui/ui-animation-core/api/restricted_current.txt
M ui/ui-animation-core/build.gradle
A ui/ui-animation-core/src/commonMain/kotlin/androidx/compose/animation/core/ManualFrameClock.kt
A ui/ui-animation-core/src/commonMain/kotlin/androidx/compose/animation/core/MonotonicFrameAnimationClock.kt
M ui/ui-foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/ScrollableTest.kt
https://android-review.googlesource.com/1362577
Branch: androidx-master-dev
commit 932f4806b2824d047cffda31dcea89a8c526c49c
Author: Jelle Fresen <jellefresen@google.com>
Date: Tue Jul 14 18:29:17 2020
Use MonotonicFrameClock as AnimationClockObservable
Introduces an AnimationClockObservable that takes a MonotonicFrameClock,
so you can use a MonotonicFrameClock in the current animation APIs.
Moved one ScrollableTest to MonotonicFrameClock as a proof of concept.
Bug: 161247083
Test: ./gradlew compose:foundation:foundation:cC \
-Pandroid.testInstrumentationRunnerArguments.class=\
androidx.compose.foundation.ScrollableTest#scrollable_horizontalScroll
Relnote: "Added MonotonicFrameAnimationClock that enables you to use a
MonotonicFrameClock as an AnimationClockObservable to bridge the gap
between the new coroutines based clocks and APIs that still use the old
callback based clocks.
The MonotonicFrameClock equivalent of ManualAnimationClock is now
ManualFrameClock."
Change-Id: I111c7b7182a1495f95eab1bb808d3acd6af82447
M compose/compose-dispatch/api/current.txt
M compose/compose-dispatch/api/public_plus_experimental_current.txt
M compose/compose-dispatch/api/restricted_current.txt
M compose/compose-dispatch/src/commonMain/kotlin/androidx/compose/runtime/dispatch/BroadcastFrameClock.kt
M compose/compose-runtime/src/commonMain/kotlin/androidx/compose/runtime/Recomposer.kt
M ui/ui-animation-core/api/current.txt
M ui/ui-animation-core/api/public_plus_experimental_current.txt
M ui/ui-animation-core/api/restricted_current.txt
M ui/ui-animation-core/build.gradle
A ui/ui-animation-core/src/commonMain/kotlin/androidx/compose/animation/core/ManualFrameClock.kt
A ui/ui-animation-core/src/commonMain/kotlin/androidx/compose/animation/core/MonotonicFrameAnimationClock.kt
M ui/ui-foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/ScrollableTest.kt
Description
Failed twice locally. Usually passes.
Occurs on SHA c78636d53846380c505c62a5ce3511ccb7d52f66 of frameworks/support which is the latest as of the time of this bug report.