Mattia Iavarone
fbef2206c2
Nits
7 years ago
Mattia Iavarone
0c51d63e9c
getPictureSize and getPreviewSize now return sizes in the output reference
7 years ago
Mattia Iavarone
fca9d3fbd8
Fix tests, refactoring
7 years ago
Mattia Iavarone
a5f940517b
Move to PictureResult, rewrote takePicture and takePictureSnapshot
7 years ago
Mattia Iavarone
8ed10fea06
Refactor onVideoTaken, introducing VideoResult
7 years ago
Mattia Iavarone
03f8358d67
Remove ExtraProprties
7 years ago
Mattia Iavarone
337df9f540
take APIs refactoring, removing deprecated
7 years ago
Mattia Iavarone
7378e781cd
Remove cropOutput
7 years ago
Mattia Iavarone
74a4bac091
Remove JpegQuality
7 years ago
Mattia Iavarone
3d8bf1618c
Error handling and lifecycle boilerplate ( #265 )
...
* Update dependencies
* Improve error handling
* Add lifecycle support
* Use lifecycle in demo app
* Add README info
7 years ago
Mattia Iavarone
e9cba8c6ec
Add VideoCodec option ( #174 )
...
* Add VideoCodec options
* Fix tests
7 years ago
Mattia Iavarone
c1973b0d71
Add setVideoMaxDuration() API ( #172 )
...
* Add setVideoMaxDuration() API
* Better tests
7 years ago
Mattia Iavarone
9b8cc16d96
Add discrete granularity to pinch and scroll events ( #170 )
...
* Add discrete granularity to pinch and scroll events
* Better tests
7 years ago
Viktar Patotski
e3abae9d7b
Fix camera mute ( #143 )
...
* mute camera in case if it's supported and required
* applyPlaySound properly
* fix compilation error
* fix comments
* fix comments 2
* add integration test for setPlaySounds
* pass mPlaySoundsTask
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
8 years ago
Mattia Iavarone
3bc6d96ac3
Add base Control class, add easy setters and CameraOptions APIs ( #105 )
8 years ago
Mattia Iavarone
33162f0e31
Improve CameraOptions APIs, cleanup ( #101 )
...
* Improve CameraOptions APIs, cleanup
* Test flip
* Remove unwanted API
8 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
8 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
8 years ago
Mattia Iavarone
a31dd1d57c
Recycle buffers and Frame instances ( #94 )
8 years ago
Mattia Iavarone
011754203c
Avoid ConcurrentModificationExceptions in listeners ( #88 )
8 years ago
Mattia Iavarone
85dc1a05d4
Release PreviewCallback ( #86 )
8 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
8 years ago
Johnson145
46b8e54155
Fix javadoc errors ( #55 )
8 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
8 years ago
Mattia Iavarone
f8d38e3c8c
Add playSounds support ( #43 )
8 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
8 years ago
Mattia Iavarone
0a8e2f3de7
Dont require AUDIO permission if audio is OFF ( #39 )
8 years ago
Andrew
aeb0083352
Added audio on/off feature for video recording ( #33 )
8 years ago
Mattia Iavarone
200816ca84
Use SurfaceViewPreview when hardware acceleration is off ( #36 )
8 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
8 years ago
Mattia Iavarone
cce8d6e621
WorkerHandler survives config changes ( #29 )
...
* Weak cache for threads
* Add logs
* Fix manifest
8 years ago
Mattia Iavarone
53bb5baf42
Add logger for debugging ( #25 )
...
* Add logger for debugging
* Update CameraLogger.java
* Fix #27
* More log messages
8 years ago
Andrew
51f90275f5
Fixed bug with preview stretch on orientation change ( #23 )
...
* #20 Fixed bug with preview stretch on orientation change
* Changed OrientationHelper
8 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
8 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
8 years ago
Mattia Iavarone
cbac776f91
HDR support ( #11 )
8 years ago
Mattia Iavarone
4e5c772902
Fix location bug, add setLocation(Location) ( #10 )
8 years ago
Mattia Iavarone
2fe72577aa
Fix bug with measuring behavior ( #8 )
...
* Code regions
* Fix bug with measuring behavior
8 years ago
Mattia Iavarone
f4868aefa6
Fix vertical scrolls, removed some logs ( #7 )
8 years ago
shtolik
400ade252f
Fix updating layout from wrong thread ( #1 )
8 years ago
Mattia Iavarone
db23050ee3
MediaActionSound support
8 years ago
Mattia Iavarone
89d1573717
Add onOrientationChanged listener
8 years ago
Mattia Iavarone
9d9e93e67d
Scroll gestures support, abstracting GestureLayout
8 years ago
Mattia Iavarone
e5ca52a8d7
Moved SessionType to enums, removed CameraConstants
8 years ago
Mattia Iavarone
b65e9e446d
Moved VideoQuality to enums
8 years ago
Mattia Iavarone
324f0c8a47
Moved WhiteBalance to enums
8 years ago
Mattia Iavarone
776238a5df
Moved Grid to enums
8 years ago
Mattia Iavarone
c122fbe80e
Moved Flash to enums
8 years ago
Mattia Iavarone
cb53602daf
Removed deprecated classes
8 years ago