summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Updates to allow the mosaic library to report the mosaic computation ↵mbansal2011-08-248-11/+94
| | | | | | | | | | | 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-243-0/+53
| | | | | | | The controls on the right now slide out before capturing and slide in after review. bug: 5146822 Change-Id: Ie9d162b4231bb77bdd155589e0c0443115a4cc98
* Merge "Dim the background and change the animation of the share popup."Wu-cheng Li2011-08-246-66/+4
|\
| * Dim the background and change the animation of the share popup.Wu-cheng Li2011-08-246-66/+4
| | | | | | | | | | | | bug:5157438 Change-Id: I177678959698af3c2f6a6236101e0ced6d5b868d
* | Increase char limit of tap to focus toast.Wu-cheng Li2011-08-241-1/+1
|/ | | | | bug:5205501 Change-Id: I9447ea077e3690d2dafa4164a8353de31e1a4d3f
* Refactor all focus code to a separate class.Wu-cheng Li2011-08-234-280/+504
| | | | | | | The code about focus is complicated and scattered around. Move the code to a new class, so it is easier to maintain. Change-Id: I0214b405bf1596d967e7d89cdb04328322c6ab95
* Use public API Parameters.FOCUS_MODE_CONTINUOUS_PICTURE.Wu-cheng Li2011-08-231-4/+1
| | | | | bug:5086125 Change-Id: I3e10e9a993804e60d77ba678c0fa664d9c13fa17
* Refactor indicator wheel.Chung-yih Wang2011-08-2310-230/+365
| | | | | | +add IndicatorControlWheel container. Change-Id: Ia3c7f0441de75a70c8a2172e86d3812b2ef1a15b
* Add white balance assets for tablet.Wu-cheng Li2011-08-2312-0/+0
| | | | | bug:5024054 Change-Id: Ie5bbc7b4f2b1c56f3b58a4aad02e1f8852653240
* Merge "Start face detection every time after starting preview."Wu-cheng Li2011-08-231-2/+2
|\
| * Start face detection every time after starting preview.Wu-cheng Li2011-08-231-2/+2
| | | | | | | | | | | | | | | | | | | | This fix the face detection is not resumed after tap-to-focus and take a picture. According to javadoc, face detection should be restarted after starting preview. bug:4460717 Change-Id: Ic092de72e42c281c78f9e11b67df9d89c0b10388
* | Merge "Show spinner dialog when generating mosaic."Angus Kong2011-08-222-10/+34
|\ \
| * | Show spinner dialog when generating mosaic.Angus Kong2011-08-222-10/+34
| |/ | | | | | | | | bug:5141680 Change-Id: I66aa7530361728549da517b1cad1fea881894b4e
* | Merge "Disable mode picker during video recording"Chih-yu Huang2011-08-222-18/+23
|\ \
| * | Disable mode picker during video recordingChih-yu Huang2011-08-232-18/+23
| | | | | | | | | | | | | | | bug:5152987 Change-Id: Icfa472494dad0c475fff5b71fe19f06e472873ff
* | | Updates to remove compile warnings and stop the viewfinder panning at UI ↵mbansal2011-08-228-166/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | boundary. Also, new logic for rendering the preview mosaic. 1) Fixed compiler warnings reported by Wei-Ta. 2) The viewfinder now stops panning (for both left-to-right and right-to-left motions) when it hits a pre-defined border region within the screen viewport. 3) Updated the logic for rendering to always maintain the preview mosaic (previewFBO) in the current-frame coordinate system. This fixes the repeating issues. Change-Id: I6619ffe96955965ba523e330fa6561c88e6e6d5c
* | | Merge "Import revised translations."Eric Fischer2011-08-2246-146/+392
|\ \ \
| * | | Import revised translations.Eric Fischer2011-08-2246-146/+392
| | | | | | | | | | | | | | | | Change-Id: Idddd25b9657b030d3d510470d619a0c3ae103390
* | | | Modify the width of retake button.Angus Kong2011-08-231-2/+4
| |_|/ |/| | | | | | | | | | | | | | | | | Use "wrap_content" to prevent the wrapping of the text and use android:minWidth to constrain the width. Change-Id: I91cd890dc6b0871d768f5f59b69249b7049b188e
* | | Merge "Add continuous autofocus in still picture mode."Wu-cheng Li2011-08-222-30/+47
|\ \ \
| * | | Add continuous autofocus in still picture mode.Wu-cheng Li2011-08-222-30/+47
| | |/ | |/| | | | | | | | | | bug:5086125 Change-Id: I5c235fce5f13115554849623579cc5e659521ed3
* | | Add exposure indicator on screen.Chih-yu Huang2011-08-226-59/+110
|/ / | | | | | | | | bug:5141528 Change-Id: Ib63c24b52c4b4bc67e88c1ec6a8ac41b9e4c09e5
* | 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
* Merge "Part of effort to remove "failure" messaging to end-users. Bug: 5165745"Justin Ho2011-08-191-2/+2
|\
| * Part of effort to remove "failure" messaging to end-users.Claudia de Veaux2011-08-181-2/+2
| | | | | | | | | | | | Bug: 5165745 Change-Id: I666fd23043793b69a38c741909a31b4d987f0236
* | Update back/front camera picker icon.Wu-cheng Li2011-08-1914-12/+1
| | | | | | | | | | bug:5024054 Change-Id: I6c6338b0b90f225bf69cec8c328ca37d50669910
* | Add flash, setting, and white-balance assets for tablet.Wu-cheng Li2011-08-1915-0/+0
| | | | | | | | | | bug:5024054 Change-Id: I456f5ee9c5d7d53edc8732fba75aab6840c86714
* | Dimension for TextView of speed indication.Angus Kong2011-08-193-0/+6
| | | | | | | | | | | | Fix the unspecified dimension of the TextView of speedn indication. Change-Id: I99b806feb40fc9523d36b5659f5071b1ff5df614
* | Merge "Fix NPE bug in onPause() when mSurface is null."Angus Kong2011-08-191-4/+6
|\ \
| * | Fix NPE bug in onPause() when mSurface is null.Angus Kong2011-08-191-4/+6
| | | | | | | | | | | | | | | bug: 5166296 Change-Id: I48855b2b5309e9d0f91c8c2ac5cde08095bac408
* | | Cleanup unused imports.Chung-yih Wang2011-08-197-16/+0
|/ / | | | | | | Change-Id: I72c979a921d4b6a5143bd90a59e9e4d91958033f
* | Refactor to decouple SurfaceTexture and renderer.Angus Kong2011-08-193-70/+63
| | | | | | | | Change-Id: Icae3183f597fc64ab2f3ffc0868a12b878aabdf2
* | Show "Too Fast" when panning speed is too fast.Angus Kong2011-08-194-10/+14
| | | | | | | | | | bug:5141497 Change-Id: Iaff5b7bd05c9b232091f0133a756a5513e5956b3
* | Updates to allow the viewfinder to slide across the UI with device panning. ↵mbansal2011-08-1814-700/+903
|/ | | | | | | | | | | | | | | Also, rendering updates for color conversion using GPU. 1) Refactored the SurfaceTextureRenderer and WarpRenderer classes to inherit from a new base class Renderer. 2) Fixed a minor bug in the Blend class and added a helper function to create the mosaic in middle frame coordinate system [no changes in run-time behavior]. 3) Added a flip-flop gPreviewFBO to allow panning the viewfinder across the UI when the user pans the device. 4) Fixed the size of the viewfinder and preview mosaic to match the UI layout height. 5) The viewfinder in the preview stage is now aligned with the viewfinder in the capture stage. 6) Added new class YVURenderer that converts from RGB to YVU data using GLSL shaders. 7) Modified the rendering pipeline to use GPU for RGB to YVU conversion. The processing thread now only performs conversion from YVUA interlaced to YVU planar format. 8) Updates following Wei-Ta's code-review comments. Change-Id: I6c18df3b57d1c2d78d55da8a8f3b9cd970c8d903
* Merge "Update white-balance and remove old setting icon."Wu-cheng Li2011-08-1844-11/+11
|\
| * Update white-balance and remove old setting icon.Wu-cheng Li2011-08-1844-11/+11
| | | | | | | | | | bug:5024054 Change-Id: I6a11ba498c2eee82f5496594b61351fe745eb4a9
* | Merge "Fix bug menu item too small."Chih-yu Huang2011-08-183-12/+14
|\ \ | |/ |/|
| * Fix bug menu item too small.Chih-yu Huang2011-08-183-12/+14
| | | | | | | | | | bug:5146331 Change-Id: Ia4fcd61032fa7394b42697a2484ac329da45e619
* | Update new flash assets.Wu-cheng Li2011-08-1825-10/+10
| | | | | | | | | | bug:5024054 Change-Id: I29d3101ea25a659bf591a03a93ce1ad6abfc8b79
* | Merge "Clear the face view in onPause and when face detection starts."Wu-cheng Li2011-08-171-2/+6
|\ \
| * | Clear the face view in onPause and when face detection starts.Wu-cheng Li2011-08-181-2/+6
| | | | | | | | | | | | | | | | | | bug:5169594 Change-Id: I822e8860861c6b11ab55bcfd5a9604e4fcee8d6a
* | | Fix the NPE.Chung-yih Wang2011-08-181-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | bug:5179776 A bug caused by the boundary case. Change-Id: I8c835797725a17d1deccb3e8712bf66149cd10ab
* | | Make the speed indicator visible.Wei-Ta Chen2011-08-173-21/+12
| |/ |/| | | | | | | | | | | 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
* | Move CameraPicker into IndicatorControl.Chung-yih Wang2011-08-1715-76/+32
| | | | | | | | | | | | +Move the CameraPicker icon to IndicatorBar for Phone UI. Change-Id: I2ab75166586adb6a029b4cf1b3f19604526dd818
* | Fix the indicator wheel look.Chung-yih Wang2011-08-171-5/+6
|/ | | | | | | | Since we had a invisible zoom picker control inside the indicator wheel. The look of the indicator wheel was not correct. The change fixes the look by moving out the ZoomPicker. Change-Id: If947918f5d67e9224de44a48e7f1c28dba3e9f08
* Merge "Add Sprung Lever Zoom Control for Phone UI."Chung-yih Wang2011-08-1744-288/+901
|\
| * Add Sprung Lever Zoom Control for Phone UI.Chung-yih Wang2011-08-1744-288/+901
| | | | | | | | | | bug:5083780 Change-Id: I5b29f6bc509fc93ed74175e2754ce9f3c4afe27f
* | Fix issue: returned width/height <= 0.Angus Kong2011-08-171-0/+7
| | | | | | | | | | | | | | Width/height returned by Mosaic JNI is <= 0. generateFinalMosaic() now returns null in such cases. bug:5133740 Change-Id: I49b69cab1d40fd878d7cd4988fbc1a9f4dba9343
* | Merge "Fix NPE at PanoramaActivity.stopCapture()"Angus Kong2011-08-163-113/+75
|\ \
| * | Fix NPE at PanoramaActivity.stopCapture()Angus Kong2011-08-163-113/+75
| |/ | | | | | | | | bug: 5166705 Change-Id: Idbeeaef6981775303ebc324a0f004b6db45bcbf8