OSDN Git Service
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 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
Paul Rohde [Thu, 18 Dec 2014 19:45:34 +0000 (11:45 -0800)]
Delete unused code.
Change-Id: I55e6da712199cb106781bea8a51cf98fd5ed7e31
Paul Rohde [Thu, 18 Dec 2014 18:21:19 +0000 (18:21 +0000)]
Merge "Refactor Photo and Video Data into seperate classes Delete unused RotationTask" into ub-camera-haleakala
Paul Rohde [Thu, 18 Dec 2014 00:21:22 +0000 (16:21 -0800)]
Refactor Photo and Video Data into seperate classes
Delete unused RotationTask
Change-Id: I9c21d712546d7e8fae81704ac6e79314b4749be0
I-Jong Lin [Thu, 18 Dec 2014 00:36:37 +0000 (00:36 +0000)]
Merge "Second Pass at Integration of ImageBackend" into ub-camera-haleakala
I-Jong Lin [Fri, 12 Dec 2014 00:46:49 +0000 (16:46 -0800)]
Second Pass at Integration of ImageBackend
Implementation of single service to centralize task submission and
execution of Android Image dependent tasks to minimize the locking
of system resources and to prioritize processing with thread
priority and enforced temporal dependence. This implementation
is ready to support the plumbing for Lucky Shot. Currently, the
object are isolated and not wired into the Camera App itself.
The integration of these objects will occur in a subsequent CL.
The unit tests for these object are contained in a separate,
but related CL: ag/602679 .
Change-Id: Ia51d46651ed02ea2d5a014943d17cadb56e9006f
Paul Rohde [Fri, 5 Dec 2014 20:17:15 +0000 (12:17 -0800)]
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
Sascha Haeberling [Wed, 17 Dec 2014 01:43:21 +0000 (01:43 +0000)]
Merge "Adding stack support and hooking SmartBurst up to the new API." into ub-camera-haleakala
Sascha Haeberling [Mon, 8 Dec 2014 23:32:34 +0000 (15:32 -0800)]
Adding stack support and hooking SmartBurst up to the new API.
Change-Id: Icc023aed65e1e31f0b808de648067b3628fff838
Senpo Hu [Tue, 16 Dec 2014 19:59:49 +0000 (19:59 +0000)]
Merge "Bug fixes for capture indicator UI." into ub-camera-haleakala
Radford Juang [Mon, 8 Dec 2014 22:39:52 +0000 (14:39 -0800)]
Setting AF mode for SmartBurst to CONTINUOUS_VIDEO to prevent focus
issues when capturing action with SmartBurst.
(Note: b/
16984793 prevents this from working properly on Nexus 5)
Change-Id: I3b046030ccf1264a339fa1e8dc15ae92d7157e7f
Sascha Haeberling [Thu, 11 Dec 2014 22:15:04 +0000 (14:15 -0800)]
Make sure to only silence if the mediarecorder was started.
Bug:
11538882
Change-Id: I43991b40fb9312cc59b34132457b5e6b201a8c19
Senpo Hu [Thu, 11 Dec 2014 00:39:23 +0000 (16:39 -0800)]
Bug fixes for capture indicator UI.
* Don't show capture indicator in Photo Sphere.
* Fix the layout on Nexus 6.
* Don't transform thumbnail image if the size is matched.
Change-Id: I03c9c09071b63ed8143236a242b6435b4ea19018
Sascha Haeberling [Thu, 11 Dec 2014 22:04:59 +0000 (22:04 +0000)]
Merge "Disable systems sounds and vibrations during video recording." into ub-camera-haleakala
Sascha Haeberling [Thu, 11 Dec 2014 20:20:43 +0000 (12:20 -0800)]
Disable systems sounds and vibrations during video recording.
Bug:
11538882
Change-Id: If06bdc33ee68d079b581a2e97879dae5c34492fd
Puneet Lall [Wed, 10 Dec 2014 21:14:52 +0000 (21:14 +0000)]
Merge "Initial frameserver/OneCamera integration" into ub-camera-haleakala
Senpo Hu [Wed, 10 Dec 2014 20:08:54 +0000 (20:08 +0000)]
Merge "New capture indicator design for Haleakala." into ub-camera-haleakala
Senpo Hu [Thu, 20 Nov 2014 01:11:46 +0000 (17:11 -0800)]
New capture indicator design for Haleakala.
* Introduce RoundedThumbnailView and retire PeekView.
* Rename BottomBarModeOptionsWrapper to StickyBottomCaptureLayout.
* Verified on K and L devices.
Thumbnail cropping:
* 100% width and vertically centered for portrait.
* 100% height and horizontally centered for landscape.
General behavior spec:
* Hide the capture indicatorby fading out using fast_out_linear_in (150ms):
1) User open filmstrip.
2) User switch module.
3) User switch front/back camera.
4) User close app.
Behavior spec for non-photo modules:
* Photosphere is stripped of UI so there is no need to show capture
indicator. When a photo sphere is taken (and user is in another mode),
the preview frame used in filmstrip is used in the capture indicator.
* Video: show in viewfinder prior or after capture. Hide during capture.
When a video is taken, the preview frame used in filmstrip is used in
the capture indicator.
* Panorama: Show in viewfinder prior or after capture. Hide during
capture. When a panorama is taken, the preview frame used in filmstrip
is used in the capture indicator.
* Lens blue: Show in viewfinder prior or after capture. Hide during
capture. When a lens blur is taken, the preview frame used in filmstrip
is used in the capture indicator.
Visual spec:
A 12dp spacing between mode option overlay and thumbnail.
1. A circular mask that excludes the corners of the preview image.
2. A solid white layer that sits on top of the preview and is also masked
by (1).
3. The preview image.
4. A 'ripple' which is just a white circular stroke.
Animation spec:
(1) only the scale animates, from 50%(24dp) to 114%(54dp) in 200ms then
falls back to 100%(48dp) in 200ms. Both steps use the same easing:
fast_out_slow_in.
(2) opacity, from 50% to 0% over 150ms, easing is exponential.
(3) doesn't animate.
(4) starts animating after 100ms, when (1) is at its peak radius and all
animations take 200ms, using linear_out_slow in. Opacity goes from 40%
to 0%, radius goes from 40dp to 70dp, stroke width goes from 5dp to 1dp.
Bug:
18317565
Change-Id: Ib8d4f065b98fc3b9b0b627633232ce8cee96eb61
Sascha Haeberling [Tue, 9 Dec 2014 22:57:59 +0000 (22:57 +0000)]
Merge "Clean up unused CameraPreviewData." into ub-camera-haleakala
Sascha Haeberling [Tue, 9 Dec 2014 22:51:22 +0000 (22:51 +0000)]
Merge "Remove unused SoundClips class." into ub-camera-haleakala
Sascha Haeberling [Tue, 9 Dec 2014 22:41:19 +0000 (22:41 +0000)]
Merge "Remove unused sound files." into ub-camera-haleakala
Alan Newberger [Tue, 9 Dec 2014 22:17:07 +0000 (22:17 +0000)]
am
a8923a75: Avoid resetting touch to focus in onPreviewStarted for N4
* commit '
a8923a75b4c1ffa2158687221fd679b2dea60013':
Avoid resetting touch to focus in onPreviewStarted for N4
Alan Newberger [Tue, 9 Dec 2014 19:28:45 +0000 (11:28 -0800)]
Avoid resetting touch to focus in onPreviewStarted for N4
N4 HAL stability issues seem to be exacerbated by resetting focus
in onPreviewStarted. Removing this call yields OK performance for
N4 and removes any repros for the known issue.
Bug:
18681082
Change-Id: I7f78ad648ff55dee412abb18560276cba99ab988
Sascha Haeberling [Tue, 9 Dec 2014 18:33:01 +0000 (10:33 -0800)]
Remove unused SoundClips class.
Change-Id: I71e5cedb8e70d33172fc0c48fcf3bebfd6e35f88
Sascha Haeberling [Tue, 9 Dec 2014 18:29:27 +0000 (10:29 -0800)]
Remove unused sound files.
Change-Id: I60898c83c0087696a448cefb1e608525c1bd13a2
Puneet Lall [Tue, 2 Dec 2014 21:12:53 +0000 (13:12 -0800)]
Initial frameserver/OneCamera integration
Change-Id: I2fe0d8acf9ce927a6a0a1dea599299c715503462
Shashi Shekhar [Fri, 5 Dec 2014 23:54:00 +0000 (23:54 +0000)]
Merge "Fix orientation for preview frames in burst." into ub-camera-haleakala
Shashi Shekhar [Thu, 4 Dec 2014 20:05:18 +0000 (12:05 -0800)]
Fix orientation for preview frames in burst.
Fix orientation of preview frames in burst. Set the correct orientation
when starting the burst.
BUG:
18117847
Change-Id: I4ed2f0387a5a35a5f43f0528d179b273828ea699
Sascha Haeberling [Fri, 5 Dec 2014 22:57:08 +0000 (14:57 -0800)]
Clean up unused CameraPreviewData.
Change-Id: I86d60a553d84e0f625fa596c1029394ff110c5d0
Shashi Shekhar [Thu, 4 Dec 2014 23:38:18 +0000 (15:38 -0800)]
Fix some timestamp issues with burst.
1. Set timezone to UTC, as the timestamp is in UTC.
2. Use timestamp from mediaItem.getTimestamp()
3. Change the format of filename to include artifact as well as
mediaitem index.
BUG:
18625548
Change-Id: I91196fefda780c3a262619e97c6684086adf845d
Alan Newberger [Thu, 4 Dec 2014 19:13:13 +0000 (19:13 +0000)]
Merge "When checking for scene mode, use NO_SCENE_MODE in addition to AUTO" into ub-camera-haleakala
Alan Newberger [Thu, 4 Dec 2014 18:46:49 +0000 (10:46 -0800)]
When checking for scene mode, use NO_SCENE_MODE in addition to AUTO
Some devices don't have any scene modes, in that case don't try to
override parameters like flash, a code path that should only be
used for actual scene modes active.
Bug:
18600226
Change-Id: If094d8be6bb4f9d8bc66d033374e17898ed98bee
Senpo Hu [Thu, 4 Dec 2014 18:56:57 +0000 (18:56 +0000)]
Merge "Fix the orientation issue for front camera." into ub-camera-haleakala
Senpo Hu [Tue, 2 Dec 2014 22:52:23 +0000 (14:52 -0800)]
Fix the orientation issue for front camera.
This bug is introduced by the refactoring done in ag/589395.
Bug:
18520267
Change-Id: If0df6a7d6fe3ca630839ef92dccaa78f0136bb7d
Sam Hasinoff [Thu, 27 Nov 2014 19:04:09 +0000 (11:04 -0800)]
Add support to dump LensShadingMap metadata, related cleanup
- Add custom toString() for LensShadingMap to workaround
b/
16899576.
- Remove several now-unneeded custom toString() methods,
since lmp-release provides them in:
frameworks/base/core/java/android/hardware/camera2/params/
- Picky formatting fix.
Bug:
16899576
Change-Id: Iebf0b03ea27f291bc0f633b3760d5bd696df906d
Shashi Shekhar [Thu, 27 Nov 2014 01:55:52 +0000 (17:55 -0800)]
Bump memory limit for saving images.
Bump the memory limit for saving images in MediaSaver from 20 to 30 MB.
Allows bursts to be saved without hitting memory limit issues.
Change-Id: I5795cd1b2870a9a4e48738fe5d60c1b819011d23
Sascha Haeberling [Wed, 26 Nov 2014 21:09:24 +0000 (13:09 -0800)]
Make sure we only show the toast when burst was actually stopped.
Change-Id: I057bd7217d09f4754584f77c3911749d2ac0fa5f
Sascha Haeberling [Tue, 25 Nov 2014 23:30:34 +0000 (15:30 -0800)]
Add a temporary toast message decorator so users know when a burst is on.
Change-Id: If6164f636f60de6f7303a5d54f432648a25e012a