Don't scale non-square QC photos while scrolling QC
To avoid re-scaling the non-square QC photo when resizing the QuickContact
ImageView, crop the contact photo into a square contact photo.
It is possible to use scaleType="matrix" with a custom matrix to avoid
needing to copy & crop the bitmap. However, it isn't worth the effort
given how rare non-square contact photos are. I have only seen non-square contact
photos for bussinesses.
Bug: 17135898
Change-Id: Idaa955d65c9fde74e104237908edf87e4c8cc1da
1 file changed