diff options
author | erfanian <erfanian@google.com> | 2017-07-27 12:30:43 -0700 |
---|---|---|
committer | Eric Erfanian <erfanian@google.com> | 2017-07-27 15:46:37 -0700 |
commit | a3cf088f9c1a8be5737472efe2966bca23ef4394 (patch) | |
tree | 22d5fbb6df5046fe5cd1ed3c2886eec101cf7c97 /java/com/android/dialer/logging/people_api_lookup_error.proto | |
parent | 8ba3367d8796ffe9ccc609fc8655b4dc566138dd (diff) |
Center quickContactBadge instead of cropping.
Use the drawable dimensions to control clipping.
Before:
Adjusting the screen size from default to largest
would trigger a view reflow. However, because
the bitmap asset was already cached, and the rounding
of the tile was based on the bitmap size, the new, larger
drawable would only undergo a partial circular crop.
Now:
We scale the image uniformly and center it. Also,
use the drawable dimensions to control clipping dimensions.
Bug: 63864703
Test: manual
PiperOrigin-RevId: 163376680
Change-Id: Ic678dff2b18d3308c859818f187a42afd6563e10
Diffstat (limited to 'java/com/android/dialer/logging/people_api_lookup_error.proto')
0 files changed, 0 insertions, 0 deletions