Mattia Iavarone
bc5c9a41b4
Add nullable and nonnull annotations everywhere
6 years ago
Mattia Iavarone
81a1e1e766
Improvements for supporting a round preview and output
6 years ago
Mattia Iavarone
8b3e6c3a69
Fix demo app null pointer, add null annotations
6 years ago
Mattia Iavarone
7704d0f6c9
Fix OutOfMemoryError in BitmapCallback
6 years ago
Mattia Iavarone
44e600b283
Changes in the demo app
6 years ago
Mattia Iavarone
6fe830df90
Remove cameraFacing definition in demo app
6 years ago
Mattia Iavarone
662641d6db
Facing now defaults to FRONT if we have no BACK cameras. Throw a new CameraException if no camera found
6 years ago
Mattia Iavarone
8ec369998c
Add max size and duration constraints to videos
6 years ago
Mattia Iavarone
2cc2f217b6
Create PictureRecorder and two implementations
6 years ago
Mattia Iavarone
2b43b242b1
Change demo app appearance
6 years ago
Mattia Iavarone
9b8fe1fc35
Respect VideoCodec from options
6 years ago
Mattia Iavarone
dc76ff1b45
Fix transformation issues in preview and final video result
6 years ago
Mattia Iavarone
818a57e94c
Working implementation of MediaCodecVideoRecorder
6 years ago
Mattia Iavarone
4b5d09ec55
Revert demo app changes
6 years ago
Mattia Iavarone
7df47cdf45
Add cropping functionality to GLCameraPreview
6 years ago
Mattia Iavarone
6e6714dec4
Temp commit
6 years ago
Mattia Iavarone
b59bb8800b
Add GLCameraPreview based on GLSurfaceView, preview appears to be working with some bugs
6 years ago
Mattia Iavarone
b2d70d57d4
Add isTakingPicture(), use in demo app
6 years ago
Mattia Iavarone
658137b9bf
Add setVideoSize, video size selectors and available video sizes in CameraOptions
6 years ago
Mattia Iavarone
e1271d43c7
Removed VideoQuality.
6 years ago
Mattia Iavarone
7884f486e5
Rename SessionType to Mode. takePicture fails when Mode == VIDEO
6 years ago
Mattia Iavarone
348cda70ad
Fix preview size computation, demo app details
6 years ago
Mattia Iavarone
0c51d63e9c
getPictureSize and getPreviewSize now return sizes in the output reference
6 years ago
Mattia Iavarone
a5f940517b
Move to PictureResult, rewrote takePicture and takePictureSnapshot
6 years ago
Mattia Iavarone
8ed10fea06
Refactor onVideoTaken, introducing VideoResult
6 years ago
Mattia Iavarone
337df9f540
take APIs refactoring, removing deprecated
6 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
6 years ago
Mattia Iavarone
07f6078385
Demo app - Lock orientation to a fixed value ( #168 )
7 years ago
Jonas Rottmann
0a54bf4543
Migrate to new Android Gradle plugin ( #153 )
...
* Migrate to new Android Gradle plugin
* Updated gradle to 4.5 and downgraded JaCoCo
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
3bc6d96ac3
Add base Control class, add easy setters and CameraOptions APIs ( #105 )
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
2685f47472
Improve CameraUtils.decodeBitmap ( #83 )
7 years ago
Mattia Iavarone
b9f0f27d8d
Small changes
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
5964080db4
New demo app ( #53 )
...
* New demo app
* UI fixes
* Refactor preview activities
* Add gestures control
7 years ago
Andrew
aeb0083352
Added audio on/off feature for video recording ( #33 )
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
Mattia Iavarone
4e5c772902
Fix location bug, add setLocation(Location) ( #10 )
7 years ago
Mattia Iavarone
9d9e93e67d
Scroll gestures support, abstracting GestureLayout
7 years ago
Mattia Iavarone
e5ca52a8d7
Moved SessionType to enums, removed CameraConstants
7 years ago
Mattia Iavarone
b65e9e446d
Moved VideoQuality to enums
7 years ago
Mattia Iavarone
776238a5df
Moved Grid to enums
7 years ago
Mattia Iavarone
c122fbe80e
Moved Flash to enums
7 years ago
Mattia Iavarone
cb53602daf
Removed deprecated classes
7 years ago
Mattia Iavarone
c967eeae68
Move facing values to enums
7 years ago
Mattia Iavarone
1e6ccfec4a
Publish to bintray
7 years ago
Mattia Iavarone
2207ae12d4
Gesture support, map gestures to camera actions
7 years ago
Mattia Iavarone
59a001ab4d
New icon
7 years ago