Scale wallpaper preview surface instead of preview image

Instead of scaling the actual image when previewing, scale the surface
where the wallpaper preview is rendered (while keeping the extra size
outside of the preview visible area).
This will allow the wallpaper to be rendered similarly to how the system
will do it, thus preventing the user from panning or zooming the image
further than the zoomed out area (eg, panning the image all the way to
the edge, thus not leaving any extra area to zoom out to)

Bug: 171274086
Change-Id: Ifbec1259b38b63e9b91ecd7a45ea8a3fd3130e91
(cherry picked from commit 91bc4642be979b3d960f90fd0fcd1dec29cc38b8)
2 files changed