OSDN Git Service

android-x86/packages-apps-Camera2.git
9 years agoam 96892115: Merge "DO NOT MERGE Pipe context through to camera" into lmp-dev
Alan Newberger [Mon, 8 Sep 2014 20:21:20 +0000 (20:21 +0000)]
am 96892115: Merge "DO NOT MERGE Pipe context through to camera" into lmp-dev

* commit '96892115f49712fde5fe16d352d24691632d74a4':
  DO NOT MERGE Pipe context through to camera

9 years agoMerge "DO NOT MERGE Pipe context through to camera" into lmp-dev
Alan Newberger [Mon, 8 Sep 2014 20:11:04 +0000 (20:11 +0000)]
Merge "DO NOT MERGE Pipe context through to camera" into lmp-dev

9 years agoIn debug_ui mode, show CAF result state, length of AF scan, fps, for camera2 API.
Andy Huibers [Sun, 7 Sep 2014 03:44:25 +0000 (20:44 -0700)]
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

9 years agoam 03812d8c: am 76215c98: (-s ours) DO NOT MERGE Update Camera2 to use latest APIs
Alan Newberger [Mon, 8 Sep 2014 19:10:30 +0000 (19:10 +0000)]
am 03812d8c: am 76215c98: (-s ours) DO NOT MERGE Update Camera2 to use latest APIs

* commit '03812d8c8cb03d56b5dda9d17b8066e4b39906d0':
  DO NOT MERGE Update Camera2 to use latest APIs

9 years agoam 76215c98: (-s ours) DO NOT MERGE Update Camera2 to use latest APIs
Alan Newberger [Mon, 8 Sep 2014 19:03:56 +0000 (19:03 +0000)]
am 76215c98: (-s ours) DO NOT MERGE Update Camera2 to use latest APIs

* commit '76215c98a9a11d87b5ce9d2b4198654c2b8bbddf':
  DO NOT MERGE Update Camera2 to use latest APIs

9 years agoDO NOT MERGE Pipe context through to camera
Sascha Häberling [Sat, 6 Sep 2014 02:50:42 +0000 (02:50 +0000)]
DO NOT MERGE Pipe context through to camera

  Bug: 17203825

Not merging since a CL depending on this one cannot be merged cleanly into lmp-dev right now: http://ag/541468

Will also apply this one to haleakala.

Change-Id: I7a386b92cf6168185bd28bd02a78d87c5826639a
(cherry picked from commit 13d07d0ecb3bc808fb6f5b65508b1948ab3149d8)

9 years agoDO NOT MERGE Update Camera2 to use latest APIs
Alan Newberger [Mon, 8 Sep 2014 18:26:27 +0000 (11:26 -0700)]
DO NOT MERGE Update Camera2 to use latest APIs

Bug: 17423266
Change-Id: I1f1d79619d89971b387a78756b8f3b4d4b45d76e

9 years agoam 994d9136: am 954b9b1c: Merge "wait for filmstrip bottom panel buttons to finish...
Spike Sprague [Mon, 8 Sep 2014 17:52:26 +0000 (17:52 +0000)]
am 994d9136: am 954b9b1c: Merge "wait for filmstrip bottom panel buttons to finish animating to show clings" into ub-camera-glacier

* commit '994d9136e0085e2fbb30f260ec140c8d2c6295df':
  wait for filmstrip bottom panel buttons to finish animating to show clings

9 years agoam 954b9b1c: Merge "wait for filmstrip bottom panel buttons to finish animating to...
Spike Sprague [Mon, 8 Sep 2014 17:41:47 +0000 (17:41 +0000)]
am 954b9b1c: Merge "wait for filmstrip bottom panel buttons to finish animating to show clings" into ub-camera-glacier

* commit '954b9b1ce7cd3e7b4a4c0fa35f8ca873fba5ac14':
  wait for filmstrip bottom panel buttons to finish animating to show clings

9 years agoMerge "wait for filmstrip bottom panel buttons to finish animating to show clings...
Spike Sprague [Mon, 8 Sep 2014 17:31:33 +0000 (17:31 +0000)]
Merge "wait for filmstrip bottom panel buttons to finish animating to show clings" into ub-camera-glacier

9 years agoam dc563a37: am 13d07d0e: (-s ours) DO NOT MERGE Pipe context through to camera
Sascha Häberling [Sat, 6 Sep 2014 04:25:12 +0000 (04:25 +0000)]
am dc563a37: am 13d07d0e: (-s ours) DO NOT MERGE Pipe context through to camera

* commit 'dc563a3713e1cd6c4cc2c1681cac081b753e161b':
  DO NOT MERGE Pipe context through to camera

9 years agoam 4a9de272: am bcc384ea: Revert "Pipe context through to camera"
Sascha Häberling [Sat, 6 Sep 2014 04:25:12 +0000 (04:25 +0000)]
am 4a9de272: am bcc384ea: Revert "Pipe context through to camera"

* commit '4a9de272c251432c100986f8167618d101e5a522':
  Revert "Pipe context through to camera"

9 years agoam 8b239e7d: am f6bf65e9: Pipe context through to camera
Sascha Haeberling [Sat, 6 Sep 2014 04:25:00 +0000 (04:25 +0000)]
am 8b239e7d: am f6bf65e9: Pipe context through to camera

* commit '8b239e7d9021d9c674f68e688c131fb95fa4daa7':
  Pipe context through to camera

9 years agoam 13d07d0e: (-s ours) DO NOT MERGE Pipe context through to camera
Sascha Häberling [Sat, 6 Sep 2014 02:58:11 +0000 (02:58 +0000)]
am 13d07d0e: (-s ours) DO NOT MERGE Pipe context through to camera

* commit '13d07d0ecb3bc808fb6f5b65508b1948ab3149d8':
  DO NOT MERGE Pipe context through to camera

9 years agoam bcc384ea: Revert "Pipe context through to camera"
Sascha Häberling [Sat, 6 Sep 2014 02:58:10 +0000 (02:58 +0000)]
am bcc384ea: Revert "Pipe context through to camera"

* commit 'bcc384ea15fc9d25ee3efd934c2ac7ec7a059a52':
  Revert "Pipe context through to camera"

9 years agoDO NOT MERGE Pipe context through to camera
Sascha Häberling [Sat, 6 Sep 2014 02:50:42 +0000 (02:50 +0000)]
DO NOT MERGE Pipe context through to camera

  Bug: 17203825

Not merging since a CL depending on this one cannot be merged cleanly into lmp-dev right now: http://ag/541468

Will also apply this one to haleakala.

Change-Id: I7a386b92cf6168185bd28bd02a78d87c5826639a

9 years agoam f6bf65e9: Pipe context through to camera
Sascha Haeberling [Sat, 6 Sep 2014 02:48:22 +0000 (02:48 +0000)]
am f6bf65e9: Pipe context through to camera

* commit 'f6bf65e9442f2fb7042e37ec21bf1c6c4fbd9bb6':
  Pipe context through to camera

9 years agoRevert "Pipe context through to camera"
Sascha Häberling [Sat, 6 Sep 2014 02:48:13 +0000 (02:48 +0000)]
Revert "Pipe context through to camera"

Second half of the CL didn't make it through to lmp-dev due to Camera API change craziness. Reverting this one to unbreak the build and will submit again to G and H Camera branches only.

This reverts commit f6bf65e9442f2fb7042e37ec21bf1c6c4fbd9bb6.

Change-Id: I5e11c5c1b29586110ed504fbb1be2dfe76accab0

9 years agoPipe context through to camera
Sascha Haeberling [Sat, 6 Sep 2014 00:33:59 +0000 (17:33 -0700)]
Pipe context through to camera

  Bug: 17203825

Also don't just activate the shutter after a picture has been taken
since some cameras might not be ready for another picture yet.
This decision should be up to the camera.

Change-Id: I5991da1d8fc942b48fe085b18ec93b07bfafe889

9 years agoam 02965e8c: am 9eb0eb55: (-s ours) Merge "DO NOT MERGE Revert "Update camera2 API...
Alan Newberger [Fri, 5 Sep 2014 23:44:17 +0000 (23:44 +0000)]
am 02965e8c: am 9eb0eb55: (-s ours) Merge "DO NOT MERGE Revert "Update camera2 API usage"" into ub-camera-glacier

* commit '02965e8c82a707c037d72fe4c887e6270e900d54':
  DO NOT MERGE Revert "Update camera2 API usage"

9 years agoam 626a1450: am 200d5f83: Merge "Close the camera when the async open callback runs...
Alan Newberger [Fri, 5 Sep 2014 23:44:17 +0000 (23:44 +0000)]
am 626a1450: am 200d5f83: Merge "Close the camera when the async open callback runs after pause" into ub-camera-glacier

* commit '626a14505d709202c9949df1bb3376d93c755d5b':
  Close the camera when the async open callback runs after pause

9 years agoam 9eb0eb55: (-s ours) Merge "DO NOT MERGE Revert "Update camera2 API usage"" into...
Alan Newberger [Fri, 5 Sep 2014 23:32:14 +0000 (23:32 +0000)]
am 9eb0eb55: (-s ours) Merge "DO NOT MERGE Revert "Update camera2 API usage"" into ub-camera-glacier

* commit '9eb0eb55e686c84d0003cdcd60c76e08ed369468':
  DO NOT MERGE Revert "Update camera2 API usage"

9 years agoam 200d5f83: Merge "Close the camera when the async open callback runs after pause...
Alan Newberger [Fri, 5 Sep 2014 23:32:13 +0000 (23:32 +0000)]
am 200d5f83: Merge "Close the camera when the async open callback runs after pause" into ub-camera-glacier

* commit '200d5f833a70616465fecb200d45bc2726bd1499':
  Close the camera when the async open callback runs after pause

9 years agoMerge "DO NOT MERGE Revert "Update camera2 API usage"" into ub-camera-glacier
Alan Newberger [Fri, 5 Sep 2014 23:24:02 +0000 (23:24 +0000)]
Merge "DO NOT MERGE Revert "Update camera2 API usage"" into ub-camera-glacier

9 years agoMerge "Close the camera when the async open callback runs after pause" into ub-camera...
Alan Newberger [Fri, 5 Sep 2014 23:23:14 +0000 (23:23 +0000)]
Merge "Close the camera when the async open callback runs after pause" into ub-camera-glacier

9 years agoDO NOT MERGE Revert "Update camera2 API usage"
Alan Newberger [Fri, 5 Sep 2014 23:14:10 +0000 (23:14 +0000)]
DO NOT MERGE Revert "Update camera2 API usage"

This temporarily reverts commit for unbundled branch 9c84812bba91831e1759c23e8c92082a8a5f44fd.

Change-Id: Ic4767cd27373c36dd77df4469f5006ced8746f9f

9 years agowait for filmstrip bottom panel buttons to finish animating
Spike Sprague [Fri, 5 Sep 2014 22:11:15 +0000 (15:11 -0700)]
wait for filmstrip bottom panel buttons to finish animating
to show clings

bug: 17321626

Change-Id: Ib810157a2821ed40b2d1e30bee80bf1cc243ee59

9 years agoClose the camera when the async open callback runs after pause
Alan Newberger [Fri, 5 Sep 2014 22:52:39 +0000 (15:52 -0700)]
Close the camera when the async open callback runs after pause

Current implementation leaves the camera device open if callback
returns after app is paused, since activity/module pausing is
already complete before the camera opened. This CL adds a close
if the opened callback returns when the activity is already paused.

Bug: 17397753
Change-Id: Iec5d16445201b4e308b16e9237fd98ed8599fddc

9 years agoam fb69fffc: am 82465c1c: Merge "Update camera2 API usage" into ub-camera-glacier
Eino-Ville Talvala [Fri, 5 Sep 2014 21:01:10 +0000 (21:01 +0000)]
am fb69fffc: am 82465c1c: Merge "Update camera2 API usage" into ub-camera-glacier

* commit 'fb69fffc74f3768ca13881770e884a55c66e6edd':
  Update camera2 API usage

9 years agoam 82465c1c: Merge "Update camera2 API usage" into ub-camera-glacier
Eino-Ville Talvala [Fri, 5 Sep 2014 20:53:10 +0000 (20:53 +0000)]
am 82465c1c: Merge "Update camera2 API usage" into ub-camera-glacier

* commit '82465c1c603d3d76bf8c7487779766d5ea38a5cd':
  Update camera2 API usage

9 years agoMerge "Update camera2 API usage" into ub-camera-glacier
Eino-Ville Talvala [Fri, 5 Sep 2014 20:44:02 +0000 (20:44 +0000)]
Merge "Update camera2 API usage" into ub-camera-glacier

9 years agoam 252394a7: am 29a009c9: Add additional lifecycle logging to Camera
Alan Newberger [Fri, 5 Sep 2014 20:20:52 +0000 (20:20 +0000)]
am 252394a7: am 29a009c9: Add additional lifecycle logging to Camera

* commit '252394a7175ed6b072ebb383aec010094dda29ee':
  Add additional lifecycle logging to Camera

9 years agoam 29a009c9: Add additional lifecycle logging to Camera
Alan Newberger [Fri, 5 Sep 2014 20:09:33 +0000 (20:09 +0000)]
am 29a009c9: Add additional lifecycle logging to Camera

* commit '29a009c974f153f72cd5e28851a8cb85a691e215':
  Add additional lifecycle logging to Camera

9 years agoAdd additional lifecycle logging to Camera
Alan Newberger [Fri, 5 Sep 2014 19:47:42 +0000 (12:47 -0700)]
Add additional lifecycle logging to Camera

To assist in diagnosing startup issues, added some logging.

Bug: 17397753
Change-Id: Icc47ec278c0b68c8834bfb52554425ff7f371ea0

9 years agoUpdate camera2 API usage
Eino-Ville Talvala [Thu, 4 Sep 2014 22:57:24 +0000 (15:57 -0700)]
Update camera2 API usage

Rename listeners to callbacks

Bug: 17389922
Change-Id: I33affcaeec331eca2d084ded4eb199f86fa58765

9 years agoam 9bb10857: am dc0369f3: Merge "Load Gcam OneCamera in CaptureModule when it\'s...
Sascha Haeberling [Thu, 4 Sep 2014 23:39:28 +0000 (23:39 +0000)]
am 9bb10857: am dc0369f3: Merge "Load Gcam OneCamera in CaptureModule when it\'s also doing normal shots." into ub-camera-glacier

* commit '9bb108571e7e6ddcef5bdf0e9ee03dad57ebc44f':
  Load Gcam OneCamera in CaptureModule when it's also doing normal shots.

9 years agoam dc0369f3: Merge "Load Gcam OneCamera in CaptureModule when it\'s also doing normal...
Sascha Haeberling [Thu, 4 Sep 2014 23:28:15 +0000 (23:28 +0000)]
am dc0369f3: Merge "Load Gcam OneCamera in CaptureModule when it\'s also doing normal shots." into ub-camera-glacier

* commit 'dc0369f37b07adb4355113540af3c1f7c82a404e':
  Load Gcam OneCamera in CaptureModule when it's also doing normal shots.

9 years agoMerge "Load Gcam OneCamera in CaptureModule when it's also doing normal shots." into...
Sascha Haeberling [Thu, 4 Sep 2014 23:20:19 +0000 (23:20 +0000)]
Merge "Load Gcam OneCamera in CaptureModule when it's also doing normal shots." into ub-camera-glacier

9 years agoLoad Gcam OneCamera in CaptureModule when it's also doing normal shots.
Sascha Haeberling [Thu, 4 Sep 2014 20:32:35 +0000 (13:32 -0700)]
Load Gcam OneCamera in CaptureModule when it's also doing normal shots.

  Bug: 16654225

Change-Id: I939e4793125cc996e26bbd5a13579f2f4ebab663

9 years agoam 844827b9: am eacf9460: Merge "remove stray bool resource for determining if OS...
Spike Sprague [Thu, 4 Sep 2014 22:15:47 +0000 (22:15 +0000)]
am 844827b9: am eacf9460: Merge "remove stray bool resource for determining if OS is L or not, moved to more universal ApiHelper for that." into ub-camera-glacier

* commit '844827b9d6f1f1ecdf94e82493bfa0f9ae527090':
  remove stray bool resource for determining if OS is L or not, moved to more universal ApiHelper for that.

9 years agoam eacf9460: Merge "remove stray bool resource for determining if OS is L or not...
Spike Sprague [Thu, 4 Sep 2014 22:08:12 +0000 (22:08 +0000)]
am eacf9460: Merge "remove stray bool resource for determining if OS is L or not, moved to more universal ApiHelper for that." into ub-camera-glacier

* commit 'eacf94608e5358a028c64dd1523270e61093e8b2':
  remove stray bool resource for determining if OS is L or not, moved to more universal ApiHelper for that.

9 years agoMerge "remove stray bool resource for determining if OS is L or not, moved to more...
Spike Sprague [Thu, 4 Sep 2014 21:57:34 +0000 (21:57 +0000)]
Merge "remove stray bool resource for determining if OS is L or not, moved to more universal ApiHelper for that." into ub-camera-glacier

9 years agoremove stray bool resource for determining if OS is L or not,
Spike Sprague [Thu, 4 Sep 2014 18:54:26 +0000 (11:54 -0700)]
remove stray bool resource for determining if OS is L or not,
moved to more universal ApiHelper for that.

this brings back the fade-in on shutter button touchDown.

bug: 17389859

Change-Id: I7c7d24db30bfbb149f84e6f5acf3e211c282c1ec

9 years agoam dc3d3e52: am 17d9084e: Add short flash animation and shutter sound to ZSL camera.
Andy Huibers [Thu, 4 Sep 2014 20:32:35 +0000 (20:32 +0000)]
am dc3d3e52: am 17d9084e: Add short flash animation and shutter sound to ZSL camera.

* commit 'dc3d3e520cafecd8024b08c5a5162c13ae438f1c':
  Add short flash animation and shutter sound to ZSL camera.

9 years agoam 17d9084e: Add short flash animation and shutter sound to ZSL camera.
Andy Huibers [Thu, 4 Sep 2014 20:23:37 +0000 (20:23 +0000)]
am 17d9084e: Add short flash animation and shutter sound to ZSL camera.

* commit '17d9084e38e64f06a9d411d64fe3c2739d299cda':
  Add short flash animation and shutter sound to ZSL camera.

9 years agoAdd short flash animation and shutter sound to ZSL camera.
Andy Huibers [Thu, 28 Aug 2014 22:05:57 +0000 (15:05 -0700)]
Add short flash animation and shutter sound to ZSL camera.

Bug: 17217567
Change-Id: I9a75fdd15e03f47029ef4a631287899718794c5c

9 years agoam b43f973a: (-s ours) am f096e898: (-s ours) Merge "Import translations. DO NOT...
Baligh Uddin [Thu, 4 Sep 2014 18:59:09 +0000 (18:59 +0000)]
am b43f973a: (-s ours) am f096e898: (-s ours) Merge "Import translations. DO NOT MERGE" into ub-camera-glacier

* commit 'b43f973a2389f4d9e45d35bffee92e70b4bce704':
  Import translations. DO NOT MERGE

9 years agoam 9351f22c: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Thu, 4 Sep 2014 18:59:08 +0000 (18:59 +0000)]
am 9351f22c: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-dev

* commit '9351f22c49705fc1df51bb5f3c9afc9e08f95b94':
  Import translations. DO NOT MERGE

9 years agoam f096e898: (-s ours) Merge "Import translations. DO NOT MERGE" into ub-camera-glacier
Baligh Uddin [Thu, 4 Sep 2014 18:52:28 +0000 (18:52 +0000)]
am f096e898: (-s ours) Merge "Import translations. DO NOT MERGE" into ub-camera-glacier

* commit 'f096e898055178994d372525139fd47f625aa85f':
  Import translations. DO NOT MERGE

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Thu, 4 Sep 2014 18:51:05 +0000 (18:51 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-sprout-dev
Baligh Uddin [Thu, 4 Sep 2014 18:51:03 +0000 (18:51 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-sprout-dev

9 years agoMerge "Import translations. DO NOT MERGE" into ub-camera-glacier
Baligh Uddin [Thu, 4 Sep 2014 18:40:24 +0000 (18:40 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-camera-glacier

9 years agoam f1e3dc86: Merge "Added log for first preview frame" into ub-camera-glacier
Puneet Lall [Thu, 4 Sep 2014 18:22:59 +0000 (18:22 +0000)]
am f1e3dc86: Merge "Added log for first preview frame" into ub-camera-glacier

* commit 'f1e3dc865aa7dfcb3fee584b8e37fd24c23e78c0':
  Added log for first preview frame

9 years agoMerge "Added log for first preview frame" into ub-camera-glacier
Puneet Lall [Thu, 4 Sep 2014 18:11:44 +0000 (18:11 +0000)]
Merge "Added log for first preview frame" into ub-camera-glacier

9 years agoAdded log for first preview frame
Puneet Lall [Thu, 4 Sep 2014 18:05:14 +0000 (11:05 -0700)]
Added log for first preview frame

Bug: 17386943
Change-Id: I17907402c9d1cd4678634e2ceb8cbf921f010d9f

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 4 Sep 2014 07:06:22 +0000 (00:06 -0700)]
Import translations. DO NOT MERGE

Change-Id: I9f25ac4e3c13fcd64389cf61422fd64c831c8d02
Auto-generated-cl: translation import

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 4 Sep 2014 07:03:59 +0000 (00:03 -0700)]
Import translations. DO NOT MERGE

Change-Id: I2febfad7ce62ec047f11dedd59afd86682a4bf33
Auto-generated-cl: translation import

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 4 Sep 2014 07:03:16 +0000 (00:03 -0700)]
Import translations. DO NOT MERGE

Change-Id: I95951618c47241ab89d780f6ebe39e30ae08d332
Auto-generated-cl: translation import

9 years agoam ae6e94f5: Merge "Re-enable shutter-button when switching between front and back...
Puneet Lall [Thu, 4 Sep 2014 01:21:27 +0000 (01:21 +0000)]
am ae6e94f5: Merge "Re-enable shutter-button when switching between front and back cameras." into ub-camera-glacier

* commit 'ae6e94f570a8436715384993f2e06b2193915b78':
  Re-enable shutter-button when switching between front and back cameras.

9 years agoam 2ef0f9dc: Fix unnecessary string cast
Alan Newberger [Thu, 4 Sep 2014 01:21:26 +0000 (01:21 +0000)]
am 2ef0f9dc: Fix unnecessary string cast

* commit '2ef0f9dc95527a354846940bae675741c464e6ae':
  Fix unnecessary string cast

9 years agoMerge "Re-enable shutter-button when switching between front and back cameras." into...
Puneet Lall [Thu, 4 Sep 2014 01:11:50 +0000 (01:11 +0000)]
Merge "Re-enable shutter-button when switching between front and back cameras." into ub-camera-glacier

9 years agoFix unnecessary string cast
Alan Newberger [Thu, 4 Sep 2014 01:02:49 +0000 (18:02 -0700)]
Fix unnecessary string cast

Code was taking a setting as a string, which when empty returns null,
then tried to parseInt it. Instead ask for an int, which will default
to zero, and things will work.

Bug: 16827108
Change-Id: I5bbed091ec29fc98257a5eb18948891c43caa29f

9 years agoam 2b084ec5: Merge "Fixing settings upgrades" into ub-camera-glacier
Alan Newberger [Thu, 4 Sep 2014 00:20:16 +0000 (00:20 +0000)]
am 2b084ec5: Merge "Fixing settings upgrades" into ub-camera-glacier

* commit '2b084ec5c7c262003581be3584825300269adae2':
  Fixing settings upgrades

9 years agoMerge "Fixing settings upgrades" into ub-camera-glacier
Alan Newberger [Thu, 4 Sep 2014 00:06:17 +0000 (00:06 +0000)]
Merge "Fixing settings upgrades" into ub-camera-glacier

9 years agoFixing settings upgrades
Alan Newberger [Wed, 3 Sep 2014 01:31:10 +0000 (18:31 -0700)]
Fixing settings upgrades

Did a full audit of upgrade scenarios and performed the following fixes.
* restored pre-existing location upgrade code that handled old upgrades.
preserves location choice from C straight to G.
* added string type format conversion for "old global" values that were
not implemented in the refactor : hdr, hdr+, grid buttons
* moved a "reset" that existed in upgraders that put the user in Camera
mode on upgrade. it should run for everglades upgraders along with size
changes.

Bug: 17317510
Change-Id: I87db511bfa89676525ee727620cb546c180a8ef6

9 years agoRe-enable shutter-button when switching between front and back cameras.
Puneet Lall [Wed, 3 Sep 2014 21:58:51 +0000 (14:58 -0700)]
Re-enable shutter-button when switching between front and back cameras.

Bug: 16961251
Change-Id: Ie3075bf711ab44dfe5e6cdd6b3645dd6583708b5

9 years agoam 4d6d676c: Refactor default picture size selection in zsl cam.
Puneet Lall [Wed, 3 Sep 2014 21:27:34 +0000 (21:27 +0000)]
am 4d6d676c: Refactor default picture size selection in zsl cam.

* commit '4d6d676c368b70e8c0fcf462e51de1d59fe34028':
  Refactor default picture size selection in zsl cam.

9 years agoRefactor default picture size selection in zsl cam.
Puneet Lall [Wed, 3 Sep 2014 20:22:01 +0000 (13:22 -0700)]
Refactor default picture size selection in zsl cam.

Bug: 17322843
Change-Id: Ib34584937db639f984689042bd8371443a33bb64

9 years agoam 686c7b55: Merge "[ZSL Cam] Use largest supported size if no picture size is alread...
Puneet Lall [Wed, 3 Sep 2014 18:08:03 +0000 (18:08 +0000)]
am 686c7b55: Merge "[ZSL Cam] Use largest supported size if no picture size is already set." into ub-camera-glacier

* commit '686c7b55a6b0c9c7202383e0589b190e5439ce69':
  [ZSL Cam] Use largest supported size if no picture size is already set.

9 years agoMerge "[ZSL Cam] Use largest supported size if no picture size is already set." into...
Puneet Lall [Wed, 3 Sep 2014 18:01:21 +0000 (18:01 +0000)]
Merge "[ZSL Cam] Use largest supported size if no picture size is already set." into ub-camera-glacier

9 years agoam 4d7f3be8: CaptureModule countdown timer fixes: ability to cancel, and remove prema...
Andy Huibers [Wed, 3 Sep 2014 17:53:50 +0000 (17:53 +0000)]
am 4d7f3be8: CaptureModule countdown timer fixes: ability to cancel, and remove premature SoundPlayer release.

* commit '4d7f3be87a92c7efac7cf92bbd4ce7dd61f46e0d':
  CaptureModule countdown timer fixes: ability to cancel, and remove premature SoundPlayer release.

9 years ago[ZSL Cam] Use largest supported size if no picture size is already set.
Puneet Lall [Wed, 3 Sep 2014 17:43:35 +0000 (10:43 -0700)]
[ZSL Cam] Use largest supported size if no picture size is already set.

Fixes crash due to null size when zsl is started for the first time on a
fresh device.

Bug: 17322843
Change-Id: I31ef4202c13cee1270af59231f93842fa0e86009

9 years agoCaptureModule countdown timer fixes: ability to cancel, and remove premature SoundPla...
Andy Huibers [Wed, 3 Sep 2014 05:12:09 +0000 (22:12 -0700)]
CaptureModule countdown timer fixes: ability to cancel, and remove premature SoundPlayer release.

Bug: 17204673
Change-Id: I438c3d4e7a9aad3f8fc709d255a249399bb05b57

9 years agoam d568e524: Merge "Add countdown timer to CaptureModule." into ub-camera-glacier
Andy Huibers [Wed, 3 Sep 2014 02:29:02 +0000 (02:29 +0000)]
am d568e524: Merge "Add countdown timer to CaptureModule." into ub-camera-glacier

* commit 'd568e524029dc538d774d3d7b45586639549c79a':
  Add countdown timer to CaptureModule.

9 years agoMerge "Add countdown timer to CaptureModule." into ub-camera-glacier
Andy Huibers [Wed, 3 Sep 2014 02:16:26 +0000 (02:16 +0000)]
Merge "Add countdown timer to CaptureModule." into ub-camera-glacier

9 years agoAdd countdown timer to CaptureModule.
Andy Huibers [Tue, 2 Sep 2014 18:27:11 +0000 (11:27 -0700)]
Add countdown timer to CaptureModule.

Bug: 16654225
Bug: 17204673

Change-Id: I914094b204743ddbe786ef1a7621564e864ed834

9 years agoam 7718b87b: Merge "A few Size clean-ups to support live metering changes." into...
Sascha Haeberling [Tue, 2 Sep 2014 23:15:14 +0000 (23:15 +0000)]
am 7718b87b: Merge "A few Size clean-ups to support live metering changes." into ub-camera-glacier

* commit '7718b87b566b20d11dfa2dd97f60018e601ad409':
  A few Size clean-ups to support live metering changes.

9 years agoMerge "A few Size clean-ups to support live metering changes." into ub-camera-glacier
Sascha Haeberling [Tue, 2 Sep 2014 23:06:57 +0000 (23:06 +0000)]
Merge "A few Size clean-ups to support live metering changes." into ub-camera-glacier

9 years agoam b9f4b931: Merge "actionbar opactiy tweaks" into ub-camera-glacier
Spike Sprague [Tue, 2 Sep 2014 22:41:59 +0000 (22:41 +0000)]
am b9f4b931: Merge "actionbar opactiy tweaks" into ub-camera-glacier

* commit 'b9f4b931949dbddeba61b0a6bfcc52d24e01c97c':
  actionbar opactiy tweaks

9 years agoMerge "actionbar opactiy tweaks" into ub-camera-glacier
Spike Sprague [Tue, 2 Sep 2014 22:33:35 +0000 (22:33 +0000)]
Merge "actionbar opactiy tweaks" into ub-camera-glacier

9 years agoactionbar opactiy tweaks
Spike Sprague [Thu, 28 Aug 2014 22:48:50 +0000 (15:48 -0700)]
actionbar opactiy tweaks

bug: 17319586

Change-Id: I2bfde2db9cff62b6ac8d8f416c1f8512c25bd900

9 years agoam 9bfd6bdd: shutter button color fix (pre-L)
Spike Sprague [Tue, 2 Sep 2014 22:28:44 +0000 (22:28 +0000)]
am 9bfd6bdd: shutter button color fix (pre-L)

* commit '9bfd6bddaa09ccdadabf3b0e7e2b81bc1bcf175d':
  shutter button color fix (pre-L)

9 years agoshutter button color fix (pre-L)
Spike Sprague [Mon, 18 Aug 2014 17:53:51 +0000 (10:53 -0700)]
shutter button color fix (pre-L)

bug: 17011894

Change-Id: Ic7626f89c811c08f1d16bb5e42fa9169b1e65759

9 years agoA few Size clean-ups to support live metering changes.
Sascha Haeberling [Tue, 2 Sep 2014 21:20:57 +0000 (14:20 -0700)]
A few Size clean-ups to support live metering changes.

  Bug: 16948752

Change-Id: I262a6b3caa42ecd7a4da40d1eaca6a7eaa96be98

9 years agoam 5ca2e0b9: Merge "Remove android.hardware.camera2 import from Settings3A." into...
Andy Huibers [Tue, 2 Sep 2014 20:58:39 +0000 (20:58 +0000)]
am 5ca2e0b9: Merge "Remove android.hardware.camera2 import from Settings3A." into ub-camera-glacier

* commit '5ca2e0b94a3031ff2117c5e68f8198a2f174b8eb':
  Remove android.hardware.camera2 import from Settings3A.

9 years agoMerge "Remove android.hardware.camera2 import from Settings3A." into ub-camera-glacier
Andy Huibers [Tue, 2 Sep 2014 20:51:55 +0000 (20:51 +0000)]
Merge "Remove android.hardware.camera2 import from Settings3A." into ub-camera-glacier

9 years agoRemove android.hardware.camera2 import from Settings3A.
Andy Huibers [Tue, 2 Sep 2014 20:11:37 +0000 (13:11 -0700)]
Remove android.hardware.camera2 import from Settings3A.

Bug: 17358060
Change-Id: I7e4442a4257acf9e4b58981be697949aba62a31f

9 years agoam 10fcde55: Merge "Starting share/edit/play activities in its own task." into ub...
Senpo Hu [Tue, 2 Sep 2014 19:02:01 +0000 (19:02 +0000)]
am 10fcde55: Merge "Starting share/edit/play activities in its own task." into ub-camera-glacier

* commit '10fcde551bddb786e4cae0da3ed81a687cf2d470':
  Starting share/edit/play activities in its own task.

9 years agoMerge "Starting share/edit/play activities in its own task." into ub-camera-glacier
Senpo Hu [Tue, 2 Sep 2014 18:53:54 +0000 (18:53 +0000)]
Merge "Starting share/edit/play activities in its own task." into ub-camera-glacier

9 years agoStarting share/edit/play activities in its own task.
Senpo Hu [Fri, 29 Aug 2014 23:27:03 +0000 (16:27 -0700)]
Starting share/edit/play activities in its own task.

Bug: 17091348
Change-Id: Ib90173e164fab2a1aba753ab4d4f05d305d3d522

9 years agoam ef481910: Merge "Ensure ZoomView appears on top of other views in L" into ub-camer...
Alan Newberger [Sat, 30 Aug 2014 00:49:50 +0000 (00:49 +0000)]
am ef481910: Merge "Ensure ZoomView appears on top of other views in L" into ub-camera-glacier

* commit 'ef4819104fa5e69b7654afcf2f388760e7989b24':
  Ensure ZoomView appears on top of other views in L

9 years agoMerge "Ensure ZoomView appears on top of other views in L" into ub-camera-glacier
Alan Newberger [Sat, 30 Aug 2014 00:43:49 +0000 (00:43 +0000)]
Merge "Ensure ZoomView appears on top of other views in L" into ub-camera-glacier

9 years agoEnsure ZoomView appears on top of other views in L
Alan Newberger [Sat, 30 Aug 2014 00:34:48 +0000 (17:34 -0700)]
Ensure ZoomView appears on top of other views in L

Since our normal image view now has an elevation on L, just calling
bringChildToFront() is not enough, elevation supersedes z order.
So we also ensure the ZoomView is at max elevation when we bring it
to front.

Bug: 17331586
Change-Id: I34b06949d063daa08d964003b28a245eb6133f95

9 years agoam b868274c: Simplify AF in CaptureModule and OneCameraImpl and share code in AutoFoc...
Andy Huibers [Sat, 30 Aug 2014 00:17:29 +0000 (00:17 +0000)]
am b868274c: Simplify AF in CaptureModule and OneCameraImpl and share code in AutoFocusHelper.

* commit 'b868274c9dc8d9c772ec89fb5955215cc7911087':
  Simplify AF in CaptureModule and OneCameraImpl and share code in AutoFocusHelper.

9 years agoSimplify AF in CaptureModule and OneCameraImpl and share code in AutoFocusHelper.
Andy Huibers [Wed, 27 Aug 2014 22:28:42 +0000 (15:28 -0700)]
Simplify AF in CaptureModule and OneCameraImpl and share code in AutoFocusHelper.

Bug: 17202848
Change-Id: I08e92c9701d5b92938612137c87ca37c4305411f

9 years agoam 68c25ac5: ZSL refactoring
Puneet Lall [Fri, 29 Aug 2014 02:10:14 +0000 (02:10 +0000)]
am 68c25ac5: ZSL refactoring

* commit '68c25ac5373126670cb6c2324e40537bb47e72d9':
  ZSL refactoring

9 years agoZSL refactoring
Puneet Lall [Fri, 29 Aug 2014 01:36:33 +0000 (18:36 -0700)]
ZSL refactoring

Bug: 16961251

Change-Id: I19642f5de088135db6650df98a62dd8dd462e0da

9 years agoam d308d001: Add missing copyright header in Open Source code.
Puneet Lall [Fri, 29 Aug 2014 01:23:50 +0000 (01:23 +0000)]
am d308d001: Add missing copyright header in Open Source code.

* commit 'd308d001e876b7036fba2727b18b6b9d652ecffb':
  Add missing copyright header in Open Source code.

9 years agoam 82d70ea0: Merge "[ZSL Cam] Fixed shutter button, compress on threadpool." into...
Puneet Lall [Fri, 29 Aug 2014 01:23:49 +0000 (01:23 +0000)]
am 82d70ea0: Merge "[ZSL Cam] Fixed shutter button, compress on threadpool." into ub-camera-glacier

* commit '82d70ea06c58df44cfefdc4e1a34644f8f817a23':
  [ZSL Cam] Fixed shutter button, compress on threadpool.

9 years agoam b8c3e31c: Merge "fix for a regression introduced in ag/534531" into ub-camera...
Spike Sprague [Fri, 29 Aug 2014 01:23:48 +0000 (01:23 +0000)]
am b8c3e31c: Merge "fix for a regression introduced in ag/534531" into ub-camera-glacier

* commit 'b8c3e31c32601095488a09c457a5cb154599c6a7':
  fix for a regression introduced in ag/534531