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
|
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
|
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
|
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 |
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
|
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
|
f7c004e003
|
Update build.gradle
|
7 years ago |
Mattia Iavarone
|
41f9f51ef9
|
Add instrumentation tests and codecov support (#18)
* Add instrumentation tests
* Run androidTests on api 22
* Fix lint errors
* Nits
* Add codecov support
* Shield
|
7 years ago |
Mattia Iavarone
|
0a1d4d709d
|
Add some unit tests
|
7 years ago |
Mattia Iavarone
|
c0142c11a9
|
Bump version
|
7 years ago |
Mattia Iavarone
|
57d234c05b
|
Improve threading, add CameraOptions.supports() (#13)
* abstract WorkerHandler class, cleanup
* Start and stop in our thread
* Simplify Camera1 threading
* Add CameraOptions.supports() shorthands
* Improve supports() shorthands
* Rearrange orientation callbacks
|
7 years ago |
Mattia Iavarone
|
cbac776f91
|
HDR support (#11)
|
7 years ago |
Mattia Iavarone
|
4e5c772902
|
Fix location bug, add setLocation(Location) (#10)
|
7 years ago |
Mattia Iavarone
|
3c564d0c1d
|
Bump version
|
7 years ago |
Mattia Iavarone
|
2fe72577aa
|
Fix bug with measuring behavior (#8)
* Code regions
* Fix bug with measuring behavior
|
7 years ago |
Mattia Iavarone
|
f4868aefa6
|
Fix vertical scrolls, removed some logs (#7)
|
7 years ago |
Mattia Iavarone
|
ead845e2fc
|
Bump version (#2)
|
7 years ago |
Mattia Iavarone
|
a5916d1819
|
Travis support (1)
|
7 years ago |
shtolik
|
400ade252f
|
Fix updating layout from wrong thread (#1)
|
7 years ago |
Mattia Iavarone
|
b4eeb2368c
|
Bump version
|
7 years ago |
Mattia Iavarone
|
db23050ee3
|
MediaActionSound support
|
7 years ago |
Mattia Iavarone
|
89d1573717
|
Add onOrientationChanged listener
|
7 years ago |
Mattia Iavarone
|
5b0e4110c8
|
Bump version
|
7 years ago |
Mattia Iavarone
|
9d9e93e67d
|
Scroll gestures support, abstracting GestureLayout
|
7 years ago |
Mattia Iavarone
|
455e3522e9
|
Move to package protected in some classes
|
7 years ago |
Mattia Iavarone
|
f6d296f5f5
|
Bump version
|
7 years ago |