de88a4254b858f7234d5f6d8e4d59d080af99849 |
|
30-Apr-2015 |
Pengchong Jin <pengchong@google.com> |
Fix b/20638271: (Part 1) Handle the case when the instance of CameraDeviceInfo is null. Bug: b/20638271 Change-Id: If8d9938405f4f2229bc5962c21f3f46e9a2bd1dd
/packages/apps/Camera2/src/com/android/camera/settings/SettingsUtil.java
|
46f8751da2fef488f6612b6f2f96e749595d3a2e |
|
26-Mar-2015 |
Sascha Haeberling <haeberling@google.com> |
Add support for new independent Lens Blur quality setting. Bug: 19424875 This CL and its sibling do two things: - Bring back the Lens Blur setting - Populate the setting with up to three native picture resolutions. - If needed, choose the default as being the second highest resolution. (The list is not a full list, but filterd by what we show to the user). - Make sure that after a new install a the default is set. - Extra check in RefocusModule to make sure the default is set if old setting is not valid. This is important for upgrades. - To make the size logic re-usable, I wrapped it into a PictureSizeLoader which also makes the CameraSettingsActivity a bit easier to read. Change-Id: I53fcac8304f19be4f2c5ac053363f6805b933d89
/packages/apps/Camera2/src/com/android/camera/settings/SettingsUtil.java
|
fb0496133a0b4b526dc70f6447bd4b97d95de95f |
|
12-Jan-2015 |
Senpo Hu <senpo@google.com> |
Move FirstRunDialog to app layer. The first run logic should live in CameraActivity. This refactoring could clean up CaptureModule and PhotoModule. * Introduce ResolutionSetting class. * Introduce OneCameraManagerImpl for camera API 1. Tested and verified this works on K / L devices. Change-Id: I11a968a9346b520dee23fc4591a73bb483c43246
/packages/apps/Camera2/src/com/android/camera/settings/SettingsUtil.java
|
2272f8a6bfc8adca8ada7a215bef038d45256085 |
|
16-Dec-2014 |
Senpo Hu <senpo@google.com> |
CaptureModule first run dialog. * Introduce FirstRunDialog. * Add OneCameraCharacteristics so we can query camera properties without opening the camera. * Refactor AspectRatioDialogLayout and LocationDialogLayout to clean up. * Refactor to move away from portability/Size class in Camera2. Bug: 18623223 Change-Id: I05f4eefe3ee2feeaa47b6296f8926f6be8e83051
/packages/apps/Camera2/src/com/android/camera/settings/SettingsUtil.java
|
06a4e103aefa3303a6995d465a53c81d6581995f |
|
29-Oct-2014 |
Sascha Haeberling <haeberling@google.com> |
Forcefully drop 4k recording from pre-L releases. Bug: 18172081 Change-Id: I26b09f19757e059d3567b3cb707592696531d0b3
/packages/apps/Camera2/src/com/android/camera/settings/SettingsUtil.java
|
111863182bcc4b99bdaa727304d5800fc91dfd51 |
|
08-Aug-2014 |
Senpo Hu <senpo@google.com> |
Enable 4K video for Shamu. - Add a new resolution setting for back camera video: "UHD 4K" Bug: 16206549 Change-Id: I0b72f8100bc26b556099ad08e093273ccda0f25d
/packages/apps/Camera2/src/com/android/camera/settings/SettingsUtil.java
|
ee36c5f591ac181a10692b2ec2b96de5251c4abb |
|
30-Jul-2014 |
Sascha Haeberling <haeberling@google.com> |
Minor clean-up around the code base. Change-Id: I2ed422dd4e0383739ccfa85a2e1e0e49e093e51d
/packages/apps/Camera2/src/com/android/camera/settings/SettingsUtil.java
|
43e1813a5d4a59ef107768eb523d76ae2781cb02 |
|
20-Jun-2014 |
Sol Boucher <solb@google.com> |
Replace uses of CameraDevice#getCameraInfos() and CameraInfo This API 1--specific portability library method has been removed. All non-debugging direct uses of the Camera.CameraInfo class are also addressed by this commit. Change-Id: I551bb1476a26f79c101892336d0bf99e4fa823cc
/packages/apps/Camera2/src/com/android/camera/settings/SettingsUtil.java
|
831347d9cb5c0e3f03db7aadfc89e91b231104e7 |
|
17-Jun-2014 |
Angus Kong <shkong@google.com> |
Migrate to use new CameraSettings. Totally get rid of Camera.Parameters. Change-Id: I147b88f77ecab52600088a10417c3eac3d7fd340
/packages/apps/Camera2/src/com/android/camera/settings/SettingsUtil.java
|
6190c36db653e848f29d1caefc4fa1bb61e8a662 |
|
13-Jun-2014 |
Erin Dahlgren <edahlgren@google.com> |
New Settings API Based on discussions from last week and comments on the design doc, this api begins to implement the following: 1. Adds a "Scope" variable to api, which tells the SettingsManager whether the setting can be stored globally (so that it is visible to all parts of the app), or per-camera, or per-module, or per- custom scope that the api user provides. 2. Separates keys and default values from SettingsManager, to make it easy to add new settings/defaults from third party modules. 3. Stores all settings as strings, to avoid upgrade errors, and handles casting to type requested. Only String, Integer, and boolean are supported. 4. Opens SharedPreferences files on demand, depending on scope argument. 5. Creates a "DefaultsStore" to hold the defaults and possible values of a setting. Then a user can request the default or possible values of a setting at any time. Change-Id: I03e0e1dd0955c519f54112e89716014aa963a425
/packages/apps/Camera2/src/com/android/camera/settings/SettingsUtil.java
|
5a344964cb003525727c31d295ca3a592c245606 |
|
17-Jun-2014 |
Sol Boucher <solb@google.com> |
Remove cameradevice subpackage and point references at ex library This code is being relocated into frameworks/ex for availability to other apps. Change-Id: Icada261ac7a795b08dd8b187dfd17077077b37c3
/packages/apps/Camera2/src/com/android/camera/settings/SettingsUtil.java
|
6607dae6c4d1ee5bbf572695c2042d4d9129a730 |
|
11-Jun-2014 |
Angus Kong <shkong@google.com> |
Refactor out Camera.Parameters. Change-Id: Ibc1ddac509381530e887b7491069e6367e9a6088
/packages/apps/Camera2/src/com/android/camera/settings/SettingsUtil.java
|
5b577a679eb790c4c8ad410436cca0a8cad28f7d |
|
22-May-2014 |
Seth Raphael <magicseth@google.com> |
Convert camera size settings on upgrade In older versions of the camera, the settings wsere stored as “small”, “medium”, or “default”. Now the app expects absolute resolutions to be stored in the settings. Bug: 14617489 Change-Id: I9d9373b6bc98c1c2ba25cb51de122673b3edef6a
/packages/apps/Camera2/src/com/android/camera/settings/SettingsUtil.java
|
02c129a598b6a165885fe950275675d62993d2ee |
|
20-May-2014 |
Seth Raphael <magicseth@google.com> |
Preparatory commit for 16:9 hdr+ This exposes some necessary functions for hdr+ to go 16:9. It allows you to pass a preview matrix that is pre scaled, so that hdr+ can calculate its own matrix Bug: 14470553 Change-Id: I56f2c033ff58a9ff6793c6ee4d2317cb9ce5065a
/packages/apps/Camera2/src/com/android/camera/settings/SettingsUtil.java
|
59c85801c6fa9f6a083ad0fe1976284a2d5bf610 |
|
12-May-2014 |
Seth Raphael <magicseth@google.com> |
Do not mutate the List of Sizes passed to helpers This was causing a bug by removing resolutions from a list that was being reused other places. Bug: 14826712 Change-Id: Iaab3bd279b7c517f2a51e582bc4047ef97192122
/packages/apps/Camera2/src/com/android/camera/settings/SettingsUtil.java
|
1dad685ad3a16136b0b2108e566535c460f2a965 |
|
07-May-2014 |
Angus Kong <shkong@google.com> |
Merge "First Step: CameraCapabilities intead of Parameter" into ub-camera-everglades
|
88289047ba6928e317d17f2e1d4b013693545c67 |
|
23-Apr-2014 |
Angus Kong <shkong@google.com> |
First Step: CameraCapabilities intead of Parameter To get rid of Camera.Parameters, we need to provide our own interfaces. Camera.Parameters actually consists of 2 parts: capabilities and settings. We'll provide two interfaces and will just use Camera.Parameters inside of CameraManager implementations. Change-Id: I53922b6d740835412d74365374a6a0382129564e
/packages/apps/Camera2/src/com/android/camera/settings/SettingsUtil.java
|
454d63f617489281971fb151abfe14730209c047 |
|
06-May-2014 |
Angus Kong <shkong@google.com> |
Add cropping for nexus 5 to support 16:9 sizes. Based on Seth's proposal of faking a new resolution setting. Improvements made: 1. Move the cropping to a background thread. 2. Refactored to start the preview early to avoid jankness from waiting for the cropping. 3. Fix the wrong width and hight in EXIF. The original logic is to use width and height from the camera parameters. Now this is not true anymore. 4. Add check for Nexus 5 for the support to take effect. Change-Id: I37515fc394b31539644a33b6d32840baf205e15c
/packages/apps/Camera2/src/com/android/camera/settings/SettingsUtil.java
|
b19eaa0bb37a1252015eafd3e965a011e6e98727 |
|
02-May-2014 |
Seth Raphael <magicseth@google.com> |
Allow multiple aspect ratios to be set for the resolution setting. Bug: 13328191 Change-Id: Ie067d18b70bc1ae84dc284f881b7f6030f6a6622
/packages/apps/Camera2/src/com/android/camera/settings/SettingsUtil.java
|
677a5b9bc43ed30cc7b4df9db7848deb6b45e93b |
|
28-Apr-2014 |
Sascha Haeberling <haeberling@google.com> |
am df8a3327: Avoid duplicate entries in the resolutions list. * commit 'df8a332710bbb1f2beee90b2b91f706c49ef5701': Avoid duplicate entries in the resolutions list.
|
df8a332710bbb1f2beee90b2b91f706c49ef5701 |
|
25-Apr-2014 |
Sascha Haeberling <haeberling@google.com> |
Avoid duplicate entries in the resolutions list. Bug: 14277230 Dup entries indicate that a camera doesn't support at least three entries. Change-Id: Id3c18664637ba9cf80edada924695737863cf3a7
/packages/apps/Camera2/src/com/android/camera/settings/SettingsUtil.java
|
00b7b10987b38c362cc88600aad58890d531bf35 |
|
25-Apr-2014 |
Angus Kong <shkong@google.com> |
Use Point to back up util.Size. Change-Id: I125d290ee94c9acadf77c50c6c9c0b9b24df4a88
/packages/apps/Camera2/src/com/android/camera/settings/SettingsUtil.java
|
634246650a5ae72bb80ab4fe4be5da1afa23b684 |
|
23-Apr-2014 |
Angus Kong <shkong@google.com> |
Use util.Size to replace Camera.Size. Change-Id: I77784d339a09f24afbf96dc5ef4ce2ac2702b356
/packages/apps/Camera2/src/com/android/camera/settings/SettingsUtil.java
|
1045fefdf22bd58fa911b100e7db5750f7efa3e6 |
|
21-Apr-2014 |
Angus Kong <shkong@google.com> |
Create cameradevice package for camera management. Change-Id: I73c69a70736b0b0eb0ef069a7876cf75fee91262
/packages/apps/Camera2/src/com/android/camera/settings/SettingsUtil.java
|
8d85af5f43bf31f4988c616a7e93a09277b20bb4 |
|
24-Mar-2014 |
Paul Chang <paulchang@google.com> |
Fix edge case in supported video quality selection. Bug: 14108743 If less than three distinct video quality levels are supported, it's possible for getNextSupportedVideoQualityIndex() to return an out-of-range array index. Instead, just return the previous supported video quality -- this appears to be the intended behavior. Change-Id: I089571edf6ff748ce4914f188b4ef844ecb638c2
/packages/apps/Camera2/src/com/android/camera/settings/SettingsUtil.java
|
5596b4c902dcb685928b43678f428746ca5ffd08 |
|
12-Mar-2014 |
Angus Kong <shkong@google.com> |
Use debug.Log instead of android.util.Log. 1. Change to use com.android.camera.debug.Log instead of android.util.Log. 2. Add DebugCameraProxy to support more detailed debug info. 3. Add CameraErrorCallback in CameraManager. 4. Support posting to a specific handler for CameraErrorCallback. 5. Trim down some TAGs to match the framework tag length limit. 6. Remove some unused codes in CameraSettings. bug:13324870 Change-Id: I8c20a8a0d11cfd50b6e199b03cbc88d3c4ad2ceb
/packages/apps/Camera2/src/com/android/camera/settings/SettingsUtil.java
|
6ccec205c8d43757bcefd0202eb0cde0df020574 |
|
11-Mar-2014 |
Sascha Haeberling <haeberling@google.com> |
New resolution settings. Two for each camera. Bug: 13025151 Bug: 13349351 Also fixes the issue of summaries not showing up before changing a resolution setting. Change-Id: I63482a79e742c0403ebf556148f7a12d4e6c8b0e
/packages/apps/Camera2/src/com/android/camera/settings/SettingsUtil.java
|
89489880d0f0d3a6ede7a689ffb39c185f3897d7 |
|
07-Mar-2014 |
Andy Huibers <andyhuibers@google.com> |
Remove video-size parameter setting causing 720p video issues on Palman. Bug: 13304124 Change-Id: I3e449afe446941a5286f36fe739311a1bb9ab135
/packages/apps/Camera2/src/com/android/camera/settings/SettingsUtil.java
|
81187939d5390e7fe1c0121e4bf902a6a20a1764 |
|
06-Mar-2014 |
Andy Huibers <andyhuibers@google.com> |
Avoid 720P video recording on Palman. Bug: 13304124 Change-Id: I107a8669308f857df5970628872e702b142b14d0
/packages/apps/Camera2/src/com/android/camera/settings/SettingsUtil.java
|
de30323ee0598ed0e1c8a1ab942c3e16160062d3 |
|
07-Feb-2014 |
Sascha Haeberling <haeberling@google.com> |
New Settings UI and video quality selection logic. Bug: 12467965 Bug: 12935910 Bug: 12575084 Implements the settings as a proper activity/fragment. Also cleans up some of the old logic we had for handling and displaying settings. Also has the new L/M/S logic for video quality. Change-Id: I412af424b74369cef15c7ead2cb09704875972e3
/packages/apps/Camera2/src/com/android/camera/settings/SettingsUtil.java
|
3b0ab89e3fefd25ae87687420df9315ec860d346 |
|
29-Jan-2014 |
Sascha Haeberling <haeberling@google.com> |
Changes the picture size settings to L,M,S from concrete resolutions. Bug: 12575084 Bug: 12717251 The strategy in detail: - Sort all available sizes - For 'large', select the resolution with the most pixels. - Use the 'large' resolution aspect ratio as the target AR. - Create a list of resolutions with AR close to 'large'. - If only two more are available, use them for medium and small. - If less are available, boarden the search in complete list. - Again, if only two more are available, use them for medium and small. - Otherwise find medium resolution with total pixels closest to 50% of 'large' and ... small as 25% of 'large' pixels. - If they both come out the same, select either one small for 'small' or one larger for 'medium'. Change-Id: Ib94fdf0ce987968bccd85abbf5be7bdaa914325f
/packages/apps/Camera2/src/com/android/camera/settings/SettingsUtil.java
|