Mattia Iavarone
2502909a6c
Nits
7 years ago
Mattia Iavarone
f14f866c96
Class name refactoring
7 years ago
Mattia Iavarone
033872d0a6
Added public CameraOptions to understand what is supported and what's not
7 years ago
Mattia Iavarone
0e3fbea03b
Full pinch-to-zoom support! + pinch-to-zoom callbacks to draw
7 years ago
Mattia Iavarone
900e71dfa3
Add public callbacks for auto focus events, to let people draw
7 years ago
Mattia Iavarone
3f67e02d1e
Real tap-to-focus support, was heavily bugged
7 years ago
Mattia Iavarone
3a6666fdbc
Built in support for drawing grids
7 years ago
Mattia Iavarone
67812ac1dc
Change videoQuality dynamically, adapt capture size to video AspectRatio, full docs
7 years ago
Mattia Iavarone
61c7b68e1e
new startCapturingVideo(File, long) for max duration
7 years ago
Mattia Iavarone
84c7f63443
Suggesting keepScreenOn, support during videos
7 years ago
Mattia Iavarone
7f131c4cf9
Rename captureImage to capturePicture for consistency
7 years ago
Mattia Iavarone
5198c259cd
Fix orientation for videos
7 years ago
Mattia Iavarone
55af71c646
setLocation support for videos
7 years ago
Mattia Iavarone
51147e88ef
Support for pics while recording videos
7 years ago
Mattia Iavarone
4f554a5184
Fix exif orientation for facing camera
7 years ago
Mattia Iavarone
2c0bc641eb
Fix snapshot cropOutput, crop only when needed
7 years ago
Mattia Iavarone
fa9fba1f90
Fix cropOutput behavior for captureImage(), fix orientation bugs
7 years ago
Mattia Iavarone
13feba2469
Refactored demo app
7 years ago
Mattia Iavarone
1e5563e833
captureSnapshot() API
7 years ago
Mattia Iavarone
fe33c1fa7a
CameraUtils for decoding bitmaps in background, ExifInterface library
7 years ago
Mattia Iavarone
6a0795c1b3
Add multiple CameraListeners, callback always on the UI thread
7 years ago
Mattia Iavarone
82509ed1a4
Update docs
7 years ago
Mattia Iavarone
e7330fcd7b
Smart sizing behavior, removed adjustViewBounds
7 years ago
Mattia Iavarone
3dbd7fa945
Heavy refactoring, setParameters bug fixed
7 years ago
Mattia Iavarone
7f39b1b5b7
Better focus behavior
7 years ago
Mattia Iavarone
ae59a59930
Better focus behavior, no touch listeners
7 years ago
Mattia Iavarone
5bbccb494f
Add startVideo(File), refactor FocusMarkerLayout, remove static thread
7 years ago
Mattia Iavarone
4e338039c2
Add files
7 years ago
Mattia Iavarone
9c912e925b
Correct orientation for captured preview frames. Bugs fixed. Refactoring useless classes
7 years ago
Mattia Iavarone
c429a99972
Added sessionType to switch between picture and video. Deprecated permissionsPolicy and captureMethod. Improved video sizing.
7 years ago
Mattia Iavarone
4c021caa8f
White Balance support
7 years ago
Mattia Iavarone
f43af464f9
Add setLocation() for geo exif tags
7 years ago
Mattia Iavarone
f644bfdfef
Constants refactor, readme changes
7 years ago
Mattia Iavarone
b8628d4c2d
Fixed serious bugs. Option to have WRAP_CONTENT to both dimensions
7 years ago
Mattia Iavarone
c5e38fca19
Added destroy() lifecycle event
7 years ago
Mattia Iavarone
bd36fd73ea
Refactoring. Bug fixing. New logic for sizing. Some docs. Correct orientation in EXIF headers
7 years ago
Dylan McIntyre
968e3bf012
readme updates, rename qvga attr
8 years ago
Dylan McIntyre
442ca67c04
Add TORCH to possible attributes for flash
8 years ago
Eduardo Omine
4701cdff94
Fixed distortion of videos recorded in landscape orientation
8 years ago
Yuval Peress
eec74133ed
Fix crash for picture callback after stop()
...
The callback is using the captured camera object instead of checking the
mCamera object to verify that we haven't released yet. Also, added a getter
for the flash property.
8 years ago
Yuval Peress
4a6ef7659b
Integrate Lifecycle events with CameraView for easier use.
8 years ago
Yuval Peress
3282a95c61
Add access to camera properties POJO
...
Currently the only properties in interest (to me at least) are the vertical
and horizontal view angles to allow for better AR mode.
8 years ago
Yuval Peress
ae77fb31dd
Add check for isStarted to avoid multiple start/stop calls.
8 years ago
Yuval Peress
ee1eb88dfc
Add getter for the facing field
8 years ago
Yuval Peress
2ab9043851
Migrate constructor code to init and use a single worker thread.
...
- Moving the initialization code to an init function allows the creation of
the CameraView in code using the single context constructor.
- Creating a single HandlerThread will avoid having to create new threads
for every operation.
8 years ago
Eduardo Omine
cc6116a951
Fixed landscape orientation of recorded videos
8 years ago
Larry Ng
dcb8a91341
fix crash on tap focus
8 years ago
Matt Fenlon
b7b9331b2f
Fixed crash if takePhoto called rapidly+repeatedly
...
There was no check to confirm whether the camera was in process of taking a photo, or if camera instance itself was null. When rapidly called in the demo app (or any other implementing app) this would cause “java.lang.RuntimeException: takePicture failed” or a NPE respectively.
8 years ago
Matt Fenlon
37a784dc3b
Fixed orientation-related render error in preview
...
Added two if statements to ensure that orientation detection checks aren’t performed in edit mode.
8 years ago
Antonio Nicolás Pina
5eff7e0eb4
Fix Android Studio preview error using isInEditMode.
8 years ago