SnapdragonCamera: Calculate in top bottom margin for the preview

Subtract top and bottom margin from the max height of the preview
Let it be aligned correctly to the top and center horizontally.

Change-Id: I6c5b3fde57c1a514725a6316dbe8e0c799a928d0
CRs-Fixed: 965033
1 file changed