summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/panorama
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2011-10-13 14:49:17 +0800
committerWu-cheng Li <wuchengli@google.com>2011-10-13 18:21:52 +0800
commit1bca5eaaa3c6d3fd36df572546715e4e515cf9e6 (patch)
treebfd1050c73758a06568fcc61f4098684b974d796 /src/com/android/camera/panorama
parent73ab0023b4a9d86ac5fa844116a83aa6c52acf0c (diff)
downloadpackages_apps_LegacyCamera-1bca5eaaa3c6d3fd36df572546715e4e515cf9e6.zip
packages_apps_LegacyCamera-1bca5eaaa3c6d3fd36df572546715e4e515cf9e6.tar.gz
packages_apps_LegacyCamera-1bca5eaaa3c6d3fd36df572546715e4e515cf9e6.tar.bz2
Simplify code about ShutterButton.
bug:5447399 Change-Id: I240d7523509f27d333a0ef69e6e0d3228a41e9de
Diffstat (limited to 'src/com/android/camera/panorama')
-rwxr-xr-xsrc/com/android/camera/panorama/PanoramaActivity.java9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/com/android/camera/panorama/PanoramaActivity.java b/src/com/android/camera/panorama/PanoramaActivity.java
index 53b4733..f11bc3a 100755
--- a/src/com/android/camera/panorama/PanoramaActivity.java
+++ b/src/com/android/camera/panorama/PanoramaActivity.java
@@ -32,10 +32,6 @@ import com.android.camera.Util;
import com.android.camera.ui.RotateImageView;
import com.android.camera.ui.SharePopup;
-import android.animation.AnimatorSet;
-import android.animation.ObjectAnimator;
-import android.animation.ValueAnimator;
-import android.app.Activity;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.ContentResolver;
@@ -67,7 +63,6 @@ import android.view.OrientationEventListener;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
-import android.view.animation.LinearInterpolator;
import android.widget.ImageView;
import android.widget.TextView;
@@ -703,7 +698,7 @@ public class PanoramaActivity extends ActivityBase implements
}
@Override
- public void onShutterButtonClick(ShutterButton b) {
+ public void onShutterButtonClick() {
// If mSurfaceTexture == null then GL setup is not finished yet.
// No buttons can be pressed.
if (mPausing || mThreadRunning || mSurfaceTexture == null) return;
@@ -719,7 +714,7 @@ public class PanoramaActivity extends ActivityBase implements
}
@Override
- public void onShutterButtonFocus(ShutterButton b, boolean pressed) {
+ public void onShutterButtonFocus(boolean pressed) {
}
public void reportProgress() {