| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ \ \
| |_|/ /
|/| | |
| | | | |
lmp-dev
|
| | |/
| |/|
| | |
| | |
| | | |
Bug: 17109582
Change-Id: I73321cdbb2972b2d1e9bc2de93192fbb506347e7
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | | |
Bug: 16031597
Change-Id: Ifa547cdfde19f67a3c85d39c1d50ae317bca5932
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
camera1 CameraAgent returns null CameraDeviceInfo if the underlying
camera device is broken. see b/16982203, this caused issues but was
invisible in logs. Adding logging to document true root cause of
any device info failures stemming from an underlying failure.
Bug: 16982203
Change-Id: I8a48714e1ddbde8b8eac35f149136d19efce5fb8
|
|\| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The existing implementation of the AndroidCameraAgentImpl uses
a 'mParamsToSet' upon which is projects requested settings
changes in applySettings(). But, this mParamsToSet is initialized
only upon camera open! So 'hidden' parameters like video-size are
stuck in the value upon open. Instead, they should be current to
the last call to refreshSettings. To simplify, removed this and
another copy of parameters (mParameters), introduced one cache
class, and use it throughout the agent. Tested and app seems to
work OK in general with the change, and specifically confirmed that
video size parameters are not reverted after start, as was
observed before the change.
Bug: 16991558
Change-Id: I8f2749b8ab2ccc2cb858b8cd844330c5a482f79c
|
|\ \ \ \ |
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Applying this transform to the Surface on which the stream is displayed results
in a correctly rotated image. For API 1, the rotation is actually performed by
the Camera class and the returned matrix is an identity matrix; however, for API
2, the transformation is responsible for proper orientation.
Bug: 16875535
Change-Id: I044ffbd1095bd1a9792c899b792129cc94c7c916
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
lmp-dev
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This allows apps using the library to decide whether to jump to the new API.
Users of the library may choose to use the Camera class, the camera2 API, or
have the choice made automatically based on the device's API level. The choice
may also be globally overridden by means of a system property.
Bug: 16875535
Change-Id: I92e4be96fbd04057be61ceb8a0c58935770022f6
|
|\ \ \ \ \ |
|
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Currently the size of the partition is hidden from public. The isEmpty
method will allow outside classes to check if the partition does not
have any entries in it.
Bug: 15596340
Change-Id: I0a0f8f7c7a350b802e58e9138801c13b6e74a059
|
|\ \ \ \ \
| |/ / / /
|/| | | |
| | | | | |
into lmp-dev
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This makes it harder for unexpected nulls in CaptureRequest templates to cause
exceptions while unboxing Integer wrappers. Such crashes were observed on some
devices while running on the legacy layer, especially with scene modes.
Change-Id: I0cae95534f138e97f2c589d15e81f77b4f2141f7
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
This reports JPEG capture sizes instead of YUV ones, and ensures that preview
sizes match TextureView, not SurfaceView.
Change-Id: I2963ee1741156cc2a29e2e65308bd14dd145e4c8
|
|\ \ \
| | | |
| | | |
| | | | |
into lmp-dev
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
These fields are deprecated but while we have them, should copy them in the
constructor. This contributes to a zoom bug in the app, since ratios and indices
are dropped upon copy.
Bug: 16527845
Change-Id: I008384faa77e0c13a2790e095fa311909c1e9b44
|
|\ \ \ \
| |/ / /
|/| | |
| | | | |
lmp-dev
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This implements JPEG capture, including an autoexposure precapture sequence.
There are many changes to AndroidCamera2Capabilities and AndroidCamera2Settings
to support the representation of modes (e.g. flash modes) whose flags do not
map trivially between the API implementations. Part of this work is the
conversion of AndroidCamera2AgentImpl to use and store a
Camera2RequestSettingsSet instead of a bare API 2 CaptureRequest.Builder.
Change-Id: I03f9f98c954a7b0c140ac8d80161878c92ef65d2
|
|/ /
| |
| |
| | |
Change-Id: I4038f0aff5e82531ca2b6231feee9ade36ddbb75
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It contains:
- Camera2RequestSettingsSet class for storing/unioning CaptureRequest.Builders
- A Camera2CaptureListenerSplitter class for connecting multiple such listeners
- A Camera2CpatureListenerForwarder for relaying callbacks to another Handler
Change-Id: I47381e4a45b4232b86e5498a1cc39cc600b5c5c5
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In the move to the portability library, TORCH mode got dropped.
Bug: 16680156
Change-Id: I3878c2399246bdb5cc80311c49533971c0c4c3d2
|
|/ /
| |
| |
| |
| |
| | |
Bug: 15116722
Change-Id: Ib843dea27175dece8857359707318323a57f5409
|
|\ \
| | |
| | |
| | | |
into lmp-dev
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This implements focus locks very simply using only camera2 API requests: the
lens is locked on autoFocus() and unlocked on cancelAutoFocus(), as with the
existing legacy API--backed implementation. Both passive and active focus modes
ares supported, with and without positional focusing.
Change-Id: I26b1866539807fd3d64189923871443056a166af
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
* commit '73513fb9babbf8efbff930cb4cc81acdb1f1fdf3':
Update build.gradle from master
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
* commit 'b50ab0c2167956317e7fc2358e87320991418cf5':
Update build.gradle from master
|
| | |\ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* commit '3fbecf118b05748b5e9f6feae596c30eca64ccc9':
Update build.gradle from master
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change-Id: I858554625d69dbc34f7174a5c8526d602113b569
|
| |_|_|/ /
|/| | | |
| | | | |
| | | | | |
Change-Id: Id1e3730d897e9f7e8f416fdae0d1da106a63097c
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The base class still (redundantly) defined states, and AndroidCameraStateMachine
was overriding methods with a verbatim copy of their implementations.
Change-Id: I0e6361417edb159f91b89409058ee9a73b1101d9
(cherry-picked from commit dbc457417c581c21b5d49539325b1b152dc1baba)
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
At the moment, only SurfaceTextures (and not SurfaceViews/SurfaceHolders) are
supported. The tests still only cover Stringifier and IntegralStringifier.
Change-Id: Ie643c58f8383cd3b9f59c16e0b79239df0ca068d
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
2d25a637: (-s ours) Import translations. DO NOT MERGE
* commit '366ddf74b427109ff2470aa468da2fe5bf1ab5d1':
Import translations. DO NOT MERGE
|
| |\| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
translations. DO NOT MERGE
* commit '6f3df8c87787838cb66eb092480e3a5e216955d1':
Import translations. DO NOT MERGE
|
| |/| | |
| | |/ /
| | | |
| | | |
| | | | |
* commit '0df20a5fc1919af07f8aadd5e1b4f290b2bfa8d4':
Import translations. DO NOT MERGE
|
| | |\ \
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '2d25a6375973c5f49eccfa4228bd3eb6620709b1':
Import translations. DO NOT MERGE
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I8c32827422ba30ceda810833b72261ef4b3f164b
Auto-generated-cl: translation import
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
a03388cf9a9bcd78400b6f79aa360a5d1e71c7ac
* commit '000bd2527105f0bdf825a65cbf82a1133d1e0bae':
Import translations. DO NOT MERGE
|
| |\ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change-Id: I22572a812a8337792bf521aec68d3ac1cc2a2400
Auto-generated-cl: translation import
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change-Id: Iadc3979ff2a08d485d92a12ff29472f3cd447743
Auto-generated-cl: translation import
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change-Id: Ie463803531bd671303f0dbafe61b635c5c447bff
Auto-generated-cl: translation import
|
|\ \ \ \ \ \ |
|
| | |/ / / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This removes the CameraDevice#getCameraInfos() call that provided direct access
to this API 1 type, replacing it with another accessor returning individual
instances of the new wrapper type CameraDevice.BasicCharacteristics .
It also gives CameraProxy a method for getting instances of this wrapper.
Change-Id: I0c72ffe71817b8acf1cc5a01f1565ec4e0e97e7d
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
194dda10: Fix some warnings
* commit '74719a2c7548a4780059d1b5e3637c51da4e9013':
|
| |\ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
warnings
* commit 'b468c8fc7e914220c457e390b23a54baee1a1c69':
|
|\| | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* commit '340756673be2875c79d019b13ebb687942eb534f':
|