633 Commits

Author SHA1 Message Date
Ali Asadi 9454f3e4d1 Add TopCrop option to ScaleType (#372) 2021-12-10 10:53:46 +01:00
Ilia Voitcekhovskii 7094f9850a Fix unused inSampleSize and add scaling to decoding step (#359)
* Fix bitmap decoding to use inSampleSize

* Add scaling (by max side) while decoding bitmap
2021-12-10 10:51:01 +01:00
John 7039cf2059 Pinch to zoom (#388)
* Update gradle and libs

* Implemented pinch to zoom in example app
2021-12-10 10:50:19 +01:00
zakimiiiii 09a551635c Modified file to correct name (#378) 2019-07-02 14:15:09 +02:00
Dionysis 72c7c81a42 Release v2.7.0 2.7.0 2019-03-02 16:44:27 +01:00
Dionysis a7287e363c Remove wrong imports 2019-03-02 16:41:39 +01:00
Dionysis 6156f4c897 Merge remote-tracking branch 'origin/master' 2019-03-02 16:40:48 +01:00
Dionysis 29be38b88b Fixes #191 2019-03-02 16:40:38 +01:00
Dionysis 69d99e1aea Fixes #191 2019-03-02 16:40:12 +01:00
Nicklas Ansman Giertz af9e8158b8 Remove lazy delegates where they aren't needed (#349) 2019-03-02 14:21:53 +01:00
Dionysis 4494d76bb1 Merge branch 'master' of github.com:RedApparat/Fotoapparat 2019-03-02 14:20:11 +01:00
Dionysis f1830853c3 Merge branch 'ansman-fix/pending-result-notify' 2019-03-02 14:19:32 +01:00
Dionysis 75181ecb92 Merge branch 'fix/pending-result-notify' of https://github.com/ansman/Fotoapparat into ansman-fix/pending-result-notify 2019-03-02 14:19:13 +01:00
Nicklas Ansman Giertz 697f996d17 Make Photo.toString not include the entire byte array (#351) 2019-03-02 14:14:31 +01:00
Dionysis Lorentzos 1783058ade Fixes orientation issues (#354)
* fix: preview orientation in sensorLandscape

* Fix orientation issues.

Fixes #262
Fixes #260
Fixes #253
Fixes #193
2019-03-02 14:13:18 +01:00
Alaeri f78c324f23 fix: preview orientation in sensorLandscape (#352) 2019-03-02 14:10:50 +01:00
Nicklas Ansman Giertz b1f6f491cd Make all the configuration objects have nicer toString values (#348) 2019-03-02 12:32:19 +01:00
Nicklas Ansman Giertz 46fe442a4e Always notify the callback in PendingResult
Previously it wouldn't be notified in some cases and in some cases
it would be notified off the main thread.
2019-02-21 13:06:30 -05:00
Wolfgang Schreurs 27c9a7a910 Set source and target compatability to Java 1.8 for library and dependencies (#343) 2019-02-20 18:33:08 +01:00
Nicklas Ansman Giertz f05fc12039 Fix a crash when trying to access with size of a Photo (#347)
* Fix a crash when trying to access the size of a Photo
2019-02-20 18:32:01 +01:00
Santi Aguilera b37c3df8c9 Remove app_name from library (#334) 2019-01-24 21:02:29 +01:00
Dick Lucas 353e8a326b Update gradle version (#338)
Using this library in our project forces us to use Gradle version 3.2.1 in order to match Fotoapparat. This is because if they are not matching, it causes an issue generating the R file.
2019-01-24 21:01:51 +01:00
Dionysis Lorentzos 9021507995 Auto upload on tags (#317)
* Deploy on tags

* Bump version to 2.6.1
2018-11-08 16:25:48 +01:00
dionysis 4a23a70565 Bump version to 2.6.0 2.6.0 2018-11-06 14:54:48 +01:00
Dionysis Lorentzos 9104a316ee Update README.md 2018-11-06 14:43:32 +01:00
Dionysis Lorentzos 33ce7fa483 Remove kotlin.experimental.coroutines 'enable' 2018-11-06 14:29:05 +01:00
Rafael Toledo 45368b3691 Migrates project to AndroidX and Kotlin 1.3 2018-11-06 14:29:05 +01:00
Dmitry Zaytsev 65023340e5 Update build tools (#307)
* Update build tools

* Updated Travis confi
2018-10-13 11:07:25 +02:00
Dima Zaytsev ede7e4cbbe Updated build tools 2018-10-13 10:41:52 +02:00
Dmitry Zaytsev 3bbec9b6d8 Removed mention of Videoapparat 2018-10-11 00:13:53 +02:00
Dima Zaytsev ec6cdf3d66 Bumped version to 2.5.0 2.5.0 2018-10-11 00:05:17 +02:00
Paul Woitaschek cb4c8d1ee1 Updated Coroutines (#306)
* Updated gradle to 4.10.2

* Updated kotlin to 1.2.71

* Updated coroutines to 0.30.2

* Overwrite cancel and delegate to the channel.

* Inline the cancel call.

* Handle the cancellation of the deferred value too.
2018-10-11 00:02:50 +02:00
Dima Zaytsev 245d74fb46 Reusing artifact version variable. Bumped version to 2.4.0 2.4.0 2018-09-09 22:10:17 +02:00
Ivan Martinović b67ee40be2 FocusView fix - focus is now initiated on tap instead on ACTION_DOWN event type (#292) 2018-09-09 21:59:18 +02:00
Ivan Martinović 66c7489708 Upgrade Zoom.VariableZoom to contain list of zoom ratios supported by camera (#291) 2018-09-09 21:57:45 +02:00
Dima Zaytsev 96fc39bd84 Updated maven gradle plugin 2018-08-13 23:47:03 +02:00
Dima Zaytsev c82b628b44 Fixed build issues in 2.3.2. Updated the version 2.3.3 2018-08-13 23:39:59 +02:00
Dima Zaytsev 7ee03f1a8c Updated README 2018-08-13 22:50:12 +02:00
Dima Zaytsev 816d4da6aa Updated version to 2.3.2 2.3.2 2018-08-13 22:49:10 +02:00
Dmitry Zaytsev 4fc20316d0 Using null FrameProcessor by default to avoid resource consumption (#284) 2018-08-13 22:45:24 +02:00
Dima Zaytsev 3b17c030f5 Fixed Bintray configuration for RxJava 1/2 adapters. Updated README. 2018-08-13 21:28:42 +02:00
Dima Zaytsev 0c17e2bf29 Fixed configuration to make it suitable for upload to jCenter 2018-08-10 16:19:03 +02:00
Dima Zaytsev 8189847088 Added Bintray configuration 2018-08-08 21:14:53 +02:00
dionysis 36670caf02 v2.3.1 2.3.1 2018-07-05 21:47:59 +02:00
Ahmed Hegazy 36d5a038ce Remove configureondemand gradle configuration. Fixes #269 2.3.0 2018-07-05 16:20:07 +02:00
dionysis 7c5878259d Fix failing configuration 2018-07-04 15:34:01 +02:00
dionysis 4b6c0447d3 Release v2.3.0 2018-07-04 14:54:23 +02:00
dionysis 7a04a38872 Update dependencies 2018-07-04 14:54:11 +02:00
Dionysis Lorentzos 18d6ae38ad Update README.md 2018-07-03 12:18:14 +02:00
Dmitry Zaytsev 767aae82fd Merge pull request #237 from radosdesign/master
CameraDevice: Release surface when closing camera device.
2018-05-29 19:57:34 +02:00