commit | e8a663d78f711666d4f1f9792884ebdcbe185a28 | [log] [tgz] |
---|---|---|
author | Marin Shalamanov <shalamanov@google.com> | Tue Nov 24 17:48:00 2020 +0100 |
committer | Marin Shalamanov <shalamanov@google.com> | Tue Dec 08 15:27:58 2020 +0100 |
tree | e21a4f92a57cb7da9504dfeafa7ff5a1ee698447 | |
parent | 1ed501fb9839f26ad8f6b9732e357b54dd4f0b22 [diff] |
Add Fps class Add a class to wrap a fps value. This is useful because across the code we - convert between vsyncPeriod and fps - compare with tolerance (this ensures we use consistent tolerance) - consistent toString method Bug: 159590486 Test: presubmit Change-Id: Iebb77a33a2f822056642aa61bd6fac6514aa656d