diff options
| author | Doris Liu <tianliu@google.com> | 2015-04-16 18:36:31 -0700 |
|---|---|---|
| committer | Doris Liu <tianliu@google.com> | 2015-04-17 16:25:01 -0700 |
| commit | 5ed54c743c04e2bc349e12c31adb67cbc3094651 (patch) | |
| tree | 4583002203e42ec36612b3e7fcf202dffccb8dc0 /docs/html/sdk/api_diff/4/changes | |
| parent | e57818a20e1d21ce705577b670b93d54d2e3a5d3 (diff) | |
Use real screen size to scale duration
Duration scale based on screen size was using the area of the screen
excluding system bars to compare with our reference device's screen
size. This caused the following issues:
1) On baseline device (i.e N5) a scaling factor that is not 1 will be
applied to the duration.
2) Scaling on the same device will be different in landscape vs.
portrait, as the system bars take different amounts of space in
different orienations.
This CL fixes both of the above issues.
Bug: 20309042
Change-Id: I9d1d0a471d968bee1330b80f0f69a0066d6a1860
Diffstat (limited to 'docs/html/sdk/api_diff/4/changes')
0 files changed, 0 insertions, 0 deletions
