commit | 5f74bfd76dc63441f98cc2b265c5c0b82437cff8 | [log] [tgz] |
---|---|---|
author | Pat Manning <patmanning@google.com> | Wed Jul 20 12:08:54 2022 +0100 |
committer | Alex Chau <alexchau@google.com> | Mon Aug 01 17:54:43 2022 +0000 |
tree | 8d0d4e19d5c0278ee032d3eab674d6a8b66e677d | |
parent | 8157be497d0172dbc30db54e6ee454b8355480b5 [diff] |
Refactor DeviceProfile tests based on dump() and use real device dimensions for tests. - Added roundPxValueFromFloat when converting dp/sp to px to deterministically round up values around .5 Fix: 240133465 Bug: 237542518 Test: DeviceProfileTest.kt Change-Id: If4239f714487fe5bf2ef44274e2ce415bd75c86d