From e490840b19b60f263d00ac057fc7bed3ba2e9e7a Mon Sep 17 00:00:00 2001 From: Saurabh Shah Date: Wed, 12 Jan 2011 11:35:53 -0800 Subject: [PATCH] hardware/msm7k: Fix aspect ratio in HDMI UI For portrait mode: Actionsafe width depends on actionsafe height, thus maintaining the aspect ratio. User entered value for actionsafe width doesn't matter. For landscape mode: Both, user entered actionsafe width and height matter. Aspect ratio may change, in an attempt to fill up the TV screen till the edges to avoid overscan/underscan. Picks actionsafe rectangle as the final rectangle. Change-Id: I4e16a2d57978d3443283e9311c2efdc6494f8a94 CRs-fixed: 271567