OSDN Git Service

android-x86/packages-apps-Camera2.git
10 years agoam ca5173d8: Move launcher icons to mipmap
Alan Newberger [Fri, 12 Sep 2014 01:42:52 +0000 (01:42 +0000)]
am ca5173d8: Move launcher icons to mipmap

* commit 'ca5173d84722383d2d9ef49dd85fba28af035429':
  Move launcher icons to mipmap

10 years agoMerge "Don't force ZSL/Camera2 API" into ub-camera-haleakala
Puneet Lall [Fri, 12 Sep 2014 00:34:27 +0000 (00:34 +0000)]
Merge "Don't force ZSL/Camera2 API" into ub-camera-haleakala

10 years agoDon't force ZSL/Camera2 API
Puneet Lall [Fri, 12 Sep 2014 00:24:56 +0000 (17:24 -0700)]
Don't force ZSL/Camera2 API

Change-Id: Id91ba7697335371a4f68ef87b507d1f4eb71a3a5

10 years agoMove launcher icons to mipmap
Alan Newberger [Thu, 11 Sep 2014 21:39:22 +0000 (14:39 -0700)]
Move launcher icons to mipmap

Bug: 17457682
Change-Id: I6a626c8547f3eea8a06fc47fc70c1a587767b040

10 years agoam 45f316bc: Establish synchronous camera closing when app utilizes API1/API2
Alan Newberger [Thu, 11 Sep 2014 17:51:45 +0000 (17:51 +0000)]
am 45f316bc: Establish synchronous camera closing when app utilizes API1/API2

* commit '45f316bcecb8713cbb217507981fd657fcdaa274':
  Establish synchronous camera closing when app utilizes API1/API2

10 years agoEstablish synchronous camera closing when app utilizes API1/API2
Alan Newberger [Thu, 11 Sep 2014 17:25:54 +0000 (10:25 -0700)]
Establish synchronous camera closing when app utilizes API1/API2

To ensure API1 and API2 portability implementations coordinate together,
if app uses API2 for any mode, lock both modes into synchronouse camera
closing.

Bug: 17464089
Change-Id: If4cf1eb02053ec9e56b7b8df97c21e012467aa3a

10 years agoam 0c5fc1d3: (-s ours) Merge "Import translations. DO NOT MERGE" into ub-camera-glacier
Baligh Uddin [Thu, 11 Sep 2014 15:59:02 +0000 (15:59 +0000)]
am 0c5fc1d3: (-s ours) Merge "Import translations. DO NOT MERGE" into ub-camera-glacier

* commit '0c5fc1d311eaa82dff09cee6332140fda21d473e':
  Import translations. DO NOT MERGE

10 years agoMerge "Import translations. DO NOT MERGE" into ub-camera-glacier
Baligh Uddin [Thu, 11 Sep 2014 15:48:57 +0000 (15:48 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-camera-glacier

10 years agoMerge "Import translations. DO NOT MERGE" into ub-camera-haleakala
Baligh Uddin [Thu, 11 Sep 2014 15:48:55 +0000 (15:48 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-camera-haleakala

10 years agoam e6ebf3d7: If we are using CaptureModule for Gcam only, turn off flash.
Andy Huibers [Thu, 11 Sep 2014 04:38:30 +0000 (04:38 +0000)]
am e6ebf3d7: If we are using CaptureModule for Gcam only, turn off flash.

* commit 'e6ebf3d73bb3f337413bdde437fbb8fde6cee436':
  If we are using CaptureModule for Gcam only, turn off flash.

10 years agoIf we are using CaptureModule for Gcam only, turn off flash.
Andy Huibers [Thu, 11 Sep 2014 04:08:56 +0000 (21:08 -0700)]
If we are using CaptureModule for Gcam only, turn off flash.

Bug: 17460394

Change-Id: I4743e9c31f516d12537b2ceedc9e1fe35fbd8381

10 years agoam 0c9af933: Merge "Revert "Delay PhotoModule preview cover removal to address jank...
Alan Newberger [Thu, 11 Sep 2014 01:36:38 +0000 (01:36 +0000)]
am 0c9af933: Merge "Revert "Delay PhotoModule preview cover removal to address jank"" into ub-camera-glacier

* commit '0c9af933b7227577003f462ddab12a1ca49208fe':
  Revert "Delay PhotoModule preview cover removal to address jank"

10 years agoMerge "Revert "Delay PhotoModule preview cover removal to address jank"" into ub...
Alan Newberger [Thu, 11 Sep 2014 01:26:18 +0000 (01:26 +0000)]
Merge "Revert "Delay PhotoModule preview cover removal to address jank"" into ub-camera-glacier

10 years agoRevert "Delay PhotoModule preview cover removal to address jank"
Alan Newberger [Thu, 11 Sep 2014 01:26:01 +0000 (01:26 +0000)]
Revert "Delay PhotoModule preview cover removal to address jank"

This CL introduced PhotoModule state corruption, multiple picture taking was not possible. Need to deal with stopPreview during picture taking vs module initialization.

Bug: 17451185

This reverts commit 49fb93b5517e12606eb747f0a5d218b4d03df821.

Change-Id: I0a1eec8147ce859d2e83ee7bdd17655b4054f904

10 years agoam 7351415d: Reset aspect ratio on pause
Alan Newberger [Thu, 11 Sep 2014 00:33:36 +0000 (00:33 +0000)]
am 7351415d: Reset aspect ratio on pause

* commit '7351415ddfaf7f563a4a12c9204e6feb20fdf49d':
  Reset aspect ratio on pause

10 years agoReset aspect ratio on pause
Alan Newberger [Wed, 10 Sep 2014 22:03:27 +0000 (15:03 -0700)]
Reset aspect ratio on pause

When resuming the app we do resize things but the old aspect
ratio is cached, thus skipping a reset of the transform matrices
because the app thinks it is already at the correct aspect ratio.
In certain cases (changing orientation when paused) this leads to
layout bugs.

Bug: 17304671
Change-Id: Ia171190b3c76dc05519bdf4d1947d9664d5fb604

10 years agoam 87a2300f: Merge "workaround fix" into ub-camera-glacier
Spike Sprague [Wed, 10 Sep 2014 23:15:22 +0000 (23:15 +0000)]
am 87a2300f: Merge "workaround fix" into ub-camera-glacier

* commit '87a2300ff2b49b8bd6a69815d1e4f3db477fcf4d':
  workaround fix

10 years agoam 3096e672: Merge "Delay PhotoModule preview cover removal to address jank" into...
Alan Newberger [Wed, 10 Sep 2014 23:08:53 +0000 (23:08 +0000)]
am 3096e672: Merge "Delay PhotoModule preview cover removal to address jank" into ub-camera-glacier

* commit '3096e6729b72a47ee3ed0a68a455bc978036de5c':
  Delay PhotoModule preview cover removal to address jank

10 years agoam d3ee86b7: Merge "Return to filmstrip when video playback finishes." into ub-camera...
Senpo Hu [Wed, 10 Sep 2014 23:08:53 +0000 (23:08 +0000)]
am d3ee86b7: Merge "Return to filmstrip when video playback finishes." into ub-camera-glacier

* commit 'd3ee86b7c1f1973119619f8e1b356d9707dd0493':
  Return to filmstrip when video playback finishes.

10 years agoam 5675b8af: Fix the upside-down orienation bug in CaptureModule.
Senpo Hu [Wed, 10 Sep 2014 23:08:51 +0000 (23:08 +0000)]
am 5675b8af: Fix the upside-down orienation bug in CaptureModule.

* commit '5675b8af3fddca8d73d0ce0c8aa2f2a38592f556':
  Fix the upside-down orienation bug in CaptureModule.

10 years agoam d79b38d6: Merge "Remove jank on camera options switching" into ub-camera-glacier
Alan Newberger [Wed, 10 Sep 2014 23:08:50 +0000 (23:08 +0000)]
am d79b38d6: Merge "Remove jank on camera options switching" into ub-camera-glacier

* commit 'd79b38d669e9e61a954b02f3aca63810476f6fc5':
  Remove jank on camera options switching

10 years agoMerge "workaround fix" into ub-camera-glacier
Spike Sprague [Wed, 10 Sep 2014 23:07:48 +0000 (23:07 +0000)]
Merge "workaround fix" into ub-camera-glacier

10 years agoresolved conflicts for merge of 9cefdd49 to ub-camera-haleakala
Jiawen Chen [Wed, 10 Sep 2014 23:00:18 +0000 (16:00 -0700)]
resolved conflicts for merge of 9cefdd49 to ub-camera-haleakala

Change-Id: I5aa115c3469cdff71c410e016155d0c83d6e51c1

10 years agoMerge "Delay PhotoModule preview cover removal to address jank" into ub-camera-glacier
Alan Newberger [Wed, 10 Sep 2014 22:53:06 +0000 (22:53 +0000)]
Merge "Delay PhotoModule preview cover removal to address jank" into ub-camera-glacier

10 years agoDelay PhotoModule preview cover removal to address jank
Alan Newberger [Wed, 10 Sep 2014 22:44:01 +0000 (15:44 -0700)]
Delay PhotoModule preview cover removal to address jank

Cover should stay in place at least until startPreview completes.
Since it is async, we should call handlers in a callback.

Bug: 17451185
Change-Id: I220c49b9bb75ad977d92780c6eea0ff126a7dcb8

10 years agoworkaround fix
Spike Sprague [Wed, 10 Sep 2014 18:31:09 +0000 (11:31 -0700)]
workaround fix

change View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN to View.SYSTEM_UI_FLAG_FULLSCREEN

on L, with View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN the entire camera app window is shifted down by the height of the status bar.

with View.SYSTEM_UI_FLAG_FULLSCREEN thw window lays out correctly.

note: with either flag on KitKat the window lays out correctly.

bug: 17457492

Change-Id: I6534fcedaafbbb525967289db7fb759ba50fca42

10 years agoMerge "Return to filmstrip when video playback finishes." into ub-camera-glacier
Senpo Hu [Wed, 10 Sep 2014 22:11:15 +0000 (22:11 +0000)]
Merge "Return to filmstrip when video playback finishes." into ub-camera-glacier

10 years agoReturn to filmstrip when video playback finishes.
Senpo Hu [Wed, 10 Sep 2014 21:43:16 +0000 (14:43 -0700)]
Return to filmstrip when video playback finishes.

Bug: 17091348
Change-Id: I9703d014029bf29431b099b129b1ed8bce0ffa03

10 years agoFix the upside-down orienation bug in CaptureModule.
Senpo Hu [Wed, 10 Sep 2014 21:15:00 +0000 (14:15 -0700)]
Fix the upside-down orienation bug in CaptureModule.

Bug: 17369697
Change-Id: I5beb0ec45f2dbf372dda88ffd8a92b1632b3ab90

10 years agoMerge "Remove jank on camera options switching" into ub-camera-glacier
Alan Newberger [Wed, 10 Sep 2014 21:13:54 +0000 (21:13 +0000)]
Merge "Remove jank on camera options switching" into ub-camera-glacier

10 years agoChanged double to float. viewFinder -> viewfinder.
Jiawen Chen [Tue, 9 Sep 2014 21:14:39 +0000 (14:14 -0700)]
Changed double to float. viewFinder -> viewfinder.

Change-Id: I5f10a5e8dae40f56457b863d5e8c703e7bf68e49

10 years agoam ffc395d6: Reinitialize shutter button in Camera mode upon preview start
Alan Newberger [Wed, 10 Sep 2014 20:32:01 +0000 (20:32 +0000)]
am ffc395d6: Reinitialize shutter button in Camera mode upon preview start

* commit 'ffc395d6e7eaafcdcd283e183188de16aa14aa4c':
  Reinitialize shutter button in Camera mode upon preview start

10 years agoReinitialize shutter button in Camera mode upon preview start
Alan Newberger [Wed, 10 Sep 2014 20:07:18 +0000 (13:07 -0700)]
Reinitialize shutter button in Camera mode upon preview start

VideoModule already does this here, and by adding to PhotoModule we
address a bug where pausing when capturing leaves the button
disabled on resume.

Bug: 17426670
Change-Id: I8333b52a72c0da8b58070d689406975332ae632e

10 years agoam 5c4bd6b5: Reduce logging for unknown camera scope
Alan Newberger [Wed, 10 Sep 2014 18:32:44 +0000 (18:32 +0000)]
am 5c4bd6b5: Reduce logging for unknown camera scope

* commit '5c4bd6b5348a3464783270ea0bb10d4968d3b0cb':
  Reduce logging for unknown camera scope

10 years agoReduce logging for unknown camera scope
Alan Newberger [Wed, 10 Sep 2014 18:22:19 +0000 (11:22 -0700)]
Reduce logging for unknown camera scope

Still log a warning, but remove stack trace logging.

Change-Id: I28e47feb5d2700fd05e7ff4e6faeb1d5a9e38de5

10 years agoam a710f371: Merge "This fixes Bitmap.createBitmap offset bug in L, not sure why...
Andy Huibers [Wed, 10 Sep 2014 17:08:37 +0000 (17:08 +0000)]
am a710f371: Merge "This fixes Bitmap.createBitmap offset bug in L, not sure why." into ub-camera-glacier

* commit 'a710f371b8e454d37b8b2be50e001b79e37c67f2':
  This fixes Bitmap.createBitmap offset bug in L, not sure why.

10 years agoDO NOT MERGE: Adjust for camera2 API changes
Eino-Ville Talvala [Mon, 8 Sep 2014 22:13:16 +0000 (15:13 -0700)]
DO NOT MERGE: Adjust for camera2 API changes

Add frameNumber to CaptureCallback#onCaptureStarted

Bug: 17421092
Change-Id: I6e66bd1abc2ecec4dd8346cf4313dc7261ffa26b
(cherry picked from commit dd38b94c6f21b528f0de706a69d853f24a9c9561)

10 years agoMerge "This fixes Bitmap.createBitmap offset bug in L, not sure why." into ub-camera...
Andy Huibers [Wed, 10 Sep 2014 15:55:10 +0000 (15:55 +0000)]
Merge "This fixes Bitmap.createBitmap offset bug in L, not sure why." into ub-camera-glacier

10 years agoam fd97c6da: (-s ours) Merge "DO NOT MERGE: Adjust for camera2 API changes" into...
Qiwen Zhao [Wed, 10 Sep 2014 15:29:35 +0000 (15:29 +0000)]
am fd97c6da: (-s ours) Merge "DO NOT MERGE: Adjust for camera2 API changes" into ub-camera-glacier

* commit 'fd97c6da954f3e3e6f8547f6f7363cddba6c1b9a':
  DO NOT MERGE: Adjust for camera2 API changes

10 years agoMerge "DO NOT MERGE: Adjust for camera2 API changes" into ub-camera-glacier
Qiwen Zhao [Wed, 10 Sep 2014 15:20:46 +0000 (15:20 +0000)]
Merge "DO NOT MERGE: Adjust for camera2 API changes" into ub-camera-glacier

10 years agoam 42a5ad5a: Merge "Granting read permission in the result intent for VIDEO_CAPTURE...
Nicolas Prevot [Wed, 10 Sep 2014 09:50:43 +0000 (09:50 +0000)]
am 42a5ad5a: Merge "Granting read permission in the result intent for VIDEO_CAPTURE." into ub-camera-glacier

* commit '42a5ad5a9c7e660854fd0552b81e025c16db9f05':
  Granting read permission in the result intent for VIDEO_CAPTURE.

10 years agoMerge "Granting read permission in the result intent for VIDEO_CAPTURE." into ub...
Nicolas Prevot [Wed, 10 Sep 2014 09:42:35 +0000 (09:42 +0000)]
Merge "Granting read permission in the result intent for VIDEO_CAPTURE." into ub-camera-glacier

10 years agoam 5e3bf4cc: Remove toast. This reverts commit 779414e8bfe23d66de310570ff2314654e45ec9f.
Andy Huibers [Wed, 10 Sep 2014 06:56:52 +0000 (06:56 +0000)]
am 5e3bf4cc: Remove toast. This reverts commit 779414e8bfe23d66de310570ff2314654e45ec9f.

* commit '5e3bf4cc84a186c5e89dfa692f3af95007751877':
  Remove toast. This reverts commit 779414e8bfe23d66de310570ff2314654e45ec9f.

10 years agoRemove jank on camera options switching
Alan Newberger [Wed, 10 Sep 2014 01:47:37 +0000 (18:47 -0700)]
Remove jank on camera options switching

There are two main causes of jank on encountered on options switching:

1. When requesting camera in requestCamera, a portability refactor
introduced a regression where we blocked in the main thread to close
the camera. This main thread blockage is unacceptable as it caused a
preview freeze in addition to the freeze we were trying to create during
the switch, leading to a two-frame preview freeze.

2. The mode options animations which delay the button state transition,
also resulted in preview stutters. Unsure of cause but reverting first
and will assess fixes and reintroduce.

Bug: 17414652
Change-Id: Ib72e331f1bbb5d3b608d8bdc5656c2ff2836ed42

10 years agoRemove toast.
Andy Huibers [Wed, 10 Sep 2014 01:45:28 +0000 (18:45 -0700)]
Remove toast.
This reverts commit 779414e8bfe23d66de310570ff2314654e45ec9f.

Change-Id: Idf04e0bbb69822792327fd17634a4f95f7eb2092

10 years agoam b954b3e8: Merge "Always match camera orientation with device orientation regardles...
Senpo Hu [Wed, 10 Sep 2014 00:27:45 +0000 (00:27 +0000)]
am b954b3e8: Merge "Always match camera orientation with device orientation regardless portrait lock." into ub-camera-glacier

* commit 'b954b3e8b9fff8adf82808bd6cac1f9a7ac9505a':
  Always match camera orientation with device orientation regardless portrait lock.

10 years agoMerge "Always match camera orientation with device orientation regardless portrait...
Senpo Hu [Wed, 10 Sep 2014 00:22:10 +0000 (00:22 +0000)]
Merge "Always match camera orientation with device orientation regardless portrait lock." into ub-camera-glacier

10 years agoam 65c00136: Set video quality pref default values at startup.
Senpo Hu [Wed, 10 Sep 2014 00:21:39 +0000 (00:21 +0000)]
am 65c00136: Set video quality pref default values at startup.

* commit '65c00136cde07e050d05e3da61876199df90dd18':
  Set video quality pref default values at startup.

10 years agoSet video quality pref default values at startup.
Senpo Hu [Tue, 9 Sep 2014 20:51:25 +0000 (13:51 -0700)]
Set video quality pref default values at startup.

The problem of the old approach is the default values never got set
until switching on video module.

The caveat of the this CL is that the default value tweak is only applied
for Shamu. Rather than basing on device model string, detecting
CamcorderProfile capability is a better way to get this job done. However,
|CamcorderProfile.hasProfile| needs camera id info so I'd argue this CL
is good enough for the Shamu/L release.

Bug: 17060480
Change-Id: Ia53ff6aecad44fe7a32257fa1415163f167c09bf

10 years agoAlways match camera orientation with device orientation regardless
Senpo Hu [Mon, 8 Sep 2014 08:07:27 +0000 (01:07 -0700)]
Always match camera orientation with device orientation regardless
portrait lock.

Verified that this CL fixes the orientation issue for portrait/landscape
photos taken in PhotoModule with all configuration combinations such as
Camera API1/API2 devices, K/L devices, front/back camera.

Bug: 17360176
Change-Id: If84244726cf7e2ade470c231b8ac16e9b80366fe

10 years agoThis fixes Bitmap.createBitmap offset bug in L, not sure why.
Andy Huibers [Tue, 9 Sep 2014 19:52:29 +0000 (12:52 -0700)]
This fixes Bitmap.createBitmap offset bug in L, not sure why.

Bug: 17145703
Change-Id: I18a673a5cac4400a2d6e80a851b1fb12381dc995

10 years agoGranting read permission in the result intent for VIDEO_CAPTURE.
Nicolas Prevot [Tue, 9 Sep 2014 19:35:56 +0000 (20:35 +0100)]
Granting read permission in the result intent for VIDEO_CAPTURE.

BUG:17437266
Change-Id: I84d1a69a3d314a05a7e3b5c949c896700426644e

10 years agoDO NOT MERGE: Adjust for camera2 API changes
Eino-Ville Talvala [Mon, 8 Sep 2014 22:13:16 +0000 (15:13 -0700)]
DO NOT MERGE: Adjust for camera2 API changes

Add frameNumber to CaptureCallback#onCaptureStarted

Bug: 17421092
Change-Id: I6e66bd1abc2ecec4dd8346cf4313dc7261ffa26b

10 years agoam 767a1186: Merge "back to bigger HDR+ icons" into ub-camera-glacier
Spike Sprague [Tue, 9 Sep 2014 18:19:30 +0000 (18:19 +0000)]
am 767a1186: Merge "back to bigger HDR+ icons" into ub-camera-glacier

* commit '767a1186a1127f070785d50054a0e1a02975eb4a':
  back to bigger HDR+ icons

10 years agoMerge "back to bigger HDR+ icons" into ub-camera-glacier
Spike Sprague [Tue, 9 Sep 2014 18:14:13 +0000 (18:14 +0000)]
Merge "back to bigger HDR+ icons" into ub-camera-glacier

10 years agoback to bigger HDR+ icons
Spike Sprague [Tue, 9 Sep 2014 18:02:09 +0000 (11:02 -0700)]
back to bigger HDR+ icons

bug: 17304734
Change-Id: I9b2b22101003b2d13f386367245622d4e13c0309

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 9 Sep 2014 06:36:24 +0000 (23:36 -0700)]
Import translations. DO NOT MERGE

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

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 9 Sep 2014 06:35:45 +0000 (23:35 -0700)]
Import translations. DO NOT MERGE

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

10 years agoam f974ba71: Additional logging for CAPTURE intent handling
Alan Newberger [Mon, 8 Sep 2014 22:09:22 +0000 (22:09 +0000)]
am f974ba71: Additional logging for CAPTURE intent handling

* commit 'f974ba719a1255b6bda1b214842641fb5736a877':
  Additional logging for CAPTURE intent handling

10 years agoAdditional logging for CAPTURE intent handling
Alan Newberger [Mon, 8 Sep 2014 21:44:30 +0000 (14:44 -0700)]
Additional logging for CAPTURE intent handling

Adds verbose logging and some exception log warnings to help diagnose issues
in CAPTURE intents.

Bug: 17421140
Change-Id: Ib0afe4219418b1e7ee5ca4879e39a4448ec13cc0

10 years ago[try 2] resolved conflicts for merge of 6281a794 to ub-camera-haleakala
Andy Huibers [Mon, 8 Sep 2014 21:17:16 +0000 (14:17 -0700)]
[try 2] resolved conflicts for merge of 6281a794 to ub-camera-haleakala

Change-Id: Ie98a22f57af23c80e08e47c841e22fef02036799

10 years agoresolved conflicts for merge of 6281a794 to ub-camera-haleakala
Andy Huibers [Mon, 8 Sep 2014 21:08:33 +0000 (14:08 -0700)]
resolved conflicts for merge of 6281a794 to ub-camera-haleakala

Change-Id: Ie488ba4103bc69f5a03bff8ef9be23a93aec51f6

10 years agoMerge "In debug_ui mode, show CAF result state, length of AF scan, fps, for camera2...
Andy Huibers [Mon, 8 Sep 2014 20:53:28 +0000 (20:53 +0000)]
Merge "In debug_ui mode, show CAF result state, length of AF scan, fps, for camera2 API." into ub-camera-glacier

10 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

10 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
(cherry picked from commit 76215c98a9a11d87b5ce9d2b4198654c2b8bbddf)

10 years agoam 76215c98: (-s ours) DO NOT MERGE Update Camera2 to use latest APIs
Alan Newberger [Mon, 8 Sep 2014 19:04:06 +0000 (19:04 +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

10 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

10 years agoMerge "Enable more rapid zsl capture" into ub-camera-haleakala
Puneet Lall [Mon, 8 Sep 2014 18:21:48 +0000 (18:21 +0000)]
Merge "Enable more rapid zsl capture" into ub-camera-haleakala

10 years agoam 954b9b1c: Merge "wait for filmstrip bottom panel buttons to finish animating to...
Spike Sprague [Mon, 8 Sep 2014 17:41:46 +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

10 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

10 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: Ie64f9500fe4e8044797132e3762521f68b5bc80e

10 years agoam 13d07d0e: (-s ours) DO NOT MERGE Pipe context through to camera
Sascha Häberling [Sat, 6 Sep 2014 02:58:09 +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

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

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

10 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

10 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

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

* commit 'f6bf65e9442f2fb7042e37ec21bf1c6c4fbd9bb6':
  Pipe context through to camera

10 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

10 years agoEnable more rapid zsl capture
Puneet Lall [Sat, 6 Sep 2014 00:14:41 +0000 (17:14 -0700)]
Enable more rapid zsl capture

Change-Id: I0f036a60f2f5f53092e544e8ec4890bbfeb9e659

10 years agoMerge "Zsl, handle null CaptureResults, increase ring buffer size" into ub-camera...
Puneet Lall [Fri, 5 Sep 2014 23:40:25 +0000 (23:40 +0000)]
Merge "Zsl, handle null CaptureResults, increase ring buffer size" into ub-camera-haleakala

10 years agoMerge "DO NOT MERGE Revert "Update camera2 API usage"" into ub-camera-haleakala
Alan Newberger [Fri, 5 Sep 2014 23:32:35 +0000 (23:32 +0000)]
Merge "DO NOT MERGE Revert "Update camera2 API usage"" into ub-camera-haleakala

10 years agoam 9eb0eb55: (-s ours) Merge "DO NOT MERGE Revert "Update camera2 API usage"" into...
Alan Newberger [Fri, 5 Sep 2014 23:31:43 +0000 (23:31 +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"

10 years agoam 200d5f83: Merge "Close the camera when the async open callback runs after pause...
Alan Newberger [Fri, 5 Sep 2014 23:31:42 +0000 (23:31 +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

10 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
(cherry picked from commit 21fdb9db957973fa00777b65787db7e887fc070d)

10 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

10 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

10 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

10 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

10 years agoMerge "Implemented rotation of zsl images" into ub-camera-haleakala
Puneet Lall [Fri, 5 Sep 2014 23:00:07 +0000 (23:00 +0000)]
Merge "Implemented rotation of zsl images" into ub-camera-haleakala

10 years agoImplemented rotation of zsl images
Puneet Lall [Fri, 5 Sep 2014 17:38:39 +0000 (10:38 -0700)]
Implemented rotation of zsl images

Bug: 17370310
Change-Id: Ida437d817482d19224d7afd2f06b00960480bd1c

10 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

10 years agoZsl, handle null CaptureResults, increase ring buffer size
Puneet Lall [Fri, 5 Sep 2014 22:44:24 +0000 (15:44 -0700)]
Zsl, handle null CaptureResults, increase ring buffer size

Change-Id: I288b85eab04666718af61a07d0db8382ac4f72e2

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

* commit '82465c1c603d3d76bf8c7487779766d5ea38a5cd':
  Update camera2 API usage

10 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

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

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

10 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

10 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

10 years agoam dc0369f3: Merge "Load Gcam OneCamera in CaptureModule when it\'s also doing normal...
Sascha Haeberling [Thu, 4 Sep 2014 23:27:20 +0000 (23:27 +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.

10 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

10 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

10 years agoam eacf9460: Merge "remove stray bool resource for determining if OS is L or not...
Spike Sprague [Thu, 4 Sep 2014 22:07:57 +0000 (22:07 +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.