moliata
496c21c3f1
Updated versions to API level 27
...
This commit updates compile sdk, build tools, support lib and target sdk versions to target and use Android Oreo and it's APIs.
7 years ago
chaitanyaraghav
1bd1816919
Max video file size ( #104 )
...
* Added a maximum file size for videos
* Revereted changes to the onVideoTaken callback signature
* Renamed isRecordingVideo, added xml attribute for video max size and updated the documentation
7 years ago
Mattia Iavarone
34bb5f1c45
Update CHANGELOG.md
7 years ago
Mattia Iavarone
0716904922
Bump version
7 years ago
Mattia Iavarone
ced60586c2
Change the offset computation for front cameras ( #112 )
7 years ago
Mattia Iavarone
3bc6d96ac3
Add base Control class, add easy setters and CameraOptions APIs ( #105 )
7 years ago
Mattia Iavarone
33162f0e31
Improve CameraOptions APIs, cleanup ( #101 )
...
* Improve CameraOptions APIs, cleanup
* Test flip
* Remove unwanted API
7 years ago
Mattia Iavarone
9e6c4c0919
Update README.md
7 years ago
Mattia Iavarone
02a5f8268d
Bump version
7 years ago
Mattia Iavarone
dcf5ef4120
Option to choose the picture output size ( #99 )
...
* Add SizeSelectors and tests
* Implement SizeSelectors in CameraController
* XML attrs, improve AspectRatio cache
* AspectRatio tests
* Flip sizes before passing to selectors
* Add README info
* Fix preview sizing bug
* Nits
* Fix #98
7 years ago
Mattia Iavarone
6b9affc435
Make CameraView thread-safe ( #97 )
...
* Make CameraController fully async, fix shutter sounds, tests
* Schedule everything to the same handler
* Ignore integration tests in travis
* Add basic error handling
* Revert useless logs
7 years ago
Mattia Iavarone
2e9715fa89
Update CHANGELOG.md
7 years ago
Mattia Iavarone
ffec81fe94
Bump version
7 years ago
Mattia Iavarone
a31dd1d57c
Recycle buffers and Frame instances ( #94 )
7 years ago
Roberto Morelos
04cf364b49
Reduced memory usage by recycling the bitmap ( #93 )
7 years ago
Andrew Munn
f3317ad4ee
Remove UncaughtExceptionHandler from CameraController in stopImmediately ( #92 )
...
* Fixes #90 Remove UncaughtExceptionHandler from CameraController in stopImmediately
* Move setUncaughtExceptionHandler(null) before onStop()
7 years ago
Mattia Iavarone
b13f80b751
Update README.md
7 years ago
Mattia Iavarone
ff48f38370
Bump version
7 years ago
Mattia Iavarone
011754203c
Avoid ConcurrentModificationExceptions in listeners ( #88 )
7 years ago
Mattia Iavarone
85dc1a05d4
Release PreviewCallback ( #86 )
7 years ago
Mattia Iavarone
62504d37b1
Create ISSUE_TEMPLATE.md
7 years ago
Mattia Iavarone
6187a6423f
Create CODE_OF_CONDUCT.md
7 years ago
Mattia Iavarone
50ad0c4c1d
Create CHANGELOG.md
7 years ago
Mattia Iavarone
edb0d58b7f
Bump version
7 years ago
Mattia Iavarone
2685f47472
Improve CameraUtils.decodeBitmap ( #83 )
7 years ago
Mattia Iavarone
e40f93acfb
Frame processors ( #82 )
...
* Create the Frame class
* Implement callback dispatcher
* Dispatch actual preview frames
* Add docs
* Readme nits
* Don't leak processors
* Rename clear() to release()
* Add preview format and Size
* Readme nits again
7 years ago
Mattia Iavarone
399e0e4d76
Inject external loggers ( #80 )
...
* Improve CameraLogger, add tests
* Add log docs
7 years ago
Viktor Garske
fe84159193
Update to supportLibVersion 26.1.0 ( #73 )
7 years ago
Mattia Iavarone
ffc5be4d2d
Add license info ( #68 )
7 years ago
Mattia Iavarone
628728c4c3
Bump version
7 years ago
Mattia Iavarone
dbc58af510
Don't act on Camera if it is in the middle of a stop ( #50 )
...
* Don't act on Camera if it is in the middle of a stop
* Ensure no issues if scheduled for stop
7 years ago
Mattia Iavarone
98855d0976
Ensure Grid and focus markers are shown ( #62 )
7 years ago
Mattia Iavarone
b9f0f27d8d
Small changes
7 years ago
Mattia Iavarone
129179ed48
Bump version
7 years ago
Johnson145
46b8e54155
Fix javadoc errors ( #55 )
7 years ago
Mattia Iavarone
b1d183a714
Fix a hardware acceleration bug, disable SurfaceViewPreview features ( #54 )
...
* Layout changes
* SurfaceView onSurfaceCreated is too early. Fix
* Add logs
* Refactor some classes, fix hardware acceleration bug, disable cropping for SurfaceView
* Update README with known limitations
7 years ago
Mattia Iavarone
1be4a313d1
New screenshots
7 years ago
Mattia Iavarone
5964080db4
New demo app ( #53 )
...
* New demo app
* UI fixes
* Refactor preview activities
* Add gestures control
7 years ago
Mattia Iavarone
f8d38e3c8c
Add playSounds support ( #43 )
7 years ago
Mattia Iavarone
cf3bfc1ed0
New tests, add CameraController.STATE ( #37 )
...
* Add set/get parameters tests
* CameraCallbacks tests
* Nits
* Nits 2
* Nits 3
* Nits 4
* CameraController integration tests
* Fix some bugs
* Add CameraController.STATE, fix CameraView.isStarted()
* Fix old tests
* Video and focus tests
* Remove video test, fails on Travis
* Add picture tests
* Remove other video test
* Add audio tests
* new travis.yml
* WorkerHandler changes
* Better GridLinesLayoutTest
* Try add logcat to travis build
* Debug failing test
* Add logs
* Grant permissions, bump tests to N
* Add wake locks
* Add wake lock permission
* Remove integration tests
* Change view matcher
* Refinements
7 years ago
Mattia Iavarone
0a8e2f3de7
Dont require AUDIO permission if audio is OFF ( #39 )
7 years ago
Andrew
aeb0083352
Added audio on/off feature for video recording ( #33 )
7 years ago
Mattia Iavarone
200816ca84
Use SurfaceViewPreview when hardware acceleration is off ( #36 )
7 years ago
Mattia Iavarone
66077c1eaa
Improve coverage ( #22 )
...
* New tests
* Try adjust codecov
* CropHelper and CameraUtils tests
* Set target coverage to 40%
* OrientationHelperTest
* Preview tests
* Fix SurfaceView
* Introduce Task for async tests
* Gesture tests
* Improve Gesture Tests
* Add wake lock
* Fix view size
* Add build info logs
* Revert info
* Try fix bug
* Test timeout
* Try fix tests
* Fix TextureView tests if not hardware accelerated
* Fix bug
7 years ago
Mattia Iavarone
982ed3d094
Bump version
7 years ago
Mattia Iavarone
93b1f718db
Fix crop center bug ( #30 )
7 years ago
Mattia Iavarone
cce8d6e621
WorkerHandler survives config changes ( #29 )
...
* Weak cache for threads
* Add logs
* Fix manifest
7 years ago
Mattia Iavarone
53bb5baf42
Add logger for debugging ( #25 )
...
* Add logger for debugging
* Update CameraLogger.java
* Fix #27
* More log messages
7 years ago
Andrew
51f90275f5
Fixed bug with preview stretch on orientation change ( #23 )
...
* #20 Fixed bug with preview stretch on orientation change
* Changed OrientationHelper
7 years ago
Mattia Iavarone
a693ad9425
Update codecov.yml
7 years ago