commit | 5898c65aab91963ccee40150e4fd7a101db42585 | [log] [tgz] |
---|---|---|
author | Arun Kumar K.R <akumarkr@codeaurora.org> | Wed Jul 17 14:20:32 2013 -0700 |
committer | Ramkumar Radhakrishnan <ramkumar@codeaurora.org> | Fri Aug 16 12:33:34 2013 -0700 |
tree | 02ff1e3bbebd053b305548b0f7fa2ac9dee9152f | |
parent | 2198c3c3caf33a376228e52519221383d094eaf5 [diff] |
hwc: fix aspect ratio calculations - Make aspectratio calculations independent of ext dpy w/h - pass hwc_rect_t to getAspectRatioPosition function instead of x, y, w, h - overload getAspectRatioPosition func to return the upscaled or transformed position for a particular display based on the values set by SurfaceFlinger Change-Id: I0be9b2b4b030bdd8e69dc1493dc8cbac31918c27