Lift the upperbound of the up-scaling when view image.

http://b/issue?id=2223577

Change-Id: I579827b3aa42ed56c0d2dc95df1cf415575b2d5c
diff --git a/src/com/android/camera/ImageViewTouchBase.java b/src/com/android/camera/ImageViewTouchBase.java
index 0cab8fc..ef2edeb 100644
--- a/src/com/android/camera/ImageViewTouchBase.java
+++ b/src/com/android/camera/ImageViewTouchBase.java
@@ -267,10 +267,10 @@
         float h = bitmap.getHeight();
         matrix.reset();
 
-        // We limit up-scaling to 2x otherwise the result may look bad if it's
+        // We limit up-scaling to 3x otherwise the result may look bad if it's
         // a small icon.
-        float widthScale = Math.min(viewWidth / w, 2.0f);
-        float heightScale = Math.min(viewHeight / h, 2.0f);
+        float widthScale = Math.min(viewWidth / w, 3.0f);
+        float heightScale = Math.min(viewHeight / h, 3.0f);
         float scale = Math.min(widthScale, heightScale);
 
         matrix.postConcat(bitmap.getRotateMatrix());