Commit Graph

1912 Commits

Author SHA1 Message Date
Tibor Kaputa 1e5a4beb8e
removing a redundant comment 2022-11-26 18:59:33 +01:00
tibbi a2f369e9e2 minor code formatting 2022-11-26 17:25:18 +01:00
Tibor Kaputa a95472e28f
Merge pull request #379 from KryptKode/feat/timer
add camera timer
2022-11-26 16:58:10 +01:00
darthpaul fd82e35215 fix NPE thrown in onFling 2022-11-26 12:58:20 +00:00
darthpaul 47bc591035 improve preview alignment
- center the PreviewView between the top action icons and the bottom mode switcher view for 4:3, 3:2 (video mode - SD) and 1:1 resolutions, when not full screen
2022-11-26 12:58:20 +00:00
darthpaul 78b6469bb4 set flash icon's visibility to GONE when not available 2022-11-26 12:49:36 +00:00
darthpaul 048489cbbb hide/show views during count down 2022-11-25 16:00:47 +00:00
darthpaul ef2f3eb766 PR changes:
- remove rotating close icon from shutter button
- remove toggling flashlight on each countdown tick
- remove sound (to be addressed later)
2022-11-25 15:50:05 +00:00
darthpaul 772ffb21ad add camera timer 2022-11-25 07:11:41 +00:00
Tibor Kaputa c901a3f88e
Merge pull request #378 from KryptKode/chore/update-camera-x
Update CameraX to 1.2.0-rc01
2022-11-24 22:24:29 +01:00
darthpaul aee23700d8 update CameraX to 1.2.0-rc01
- fix issue where camera cannot be configured on some devices
- set the PreviewView  useCase surface provider before binding to camera
2022-11-24 15:18:54 +00:00
Tibor Kaputa b5d95b2a8f
Merge pull request #377 from KryptKode/fix/video-shutter-sound
fix video capture sound playing in video recording
2022-11-24 16:09:48 +01:00
Tibor Kaputa 15782dcb16
minor code update 2022-11-24 16:09:39 +01:00
darthpaul f08180aa38 fix video capture sound playing in video recording
- add custom MediaActionSound, with functionality to notify callers when playing sound ends
- only start video recording when the sound has played completely
2022-11-24 14:02:48 +00:00
Tibor Kaputa 97304bd497
Merge pull request #375 from weblate/weblate-simple-mobile-tools-simple-camera
Translations update from Hosted Weblate
2022-11-23 17:46:03 +01:00
Martin Božič 59c89c710e
Translated using Weblate (Slovenian)
Currently translated at 100.0% (8 of 8 strings)

Translation: Simple Mobile Tools/Simple Camera metadata
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera-metadata/sl/
2022-11-23 17:45:31 +01:00
VfBFan fb870e0f33
Translated using Weblate (German)
Currently translated at 100.0% (44 of 44 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/de/
2022-11-23 17:45:31 +01:00
Tibor Kaputa 6e794d4cf7
Merge pull request #370 from KryptKode/fix/fast-switch-mode-inconsistencies
fix inconsistencies when user switches camera mode fast
2022-11-23 17:45:26 +01:00
Tibor Kaputa ffe8be73c5
minor code style formatting changes 2022-11-23 17:44:19 +01:00
darthpaul edfa69f6ac revert swiping target and CameraX to 1.2.0-beta01
- reverting because VideoCapture fails to initialize on some devices
- revert swiping target to the tab
2022-11-23 14:45:32 +00:00
darthpaul e7ac9b964f Merge remote-tracking branch 'origin/fix/fast-switch-mode-inconsistencies' into fix/fast-switch-mode-inconsistencies 2022-11-23 14:33:38 +00:00
darthpaul fc2296e2ae fix inconsistencies when user switches camera mode fast
- debounce switching by 500ms when toggling between video/photo capture
- ensure there is only one source of truth for the current camera mode - this is the CameraXPreview
- refactor the MainActivity to depend on the CameraXPreview for the camera mode
- remove unused code in CameraXPreviewListener, MyPreview and in MainActivity
2022-11-23 14:32:16 +00:00
Tibor Kaputa 768af8fa99
Merge pull request #374 from weblate/weblate-simple-mobile-tools-simple-camera
Translations update from Hosted Weblate
2022-11-18 23:17:56 +01:00
Tibor Kaputa 1a6564bd60
Update short_description.txt 2022-11-18 23:17:41 +01:00
Abhi 5dc9faed8d
Translated using Weblate (Malayalam)
Currently translated at 62.5% (5 of 8 strings)

Translation: Simple Mobile Tools/Simple Camera metadata
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera-metadata/ml/
2022-11-18 23:13:09 +01:00
Tibor Kaputa d090d59bd4
Merge pull request #372 from weblate/weblate-simple-mobile-tools-simple-camera
Translations update from Hosted Weblate
2022-11-18 23:13:00 +01:00
Tibor Kaputa 9e224373fd
Delete video.txt 2022-11-18 23:12:49 +01:00
J. Lavoie a8f8407d48
Translated using Weblate (French)
Currently translated at 100.0% (44 of 44 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/fr/
2022-11-18 12:18:19 +01:00
J. Lavoie bfbf51aeaf
Translated using Weblate (German)
Currently translated at 100.0% (44 of 44 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/de/
2022-11-18 12:18:19 +01:00
Alex 1e1bb5c285
Translated using Weblate (Serbian)
Currently translated at 100.0% (8 of 8 strings)

Translation: Simple Mobile Tools/Simple Camera metadata
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera-metadata/sr/
2022-11-17 08:48:10 +01:00
Martin Božič 3c37c14ff3
Translated using Weblate (Slovenian)
Currently translated at 100.0% (8 of 8 strings)

Translation: Simple Mobile Tools/Simple Camera metadata
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera-metadata/sl/
2022-11-17 08:48:10 +01:00
Paul 159b7d6c58
Merge branch 'SimpleMobileTools:master' into fix/fast-switch-mode-inconsistencies 2022-11-15 10:27:59 +00:00
Tibor Kaputa f870944b50
Merge pull request #371 from weblate/weblate-simple-mobile-tools-simple-camera
Translations update from Hosted Weblate
2022-11-14 14:57:02 +01:00
Tibor Kaputa f34ea9b21b
Delete video.txt 2022-11-14 14:56:51 +01:00
Alex ef8c2050eb
Translated using Weblate (Serbian)
Currently translated at 100.0% (8 of 8 strings)

Translation: Simple Mobile Tools/Simple Camera metadata
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera-metadata/sr/
2022-11-14 14:01:56 +01:00
Tibor Kaputa 5f1ced5500
Merge pull request #369 from weblate/weblate-simple-mobile-tools-simple-camera
Translations update from Hosted Weblate
2022-11-11 22:14:53 +01:00
Tibor Kaputa 82ecf3ea48
Update strings.xml 2022-11-11 22:14:40 +01:00
Alex a2e739ac16
Translated using Weblate (Serbian)
Currently translated at 100.0% (44 of 44 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/sr/
2022-11-11 21:51:17 +01:00
darthpaul c858e5b908 fix inconsistencies when user switches camera mode fast
- debounce switching by 300ms when toggling between video/photo capture
- setCameraAvailable only when there is no error and the camera state is Type.OPEN
2022-11-11 00:44:53 +00:00
Anonymous e389fe21c8
Translated using Weblate (Serbian)
Currently translated at 100.0% (0 of 0 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/sr/
2022-11-10 20:37:49 +01:00
Alex 48d577000d
Added translation using Weblate (Serbian) 2022-11-10 20:37:41 +01:00
Tibor Kaputa 261d1b8259
Merge pull request #364 from spkprs/patch-4
Update.xml
2022-11-09 14:49:28 +01:00
Tibor Kaputa 288e456df8
Merge branch 'master' into patch-4 2022-11-09 14:49:21 +01:00
Tibor Kaputa 7890dc80b8
Merge pull request #367 from spkprs/patch-5
Update.xml
2022-11-09 14:48:14 +01:00
Tibor Kaputa 61f079db57
Merge pull request #366 from weblate/weblate-simple-mobile-tools-simple-camera
Translations update from Hosted Weblate
2022-11-09 14:48:01 +01:00
solokot 1d3b466114
Translated using Weblate (Russian)
Currently translated at 87.5% (7 of 8 strings)

Translation: Simple Mobile Tools/Simple Camera metadata
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera-metadata/ru/
2022-11-09 14:45:15 +01:00
bgo-eiu 46e99044a3
Translated using Weblate (Punjabi (Pakistan))
Currently translated at 61.3% (27 of 44 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/pa_PK/
2022-11-09 14:45:15 +01:00
Alex 26570ebb99
Translated using Weblate (Croatian)
Currently translated at 100.0% (8 of 8 strings)

Translation: Simple Mobile Tools/Simple Camera metadata
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera-metadata/hr/
2022-11-09 14:45:15 +01:00
Alex e7dab886d9
Translated using Weblate (Croatian)
Currently translated at 100.0% (44 of 44 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/hr/
2022-11-09 14:45:15 +01:00
tibbi c05874b8d1 catching a weird exception 2022-11-09 14:44:53 +01:00