summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/panorama
diff options
context:
space:
mode:
authorAngus Kong <shkong@google.com>2011-08-25 22:12:37 +0800
committerAngus Kong <shkong@google.com>2011-08-25 22:12:37 +0800
commitf619ef352d74b1d1ff06d82fb4d265aa9676014b (patch)
treeff3cec555d9037f98b7efe8c0979c925bc102490 /src/com/android/camera/panorama
parent5952e952aec3fdb8e8a412258ff2d1dc64e8e6c4 (diff)
downloadLegacyCamera-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.java5
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() {