Commit Graph

1175 Commits

Author SHA1 Message Date
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
tibbi 22d463f0e0 create a PreviewCameraTwo to be used with Camera2 API on Android 5+ 2018-05-28 20:12:02 +02:00
tibbi 0d71a4492b create an interface for some shared Preview functions 2018-05-28 19:30:31 +02:00
tibbi 3bc54c2e5f remove a few more direct variable calls at PreviewCameraOne 2018-05-28 16:15:29 +02:00
tibbi e529bdd15c adding some initial camera states 2018-05-28 16:00:30 +02:00
tibbi a52716a3a5 do not implement OnScanCompletedListener at PreviewCameraOne 2018-05-28 15:14:35 +02:00
tibbi ec294da274 flip the photo quality selector, start at the highest 2018-05-28 12:11:53 +02:00
tibbi bc8459ce00 use a white focus circle at B&W theme 2018-05-28 11:59:57 +02:00
tibbi 18905792c0 simplify button drawable updating 2018-05-28 11:53:20 +02:00
tibbi 86d13eaf54 small cleanup at checking camera availability 2018-05-28 11:49:52 +02:00
tibbi 05dee60cb7 add a helper function for toggling timer visibility in the activity 2018-05-28 11:35:36 +02:00
tibbi b8db893c1c do not store mCurrCameraId in the activity 2018-05-28 11:29:25 +02:00
tibbi bf82752748 update flashlight handling 2018-05-28 10:54:10 +02:00
tibbi 95d0ca1fd0 do not reset the activity at releasing camera 2018-05-28 00:00:47 +02:00
tibbi bad8653d36 minor cleanup here and there 2018-05-27 23:56:07 +02:00
tibbi 2cdae95de8 create a helper function for getting the proper camera impl 2018-05-27 23:35:40 +02:00