diff options
author | Angus Kong <shkong@google.com> | 2011-08-25 22:12:37 +0800 |
---|---|---|
committer | Angus Kong <shkong@google.com> | 2011-08-25 22:12:37 +0800 |
commit | f619ef352d74b1d1ff06d82fb4d265aa9676014b (patch) | |
tree | ff3cec555d9037f98b7efe8c0979c925bc102490 /src/com/android/camera/panorama | |
parent | 5952e952aec3fdb8e8a412258ff2d1dc64e8e6c4 (diff) | |
download | LegacyCamera-f619ef352d74b1d1ff06d82fb4d265aa9676014b.zip LegacyCamera-f619ef352d74b1d1ff06d82fb4d265aa9676014b.tar.gz LegacyCamera-f619ef352d74b1d1ff06d82fb4d265aa9676014b.tar.bz2 |
Start capturing after the control disappears.
The capturing process and mosaic rendering begins after the control totally disappers.
Change-Id: Ib1fd281a1497a79c695b83e5e6206f5b3718f886
Diffstat (limited to 'src/com/android/camera/panorama')
-rw-r--r-- | src/com/android/camera/panorama/PanoramaActivity.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/com/android/camera/panorama/PanoramaActivity.java b/src/com/android/camera/panorama/PanoramaActivity.java index c33c3e4..3816c1b 100644 --- a/src/com/android/camera/panorama/PanoramaActivity.java +++ b/src/com/android/camera/panorama/PanoramaActivity.java @@ -353,6 +353,8 @@ public class PanoramaActivity extends Activity implements mTimeTaken = System.currentTimeMillis(); mCaptureState = CAPTURE_MOSAIC; mTooFastPrompt.setVisibility(View.GONE); + mPanoControlLayout.startAnimation(mSlideOut); + mPanoControlLayout.setVisibility(View.GONE); mMosaicFrameProcessor.setProgressListener(new MosaicFrameProcessor.ProgressListener() { @Override @@ -369,9 +371,6 @@ public class PanoramaActivity extends Activity implements mStopCaptureButton.setVisibility(View.VISIBLE); mCaptureView.setVisibility(View.VISIBLE); mMosaicView.setVisibility(View.VISIBLE); - mPanoControlLayout.startAnimation(mSlideOut); - mPanoControlLayout.setVisibility(View.GONE); - } private void stopCapture() { |