diff options
author | Wu-cheng Li <wuchengli@google.com> | 2011-10-13 06:53:29 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-10-13 06:53:29 -0700 |
commit | 334099a31b84b4dc2f9bf4d38ccef2f048ec8e61 (patch) | |
tree | 8d3f826734ffd6b1f673f0e3fd23cfb21a1abc4c /src/com/android/camera/panorama | |
parent | 9108f02b6eb3df368aa1a665150bc8dd1475bdc2 (diff) | |
parent | 1bca5eaaa3c6d3fd36df572546715e4e515cf9e6 (diff) | |
download | packages_apps_LegacyCamera-334099a31b84b4dc2f9bf4d38ccef2f048ec8e61.zip packages_apps_LegacyCamera-334099a31b84b4dc2f9bf4d38ccef2f048ec8e61.tar.gz packages_apps_LegacyCamera-334099a31b84b4dc2f9bf4d38ccef2f048ec8e61.tar.bz2 |
am 1bca5eaa: Simplify code about ShutterButton.
* commit '1bca5eaaa3c6d3fd36df572546715e4e515cf9e6':
Simplify code about ShutterButton.
Diffstat (limited to 'src/com/android/camera/panorama')
-rwxr-xr-x | src/com/android/camera/panorama/PanoramaActivity.java | 9 |
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 872f5e9..1aace83 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; @@ -697,7 +692,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; @@ -713,7 +708,7 @@ public class PanoramaActivity extends ActivityBase implements } @Override - public void onShutterButtonFocus(ShutterButton b, boolean pressed) { + public void onShutterButtonFocus(boolean pressed) { } public void reportProgress() { |