Add new APIs to AnimationUtils that set and get expectedPresentationTimeNano
Add two methods: 1. void lockAnimationClock(long vsyncMillis, long expectedPresentationTimeNano) allows developers to pass expectedPresentationTimeNano to the class. 2. long expectedPresentationTimeNano() allows developers to get current value of the expectedPresentationTimeNano (if available). Bug: 283122385 Test: atest ChoreographerTest Test: atest AnimationUtilsTest Change-Id: Iafe6728b012829b73bc5602521d62652360fd861
Loading
Please register or sign in to comment