Centralized TextureView transform logic

Automated transform matrix adjustment and bottom bar adjustment for
orientation or preview size change.

Bug: 12177718
Bug: 12179046
Change-Id: I4cd6fc90bb549774cfd83aaf8ac9654711a5c752
diff --git a/src/com/android/camera/PhotoController.java b/src/com/android/camera/PhotoController.java
index bb80d62..1de9d13 100644
--- a/src/com/android/camera/PhotoController.java
+++ b/src/com/android/camera/PhotoController.java
@@ -55,6 +55,8 @@
 
     public void onPreviewRectChanged(Rect previewRect);
 
+    public void updatePreviewAspectRatio(float aspectRatio);
+
     public void updateCameraOrientation();
 
     /**
@@ -78,4 +80,5 @@
      * Starts the pre-capture animation.
      */
     public void startPreCaptureAnimation();
+
 }