History log of /packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bd7cbbf021a10005e23fb61e0dd58601bbf1fac0 20-Jan-2012 Wei Huang <weih@google.com> Merge "Do not allow switching to other activities during panorama capture. (do not merge)" into ics-mr1
1413860cab487d4dfeaf9856e553665dadc5ef1c 20-Jan-2012 Wu-cheng Li <wuchengli@google.com> Do not allow switching to other activities during panorama capture. (do not merge)

bug:5541182
Change-Id: I1cdbba9a8aec3b5c832f6e58baa26ff6312cf59a
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
62bbca8320c3861fa9b18a7eab26a42116bef9df 05-Jan-2012 Angus Kong <shkong@google.com> Allow saving panorama after the activity is paused. (do not merge)

bug: 5541182
Change-Id: I42237d8dd4f8c39ddc2041ae32b886328a9c45c0
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
749d056cd82ebfe6e613596d9e22dd355aeeec41 21-Nov-2011 Chung-yih Wang <cywang@google.com> Dismiss open menu if exists.

bug:5648754
Change-Id: I44be2226e65de76e6240adc7b554e0ee7cda2226
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
90089f9eddde732725c43dcad07f4567ed8cb776 18-Nov-2011 Wu-cheng Li <wuchengli@google.com> Update camera sound API.

bug:5640219
Change-Id: Ic3af6527f3025ec04ba4be16b621b462f89953f1
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
13c101cf7829c98da4341a39ecc142afc024cdb7 18-Nov-2011 Chih-yu Huang <akahuang@google.com> Merge "Fix NPE in panorama when camera failed to connect." into ics-mr1
80583a299a9c8964cf09e482380c3bda0670ad6f 18-Nov-2011 Chih-yu Huang <akahuang@google.com> Fix NPE in panorama when camera failed to connect.

bug:5637587
Change-Id: Iea275b4e3780a41f4a0c3fe0845acbfdb1e95cd1
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
0cefcea01849364be6955a1b3f7e7d1639010abc 17-Nov-2011 Angus Kong <shkong@google.com> Fix OpenGL processing when activity is not active.

bug:5624690
Change-Id: I87af684e165a275adb4b765a86a2df2b62137ca0
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
8ac93cfe05ce7fce703d7316ffb3edf19266548a 16-Nov-2011 Wei-Ta Chen <weita@google.com> Merge "Update the panorama capturing progress correctly." into ics-mr1
d22fff61ae44ea5213aeb91f400bfe1456411d25 16-Nov-2011 Angus Kong <shkong@google.com> Broadcast for new image added in panorama mode.

bug:5624740
Change-Id: I0663b34eb07e28e3f4e8b65b0c2c2befce3ca430
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
2d3391e6be57aeeb7e713f25a484445660b101e3 16-Nov-2011 Wei-Ta Chen <weita@google.com> Update the panorama capturing progress correctly.

Fix an issue that the termination condition on the sweeping angle is broken.
Fix another issue that the panning speed and sweeping angle does not
consider the cases that users hold a device in portrait or panning the
device vertically.

Bug: 5623138

Change-Id: I9d1e2e5ad63a97beb8cfe2404974329c70d46991
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
948e75e8e3fd2ec98a08e65efdb6e5eb6d02c33b 16-Nov-2011 Wei-Ta Chen <weita@google.com> Merge "Set the orientation of a panorama image." into ics-mr1
e0bbb93f6a598206ecd6e09150d51eae64bd3507 12-Nov-2011 Wei-Ta Chen <weita@google.com> Set the orientation of a panorama image.

The panorama image returned from the panorama library is oriented based
on the natural orientation of the camera.
We set an orientation in its EXIF header, so that the image can be
displayed correctly. The orientation is calculated by compensating the
device orientation and the camera orientation respective to the natural
orientation of the device.

Bug: 5603313
Change-Id: Id6907cb08a7ff77e44736f3c3cd1503e7a68d783
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
f30e0fcdd498713b82f8ad0922baa4a8f030dcd9 15-Nov-2011 Eino-Ville Talvala <etalvala@google.com> Merge "Switch sound playing to use Camera.playSound()" into ics-mr1
562db5a0ec57f65cf4014ce3f7dad0f9324bb2f1 14-Nov-2011 Angus Kong <shkong@google.com> Fix too small panorama review on phones.

bug:5611399
Change-Id: I09c400d0faa7e5753a728f2a8ba9a8bc4fcf5a77
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
d628e27f561c4bedf0d457f64270fc12740b5280 09-Nov-2011 Eino-Ville Talvala <etalvala@google.com> Switch sound playing to use Camera.playSound()

Instead of using a few private APIs to properly manage audio output
for panorama, effects recording, and focus notification, use the new
Camera API for sound playback.

Bug: 5447107
Change-Id: I7d5a3d9502f36c199ea75a89e2c6b878185f880f
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
0a039136e8e46ddbcb45b55e92d80ddb2ddfc2c2 03-Nov-2011 Wei-Ta Chen <weita@google.com> Fix an OOM issue in mosaic blending.

Set two limits on when we will do mosaic blending.
1) mosaic_width * mosaic_height < (5 * frame_width) * (2 * frame_height)
2) mosaic_height < 2.5 * frame_height

The latter limit rejects blending for the cases having too much movement
in the secondary direction.

Bug: 5554762
Change-Id: I05fb24bb1ff5446bea0cc1a1de8a02c37fb642d7
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
19346d5702f5848167c16d71941e2c48cd17ed05 03-Nov-2011 Wei Huang <weih@google.com> Merge "The dialog for comfirmation is made rotatable." into ics-mr1
ae557ecc220f9d491e8c65b1c895827fbedcdafe 02-Nov-2011 Angus Kong <shkong@google.com> The dialog for comfirmation is made rotatable.

bug:5481928

Change-Id: Ic9a34b0f9e8d920afa5aec36561892045480e18c
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
3a3fd8f6cf7c939cacbd3da09e80d3df074a00e4 02-Nov-2011 Angus Kong <shkong@google.com> Adjust the orientation of mode picker in Panorama.

bug:5561505

Change-Id: Iafd9e7ba4c60b4decae8f676ef2a1709cf54e5bb
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
d33109730e0ab81230f84e2bd35599e8e24fc4ba 17-Oct-2011 Chung-yih Wang <cywang@google.com> Change the default orientation to portrait.

bug:5446617

Since the orientation is mainly portrait on phones, the default
orientation of an application will decide if the window animation will
be played before it starts. In order to reduce the launch time of Camera
apps, this change is to skip the window animations by changing the default
orientation to portrait.

Change-Id: I6682ab408d7e8d1f0580f3c1600b6c9c3d6a7f6e
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
be6fec51025dbaadf3f23467e0233d4fba50ad73 31-Oct-2011 Angus Kong <shkong@google.com> am 174b8b7f: Add forced sound for panorama mode.

* commit '174b8b7fc4d55e8c63eb3ed0b71f1519a13e345d':
Add forced sound for panorama mode.
174b8b7fc4d55e8c63eb3ed0b71f1519a13e345d 31-Oct-2011 Angus Kong <shkong@google.com> Add forced sound for panorama mode.

bug:5538024
Change-Id: I59b662a0cc53471ba905391c016c78ebd9ae1d73
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
bc85294715ce88c8378af3b77f7a0d27d7ceeaba 27-Oct-2011 Chih-Chung Chang <chihchung@google.com> Fix 5520611: Sleep after no interaction fow two minutes.

Change-Id: I33b38fa54302c0dbf98298e28c9457c9bf61bb7d
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
d32aa042a7d7fdb52cd8cec571e7c648f837eaff 19-Oct-2011 Wei-Ta Chen <weita@google.com> Make Panorama work in portrait layout.

Add the support of both portrait and landscape layout to the panorama library.
Add a step into the preview renderer that rotates the content in the
offscreen buffer by 90 degrees in the case of a portrait layout.

Change-Id: I879e3476daac522b0c8b27fe3ef5b17ebf0797e3
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
f5ba96adb5d72f9cac77ff21614f54e0d2bbb795 21-Oct-2011 Jim Miller <jaggies@google.com> am 7d9eadd0: Fix 5491362: don\'t open the camera in onResume in lockscreen.

* commit '7d9eadd0c6c38b3761b7e8d3fa3658d194810d60':
Fix 5491362: don't open the camera in onResume in lockscreen.
7d9eadd0c6c38b3761b7e8d3fa3658d194810d60 21-Oct-2011 Jim Miller <jaggies@google.com> Fix 5491362: don't open the camera in onResume in lockscreen.

Change-Id: I678dd23f1603647e801c339a557fc08b53dbfa38
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
0042b3b48b693a46030ec02f31df625b767e4977 19-Oct-2011 Eino-Ville Talvala <etalvala@google.com> am 7b52266b: Merge "Add hysteresis to orientation rounding." into ics-mr0

* commit '7b52266b6f9af570f1fdb200a1d0fa7947344e1a':
Add hysteresis to orientation rounding.
7b52266b6f9af570f1fdb200a1d0fa7947344e1a 19-Oct-2011 Eino-Ville Talvala <etalvala@google.com> Merge "Add hysteresis to orientation rounding." into ics-mr0
131cf9886c4f34431598be0b1f5b7aaa915277cc 18-Oct-2011 Eino-Ville Talvala <etalvala@google.com> Add hysteresis to orientation rounding.

This prevents fast flickering between two orientation states, which
can result in ugly UI issues, especially with the preview thumbnail.

Bug: 5477483
Change-Id: I9513547207ae1918066c1a19947c974eaad72e24
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
0d4b8bd024837c2a30ee70e5e71c6e674c6b579a 18-Oct-2011 Wei-Ta Chen <weita@google.com> am 66188959: Fix getting an empty thumbnail in reviewing panorama.

* commit '66188959498860c8b43ab7b9119c7b5c890c83dc':
Fix getting an empty thumbnail in reviewing panorama.
66188959498860c8b43ab7b9119c7b5c890c83dc 18-Oct-2011 Wei-Ta Chen <weita@google.com> Fix getting an empty thumbnail in reviewing panorama.

The sample size for generating a thumbnail should be calculated in a way
that also considers the case of a portrait image, i.e., height > width.
The SharePopup should also puts the thumbnail of a portrait panorama in
the center of the thumbnail view.

Bug: 5411488

Change-Id: I5e86a91829de77f4694c039bd871e6831f3906cb
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
1508ab60efb9264484ab8811dee256944e4885d7 18-Oct-2011 Wei Huang <weih@google.com> am d7a60abb: Merge "Disable Thumbnailview when Panorama capture is inProgress." into ics-mr0

* commit 'd7a60abbee203872df4b5ab9a873e7efad80e239':
Disable Thumbnailview when Panorama capture is inProgress.
d7a60abbee203872df4b5ab9a873e7efad80e239 18-Oct-2011 Wei Huang <weih@google.com> Merge "Disable Thumbnailview when Panorama capture is inProgress." into ics-mr0
a35b699f49b33253684a2937f0448903230d755d 18-Oct-2011 Wei Huang <weih@google.com> am 046b8ced: Merge "Use calculated frame offset instead of gyroscope." into ics-mr0

* commit '046b8ced839d1b04c32d1207fe53f7639d69453b':
Use calculated frame offset instead of gyroscope.
d991766dc3bcc03a02c6648e2cfd54ee4f8cbd9e 18-Oct-2011 Angus Kong <shkong@google.com> Use calculated frame offset instead of gyroscope.

bug:5359162
Change-Id: I319e9d54e08a2d711dc63bafa2593d6d68ef06fb
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
4a3026b84fa4fd403317b30b6a9db61125fecfa2 15-Oct-2011 heech.park <heech.park@samsung.com> Disable Thumbnailview when Panorama capture is inProgress.

Step 1: Go to Camera
Step 2: Change to Panorama shot
Step 3: Capture
Step 4: During capture tap on the album quick view
Step 5: Observe that we are able to view album from quick view while capturing as panorama shot.

bug:5475248

Change-Id: Ia74906e4a4c6b8b04e96724f76f98a37eaeb3189
Signed-off-by: Braganza Sam Roberts <sam.braganza@samsung.com>
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
334099a31b84b4dc2f9bf4d38ccef2f048ec8e61 13-Oct-2011 Wu-cheng Li <wuchengli@google.com> am 1bca5eaa: Simplify code about ShutterButton.

* commit '1bca5eaaa3c6d3fd36df572546715e4e515cf9e6':
Simplify code about ShutterButton.
1bca5eaaa3c6d3fd36df572546715e4e515cf9e6 13-Oct-2011 Wu-cheng Li <wuchengli@google.com> Simplify code about ShutterButton.

bug:5447399
Change-Id: I240d7523509f27d333a0ef69e6e0d3228a41e9de
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
041f6bb7cb0ae5da34eab67e82825ac2fde10b87 13-Oct-2011 Angus Kong <shkong@google.com> am ac65f661: Merge "The orientations use right angles in Panorama." into ics-mr0

* commit 'ac65f66171c9ff18b2c9f24fd4deae64ccf6fc93':
The orientations use right angles in Panorama.
87412bf98591aa08c7981f271932d469da8d3f86 13-Oct-2011 Angus Kong <shkong@google.com> am ef011a1e: Cancel the mosaic computation when paused.

* commit 'ef011a1e479f8e801318eba2dccb50fac1590d3c':
Cancel the mosaic computation when paused.
ac65f66171c9ff18b2c9f24fd4deae64ccf6fc93 13-Oct-2011 Angus Kong <shkong@google.com> Merge "The orientations use right angles in Panorama." into ics-mr0
ef011a1e479f8e801318eba2dccb50fac1590d3c 13-Oct-2011 Angus Kong <shkong@google.com> Cancel the mosaic computation when paused.

bug:5447804
Change-Id: Id8e3a9d0c140b572fa76cbe9cfb38abc6b53d871
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
82dd2a3b7ba88a3ea051d2b3960310891a243dad 10-Oct-2011 Mark Wagner <mxw@google.com> bugfix 5422126 Panorama needs to load the thumbnail from the file

This change makes Panorama closer to Camera in the way the Thumbnail is
loaded. But the Camera has a pretty different startup sequence so you
should review this to make sure it's correct.

Note that doing any IO on the UI thread can lead to ANR so we should
consider making the thumbnail load from an async task instead.

NOTES:

In camera the sequence is like this:

Thumbnail.loadFrom
initThumbnailButton
initializeFirstTime
FIRST_TIME_INIT message
onResume, surfaceChanged,

So we initiate the call to Thumbnail.loadFrom via onResume or surfaceChanged.

I removed the call to "updateThumbnailButton" from onStart to make this closer
to what we do in Camera.

Change-Id: I86283acbc9355f077d2966a018a3b972efe1c08c
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
22400adc90877480c3229d0ee86df9a6736c66cd 12-Oct-2011 Angus Kong <shkong@google.com> The orientations use right angles in Panorama.

The original orientation is represented in 0, 1, 2, and 3. Now we use the right angles to ensure the
consistency with Camera.java and VideoCamera.java.

bug:5447850
Change-Id: I4bc97d4f5b76c8ae297da550b5097b38bd0cefea
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
5201b1e0051877d8e8ed0ef5b461ffcac534eb5c 06-Oct-2011 Mark Wagner <mxw@google.com> bugfix 5290450 Share UI should match redlines

Incremental work towards matching the redline. This will probably
require a review pass from UX to catch any missed items.

Change-Id: I0496aa0fc1941f8ffa06050ae8fbed3fe7246878
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
b4d98e8e64d606beea6e131efbdee4f3cb8416a3 04-Oct-2011 Mark Wagner <mxw@google.com> Merge "bugfix 5340803 Deleted panorama still shown."
07abd8b392209c5136462807c055c2abd448dd0b 04-Oct-2011 Mark Wagner <mxw@google.com> Merge "bugfix 5388221 Last captured (photo, video, panorama) thumbnail disappears in panaromic mode"
8b084a607d0b207272d5c87fecbb5d33cbef1b4f 04-Oct-2011 Mark Wagner <mxw@google.com> bugfix 5340803 Deleted panorama still shown.

Second part for this fix. 139755 has the first half.

Change-Id: I9268bf3bb1a604f369fdf6056cb8a7dcd47b3632
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
9a7cba43937e7c74ebd9778bca40afc89145e3e1 04-Oct-2011 Mark Wagner <mxw@google.com> bugfix 5388221 Last captured (photo, video, panorama) thumbnail disappears in panaromic mode

Change-Id: I6dc31868870e27ea2c8446deb1cbb430bafe44ca
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
2512c685868eadb274f5be8cd71068078b1f5ddd 04-Oct-2011 Mark Wagner <mxw@google.com> bugfix 5244268 Remove animation of mode-picker and thumbnail in Panorama

Change-Id: I7172e104db252ad1200812771ab2890733af4847
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
575b49275691f5b539fe2c6dfde1741645dc3e93 30-Sep-2011 Raji Reddy Kandi <rajireddy.k@samsung.com> Issue: panorama preview is rotated 90 deg after lock and unlock.

Fixed.panorama preview is rotated 90 deg after lock and unlock. Its fixed.

Change-Id: Ibc5e3d18a56b3900c0715a3aeb7f345ccc476fca
Signed-off-by: Raji Reddy Kandi <rajireddy.k@samsung.com>
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
5f6e354a6e2a77aa935fcefeb33a9baa67d48aaf 29-Sep-2011 Chung-yih Wang <cywang@google.com> Fix the single popup issue.

bug:5169941

Popups should not persist when another is opened.
+Rename the confusing PopupChange listener.

Change-Id: Idca3218c090c8d9d176dbb97d8077dcc27409368
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
ea312297ff6132bbafed99b90a72e4858b888fa4 28-Sep-2011 Angus Kong <shkong@google.com> Add dimension attributes to MediaStore.

1. Width/height of still images added.
2. Resolution of videos added.

bug:5376821
Change-Id: I809743ae777e6bbc01e3a86651e7cd6489a81c86
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
c159dfe54fbc0f055a1d760f1614db4a8bcec94c 28-Sep-2011 Angus Kong <shkong@google.com> Change the option menu items for Crespo.

bug: 5164126
Change-Id: I63014a3ffc24f734b08ff45e485951347c83800f
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
db288b8686e5bcecef620176b934b00eb0742597 27-Sep-2011 Wu-cheng Li <wuchengli@google.com> Clear the share popup when a new thumbnail is generated.

When a new thumbnail is generated, the share popup still keeps a
reference to the old thumbnail. Clear the share popup so the old
thumbnail can be garbage collected.

bug:5336037

Change-Id: I8de6bdb82f6f36cfb8190929f99a7c278eefe7e5
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
3eaaa3f1fc7b3079e0edc66ed61d5e48b7cc44cc 20-Sep-2011 Angus Kong <shkong@google.com> Dialog is now shown when pausing. (DO NOT MERGE)

This fix is already submitted in master build. Submit again for factoryROM.

bug:5317261
Change-Id: I2f4a1153322c16ddf52a30a1b17195ddec96e4ec
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
5be37a20b9086be505ebd424a4b92967800038c8 19-Sep-2011 Wei-Ta Chen <weita@google.com> Merge "Adjust the screen brightness in the panorama mode." into ics-factoryrom
a959d05b52ac4b27dcdfe3d3a4e72220cf69d47a 17-Sep-2011 Wei-Ta Chen <weita@google.com> Adjust the screen brightness in the panorama mode.

Adjust the screen brightness in the case of automatic brightness.
Make the screen brightness in the panorama mode consistent with that in
the Camera mode and VideoCamera mode.

Change-Id: I1600bcabcdf0d5f3840a347cce10c329d2db100b
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
d3105c578427ac7507ca32ff1de4a92962de2357 16-Sep-2011 Wei-Ta Chen <weita@google.com> Set the focus mode to infinity in the Panorama mode.

Bug: 5320359
Change-Id: Iff431595bcc23a64cba93c5ac77bb3f34008b6b8
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
fa959aede9b1fe9d510108e883a2f16cf28c9033 15-Sep-2011 Angus Kong <shkong@google.com> The panning indicator turns red when too fast.

bug:5244268
Change-Id: I095c5aec9583885e86960d0e446328ca86e3dcb9
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
48ccad73c132753904a08651ce04cdb27377ef28 15-Sep-2011 Wu-cheng Li <wuchengli@google.com> Merge "Update share UI to match redlines."
977d06c6278cb7b131ed3c0960853d9168aacbdd 14-Sep-2011 Wu-cheng Li <wuchengli@google.com> Update share UI to match redlines.

- Change animation to crossfade.
- Remove border in the normal state.
- Remove the divider of the application icons.
- Change the area of the share popup to viewfinder only in panorama.

bug:5290450

Change-Id: Ia483c65f846e568a942d855119634f02c2c30c14
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
59a140990af1ba6d2c9aa627047a02e50c8dd0e1 15-Sep-2011 Angus Kong <shkong@google.com> Prevent NPE when handling messages.

bug:5238952
Change-Id: I56c65efb5798978aa76fbe1689317c6c021635a7
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
6e943908bc0608a168f7590078d2f6f371f09610 14-Sep-2011 Angus Kong <shkong@google.com> Merge "Show indication when panning too fast."
8b0e23544474480345937c0c0985429f61569761 14-Sep-2011 Angus Kong <shkong@google.com> Show indication when panning too fast.

bug:5141543
Change-Id: I579fd8583eb01c1f2309b8550f20c14fbe3ea2cf
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
27c7ab8a5d3dd50a62be80900abe6890c7182956 14-Sep-2011 Angus Kong <shkong@google.com> Solve issue that camera connection is lost.

bug: 5290362
Change-Id: I461847225772acf663614d20e9e1fb16c2d01e88
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
6108e0ed3a6b03deed2a8586d98607a6756637b1 13-Sep-2011 Angus Kong <shkong@google.com> Direction indicator before panorama panning added.

bug:5141666
Change-Id: I2ede83f9a5d31544db6d8ea2a269f50da4a3bb7a
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
8df38bbe67338a1f5dc58996bd8866f4c1fe264d 13-Sep-2011 Angus Kong <shkong@google.com> Show capture indication for panorama.

bug:5298354

Change-Id: I430d833dff9b7bcab6353889522da6e55e58d4e4
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
917cd82d626aaa5ea48b301fe9c7bc7452a0177f 13-Sep-2011 Angus Kong <shkong@google.com> Fix issue that view are modified in non-ui thread.

bug:5300117
Change-Id: Id0c3f36477796dcb3de42cf329d7a1fed7b0d82f
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
215f7ecf1fcc861986397fdf6724602d4775ab2c 12-Sep-2011 Angus Kong <shkong@google.com> Saving panorama starts automatically.

1. Saving process starts right after low-res result is generated.
2. Progress bar for panning stops updating after capturing.
3. Fixed the issue that progress bar for panning will show a indicator on the left side first when
there should be nothing shown on the screen.

Change-Id: I68a60b01035939d92bebe5ee59d63a27dfccc3c6
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
c3e797c34a6d3ba04caab6b0afbaecf7027e0bae 12-Sep-2011 Angus Kong <shkong@google.com> Merge "Replace the custom dialog with system dialog."
13e2b964e821f6ee40cf5715b6baec19c7fd09b8 11-Sep-2011 Angus Kong <shkong@google.com> Fix issue 5244268.

1. Remove the member field mMosaicComputationStatus for the ease of further maintainence.
2. Resolve the issue 5244268 that the progress dialog can be dismissed before generation is done.
This issue was previously fixed but brought up.

bug:5244268

Change-Id: Ia38d8c8a5a85fd72e73dbcd774c844a5ddaa0d3c
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
bfb958a707ce0e08d2142c81a278ec12b61083e0 11-Sep-2011 Angus Kong <shkong@google.com> Replace the custom dialog with system dialog.

Change-Id: Iabeeb6f4912e0f13a6691b9fd08507e7d5791c2c
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
057040c0e19834d98719143c2627a9f0df3e4c35 09-Sep-2011 Angus Kong <shkong@google.com> New progression bar used by saving and panning.

bug:5286267
Change-Id: I06f4cf147cdc5e68dc6cd7f5689ceb671a0fc43f
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
b3b80f6550f6a827e15b23abd780457cb26eebdf 09-Sep-2011 Angus Kong <shkong@google.com> The mode picker and thumbnail review animates.

The mode picker and thumbnail review not animate in after the capture starts and animate out after
the capture is done.

bug:5276223

Change-Id: I8c5073ec513ecd81e6041053059bc9a20280cbf5
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
e1178a73fd5756771d25d0b8375452450f509e99 08-Sep-2011 mbansal <mayank.bansal@sri.com> Updates to allow cancellation of mosaic computation from a UI trigger.

1) reportProgress now takes a new boolean parameter that can be used to break out of the mosaic computation loop at the library level.
2) Added a cancel button to the progressDialog and a new Handler message to handle the button click so that the user can be taken back to the capture stage.
3) Updates to address the code review.

Change-Id: I0768da55dd6ccd9b1464d456ab41973779734c65
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
90a21dd768fae18d670a338a72679e4c77ee1170 08-Sep-2011 Angus Kong <shkong@google.com> Merge "A customized dialog for preparing low-res review."
2f9ed6f52580b8fecb77ec3ca123a804eea89f8c 07-Sep-2011 Angus Kong <shkong@google.com> A customized dialog for preparing low-res review.

According to UI spec, a customized dialog is needed. The customized dialog has a rounded rectangle
as a background and a spinner over a text view.

bug:5244268

Change-Id: I21a5709babbaf92e507c8900a8cfb322e29bae4c
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
e0861e7473d042bdd9c935f3bdf50ae220891b6c 08-Sep-2011 Wu-cheng Li <wuchengli@google.com> Enter lights out mode.

bug:5158325
Change-Id: I7c14397d6b6d9fe72e92bf0ea260322d64c87b98
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
fcdf619d92701052621a96572d956d047e07cf24 07-Sep-2011 Angus Kong <shkong@google.com> Use new assets for panorama shutter button.

The original button with text is now replaced by the button with image provided from UI team.

Change-Id: I4598b5be1ff802b115450ba7b4dba9cb8e742450
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
a466abbd54caa8100a1ef6584a5b0db78224a125 06-Sep-2011 Angus Kong <shkong@google.com> The controls stay while capturing.

Change-Id: I1f375b8526dc131ee658c38c5b5dfa62fdf05335
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
e47b5624a1aa3cc7bd9763852bed4ac3215a77b2 30-Aug-2011 Wei-Ta Chen <weita@google.com> Fix the panning speed issue.

Use the moving average speed, rather than an instantaneous speed, to
calculate the panning speed. Also, set the panning speed threshold to 20
degrees/sec across all devices.

Bug: 5249945

Change-Id: Ib5bedf34b2a999d2e380873db48589b7f1882936
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
757b67951f40850b1ac3102dc0b6fe8977615a4a 31-Aug-2011 Wu-cheng Li <wuchengli@google.com> Add video snapshot.

Touch on the viewfinder will take a picture during recording.

Things not implemented:
- Add EXIF GPS.
- The last thumbnail can be a jpeg in camcorder mode.
- Call setRotation.
- Highlight preview border during video snapshot.

bug:5187868

Change-Id: I59a22aa00424355584611f095af752b83c0ee2f0
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
c89a0eb7b1f0cd5cd45de8fd08ff051f6f74f382 30-Aug-2011 Angus Kong <shkong@google.com> The angle indication now goes in two directions.

The computation of angles is moved into PanoramaActivity from MosaicFrameProcessor for rapid update
of the UI.

bug:5141674
Change-Id: I1bb6721c8354a0460701b5b0f60d772dd0b8633a
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
22d4b7fbace56c03092eb088a4df98e04a6681af 31-Aug-2011 Angus Kong <shkong@google.com> Fix NPE 5238952 when generating panorama fails.

1. Handle the situation of failing to generate the panorama.
2. The string id "details_ok" is changed to "dialog_ok" and used now in the "Ok" button of all the
dialogs.

bug:5238952
Change-Id: I847255a46667960e604892ad55a642358c4eab02
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
7648319f0416b86ae13b97eeba0466581ace1a48 29-Aug-2011 Wu-cheng Li <wuchengli@google.com> Increase the resolution of the thumbnail.

The share popup gets bigger. The resolution of the thumbnail
should be increased.
This also fixes OOM in panorama. It should use the width to
calculate the resolution, not height.

bug:5157438
bug:5220505

Change-Id: Ib7b6600469e94e38bd684c43b07584ce61acfcca
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
4591c5ecbaade585c3094be353d27b14f0592494 26-Aug-2011 Wu-cheng Li <wuchengli@google.com> Make the size of the share popup the same as preview area.

bug:5157438
Change-Id: Ib199ee62cce314c648c323304289af7e1421c59e
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
0c9caf77ab90b173fbe2719ec6a78e588964ac33 25-Aug-2011 Wei-Ta Chen <weita@google.com> Fix an issue that "Too fast" pop up in preview.

The issue is that the "Too fast" message is cleared only after we hit
"Start". Therefore, a previous "Too fast" message will be shown after
we hit "OK" and finish generating High-Res mosaic.
Fix the issue by clearing the message once we can done with capture.

Change-Id: I2b70b3a2334a7c9351365ad58fdb4323fe661526
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
6f6ea6ab6dad370d2cc378be91a2649ae44b2c94 25-Aug-2011 Angus Kong <shkong@google.com> Show progress when generating high-res panorama.

bug:5141680
Change-Id: I3e38f135364f874e830e08a671893775ac535775
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
f619ef352d74b1d1ff06d82fb4d265aa9676014b 25-Aug-2011 Angus Kong <shkong@google.com> Start capturing after the control disappears.

The capturing process and mosaic rendering begins after the control totally disappers.

Change-Id: Ib1fd281a1497a79c695b83e5e6206f5b3718f886
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
a907c122ccec649c6cedf3a45b1c426a5fca932e 21-Aug-2011 Angus Kong <shkong@google.com> Add thumbnail and share popup for the last result.

bug:5141665

Change-Id: Idc44d33d09c8d4a30fdcef66de2d6754daf1ea82
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
50b3c890986aadb3780b4da8c0b8dbb0f1422eba 23-Aug-2011 mbansal <mayank.bansal@sri.com> Updates to allow the mosaic library to report the mosaic computation progress (both low-res and high-res).

1) Added a new method to the Mosaic class that reports the percent progress for both LR and HR mosaicers.
2) Added a test function to the activity that logs the reported progress.
3) [REMOVED] Added a test progress-bar to the UI for quick testing of the progress reporting UI.
4) Made minor updates in response to Wei-Ta's review.

Change-Id: Iaf8ccf771579a40580a868743a6b53c6b05f14c6
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
f26e1ab12cb3f359fe1d6efcbe65344a3a0bf276 24-Aug-2011 Angus Kong <shkong@google.com> Controls animates in and out.

The controls on the right now slide out before capturing and slide in after review.

bug: 5146822
Change-Id: Ie9d162b4231bb77bdd155589e0c0443115a4cc98
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
5fde6d5259fccaed4bc517697a4930d3b69ae860 21-Aug-2011 Angus Kong <shkong@google.com> Show spinner dialog when generating mosaic.

bug:5141680
Change-Id: I66aa7530361728549da517b1cad1fea881894b4e
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
43b0b2ccd5949ee8fc377c37e7e2b82a26c88ca8 19-Aug-2011 Wei-Ta Chen <weita@google.com> Set a panning speed threshold across all devices.

We set the threshold to 30 degrees/sec.

Bug: 5182333
Change-Id: I29282893519f54601738b74945b2146c016c0af3
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
4d1c2846e24a7f7f6c8ff59e01ca36a000344944 17-Aug-2011 Angus Kong <shkong@google.com> Fix NPE bug in onPause() when mSurface is null.

bug: 5166296
Change-Id: I48855b2b5309e9d0f91c8c2ac5cde08095bac408
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
2faf16a90a6a6d18e40faf45ced217b913b214b6 18-Aug-2011 Angus Kong <shkong@google.com> Refactor to decouple SurfaceTexture and renderer.

Change-Id: Icae3183f597fc64ab2f3ffc0868a12b878aabdf2
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
fbc5751416caa3a0d065ae15f56d1fb0253552c5 13-Aug-2011 Angus Kong <shkong@google.com> Show "Too Fast" when panning speed is too fast.

bug:5141497
Change-Id: Iaff5b7bd05c9b232091f0133a756a5513e5956b3
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
5af9472f1c260c1a3b54d2e1bd448c27b5e5968f 17-Aug-2011 Wei-Ta Chen <weita@google.com> Make the speed indicator visible.

The speed inidicator has to be drawn on top of the viewfinder/panorama
preview. Its visibility state should be same to the STOP button.

Change-Id: I5631dd77a98e96b2467f146f0b437e2043504fa1
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
e46486104523760a4433f03e09ed615987d83b6c 16-Aug-2011 Angus Kong <shkong@google.com> Fix issue: returned width/height <= 0.

Width/height returned by Mosaic JNI is <= 0. generateFinalMosaic() now returns null in such cases.

bug:5133740
Change-Id: I49b69cab1d40fd878d7cd4988fbc1a9f4dba9343
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
36839102e03107e3fb121197036365a58ec2686e 15-Aug-2011 Angus Kong <shkong@google.com> Fix NPE at PanoramaActivity.stopCapture()

bug: 5166705
Change-Id: Idbeeaef6981775303ebc324a0f004b6db45bcbf8
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
60fc534ec8f68d95a486984cb396a2da0e200518 16-Aug-2011 Angus Kong <shkong@google.com> Remove preview layout and adjust widget size.

Since we now use GL to render the realtime preview, the original preview frame can
be removed then. Also some widgets' size is adjusted.

bug:5142002
Change-Id: I8da708bab63b107b39e9e87a4893506dec171910
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
3a73cd704cb7a6caa8267af55d191cceeef94d16 15-Aug-2011 Wei-Ta Chen <weita@google.com> Merge "Remove the flag - mUseSurfaceTexture."
739f9e1541c30735e45d5cb90255dd36a32d3604 11-Aug-2011 Angus Kong <shkong@google.com> Use "Start" button instead for Panorama.

The shutter button in panorama is replaced by a start button.

bug:5141569
Change-Id: Idb3f6cc621be5b83fae70bce7ef35636079e31f3
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
ef91f8514bf3c21091dde6b292f9616464dc32e8 11-Aug-2011 Angus Kong <shkong@google.com> Generate High-res panorama.

bug:5105037
Change-Id: I06a5527b9b614ff3aedf7e1b5d1efd38938dbd3d
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
0adf2489520d3a98a56e081aeacb1ab9336a012f 13-Aug-2011 Wei-Ta Chen <weita@google.com> Remove the flag - mUseSurfaceTexture.

The flag was used for debugging.
We completed the transition of using SurfaceTexture to get preview frame data.

Change-Id: I4af16456845c741342bbbf65e912a67c094ab006
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
41a2e9735136f372de95652d0828600282c8e967 09-Aug-2011 mbansal <mayank.bansal@sri.com> Updates to allow using SurfaceTexture for reading the preview frames directly from GPU memory.

1) SurfaceTexture is now used to obtain the data processed by the mosaicing library.
2) SurfaceTexture in GPU memory is directly rendered using the transformation from the mosaicing library to generate the preview mosaic.
3) GPU is also used to generate the Low-Res frames from the High-res frames (was being done in CPU before).
4) SurfaceTexture is also used to render the viewfinder as soon as the mosaicing application starts (eliminating the need for a separate SurfaceHolder to render the camera).
5) Modified the XML layout during the preview state to be the same size as during the capture stage to accommodate the SurfaceTexture based viewfinder [this needs to be reviewed and adjusted].
6) Fixed the viewfinder and back button issues identified by Wei-Ta.
7) Round-1 of removing trailing spaces and tabs.
8) Added documentation to new Java side interfaces and cleaned up code in general.
9) Cleaned up redundant and commented out code from the native side.
10) Merged with latest updates from the main trunk.
11) Fixed issues identified in code review and also cleaned up and refactored some code.
12) Added layout-w1024dp/pano_capture.xml for tablet layout.

Change-Id: If8fb0116de6c7fc6652cc67ac453553726961c32
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
142402d57c1689c1342d096c976b9b0826f8ce1a 08-Aug-2011 Angus Kong <shkong@google.com> "Retake" and "Ok" buttons can function correctly.

1. "Retake" button brings user back to preview stage without saving the final result.
2. "Ok" button brings user back to preview stage after saving the final result.

bug:5031609
bug:5142100
bug:5134202
bug:5133871
Change-Id: I234e242182765cc5624b2fc8444bc38e5a9edf9f
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
7629155333c8db423ec28f2d368f0938ea7ddf23 09-Aug-2011 Wei-Ta Chen <weita@google.com> Merge "Remove the unnecessary low-res alpha bitmap."
93ad273a53e7d2975a67d7d1f8a157f845e41cf2 09-Aug-2011 Wu-cheng Li <wuchengli@google.com> Use recording hint API.

bug:4266229
Change-Id: Iafd4b6cb4bf20a1bff3ed639f9e48ca71f026969
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
d690626cc82e43eb3fadde968ea15a10e40590bf 09-Aug-2011 Wei-Ta Chen <weita@google.com> Remove the unnecessary low-res alpha bitmap.

Since we now use OpenGL to render panorama preview in the native layer, there is no need to
maintaine a low resolution alpha bitmap in the application layer for
panorama preview rendering. The change improves the rendering
performance.

Change-Id: I3e7fa36e895d600de06808a2a67f72ae757205e2
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
f921d46b1e1c9b4a8f1b017ce26675fd9accd609 06-Aug-2011 Wei-Ta Chen <weita@google.com> Fix the issue that panorama preview occludes viewfinder.

Change-Id: Ide8fdde9c95fb9d4ed1b03a750e0ce78fde93236
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
eeb94d4de94bfd4e01f3a716803f77a530f5b92c 02-Aug-2011 mbansal <mayank.bansal@sri.com> Updates for mosaic preview rendering to happen using native GLES2.0 code.

1) Added new subfolder mosaic_renderer in feature_mos/src with FrameBuffer and WarpRenderer classes.
2) Added mosaic_renderer_jni.h|cpp files to the jni folder to perform GL calls for rendering on the GL thread.
3) Updated code in feature_mos_jni.cpp to connect with mosaic_renderer_jni.cpp.
4) Added new java files in com.android.camera.panorama to encapsulate the GL JNI interface, a GLSurfaceView for display and a GLSurfaceView.Renderer for rendering.
5) Modified APP code to enable the new GL-based rendering and made relevant changes to the UI (in pano_views.xml).
6) Fixed a GL bug which was preventing the rendering from working properly after hitting the back button once.
7) Preview rendering now displays in the current frame coordinate system.
8) Fixed the ghost preview rendering bug.

Change-Id: Ieb64ee3fd4a9a2c6563a311a4930ddc85ce2247c
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
a955261dd734524eb7d8e1af76c695122efc8aa7 04-Aug-2011 Angus Kong <shkong@google.com> Stop button added on panorama UI.

1. Individual layout XML file added for preview, capture and review stages.
2. Stop button added for capture stage.
3. Layout changed to comply UI spec more.

bug:5031609
Change-Id: I152daafe8a1a9fcc12b3803f3f7a36875b425628
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
d1cff41cd8ae0fc6e9df1050730bb5e47bd364af 04-Aug-2011 Wu-cheng Li <wuchengli@google.com> Set preview invisible after mosaic is captured.

bug:5118463

Change-Id: Icd90cdb9cc9d26e28ff16292ccf20eb8bad617cc
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
ead4a28d6c99e95707149563d89b563c372b870a 04-Aug-2011 Wei-Ta Chen <weita@google.com> Merge "Make Panorama run on phone."
4b602592e0d189499b22d107d997b83e798b5bd9 03-Aug-2011 Wu-cheng Li <wuchengli@google.com> Add face detection UI.

bug:4460717
Change-Id: Id09cc012efffcee0f5af3a070b5dcb775a7048a0
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
98f41918daf64318a7da4ec94712eeb8d6697f31 03-Aug-2011 Wei-Ta Chen <weita@google.com> Make Panorama run on phone.

Change-Id: I41ff1c35918794e81d4f397ed72f438dadccde4a
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
3ab4f0912da83f7f5f8266a57a606d521c1649e3 02-Aug-2011 Wu-cheng Li <wuchengli@google.com> Set recording hint to true in camcorder mode.

bug:4266229
Change-Id: Ic8cf3ea9e16adb62dbe30df7baf9528807c9ea56
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
ac86e91982dbb64eac089aa8ccf23bddb51f27f1 30-Jul-2011 Angus Kong <shkong@google.com> Insert final mosaic image into MediaStore.

bug:5031609
Change-Id: I234868bafd1f4437f39ee719ca7946052aec71db
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
94f592fc405ca45b8794007cd9083c3250924b50 27-Jul-2011 Wei-Ta Chen <weita@google.com> Fix memory leaks both in the native and Java side.

Change-Id: I80dabe069047fb2327ddbb4f78477723870e1c2a
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
8a2c41754655a3733175fce81fb7506ff7022959 28-Jul-2011 Angus Kong <shkong@google.com> Refactoring Panorama UI codes.

Mosaic native interface is moved out from Preview.java. Program logics and UI are now
decoupled.

bug:5031609
Change-Id: If46a21a6be05deba7fd1f94f37d14c4afa460d78
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
a72d73cbac59db43d413291e4db66763be08143a 27-Jul-2011 repo sync <cywang@google.com> Add mode picker for camera/camcorder/panaramo

+remove camera switcher
+add menu item for panorama

bug:5039225
Change-Id: Ib065074026760f7dc1bd1dfe694935f46bb8c407
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
7929debdccbf3e0cbaf91d476e6f3008c62671f1 27-Jul-2011 Angus Kong <shkong@google.com> Fix preview orientation bug on some devices.

bug:5031609
Change-Id: If70a5a4125315caf4d53534d1e884bde6bc80cbd
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java
bdc7e2b461064b25b7f17b0941077fc97653093d 15-Jun-2011 Wei-Ta Chen <weita@google.com> Check in the Mosaic Stitching codes.

1. Camera setup moved to activity level.
2. Fixed releasing and acquiring camera process.
3. Unused .xml files removed.
4. Style issues fixed.

Bug: 5031489
Change-Id: Ifd271588ca2168398e17f204f065681ead2d8f2f
/packages/apps/Camera/src/com/android/camera/panorama/PanoramaActivity.java