OSDN Git Service
Alan Newberger [Mon, 12 Jan 2015 19:27:30 +0000 (11:27 -0800)]
Remove exception when releasing a requested, not yet opened camera
From monkey tests, we see a spike in an exception from new device
which is likely due to slow close performance. If we camera B is
open, and we request camera A, B will be closed then A opened. If
we release A during this process but B is not yet closed, don't
crash, just let the pending underlying open of A happen and release
the request. Preserve the exception for application errors where
truly unrequested cameras are released.
Bug:
17975345
Change-Id: I9aa3b0575e130f516cea6a3df120e4812df55bce
I-Jong Lin [Mon, 12 Jan 2015 19:22:14 +0000 (19:22 +0000)]
Merge "Revert "Enable ZSL for Nexus 5 Back Camera, 1 of 2"" into ub-camera-haleakala
I-Jong Lin [Mon, 12 Jan 2015 19:21:15 +0000 (19:21 +0000)]
Revert "Enable ZSL for Nexus 5 Back Camera, 1 of 2"
This reverts commit
f7803cb20b39aa48dd399c5768902593a22d3104.
Change-Id: Ic9ebea1d723dc51c07bda01edd83cb2ac23dfe26
I-Jong Lin [Mon, 12 Jan 2015 19:11:06 +0000 (19:11 +0000)]
Merge "Enable ZSL for Nexus 5 Back Camera, 1 of 2" into ub-camera-haleakala
I-Jong Lin [Mon, 12 Jan 2015 18:50:29 +0000 (10:50 -0800)]
Enable ZSL for Nexus 5 Back Camera, 1 of 2
Allow ZSL implementation to be used with Nexus 5. We still
need to drop the frame rate, if the current camera is facing back.
Bug:
18964282
Change-Id: Ia733cbc7bd8766245bf668e8f9141b1ec6d5eaaf
Alan Newberger [Sat, 10 Jan 2015 01:52:08 +0000 (01:52 +0000)]
Merge "Ensure button callbacks check lifecycle" into ub-camera-haleakala
Senpo Hu [Sat, 10 Jan 2015 00:42:17 +0000 (00:42 +0000)]
Merge "Add HeadingSensor." into ub-camera-haleakala
Senpo Hu [Sat, 10 Jan 2015 00:26:16 +0000 (16:26 -0800)]
Add HeadingSensor.
A small step to clean up PhotoModule and CaptureModule...
Bug:
17985028
Change-Id: Ic79dd5e2582479d8ed9705e8150c4438e39116c8
I-Jong Lin [Thu, 8 Jan 2015 19:25:57 +0000 (11:25 -0800)]
Passing an intermediate preview to the session.
Generalized the image thumbnail preview task to create artifacts of
multiple shape. Added this task before the full-sized JPEG decode.
Added a field in the TaskInfo to specify the purpose of the imaging
artifacts on the listener, since the processing of an image may result
in multiple uncompressed/compress artifacts and need extra
explicit identification to be properly routed by listener. Changed the
default behavior of the ImageBackend to produce an intermediate-sized
preview on job submission. Routed this intermediate-sized preview to
the CaptureSession for an earlier Filmstrip update.
Bug:
18841584
Change-Id: I8db2d3a7c30cddd1e0e9ddf0709b7867f841b056
Alan Newberger [Sat, 10 Jan 2015 00:02:57 +0000 (16:02 -0800)]
Ensure button callbacks check lifecycle
The button callbacks are asynchronous behind animators. Most in the codebase
(i.e., all in CaptureModule) do paused checks, but the one in CameraAppUI
for grid lines did not and is causing lots of feedback reports with null
SettingsManagers (done in the activity onDestroy). Audited codebase, these
two instances were the only ones not checking.
Bug:
17905718
Change-Id: I31c26088ef1e7d600b4e3be42950b0ca70613e20
Shashi Shekhar [Fri, 9 Jan 2015 21:03:54 +0000 (21:03 +0000)]
Merge "Change IllegalStateException to a log." into ub-camera-haleakala
Senpo Hu [Fri, 9 Jan 2015 20:04:51 +0000 (12:04 -0800)]
Add OneCamera.PictureSaverCallback.
Remove the undesirable dependency between ImageBackend and CameraAppUI.
Create a new interface rather than using PictureCallback since
at some points we might consider retiring it.
Change-Id: I6e02564c9ca9990aa847902d86806f8bbd9cd652
Shashi Shekhar [Fri, 9 Jan 2015 20:24:08 +0000 (12:24 -0800)]
Change IllegalStateException to a log.
Change SurfaceTextureConsumer to ignore new frames when wrapped surface
is null.
Change-Id: I952bdb96c0debc53a0f1548fb66b3221f65f6f7f
Senpo Hu [Thu, 8 Jan 2015 23:06:25 +0000 (15:06 -0800)]
Fix placeholder bug.
Bug:
18947927
Change-Id: I08542d614b15f31398150ea52caa6055ec63ccfb
Paul Rohde [Thu, 8 Jan 2015 18:47:34 +0000 (18:47 +0000)]
Merge "Refactor the filmstrip backing data." into ub-camera-haleakala
Puneet Lall [Thu, 8 Jan 2015 18:17:17 +0000 (10:17 -0800)]
Fix bug in ReservableTicketPool not being fair
Calls to acquire() by multiple threads could previously violate fairness
and result in starvation in extreme cases. The associated unit-test
was previously flaky and failed only occasionally.
Change-Id: I7ae9bead2ac3cb6d7e81e88076bef2ea08e7d368
Senpo Hu [Thu, 8 Jan 2015 00:53:06 +0000 (00:53 +0000)]
Merge "Instantiate a ImageSaver.Builder in CaptureModule." into ub-camera-haleakala
Senpo Hu [Wed, 7 Jan 2015 23:35:49 +0000 (15:35 -0800)]
Instantiate a ImageSaver.Builder in CaptureModule.
We will need different image savers for capture intent.
Since we plan to create a separate module for capture intent,
this change allows modules to be able to choose a different builder.
Bug:
18726217
Change-Id: I5871263123b06958d902cc8e3a4d911f14c83e66
I-Jong Lin [Wed, 7 Jan 2015 23:10:06 +0000 (23:10 +0000)]
Merge "Image Plane Proxy for Image Content Testability" into ub-camera-haleakala
I-Jong Lin [Wed, 7 Jan 2015 00:35:19 +0000 (16:35 -0800)]
Image Plane Proxy for Image Content Testability
Adds in an Image Plane wrapper level so that image content can be
decoupled from the native Android Image objects whose constructors
are privated and cannot be extended.
Change-Id: Ia16418d18010e672f6c3e5db64bb7f6a9b3b2f3e
Paul Rohde [Thu, 18 Dec 2014 19:11:34 +0000 (11:11 -0800)]
Refactor the filmstrip backing data.
- Remove unused fields and code.
- Rename classes and methods to be consistent with usage
- Make data more immutable
- Add Location and Metadata classes for typed data access.
- Use Date instead of long for DateTime representations.
- Filmstrip prefix for filmstrip specific code.
- Cleaner Glide implementations.
- Initialize Glide bitmap pool.
- Eagerly load large image sizes when scroll stops.
Change-Id: I3b51d42416ca076c80bf7db441d257659174b47d
Alan Newberger [Wed, 7 Jan 2015 20:51:06 +0000 (20:51 +0000)]
Merge "Stop recording location in onPause" into ub-camera-haleakala
Alan Newberger [Wed, 7 Jan 2015 20:19:10 +0000 (12:19 -0800)]
Stop recording location in onPause
This is a legitimate bug where the Legacy provider actually documents a
no-op in disconnect with an intention to stop updates on pause, which
never occurred. This also improves lifecycle of location updates for
other providers.
Bug:
14989298
Change-Id: If963241b01af83ab63bd8c1bccfcf1b5a1a616fa
Senpo Hu [Wed, 7 Jan 2015 19:41:48 +0000 (19:41 +0000)]
Merge "Avoid using fast_out_slow_in on K devices." into ub-camera-haleakala
Senpo Hu [Wed, 7 Jan 2015 19:40:58 +0000 (19:40 +0000)]
Merge "Fix NPE crash in RoundedThumbnailView." into ub-camera-haleakala
Senpo Hu [Fri, 2 Jan 2015 19:31:08 +0000 (11:31 -0800)]
Fix NPE crash in RoundedThumbnailView.
Bug:
18851937
Change-Id: I63f3084cd2ae7cd8bbb73507aefcf4192ed7bfd0
I-Jong Lin [Tue, 6 Jan 2015 00:38:49 +0000 (16:38 -0800)]
YUV Color conversion fix
Bug:
18902605
More foolproof way of calculating the YUV multipliers at compile time.
Fixes a previous off-by-one error that translated into an incorrect 2x
in chroma magnitude (U,V components) by manual calculation.
Change-Id: I0732ed0c5a1bf4b901f9eb86c6a20e09872134dc
Alan Newberger [Tue, 6 Jan 2015 19:34:24 +0000 (11:34 -0800)]
Adjust aspect ratio matching threshold for all devices
Broadening a fix from Glacier now that we have time to test across
devices.
Bug:
18241645
Change-Id: Ic3a65a659009d0301255b608d4540bd15e9bd0fb
I-Jong Lin [Tue, 6 Jan 2015 18:26:18 +0000 (18:26 +0000)]
Merge "Interface ImageTaskManager for Image-based Tasks" into ub-camera-haleakala
I-Jong Lin [Mon, 5 Jan 2015 20:22:47 +0000 (12:22 -0800)]
Interface ImageTaskManager for Image-based Tasks
Clearly defined with relationship between derived ImageTasks and the
respective ImageBackend. Once tasks are derived from
TaskImageContainer, they should only have limited functionality back
to the ImageBackend to spawn new tasks to describe their internal task
graph and manage their image references. The new class ImageTaskManager
defines this relationship and implies that most of functionality should
be internal to the task itself rather than the ImageBackend.
Also, included clean-up of some unused parameters in ImageConsumer
interface as well.
Change-Id: I6a0a5f72aea55adc8b846eb3cd945b61bc6d2a93
Puneet Lall [Tue, 30 Dec 2014 19:09:32 +0000 (11:09 -0800)]
Refactor camera factories to reduce code duplication
Change-Id: I5f5c899f595dbbaa9fa181c5caa092d4bad69f07
Senpo Hu [Tue, 6 Jan 2015 00:47:29 +0000 (16:47 -0800)]
Avoid using fast_out_slow_in on K devices.
Bug:
18895268
Change-Id: I9bcd799c5a27b2e05cf45bb5923dcf8e7d0f7123
Puneet Lall [Mon, 5 Jan 2015 19:02:59 +0000 (11:02 -0800)]
Fix possible ConcurrentModificationException
Bug:
18895233
Change-Id: Iece6bd467c74082e2ea48df2ff9bb51767b75c17
Puneet Lall [Mon, 5 Jan 2015 18:08:51 +0000 (18:08 +0000)]
Merge "Add jsr305 to build" into ub-camera-haleakala
Puneet Lall [Mon, 5 Jan 2015 18:03:25 +0000 (10:03 -0800)]
Add jsr305 to build
Change-Id: I0b8a9d07ca834cf2d58b0f4b9398cb2ac31f25b5
Puneet Lall [Mon, 5 Jan 2015 17:51:00 +0000 (17:51 +0000)]
Merge "Delete unused/unnecessary interfaces" into ub-camera-haleakala
Senpo Hu [Sat, 3 Jan 2015 00:12:27 +0000 (00:12 +0000)]
Merge "Break the dependency from CaptureModuleUI to CaptureModule." into ub-camera-haleakala
Paul Rohde [Wed, 31 Dec 2014 01:54:13 +0000 (17:54 -0800)]
Detect slow frames and provide smoothed preview FPS.
Change-Id: Ie1a8feeb8d69f213791cd8b86e0f2e10e5b8cc08
Senpo Hu [Mon, 22 Dec 2014 23:13:04 +0000 (15:13 -0800)]
Break the dependency from CaptureModuleUI to CaptureModule.
This doesn't change any logic. Mainly just moving things around.
Change-Id: Ia130f3d0e5821095605219e50cc16008bc7ac143
Puneet Lall [Fri, 2 Jan 2015 20:15:45 +0000 (12:15 -0800)]
Delete unused/unnecessary interfaces
Change-Id: Ic3cdad63236cf98db5eaeb45287393d4ec16fc0a
Puneet Lall [Fri, 2 Jan 2015 18:30:58 +0000 (10:30 -0800)]
Fix race condition in which close() may deadlock
Change-Id: I422471ed47216dafd7f3114fc3d1ea7f47d281c3
Puneet Lall [Wed, 31 Dec 2014 00:54:50 +0000 (16:54 -0800)]
Replace Pollable with Guava Supplier
Change-Id: Ibd4359cf5f0c7dbacb534dcb098d77a1f2f36133
Puneet Lall [Tue, 30 Dec 2014 23:31:28 +0000 (23:31 +0000)]
Merge "Replace FutureResult with guava SettableFuture" into ub-camera-haleakala
Puneet Lall [Tue, 30 Dec 2014 23:31:09 +0000 (23:31 +0000)]
Merge "Fix bug in CountableBufferQueue.getNext" into ub-camera-haleakala
Puneet Lall [Tue, 30 Dec 2014 22:39:31 +0000 (14:39 -0800)]
Replace FutureResult with guava SettableFuture
Change-Id: I2439909e2c6dd663b1bc31a828e7744e18a6daaf
Puneet Lall [Tue, 30 Dec 2014 20:56:36 +0000 (12:56 -0800)]
Fix bug in CountableBufferQueue.getNext
Change-Id: I2eb19a692acb9e41da0c172364fdb285061de2e6
Puneet Lall [Tue, 30 Dec 2014 21:02:11 +0000 (13:02 -0800)]
Only run non-zsl fallback if the ring buffer is empty
Change-Id: I5d85aa1a3bbb0035189fa0f178a6a0077740ae46
Puneet Lall [Tue, 30 Dec 2014 19:13:31 +0000 (11:13 -0800)]
Add Guava to Camera2 build
Change-Id: I7a1f49df884a7660fbbd45322f135a0fb15dd78d
Puneet Lall [Tue, 30 Dec 2014 00:28:57 +0000 (00:28 +0000)]
Merge "Rename to RequestTemplate" into ub-camera-haleakala
Puneet Lall [Tue, 30 Dec 2014 00:16:57 +0000 (00:16 +0000)]
Merge "Remove unused parameter to OneCamera.close" into ub-camera-haleakala
Puneet Lall [Tue, 30 Dec 2014 00:14:09 +0000 (00:14 +0000)]
Merge "Simplify ImageSaver interface" into ub-camera-haleakala
Sascha Haeberling [Mon, 29 Dec 2014 23:42:01 +0000 (15:42 -0800)]
'Fix' ANR in holiday build happening frequently from lockscreen.
Bug:
18854352
Note: This is more of a hack around the already pretty hacky camera
open-close lock. Proper fix is to refactor the code to not require this
lock anymore. But to get the holiday droidfood going further, this is
a quick for now.
Change-Id: Ib69821d4e6cb3b82f438aeee28c807cc7c33dd25
Puneet Lall [Mon, 29 Dec 2014 23:00:11 +0000 (15:00 -0800)]
Simplify ImageSaver interface
Change-Id: I92bdade418f39d852e972f18f58e5620d38067aa
Sascha Häberling [Mon, 29 Dec 2014 22:36:00 +0000 (22:36 +0000)]
Revert "'Fix' ANR in holiday build happening frequently from lockscreen."
This doesn't work well and introduces an issue with HDR+.
This reverts commit
7b81135c88f01cb2ac7a958dcb66c0d2d2bde7c4.
Change-Id: Ib7e412221c216d0cf6116817599d28a4d4afa3ef
Puneet Lall [Mon, 29 Dec 2014 22:08:22 +0000 (14:08 -0800)]
Remove unused parameter to OneCamera.close
Change-Id: Iea5dcb41eb5c387a7f19db280ea9c681e2aabc7e
Sascha Haeberling [Mon, 29 Dec 2014 21:54:28 +0000 (13:54 -0800)]
'Fix' ANR in holiday build happening frequently from lockscreen.
Bug:
18854352
Note: This is more of a hack around the already pretty hacky camera
open-close lock. Proper fix is to refactor the code to not require this
lock anymore. But to get the holiday droidfood going further, this is
a quick for now.
Change-Id: Iad974e91aae6ede3897ce3bb7d69f8764d9fd08a
Puneet Lall [Mon, 29 Dec 2014 21:31:43 +0000 (13:31 -0800)]
Rename to RequestTemplate
Change-Id: I4f1dd9ac41d8c35c50eaead4be211d3bb108bc73
Sascha Haeberling [Tue, 23 Dec 2014 22:47:06 +0000 (14:47 -0800)]
Make sure session is copied into ImageSaver.
This prevents references to CaptureSession being basically randomly called.
Change-Id: Ic63308a23c22a21ffe7572397697772c3f65ccfa
Sascha Haeberling [Tue, 23 Dec 2014 21:28:25 +0000 (13:28 -0800)]
Rotate images before storing them so that rotation for reading is always 0.
This also fixed the filmstrip loading slowness issue.
Change-Id: I920f5f136576c6812522d99bfed5063357593206
Sascha Haeberling [Tue, 23 Dec 2014 21:26:56 +0000 (21:26 +0000)]
Merge "Fix bug in FirstRunDialog detection and re-enable CaptureModule on N9." into ub-camera-haleakala
Sascha Haeberling [Tue, 23 Dec 2014 20:33:53 +0000 (12:33 -0800)]
Fix bug in FirstRunDialog detection and re-enable CaptureModule on N9.
Bug:
18840830
Change-Id: I22abae32c5e55f779b5c645324f1f3a8421e4bde
Puneet Lall [Tue, 23 Dec 2014 20:36:31 +0000 (20:36 +0000)]
Merge "Add logging to track the total number of open images." into ub-camera-haleakala
Puneet Lall [Tue, 23 Dec 2014 19:39:55 +0000 (11:39 -0800)]
Add logging to track the total number of open images.
Change-Id: I62e4cf54c856c537bebd557efc7215481ac6e383
Sascha Haeberling [Tue, 23 Dec 2014 19:58:49 +0000 (19:58 +0000)]
Merge "CaptureModule is not yet working on N9, so switch it to PhotoModule." into ub-camera-haleakala
Sascha Haeberling [Tue, 23 Dec 2014 19:22:13 +0000 (11:22 -0800)]
CaptureModule is not yet working on N9, so switch it to PhotoModule.
Change-Id: I58aee4b7704840b0d89c8c2c0d96f54a2347c42b
Puneet Lall [Tue, 23 Dec 2014 18:59:25 +0000 (10:59 -0800)]
Added shutter sound to CaptureModule for non-HDR cameras
Change-Id: I11beb99633e116b8e0328f0021e09100e6d031e6
Senpo Hu [Tue, 23 Dec 2014 01:43:23 +0000 (01:43 +0000)]
Merge "Fix NPE crash in RoundedThumbnailView." into ub-camera-haleakala
Sascha Haeberling [Tue, 23 Dec 2014 01:16:13 +0000 (01:16 +0000)]
Merge "Store ZSL images in correct orientation and show progress in filmstrip." into ub-camera-haleakala
Senpo Hu [Tue, 23 Dec 2014 00:46:22 +0000 (16:46 -0800)]
Fix NPE crash in RoundedThumbnailView.
Bug:
18835171
Change-Id: Ib77e15cfeb93e3d73cf14e2459dfcdbe54d92073
Sascha Haeberling [Sat, 20 Dec 2014 03:21:44 +0000 (19:21 -0800)]
Store ZSL images in correct orientation and show progress in filmstrip.
Added an ImageRotationCalculator which calcuates the image rotation
based on camera characteristics and the device orientation at the time
of the shot.
Also moves the image backend code into its own sub-package.
Change-Id: I4b6b83e3e3cebece83215c19d0aff826ff853352
Puneet Lall [Mon, 22 Dec 2014 20:58:48 +0000 (12:58 -0800)]
Added thread-safe SettingsManager wrapper
Change-Id: Ie2d2bb14e0dd4760e8f8d47e7a988ab20c8567fe
Sascha Haeberling [Sat, 20 Dec 2014 03:20:07 +0000 (19:20 -0800)]
Until Camera2-based JPEG camera is ready, N4 uses PhotoModule.
Change-Id: I3fc9503ae254a4d3975d9387f13f78e387ab0361
Puneet Lall [Sat, 20 Dec 2014 03:05:28 +0000 (03:05 +0000)]
Merge "Do not disableModeOptions() on shutter click" into ub-camera-haleakala
Sascha Haeberling [Sat, 20 Dec 2014 03:04:40 +0000 (03:04 +0000)]
Merge "Changes to support complete disabling of Burst." into ub-camera-haleakala
Puneet Lall [Sat, 20 Dec 2014 02:57:09 +0000 (18:57 -0800)]
Do not disableModeOptions() on shutter click
Change-Id: Ib4b226417ab992358231cbe96cf7d46c27926c7e
Puneet Lall [Sat, 20 Dec 2014 00:19:07 +0000 (16:19 -0800)]
Added non-zsl YUV OneCamera implementation
Change-Id: Iea389f274ea453b81c3fba39c65e0ec2dc1ee5c6
I-Jong Lin [Fri, 19 Dec 2014 20:53:36 +0000 (12:53 -0800)]
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
Sascha Haeberling [Fri, 19 Dec 2014 23:10:43 +0000 (15:10 -0800)]
Changes to support complete disabling of Burst.
Have the stub burst controller retain a reference to the preview surface
texture.
Change-Id: Iaf86f8cd30ac862b1f29f9edeca65fd20e825b52
Sascha Häberling [Sat, 20 Dec 2014 01:24:06 +0000 (01:24 +0000)]
Merge "Revert "Changes to support complete disabling of Burst."" into ub-camera-haleakala
Sascha Häberling [Sat, 20 Dec 2014 01:23:57 +0000 (01:23 +0000)]
Revert "Changes to support complete disabling of Burst."
This reverts commit
8565f7695f41f0150ba096a75591ad7b2fe5de81.
This crashes pre-MR1 devices. Will fix and re-submit.
Change-Id: Ie645a63270e73b451d0a484928c98cf5104e320a
Puneet Lall [Sat, 20 Dec 2014 00:12:16 +0000 (00:12 +0000)]
Merge "Implement callbacks for focus indicator on zsl" into ub-camera-haleakala
Puneet Lall [Fri, 19 Dec 2014 23:02:31 +0000 (15:02 -0800)]
Implement callbacks for focus indicator on zsl
Change-Id: I5348192a76222ac41923b680acb58ac6480affcf
Sascha Haeberling [Fri, 19 Dec 2014 23:55:11 +0000 (23:55 +0000)]
Merge "Changes to support complete disabling of Burst." into ub-camera-haleakala
Sascha Haeberling [Fri, 19 Dec 2014 23:10:43 +0000 (15:10 -0800)]
Changes to support complete disabling of Burst.
Have the stub burst controller retain a reference to the preview surface
texture.
Change-Id: I9a966a87aac2c21cd6050f511ea4e648b6267744
Alan Newberger [Fri, 19 Dec 2014 22:32:34 +0000 (22:32 +0000)]
Merge "Restore activity lifecycle when OneCameraManager fails to initialize" into ub-camera-haleakala
Alan Newberger [Fri, 19 Dec 2014 21:09:03 +0000 (13:09 -0800)]
Restore activity lifecycle when OneCameraManager fails to initialize
The return in onCreateTasks when OneCameraManager catches an exception, cause
camera crashes instead of showing the failure dialog as intended. The exception
is an NPE in PanoramaViewHelper but is due to assumptions of things init'ed
in onCreate not holding due to the return when onStart is executed. While we
could proof out every object to assume lifecycle events exit, I prefer to
maintain lifecycle and remove the return, and make anything that relies on
OneCameraManager know that it could be null. This also moves the handling of the
error dialog down to CaptureModule, in the unlikely case an API1 module would
still work this enables it while preserving the same intended behavior for
CaptureModule.
Bug:
18048591
Change-Id: Ib81f8b42eaa26daae2d3354bae1ef5127a9cbcf1
Sascha Haeberling [Fri, 19 Dec 2014 22:13:52 +0000 (22:13 +0000)]
Merge "Refactor the interface of CaptureModule to Burst to allow disabling." into ub-camera-haleakala
Sascha Haeberling [Fri, 19 Dec 2014 20:13:03 +0000 (12:13 -0800)]
Refactor the interface of CaptureModule to Burst to allow disabling.
Change-Id: I87164c0cd8961ad929a63ff34248a12690f7d4d1
Puneet Lall [Fri, 19 Dec 2014 19:55:29 +0000 (11:55 -0800)]
Enable AE and fix metering regions for ZSL camera
Change-Id: Icaf3bfe9b004e032e43ae600fb3e10ce201ce545
Puneet Lall [Fri, 19 Dec 2014 19:42:28 +0000 (19:42 +0000)]
Merge "Fix potential NPE in ConcurrentBufferQueue.getNext()" into ub-camera-haleakala
Puneet Lall [Fri, 19 Dec 2014 19:35:42 +0000 (11:35 -0800)]
Fix potential NPE in ConcurrentBufferQueue.getNext()
Change-Id: Ieb6101d0cf9466f3ec3e1bff32797a247b0ecba3
Puneet Lall [Fri, 19 Dec 2014 19:32:14 +0000 (11:32 -0800)]
Fix ConcurrentModificationException in ImageDistributor
Change-Id: Ibf250795189d2113b00f89a9d58bb78581c0dc0f
Puneet Lall [Fri, 19 Dec 2014 18:51:27 +0000 (10:51 -0800)]
Fix bug in which double close() increased ticket count
Change-Id: Ic534cb436755cbb3fada8769e0f7f81e6167eb5f
Puneet Lall [Fri, 19 Dec 2014 17:32:58 +0000 (17:32 +0000)]
Merge "Added zero-shutter-lag capture implementation over the FrameServer" into ub-camera-haleakala
Sascha Haeberling [Fri, 19 Dec 2014 03:08:34 +0000 (19:08 -0800)]
Don't use glide if we have a bitmap already as a placeholder.
Change-Id: I8e9676675c025cbfcd36e8c1b899a33d1b20f2d1
Sascha Haeberling [Fri, 19 Dec 2014 02:32:13 +0000 (18:32 -0800)]
Change placholder API to use Bitmap's instead of JPEG bytes.
Change-Id: Id6f3b1e604bee56f3372b891bc44d8716b06478d
Puneet Lall [Thu, 11 Dec 2014 00:29:49 +0000 (16:29 -0800)]
Added zero-shutter-lag capture implementation over the FrameServer
Change-Id: Ia01244dba7013c5f81152dd90adc8d87e7004dd2
Senpo Hu [Fri, 19 Dec 2014 00:08:17 +0000 (00:08 +0000)]
Merge "Tune open filmstrip animation for capture indicator in Haleakala." into ub-camera-haleakala
Senpo Hu [Wed, 17 Dec 2014 19:11:46 +0000 (11:11 -0800)]
Tune open filmstrip animation for capture indicator in Haleakala.
Confirmed with zray@. UX team wants a smoother animation with
fast_out_slow_in interpolator to open filmstrip.
Change-Id: I8c7b82cf22f43df24bb27280364b2aacc97e46b3
Senpo Hu [Tue, 16 Dec 2014 19:56:39 +0000 (11:56 -0800)]
CaptureModule first run dialog.
* Introduce FirstRunDialog.
* Add OneCameraCharacteristics so we can query camera properties without
opening the camera.
* Refactor AspectRatioDialogLayout and LocationDialogLayout to clean up.
* Refactor to move away from portability/Size class in Camera2.
Bug:
18623223
Change-Id: I05f4eefe3ee2feeaa47b6296f8926f6be8e83051