History log of /packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
37036186326fb68c27063f97305405d3667a5eb3 25-Mar-2015 Sascha Haeberling <haeberling@google.com> Change CaptureSession.saveAndFinish to return a future for the URI.

Bug: 19665531

Most callers of saveAndFinish never provided the callback. In addition
it's unclear on what thread the callback is called. This cleans this up
a bit and moves the responsibility to the caller to decide on which
thread the URI should be received. Callers that don't care don't have to
do anything.

Also fixes a bug where we wouldn't even supply a URI for when there was
no placeholder.

Change-Id: I1a186b470d2cca8f34a674e9eb5c533fc01a4409
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
5ca7d2642881f3cf06adb2532e0d5950524a34f4 07-Mar-2015 Puneet Lall <puneetl@google.com> Optimize ZSL for auto-flash mode

Cache the most recent converged AE state to enable more
auto-flash pictures to be taken with zero shutter lag.

Bug: 19151363
Change-Id: I7d4bd5a67d4cddb7a1f733844e1a080acfacf7f4
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
dfef32425e6184d5721bb7af9db823ec46bc2b4f 11-Mar-2015 Sascha Haeberling <haeberling@google.com> Add Location to EXIF

Bug: 16961102

Change-Id: I9f2335c0f02bea1286698330483cd30fdb875f45
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
f6031c016d916db9789026dc0a6c559d8163a088 19-Feb-2015 Spike Sprague <spikuru@google.com> Add EXIF data to images processed via software JPEG encoder.
bug: 16961102

Change-Id: I3df48a74fedbba6ca5540bf095f5e5eaf93db3ab
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
6ba8eeea4758e29318c615e978c63599c30438b4 18-Feb-2015 Paul Rohde <codelogic@google.com> Add a PreviewSizeSelector interface.

This removes the required context object for the utility objects
in both CameraUtil and CaptureModuleUtil. Adding an interface
for PreviewSizeSelection clears the way for future work to move
the preview size selection code into a dedicated class and to have
api specific versions of preview selection code for startup
speed improvements.

Change-Id: I92e58dad23b08057eb10984c31d04947a376ac6d
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
aca904e29aea542b6e6a4fcc837759a57a270a49 12-Feb-2015 Paul Rohde <codelogic@google.com> Read focus range from CameraCharacteristics.

- Remove hardcoded focus range values.
- Explicitly provide a lens range and range checks.

Bug: 19356651

Change-Id: Ied2513b5a654a00af07e76a66e72aac50ffc9c42
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
abf1e994d236a65180eecfcb6997003ab12795df 21-Jan-2015 Sascha Haeberling <haeberling@google.com> CaptureSession can now be started with an empty placeholder.

Bug: 19014774
Bug: 18853119
Bug: 18979823

Being able to start with an empty placeholder and then updating that
placeholder allows us to add a visual entry to the filmstrip early on.

This avoid jarring effects where after taking many apid fire shots and
going to filmstrip, the entries are appearing one after the other.
This was caused by sessions only getting started when the thumbnail was
produced, which can take a while when multiple shots are in the
encoding pipeline.

Also contains changes that make CaptureSession testable.

Change-Id: I3d44704099be81524f8e165f3f09de6eebfc147b
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
d8463954727c9f8b688e69476439830cadb7b45a 30-Dec-2014 Puneet Lall <puneetl@google.com> Refactor camera factories to reduce code duplication

Change-Id: I5f5c899f595dbbaa9fa181c5caa092d4bad69f07
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
c7251753978f80dc40131e7676f69f7e86208fd1 29-Dec-2014 Puneet Lall <puneetl@google.com> Remove unused parameter to OneCamera.close

Change-Id: Iea5dcb41eb5c387a7f19db280ea9c681e2aabc7e
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
30ccdac56450e5b1927e14a6eede2b86a30c42eb 19-Dec-2014 I-Jong Lin <ijonglin@google.com> Full end-to-end integration for ZSL

Full end-to-end functionality using the ZSL integrated with
the ImageBackend. Still some outstanding issues regarding image
orientation, but the full pipeline is plumbed for ZSL.

Change-Id: I636944fbd57e7d1bf6b1ef24e1e2c1317afdd28d
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
987ee64612e2510004fdf08536746c87234d01c1 05-Dec-2014 Paul Rohde <codelogic@google.com> Drop new focus indicator into Camera2.

* Create a new custom focus view that interacts with physical lens diopter changes.
* Replace all occurances of the old focus indicator with the new one.

Change-Id: Ia02646ce4d1eb059ecb8a1dfccc15dfc9c167e1b
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
9ceed0d5535e8453f8b5f77959134760dac01ec5 25-Nov-2014 Puneet Lall <puneetl@google.com> Refactor OneCamera

* Removed CaptureParameter "sanityCheck"
* Removed unused OneCamera interface methods

Change-Id: I2464cedf4ad9122e6ca72055e1cc8c0ba633a164
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
c6da1a12fe8b78e2fbebe1af5efee514bc8e25ee 06-Nov-2014 Sascha Haeberling <haeberling@google.com> Add experimental RAW(DNG) support.

Bug: 18272977

This adds RAW writing behind a new debug property:
adb shell setprop persist.camera.capture_dng 1

This will switch to the non-ZSL implementation of one Camera.

The resulting files are stored in a "DNG" folder under DCIM/Camera.

Caveats:
- Preview aspect ratio will not match.
- No item in filmstrip

Change-Id: I9d990de119f22a12d37b22d36d84dc15aeee9340
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
9cd94d77bcafad38f15b318ea5c9dbc0849c1ecd 14-Oct-2014 Puneet Lall <puneetl@google.com> Enable CaptureModule/ZSL

* Close the image reader in ZSL impl
* Enable CaptureModule for API2
* Set ZSL ring-buffer to 10 images

Change-Id: I19eb6bf9102ba8397fa073c98b1a3b5f84b74601
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
0971376b0ddf12c8aa886ad9109f6a8929095154 17-Sep-2014 Jiawen Chen <jiawen@google.com> Changed tap-to-meter rectangle and weights.

Bug: 17417649

- Clarified widths in Settings3A.
- For Gcam only, reduced AE box to 12.25% of the shorter edge of the crop
rectangle. This matches the setting on Nexus 5.
- For Gcam only, changed AE weight to 22 after consultations with Ryan.
- Tested with Gcam and it final shots look great in HDR scenes.
- Does not fully address b/17417649: ISP AE ignores the weight completely and
overcompensates for the tap region.
- Changed AutoFocusHelper to take touch points in normalized portrait
coordinates along with a sensor orientation. The output is a MeteringRectangle
in sensor pixels.
- Fixed a bug where a digital-zoomed tap doesn't work when the rect intersects
edges. It should have been clamp, not check for intersection and return the
full crop rectangle if it doesn't intersect.

- Submit simultaneously with ag/549706.

Change-Id: If084e64ecbfc4a08ece96a7cebfcaf835d92b9d1
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
9cefdd495332719d987ffb942742ec602793d8d4 09-Sep-2014 Jiawen Chen <jiawen@google.com> Changed double to float. viewFinder -> viewfinder.

Change-Id: I5f10a5e8dae40f56457b863d5e8c703e7bf68e49
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
dd38b94c6f21b528f0de706a69d853f24a9c9561 09-Sep-2014 Eino-Ville Talvala <etalvala@google.com> DO NOT MERGE: Adjust for camera2 API changes

Add frameNumber to CaptureCallback#onCaptureStarted

Bug: 17421092
Change-Id: I6e66bd1abc2ecec4dd8346cf4313dc7261ffa26b
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
6281a7942de9e55386c20c6f41bfb656b126a364 08-Sep-2014 Andy Huibers <andyhuibers@google.com> Merge "In debug_ui mode, show CAF result state, length of AF scan, fps, for camera2 API." into ub-camera-glacier
ca3c564536f154b83e380e37382bc7b9f6049302 07-Sep-2014 Andy Huibers <andyhuibers@google.com> In debug_ui mode, show CAF result state, length of AF scan, fps, for camera2 API.

Bug: 17397777
Bug: 17028594
Bug: 17391241
Change-Id: Id5a7fe748f988755cb2d786a2103e375eb97b08f
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
76215c98a9a11d87b5ce9d2b4198654c2b8bbddf 08-Sep-2014 Alan Newberger <alann@google.com> DO NOT MERGE Update Camera2 to use latest APIs

Bug: 17423266
Change-Id: I1f1d79619d89971b387a78756b8f3b4d4b45d76e
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
21fdb9db957973fa00777b65787db7e887fc070d 06-Sep-2014 Alan Newberger <alann@google.com> DO NOT MERGE Revert "Update camera2 API usage"

This temporarily reverts commit for unbundled branch 9c84812bba91831e1759c23e8c92082a8a5f44fd.

Change-Id: Ic4767cd27373c36dd77df4469f5006ced8746f9f
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
9c84812bba91831e1759c23e8c92082a8a5f44fd 05-Sep-2014 Eino-Ville Talvala <etalvala@google.com> Update camera2 API usage

Rename listeners to callbacks

Bug: 17389922
Change-Id: I33affcaeec331eca2d084ded4eb199f86fa58765
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
17d9084e38e64f06a9d411d64fe3c2739d299cda 29-Aug-2014 Andy Huibers <andyhuibers@google.com> Add short flash animation and shutter sound to ZSL camera.

Bug: 17217567
Change-Id: I9a75fdd15e03f47029ef4a631287899718794c5c
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
527706e2957fe26f301d991d86d4359ab433408d 02-Sep-2014 Andy Huibers <andyhuibers@google.com> Remove android.hardware.camera2 import from Settings3A.

Bug: 17358060
Change-Id: I7e4442a4257acf9e4b58981be697949aba62a31f
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
b868274c9dc8d9c772ec89fb5955215cc7911087 28-Aug-2014 Andy Huibers <andyhuibers@google.com> Simplify AF in CaptureModule and OneCameraImpl and share code in AutoFocusHelper.

Bug: 17202848
Change-Id: I08e92c9701d5b92938612137c87ca37c4305411f
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
62b4c3c0da3abd397b3790820359927784c50bc2 26-Aug-2014 Andy Huibers <andyhuibers@google.com> Enable Face rectangles for debugging.

Bug: 17028594

Change-Id: I57521aed991f93da1f5abdace6a72be0f1057dbe
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
cbe861edcd0d094ee79d3eeaac48bb928017b600 21-Aug-2014 Sascha Haeberling <haeberling@google.com> Pick the preview size based on the selected picture size.

Bug: 16654225

Also make this a function of the Camera device, since othe camera might
have to override the picture size.

Change-Id: Ieb6d1ffac0c3d7893416f9eae3232afde6d27240
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
26b3334755ffccc039249005435d5cc598d0689e 20-Aug-2014 Andy Huibers <andyhuibers@google.com> Add zoom to CaptureModule and OneCamera.

Change-Id: Ia679d79a42e20e9033409939d0ca137ffcfbc75a
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
03e17a62b43e58c8da5cd6ee23fd0809a82ee448 19-Aug-2014 Andy Huibers <andyhuibers@google.com> Start moving AF and 3A to separate class; improve logging.

Change-Id: Ib73415ffd5569fab8c2c3bf5ac0f35616d3ee697
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
a2dd9ea5ba031128b9f0aa3852ff59991dd3008c 16-Aug-2014 Sascha Haeberling <haeberling@google.com> Fix orientation and move it to the util class so we can use it elsewhere.

Bug: 16948752

Change-Id: Ic7bf2f01176d8f6f1e1a70940c35531e1a5a1cbc
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
a69d497fd44faab8afe65b748dfede715ea7239f 15-Aug-2014 Andy Huibers <andyhuibers@google.com> Merge "Reset 3A regions during CONTINUOUS_PICTURE passive scanning per camera2 API." into ub-camera-glacier
34ac0609e30601fe2ce9b2338a173d7740ab3f82 15-Aug-2014 Andy Huibers <andyhuibers@google.com> Reset 3A regions during CONTINUOUS_PICTURE passive scanning per camera2 API.

Bug: 17028594
Change-Id: I8ce7dbd12f2b14a50068d8b034e7a80d8840f012
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
fa7b92c1ee99bc6734c06bb50445cffae94e8197 15-Aug-2014 Sascha Haeberling <haeberling@google.com> Merge "Add ability to add a ready-state changed listener to the camera." into ub-camera-glacier
e3ad4352a23ddb21350d356e0947905d1e635911 15-Aug-2014 Sascha Haeberling <haeberling@google.com> Add ability to add a ready-state changed listener to the camera.

Bug: 16945820
Bug: 16948752

This enables us to hook up memory intense cameras and make sure we don't
activate the shutter button if the camera is not ready.

Change-Id: I70a31c76e063d775c844404ee9e20e583fa233e3
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
99a37d89f92cb0ad60cd57169c4845560ad0ffac 15-Aug-2014 Andy Huibers <andyhuibers@google.com> Consolidate properties for debugging.

Change-Id: I052492375bf176622b38382579b2189d22a05349
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
51163540604bcb1deabfde4d83c54a86114cefd0 15-Aug-2014 Sascha Haeberling <haeberling@google.com> Move code from GoogleCamera that dumps capture request metadata.

Bug: 16945820

Change-Id: Iff3f05b65687073a7272ed31644f34dc6187de21
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
967b782837a22974f565f5bbc71bef7bc05fc878 08-Aug-2014 Puneet Lall <puneetl@google.com> Implemented NDK libjpeg wrapper for YUV420 encoding.

Bug: 16676082
Change-Id: I588b8023b401d5e713762563c9265ec3d774a678
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
30ffce08f511fbed4cf18daa743778b541583351 01-Aug-2014 Andy Huibers <andyhuibers@google.com> [OC] Add autofocus (tap-to-focus, UI and pre-shot focus) to OneCamera.

Change-Id: Ic88359ad27b8e9ee0e74c8d1bd6ecb71fe3c24f0
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
0024b57e54c674d86ff15011867a0f44029e0c48 06-Aug-2014 Sascha Haeberling <haeberling@google.com> Merge "[OC] Enable flash support." into ub-camera-glacier
e3dfd5a433e39d76578b379fe1539864cf924cee 06-Aug-2014 Sascha Haeberling <haeberling@google.com> [OC] Migrate away from android.util.Size sinc we cannot use it in K.

Bug: 16654225

Change-Id: I2c0ea6b387b8ad38d6e49c84dca8bf2bde34e249
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
0cf4a02c13a7710dc9b26ac39bea15a95ac48baf 31-Jul-2014 Sascha Haeberling <haeberling@google.com> [OC] Enable flash support.

Bug: 16654225

Also show an error and exit the app if camera could not be opened.

Change-Id: Iddccaff35b081ba98efe2aaae51d9ee10bb7726f
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
57bcd92f39d85427102f30be2c749c4a7bd4be96 01-Aug-2014 Sascha Haeberling <haeberling@google.com> [OC] Refactoring the session API before intgrating GCam into OneCamera

Bug: 16654225

Change-Id: I3fe6f46847ed6424310a81722c93c63be8b807a3
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java
f5e51ec44934d6d687267d2aff6386f5b728dd9f 30-Jul-2014 Sascha Haeberling <haeberling@google.com> [OC] Camera2-based OneCamera implementation.

Bug: 16654225

Change-Id: Icc544eac762b5494e6bb6c9e768b810c44e11cd9
/packages/apps/Camera2/src/com/android/camera/one/v2/OneCameraImpl.java