History log of /packages/apps/Camera2/src/com/android/camera/one/OneCamera.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
022ce61e1c4f338a79585e8656ab57990ecd32c1 26-Sep-2014 Puneet Lall <puneetl@google.com> Synchronize CaptureModule camera open/close operations

This fixes a race condition in which CaptureModule gets a pause()
immediately after it is asked to open the camera. pause() MUST
wait/block to close the camera to ensure that we can later open it (a
fast open()->pause() sequence is reproducible via the lockscreen under
certain cases when we get a rapid onResume()->onPause()->onResume),
so this adds the necessary threading logic to wait, if necessary,
for the camera to finish opening so that it can be closed.

Bug: 17642065
Change-Id: Ic88bd32fc5acc2b333de367019085a8cd539c5a5
/packages/apps/Camera2/src/com/android/camera/one/OneCamera.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/OneCamera.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/OneCamera.java
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/OneCamera.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/OneCamera.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/OneCamera.java
95817308fddad554c73cbe4539cb868dd4722ff9 27-Aug-2014 Sascha Haeberling <haeberling@google.com> Enable location and heading to be stored in picture EXIF.

Bug: 17202845

Change-Id: Ic789c9a2d6078b35a09308d1b631166529f3f1bd
/packages/apps/Camera2/src/com/android/camera/one/OneCamera.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/OneCamera.java
90f158340db39bca9ee5da4cf1d246adbcb03453 21-Aug-2014 Sascha Haeberling <haeberling@google.com> Enable progress reporting for modules like HDR+.

Bug: 16945820

Change-Id: If6aba8ff5d2b973f4ea8112110695a84f897d881
/packages/apps/Camera2/src/com/android/camera/one/OneCamera.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/OneCamera.java
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/OneCamera.java
59c784bf588b9e0994e9769001f624200e9b1027 05-Aug-2014 Sascha Haeberling <haeberling@google.com> [OC] Gcam OneCamera implementation.

Bug: 16948752

Change-Id: I0160de117c4ff7024e0d546f594b5777847d1833
/packages/apps/Camera2/src/com/android/camera/one/OneCamera.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/OneCamera.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/OneCamera.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/OneCamera.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/OneCamera.java
8c34b30b2ae23ceb13f2912fe8b6f83c27940306 30-Jul-2014 Sascha Haeberling <haeberling@google.com> [OC] Add common abstract OneCamera class.

Bug: 16654225

Change-Id: I31c0ab4d8f4aa91447d384444258616648633de4
/packages/apps/Camera2/src/com/android/camera/one/OneCamera.java
00c122a56f76d8ba523c324638e5083f721da01a 30-Jul-2014 Sascha Haeberling <haeberling@google.com> [OC] Version 1 of the nterface for OneCamera.

Bug: 16654225

Change-Id: Id4a6755577e327849ce60db7c5f64d76fb0a55b2
/packages/apps/Camera2/src/com/android/camera/one/OneCamera.java