summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/panorama
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge "bugfix 5388221 Last captured (photo, video, panorama) thumbnail ↵Mark Wagner2011-10-041-3/+23
|\ \ | |/ | | | | disappears in panaromic mode"
| * bugfix 5388221 Last captured (photo, video, panorama) thumbnail disappears ↵Mark Wagner2011-10-041-3/+23
| | | | | | | | | | | | in panaromic mode Change-Id: I6dc31868870e27ea2c8446deb1cbb430bafe44ca
* | bugfix 5244268 Remove animation of mode-picker and thumbnail in PanoramaMark Wagner2011-10-041-28/+4
|/ | | | Change-Id: I7172e104db252ad1200812771ab2890733af4847
* Issue: panorama preview is rotated 90 deg after lock and unlock.Raji Reddy Kandi2011-09-302-9/+21
| | | | | | | 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>
* Fix the single popup issue.Chung-yih Wang2011-09-301-1/+2
| | | | | | | | | bug:5169941 Popups should not persist when another is opened. +Rename the confusing PopupChange listener. Change-Id: Idca3218c090c8d9d176dbb97d8077dcc27409368
* Add dimension attributes to MediaStore.Angus Kong2011-09-291-3/+3
| | | | | | | | 1. Width/height of still images added. 2. Resolution of videos added. bug:5376821 Change-Id: I809743ae777e6bbc01e3a86651e7cd6489a81c86
* Change the option menu items for Crespo.Angus Kong2011-09-281-1/+23
| | | | | bug: 5164126 Change-Id: I63014a3ffc24f734b08ff45e485951347c83800f
* Clear the share popup when a new thumbnail is generated.Wu-cheng Li2011-09-271-0/+2
| | | | | | | | | | 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
* Updates to handle textureless scenes during capture.mbansal2011-09-222-8/+15
| | | | | | | | | | 1) Starts stitching only when the camera sees a textured scene at the beginning. 2) If a texturess scene is encountered in the middle of a capture, the stitching continues with the intermediate frames translated using the pan velocity estimate. 3) Added more error codes and percolated them up to the java layer. 4) Fix a build error in Mosaic::addFrame() and added comments. 5) Update the javadoc in Mosaic.java to reflect the new returning codes. Change-Id: I7727ace615ece22adefe313a19ac2cbe8c8d21a8
* Blending algorithm updates to support WIDE strip-based blending.mbansal2011-09-202-0/+27
| | | | | | | 1) Added algorithm to select wider strips (and made it the default mode in the app). 2) Added algorithm to cross-fade blend between the wider strips. Change-Id: I744e69edb16a20f0040ee82c3390548b78853087
* Dialog is now shown when pausing. (DO NOT MERGE)Angus Kong2011-09-201-1/+5
| | | | | | | This fix is already submitted in master build. Submit again for factoryROM. bug:5317261 Change-Id: I2f4a1153322c16ddf52a30a1b17195ddec96e4ec
* Merge "Adjust the screen brightness in the panorama mode." into ics-factoryromWei-Ta Chen2011-09-191-2/+5
|\
| * Adjust the screen brightness in the panorama mode.Wei-Ta Chen2011-09-161-2/+5
| | | | | | | | | | | | | | | | 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
* | Set the focus mode to infinity in the Panorama mode.Wei-Ta Chen2011-09-161-0/+13
|/ | | | | Bug: 5320359 Change-Id: Iff431595bcc23a64cba93c5ac77bb3f34008b6b8
* The panning indicator turns red when too fast.Angus Kong2011-09-152-5/+18
| | | | | bug:5244268 Change-Id: I095c5aec9583885e86960d0e446328ca86e3dcb9
* Merge "Update share UI to match redlines."Wu-cheng Li2011-09-141-2/+1
|\
| * Update share UI to match redlines.Wu-cheng Li2011-09-151-2/+1
| | | | | | | | | | | | | | | | | | | | | | - 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
* | Prevent NPE when handling messages.Angus Kong2011-09-151-13/+15
|/ | | | | bug:5238952 Change-Id: I56c65efb5798978aa76fbe1689317c6c021635a7
* Merge "Show indication when panning too fast."Angus Kong2011-09-131-9/+21
|\
| * Show indication when panning too fast.Angus Kong2011-09-141-9/+21
| | | | | | | | | | bug:5141543 Change-Id: I579fd8583eb01c1f2309b8550f20c14fbe3ea2cf
* | Solve issue that camera connection is lost.Angus Kong2011-09-141-6/+14
|/ | | | | bug: 5290362 Change-Id: I461847225772acf663614d20e9e1fb16c2d01e88
* Direction indicator before panorama panning added.Angus Kong2011-09-142-7/+66
| | | | | bug:5141666 Change-Id: I2ede83f9a5d31544db6d8ea2a269f50da4a3bb7a
* Show capture indication for panorama.Angus Kong2011-09-131-0/+5
| | | | | | bug:5298354 Change-Id: I430d833dff9b7bcab6353889522da6e55e58d4e4
* Fix issue that view are modified in non-ui thread.Angus Kong2011-09-132-6/+1
| | | | | bug:5300117 Change-Id: Id0c3f36477796dcb3de42cf329d7a1fed7b0d82f
* Saving panorama starts automatically.Angus Kong2011-09-132-58/+57
| | | | | | | | | 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
* Merge "Replace the custom dialog with system dialog."Angus Kong2011-09-121-29/+7
|\
| * Replace the custom dialog with system dialog.Angus Kong2011-09-121-29/+7
| | | | | | | | Change-Id: Iabeeb6f4912e0f13a6691b9fd08507e7d5791c2c
* | Fix issue 5244268.Angus Kong2011-09-121-34/+38
|/ | | | | | | | | | 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
* New progression bar used by saving and panning.Angus Kong2011-09-123-136/+175
| | | | | bug:5286267 Change-Id: I06f4cf147cdc5e68dc6cd7f5689ceb671a0fc43f
* The mode picker and thumbnail review animates.Angus Kong2011-09-101-0/+31
| | | | | | | | | 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
* Updates to allow cancellation of mosaic computation from a UI trigger.mbansal2011-09-093-26/+73
| | | | | | | | 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
* Merge "A customized dialog for preparing low-res review."Angus Kong2011-09-071-12/+39
|\
| * A customized dialog for preparing low-res review.Angus Kong2011-09-081-14/+39
| | | | | | | | | | | | | | | | | | 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
* | Enter lights out mode.Wu-cheng Li2011-09-081-2/+1
|/ | | | | bug:5158325 Change-Id: I7c14397d6b6d9fe72e92bf0ea260322d64c87b98
* Use new assets for panorama shutter button.Angus Kong2011-09-071-15/+20
| | | | | | The original button with text is now replaced by the button with image provided from UI team. Change-Id: I4598b5be1ff802b115450ba7b4dba9cb8e742450
* The controls stay while capturing.Angus Kong2011-09-071-18/+13
| | | | Change-Id: I1f375b8526dc131ee658c38c5b5dfa62fdf05335
* Fix the panning speed issue.Wei-Ta Chen2011-09-062-13/+57
| | | | | | | | | | 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
* Add video snapshot.Wu-cheng Li2011-09-011-2/+2
| | | | | | | | | | | | | | 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
* The angle indication now goes in two directions.Angus Kong2011-09-014-144/+221
| | | | | | | | The computation of angles is moved into PanoramaActivity from MosaicFrameProcessor for rapid update of the UI. bug:5141674 Change-Id: I1bb6721c8354a0460701b5b0f60d772dd0b8633a
* Fix NPE 5238952 when generating panorama fails.Angus Kong2011-09-011-10/+38
| | | | | | | | | 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
* Increase the resolution of the thumbnail.Wu-cheng Li2011-08-291-12/+27
| | | | | | | | | | | | 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
* Make the size of the share popup the same as preview area.Wu-cheng Li2011-08-291-1/+2
| | | | | bug:5157438 Change-Id: Ib199ee62cce314c648c323304289af7e1421c59e
* Fix an issue that "Too fast" pop up in preview.Wei-Ta Chen2011-08-261-1/+1
| | | | | | | | | 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
* Show progress when generating high-res panorama.Angus Kong2011-08-261-18/+27
| | | | | bug:5141680 Change-Id: I3e38f135364f874e830e08a671893775ac535775
* Start capturing after the control disappears.Angus Kong2011-08-251-3/+2
| | | | | | The capturing process and mosaic rendering begins after the control totally disappers. Change-Id: Ib1fd281a1497a79c695b83e5e6206f5b3718f886
* Add thumbnail and share popup for the last result.Angus Kong2011-08-252-38/+52
| | | | | | bug:5141665 Change-Id: Idc44d33d09c8d4a30fdcef66de2d6754daf1ea82
* Updates to allow the mosaic library to report the mosaic computation ↵mbansal2011-08-243-2/+45
| | | | | | | | | | | 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
* Controls animates in and out.Angus Kong2011-08-241-0/+9
| | | | | | | The controls on the right now slide out before capturing and slide in after review. bug: 5146822 Change-Id: Ie9d162b4231bb77bdd155589e0c0443115a4cc98
* Show spinner dialog when generating mosaic.Angus Kong2011-08-221-10/+28
| | | | | bug:5141680 Change-Id: I66aa7530361728549da517b1cad1fea881894b4e
* Set a panning speed threshold across all devices.Wei-Ta Chen2011-08-192-11/+38
| | | | | | | We set the threshold to 30 degrees/sec. Bug: 5182333 Change-Id: I29282893519f54601738b74945b2146c016c0af3