Commit Graph

840 Commits

Author SHA1 Message Date
tibbi b0ba502795 hide the Flashlight toggle button if no flash is available 2018-06-04 23:09:29 +02:00
tibbi f5e347c09e add handling for front/back camera toggling 2018-06-04 23:06:33 +02:00
tibbi c75f1cabfa properly rotate the image in selfie mode 2018-06-04 22:10:35 +02:00
tibbi 7e0b355438 skip focusing before image capture if the current camera doesnt support focus 2018-06-04 21:48:54 +02:00
tibbi 617ac98e5d pass available resolutions to the picker dialog in a new MySize type list 2018-06-04 16:08:23 +02:00
tibbi ebb6e89dd6 send a boolean at resolution changing dialog to mark front/back camera 2018-06-04 15:36:17 +02:00
tibbi 16a2745652 properly handle autoexposure and auto flash 2018-06-04 14:56:25 +02:00
Tibor Kaputa ffd25d0cdf
Merge pull request #164 from fricyo/patch-2
Update Translation
2018-06-04 13:29:59 +02:00
fricyo 7d6fb5c74c
Update Translation 2018-06-04 17:45:29 +08:00
tibbi df33bf0ddf set AutoFocus to Idle instead of Cancel after taking a picture 2018-06-04 10:28:07 +02:00
tibbi cc63675e3a update crop region permanently after zooming in/out 2018-06-01 22:58:50 +02:00
tibbi ac529cd07f do not mess with CONTROL_AF_MODE at touch-to-focus 2018-06-01 21:26:11 +02:00
tibbi 4d640d7d5a shortening some code 2018-06-01 20:24:54 +02:00
tibbi bbe2ba171d replace textureView click listener with manual touch events checking 2018-06-01 20:06:21 +02:00
tibbi 1708bf562a make sure a proper photo section is captured at zooming in 2018-06-01 16:40:02 +02:00
tibbi f26cc4c2f0 use proper capture callback and background handler at focusing 2018-06-01 16:27:35 +02:00
tibbi a52586165c add zooming by gestures 2018-06-01 14:32:09 +02:00
tibbi 1531f89ea4 changing some float number declarations 2018-06-01 12:15:44 +02:00
tibbi 67b3b50fa8 improving the Touch To Focus functionality 2018-06-01 11:59:37 +02:00
tibbi 94488adb24 make sure the bottom button visibility is updated on the main thread 2018-05-31 12:44:24 +02:00
tibbi a8aba856b7 removing an Equals sign 2018-05-30 23:13:27 +02:00
tibbi bf314ecf22 add a helper function for getting the camer amanager 2018-05-30 23:10:26 +02:00
tibbi b25beb3a34 moving some code in if statement 2018-05-30 23:03:12 +02:00
tibbi 5c6d4132cb adding some touch to focus handling 2018-05-30 22:58:12 +02:00
tibbi 328c4300a5 update mLastClickX and Y only at Down action 2018-05-30 21:26:16 +02:00
tibbi 7ffe53a0ae draw a focus circle at pressing the preview 2018-05-30 17:50:15 +02:00
tibbi 292e2f6ad0 lets remove PreviewListener interface, call activity functions directly 2018-05-30 17:27:30 +02:00
tibbi dfcb72b7f6 add a click listener for focusing 2018-05-30 17:22:36 +02:00
tibbi 7ff48fc880 removing another redundant function 2018-05-30 16:40:46 +02:00
tibbi 250bf176c1 removing a redundant variable 2018-05-30 16:35:13 +02:00
tibbi 7d5a60f13d fix the rotation of images captured with Camera2 api 2018-05-30 16:11:23 +02:00
tibbi 184f87aab1 removing a redundant function 2018-05-30 15:02:26 +02:00
tibbi 410822bd38 always set camera state to STATE_PICTURE_TAKEN at capturing 2018-05-30 14:56:53 +02:00
tibbi 27fb68704b show the bottom buttons after taking a photo 2018-05-30 14:50:48 +02:00
tibbi 9cb94fc5e6 OCD 2018-05-30 14:32:01 +02:00
tibbi f8dea07ebe send the device rotation to photo saver + cleanup 2018-05-30 14:28:52 +02:00
tibbi 4b17fbf3d3 removing some redundant code, since there is portrait orientation forced 2018-05-30 13:40:14 +02:00
tibbi 49bd2b1be9 add photo saving with Camera2 api 2018-05-30 13:19:15 +02:00
tibbi a894f6e01c properly close the camera on pause 2018-05-30 11:21:02 +02:00
tibbi c69e34a9b4 make sure flashlight changes are ignored if the device has no flashlight 2018-05-30 11:10:56 +02:00
Tibor Kaputa d676ef9605
Merge pull request #163 from xmgz/master
gl update
2018-05-30 08:55:34 +02:00
Xosé M 71d6322ee4 actualiza idioma 2018-05-30 08:01:56 +02:00
tibbi d01ad834f6 add a toggle for selecting if front/rear camera should be used 2018-05-29 23:42:23 +02:00
tibbi 3d7ec35e3b handle auto flash too 2018-05-29 20:38:55 +02:00
tibbi 3fd08d3940 fix toggling between flash on/off 2018-05-29 19:56:45 +02:00
tibbi 4aed627b7c simplify a flashlight state check 2018-05-29 00:00:34 +02:00
tibbi 209700dc72 toggle Camera availability when appropriate 2018-05-28 22:43:38 +02:00
tibbi c521b33ed9 replacereplace a SparseIntArray appends with puts 2018-05-28 22:39:26 +02:00
tibbi 26f33e8c26 add some initial PreviewCameraTwo implementation from the sample code 2018-05-28 21:47:23 +02:00
tibbi 77fb00097c show an AutoFitTextureView on Lollipop+ 2018-05-28 20:15:06 +02:00