commit | a97b7d1192e246a5f738991adca37cce282e1382 | [log] [tgz] |
---|---|---|
author | Sol Boucher <solb@google.com> | Wed Jul 09 11:33:16 2014 -0700 |
committer | Sol Boucher <solb@google.com> | Thu Jul 24 15:32:54 2014 -0700 |
tree | 2a5d3221b8dfc583991d6486b09fbfa1e943f22f | |
parent | 7e0d39bf7b6e0f0df606e3f6c15f673f70fed3f7 [diff] |
camera2-portability: Add focus locks and touch-to-focus for API 2 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