OSDN Git Service

Remove some log messages.
authorWu-cheng Li <wuchengli@google.com>
Mon, 8 Feb 2010 12:05:28 +0000 (20:05 +0800)
committerWu-cheng Li <wuchengli@google.com>
Mon, 8 Feb 2010 12:05:28 +0000 (20:05 +0800)
src/com/android/camera/Camera.java
src/com/android/camera/Switcher.java

index 0ef423a..f853f8c 100644 (file)
@@ -373,9 +373,7 @@ public class Camera extends NoSearchActivity implements View.OnClickListener,
         if (!mParameters.isZoomSupported()) return;
 
         mZoomMax = mParameters.getMaxZoom();
-        Log.v(TAG, "Max zoom=" + mZoomMax);
         mSmoothZoomSupported = mParameters.isSmoothZoomSupported();
-        Log.v(TAG, "Smooth zoom supported=" + mSmoothZoomSupported);
 
         mGestureDetector = new GestureDetector(this, new ZoomGestureListener());
         mCameraDevice.setZoomCallback(mZoomCallback);
@@ -1776,9 +1774,6 @@ public class Camera extends NoSearchActivity implements View.OnClickListener,
                 }
             }
         }
-        Log.v(TAG, String.format(
-                "Optimal preview size is %sx%s",
-                optimalSize.width, optimalSize.height));
         return optimalSize;
     }
 
index 959022d..342f0d6 100644 (file)
@@ -161,9 +161,6 @@ public class Switcher extends ImageView implements View.OnTouchListener {
             mPosition = mSwitch ? available : 0;
         }
         int offsetTop = getPaddingTop() + mPosition;
-        Log.v(TAG, "mPosition = " + mPosition
-                + ", mAnimationStartTime = " + mAnimationStartTime
-                + ", mSwitch = " + mSwitch);
         int offsetLeft = (getWidth()
                 - drawableWidth - getPaddingLeft() - getPaddingRight()) / 2;
         int saveCount = canvas.getSaveCount();