Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 83b22141 authored by Jian-Syuan (Shane) Wong's avatar Jian-Syuan (Shane) Wong
Browse files

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
parent 5c21964e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment