summaryrefslogtreecommitdiffstats
path: root/camera2/public/src/com
Commit message (Collapse)AuthorAgeFilesLines
* Camera2: Support waitForSurfacePrepared in BlockingSessionCallbackYin-Chia Yeh2015-06-051-1/+53
| | | | Change-Id: I7f6f351092a173fe0b7a567e5240cb5abe8cb2de
* Camera2: Support onSurfacePrepared in BlockingSessionCallbackEino-Ville Talvala2015-05-131-0/+11
| | | | Change-Id: Id46c044badb98f7837ca3898758997c171aa5c68
* DO NOT MERGE: Minor style fixes.Jiawen Chen2015-04-295-25/+41
| | | | | | | | | - BlockingCameraManager had the wrong TAG. - Added static / final to NUM_STATES. - Javadoc @param mismatch. Change-Id: I0dbe6b3d4bdcb5a51ba0aea89985c3495a59381e (cherry picked from commit 5a772174d14175474e76701b07cc0be86c3df32a)
* Camera2: Update for camera2 API changesEino-Ville Talvala2014-09-081-2/+2
| | | | | | | Add frame number to CaptureCallback#onCaptureStarted Bug: 17421092 Change-Id: I8ffc0c7c22a5f3a25e923aaf1ecf166c7a264508
* Camera2: Renames for API consistencyEino-Ville Talvala2014-09-055-28/+28
| | | | | | | | - Listener -> Callback - add/remove callbacks -> register/unregister Bug: 17389922 Change-Id: I6e162ae18447b5a4fcabc17d17b1341f341fc47d
* Camera2: Remove hidden callbacksEino-Ville Talvala2014-08-042-80/+4
| | | | Change-Id: I4038f0aff5e82531ca2b6231feee9ade36ddbb75
* camera2: Add BlockingCaptureListener class.Ruben Brunk2014-07-252-2/+166
| | | | | | Bug: 15116722 Change-Id: Ib843dea27175dece8857359707318323a57f5409
* camera2: Add state waiters for the session state listenerIgor Murashkin2014-06-094-0/+477
| | | | | Bug: 15474402 Change-Id: I4ae86166b5ce99a854c754c8ac6d6c23c683b14a
* camera2: Update code for CameraMetadata.Key refactorIgor Murashkin2014-05-231-1/+1
| | | | | Bug: 15091017 Change-Id: Ic56c54c0d184e209e20de374dc8a6d79527c209f
* camera2: BlockingStateListener invokes proxy before firing state changeIgor Murashkin2014-03-071-8/+8
| | | | | | | | - This fixes a race condition where it was possible to wait for a state transition using #waitForState but without yet the corresponding proxy callback having been fired. Change-Id: If521c4e48177d4b0fe5ab6fed3d31ddd74b656af
* Merge "camera2: Add updateCaptureRequest method" into klp-devZhijun He2013-11-071-0/+21
|\
| * camera2: Add updateCaptureRequest methodZhijun He2013-11-061-0/+21
| | | | | | | | | | | | | | It can be used to update repeating request with current auto focus mode. Bug: 10649854 Change-Id: I5e92218c61dea04990581d37f92bf25a1f8dbe91
* | camera2: Add #resetState to AutoFocusStateMachineIgor Murashkin2013-11-061-0/+20
|/ | | | | Bug: 11071158 Change-Id: I24bc2d771703bb502dcbb676b6262954f2017630
* camera2: Add tracing to AutoFocusStateMachine (lens-locking actions only)Igor Murashkin2013-11-041-0/+35
| | | | | Bug: 11071158 Change-Id: I6a1d0130b6ca36c853f539ef3f1afb363a70df24
* Merge "gcam: Add empty SysTrace class" into klp-devIgor Murashkin2013-10-251-0/+121
|\
| * gcam: Add empty SysTrace classIgor Murashkin2013-10-181-0/+121
| | | | | | | | | | Bug: 11071158 Change-Id: I31f8c449dc4c47c610b0ef3c24849e0402634c86
* | camera2: Harden AutoFocusStateMachine against null values in callbacksIgor Murashkin2013-10-171-0/+24
|/ | | | | Bug: 11269834 Change-Id: Id3cb85eb3e9aaaf6714fd81a5d53811d4cbfefa9
* camera2: Skip AF state updates when afMode/afState are missingIgor Murashkin2013-10-151-2/+14
| | | | | | | | | | | | * Workaround for hal3 sometimes dropping afMode/afState (rarely) - don't update AF states, instead just skip this frame, safer and adds 1 frame of latency very rarely sometimes. * Assumes request is repeating, since otherwise we wouldn't get future af transition results Bug: 11238865 Change-Id: Ic793d8c6d44873f6a7983e84e4510b8587a148a0
* Camera2: Add a blocking state listenerEino-Ville Talvala2013-10-061-0/+275
| | | | | | | | - Provides wait() methods for waiting on a desired state to be reached - Only one waiter at a time Bug: 10360518 Change-Id: Iab114584dfa4ab34c7a7b31ed243a3f6a3fc9c58
* gcam: Make AF more tolerant to transitioning into same stateIgor Murashkin2013-10-041-4/+7
| | | | | Bug: 11014205 Change-Id: I669873307943bfdfbe67e688d1b2de24acd87550
* camera2: Add passive unfocused state to AF state machineIgor Murashkin2013-10-041-4/+4
| | | | | | | * Also fix minor issue where passive focused state was falsely locking Bug: 11014205 Change-Id: Ic53e455693aa4f14d776658625d4ba8fa7dc2f51
* camera2: Add state machine for doing auto-focus easily from appsIgor Murashkin2013-09-241-0/+275
| | | | | Bug: 10890749 Change-Id: I966768bdcdbb2876d44eefc2156e7aca64c4e601
* camera2: New directory with camera2 extras/helpersIgor Murashkin2013-09-202-0/+380
* Simplify using camera2 when possible * Offer a blocking openCamera call to not have to deal with listeners Bug: 10360518 Change-Id: I7f154db3a5300437785d6e8d0bfff5499ef9bc15