Mattia Iavarone
1fd0e957aa
Update docs
6 years ago
Mattia Iavarone
fbef2206c2
Nits
6 years ago
Mattia Iavarone
0c51d63e9c
getPictureSize and getPreviewSize now return sizes in the output reference
6 years ago
Mattia Iavarone
fca9d3fbd8
Fix tests, refactoring
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
03f8358d67
Remove ExtraProprties
6 years ago
Mattia Iavarone
337df9f540
take APIs refactoring, removing deprecated
6 years ago
Mattia Iavarone
7378e781cd
Remove cropOutput
6 years ago
Mattia Iavarone
74a4bac091
Remove JpegQuality
6 years ago
Mattia Iavarone
778ee7a79e
Refactor Mapper class
6 years ago
Mattia Iavarone
68e7631d17
Restore frame processor after videos ( #344 )
6 years ago
matanelgabsi
4d654f649d
Ability to add pass BitmapFactory.Options to decodeBitmap. ( #319 )
...
* Added support for passing BitmapFactory options to decodeBitmap
* Fixes
6 years ago
Mahdi
e0602c7ab6
Swallow RuntimeExcpetions on autoFocus ( #332 )
6 years ago
Keyrillanskiy
d0bb8cd31c
Fixed TextureView crash with setBackgroundDrawable ( #297 )
...
solution from here - https://stackoverflow.com/a/47796036
6 years ago
Artur Artikov
ee1d3979f9
Use cached orientation in OrientationHelper ( #290 )
6 years ago
Mattia Iavarone
14581075b7
Update CameraException.java
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
Aleksandr
7f43a4a10b
Fixed Exception on some devices when we use default videoCodec instead CamcorderProfile videoCodec. ( #264 )
...
Looks like passing camcorderProfile.videoCodec instead of MediaRecorder.VideoEncoder.DEFAULT avoids some exceptions.
6 years ago
MatFl
c113933b60
Prevent context leak through SystemSensorManager ( #245 )
6 years ago
Josh Burton
819638862f
Provides synchronous version of decodeBitmap ( #224 )
...
* Provides synchronous version of decodeBitmap and adds annotation to make it clear this should run on a worker thread
Closes #221
* Tidies up decodeBitmap javadoc
7 years ago
Mattia Iavarone
c3e3d43b28
Bump version ( #222 )
...
* Bump version
* update jacoco
7 years ago
Siavash Sakhavi
86c3eae957
Removed +1 from frame byte return ( #205 )
7 years ago
Mattia Iavarone
e9cba8c6ec
Add VideoCodec option ( #174 )
...
* Add VideoCodec options
* Fix tests
7 years ago
Mattia Iavarone
0494477c3b
Reset flags when stopping ( #173 )
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
Mattia Iavarone
ef1a4ecc65
Check focus area max number before applying ( #167 )
7 years ago
Michael Möbius
9bb5a7c289
#160 Add prefix for resources ( #162 )
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
YeungKC
2dd19121fc
Fix preview size selection ( #133 )
...
matchRatio may get unexpected size when implementation of getSupportedPreviewSizes() decides to return values in a non-descending order.
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
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
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
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
011754203c
Avoid ConcurrentModificationExceptions in listeners ( #88 )
7 years ago
Mattia Iavarone
85dc1a05d4
Release PreviewCallback ( #86 )
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
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
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