commit | 656143240c1e003cd39141c98548e7f0c625cc14 | [log] [tgz] |
---|---|---|
author | Alan Viverette <alanv@google.com> | Thu Feb 18 15:56:25 2016 -0500 |
committer | Alan Viverette <alanv@google.com> | Thu Feb 18 15:56:25 2016 -0500 |
tree | 47dece217004d11b8879e79cf6c41c1db5de5d70 | |
parent | adcec744b2699a54db5606e9a50a08c6fb243a0e [diff] |
Round display scaling densities down to the nearest 2 DPI This will prevent scaling artifacts due to odd densities. We will not make any adjustments to the "normal" density, which will preserve tvdpi or whatever the device manufacturer needed to use. Rounding the density down is always safe, since it will not push us below our 320dp lower bound on minimum effective screen dimension. Bug: 27225670 Change-Id: Ib084bb3d4fc70a59106ac74df5394c21e9f8c7bd