summaryrefslogtreecommitdiffstats
path: root/camera2/portability/src/com/android/ex/camera2/portability/CameraSettings.java
Commit message (Collapse)AuthorAgeFilesLines
* Merge "camera2-portability: Switch to ratio-based zoom interfaces" into lmp-devSol Boucher2014-08-231-13/+14
|\
| * camera2-portability: Switch to ratio-based zoom interfacesSol Boucher2014-08-211-13/+14
| | | | | | | | | | | | | | | | | | This eliminates the deprecated index-based CameraSettings zoom methods in favor of floating-point ratio based versions, and includes the plumbing to make those work for both the camera1 and camera2 underlying framework APIs. Bug: 17016658 Change-Id: I0567a53cd57bfa6d53604e3c5457a39ef49e3cb4
* | camera2-api: Tag camera2 JPEGs with any provided locationSol Boucher2014-08-221-1/+12
|/ | | | | Bug: 17027000 Change-Id: I311028b9df4d74268fb415c163f7e6a2d2505dff
* camera2-portability: Support photo capture using camera2 APISol Boucher2014-08-071-16/+24
| | | | | | | | | | | This implements JPEG capture, including an autoexposure precapture sequence. There are many changes to AndroidCamera2Capabilities and AndroidCamera2Settings to support the representation of modes (e.g. flash modes) whose flags do not map trivially between the API implementations. Part of this work is the conversion of AndroidCamera2AgentImpl to use and store a Camera2RequestSettingsSet instead of a bare API 2 CaptureRequest.Builder. Change-Id: I03f9f98c954a7b0c140ac8d80161878c92ef65d2
* camera2-portability: Add support for previews using the camera2 APISol Boucher2014-07-081-0/+16
| | | | | | | At the moment, only SurfaceTextures (and not SurfaceViews/SurfaceHolders) are supported. The tests still only cover Stringifier and IntegralStringifier. Change-Id: Ie643c58f8383cd3b9f59c16e0b79239df0ca068d
* Add various supports in settings and capabilities.Angus Kong2014-06-181-0/+70
| | | | | | | | | | 1. View angles in capabilities. 2. Preview formats setting. 3. Photo formats setting. 4. Recording hint for video recording preview setting. 5. JPEG thumbnail size setting. Change-Id: Ib8e33cf838859ae76a662fffcc496250ad85c203
* Refactor out Camera.Parameters.Angus Kong2014-06-181-0/+377
Change-Id: Ibc1ddac509381530e887b7491069e6367e9a6088