19 Commits

Author SHA1 Message Date
darthpaul
e8744c93f6 remove keepSettingsVisible 2022-08-19 16:27:16 +01:00
darthpaul
d9193f7494 fix preview and capture resolutions
- adjust the preview so the image captured is what the user sees
- add method MySize.isSupported; current support is for full, 16:9, 4:3 and 1:1 of the highest resolution
- cleanup ImageQualityManager, add method to get the full screen resolution which is just the resolution with the largest width
- change the UI to move settings to the top and remove the auto fading
2022-08-17 01:12:18 +01:00
darthpaul
210f3e35c0 use the resolution index instead of the qualities
- store and use the resolution index in Config class for video capture
2022-07-13 01:38:54 +01:00
darthpaul
74e2656831 try to handle changing video quality and image resolution
- CameraX video allowed predefined buckets of qualities UHD, FHD, HD, SD (defined in VideoQuality enum),
the CameraXPreview is configured to use the highest quality and
 CameraX will select the closest corresponding resolution supported by the device.
- tentatively add ChangeResolutionDialogX (which would be renamed back to ChangeResolutionDialog) to give user option to select photo resolution and video qualities
- add ImageQualityManager which performs the same operation for getting all resolutions supported by a device using the Camera2 API, as defined in the legacy CameraPreview
- add VideoQualityManager to manage saving/ getting user selected quality.
2022-07-08 00:12:03 +01:00
darthpaul
916121ffc9 store/restore last used camera lens 2022-06-25 23:21:51 +01:00
tibbi
0cdf08b45f removing 2 more settings 2022-04-20 22:28:44 +02:00
tibbi
16bed1a1b0 removing the FocusBeforeCapture setting 2022-04-20 22:19:57 +02:00
tibbi
51c55811d6 do some preparations for target SDK 29 2020-02-16 22:19:49 +01:00
tibbi
39aba65589 updated Commons, min Android OS to 5, removed Camera One implementation 2018-10-17 23:32:12 +02:00
tibbi
c0d0a06dfe try disabling Focus before capture by default 2018-06-11 13:56:25 +02:00
tibbi
3daa79590f fix a glitch at remembering front/back camera 2018-06-10 23:42:18 +02:00
tibbi
e240e0752f init photo mode by default 2018-06-10 23:04:02 +02:00
tibbi
9e3e732bbf handle toggling between photo and video modes 2018-06-06 15:09:09 +02:00
tibbi
045328daa3 remember which camera was used last, open it by default 2018-06-05 22:19:27 +02:00
tibbi
f1359e1909 make sure we select proper preview aspect ratio 2018-06-05 20:25:02 +02:00
tibbi
acea2ce5f2 flip front photos horizontally by default 2018-06-05 13:50:42 +02:00
tibbi
2cdae95de8 create a helper function for getting the proper camera impl 2018-05-27 23:35:40 +02:00
tibbi
a1865811a9 fix #105, allow changing the photo compression quality 2018-01-13 15:21:34 +01:00
tibbi
a016f514f8 moving some files in subfolders + renaming extension files to first capital letter 2017-12-03 21:20:51 +01:00