summaryrefslogtreecommitdiffstats
path: root/src_pd
Commit message (Collapse)AuthorAgeFilesLines
* Use Google Feedback CrashBuilder API to make reports easier to consume.Sascha Haeberling2015-05-291-1/+1
| | | | | | | | | | | | | | | | Manual Cherry-Pick Part 1 of http://ag/699672 Currently, Feedback reports don't include a stacktrace. You have to download a system log file to find it. This tweak allows us to see the stacktrace on the Report page itself. Example old report: https://feedback.corp.google.com/product/102042/crash?lView=rd&lCategory=8590053278&lRSort=1&lROrder=2&lRFilter=1&lReport=5517267704 Example new report: https://feedback.corp.google.com/product/102042/crash?lView=rd&lCategory=8590053278&lRSort=1&lROrder=2&lRFilter=1&lReport=5517601160 Change-Id: If5f0ed6c69e96fe5f3661af913ae1525f8594b75
* Add logging for when a session knowingly failed.Sascha Haeberling2015-05-271-0/+4
| | | | | | Bug: 21169512 Change-Id: Ic1dc499785a97f7344e517f555fa5f7b3a1c7ea9
* Log capture session canceled events.Paul Rohde2015-05-271-0/+4
| | | | | | | | | | This will handle the edgecase where capture sessions may be canceled inbetween the time the button is pressed and the capture actually starts so that it is possible to subtract these cases out of the unsaved image data. Bug: 21169512 Change-Id: Ie226d81bb10acd90dc1297230d4b024b7cd2d4d6
* Log capture started and bytes on diskPaul Rohde2015-05-201-0/+36
| | | | Change-Id: I3a62aed33f55b396b4940a7bc9e5da5131616890
* Dynamic configuration management for Camera2Alan Newberger2015-05-151-2/+83
| | | | | | | | Ensure Camera2 app selects the appropriate OneCamera per feature configuration. Bug: 21204365 Change-Id: I47671a91c89f20e2add2f1f3889d4411341fa1dc
* Avoid Camera2 Contanimation in Kit-Kat, Part 2I-Jong Lin2015-04-061-2/+2
| | | | | | | | | Bug: 383307 Removed the run-time references to Camera2 API structures within the face-detection instrumentation code. Change-Id: Ib2e6acb74446c5abbbb572e28d8cc06f83f01a8f
* Merge "Report jank for simple capture module cameras." into ub-camera-haleakalaPaul Rohde2015-03-311-0/+3
|\
| * Report jank for simple capture module cameras.Paul Rohde2015-03-311-0/+3
| | | | | | | | | | | | | | | | | | This clarifies the jank statistics by explicitly including a report if the jank detector is installed. Bug: 19987252 Change-Id: Ie8e4b9826eb0e3152d7f8358728019d1a81e787b
* | Fix build by adding missing imports.Sascha Haeberling2015-03-301-0/+5
| | | | | | | | Change-Id: Ic98b815cd9aa956d1d36db70f85d8bc29d5b8cf6
* | Merge "Add support for new independent Lens Blur quality setting." into ↵Sascha Haeberling2015-03-301-0/+7
|\ \ | |/ |/| | | ub-camera-haleakala
| * Add support for new independent Lens Blur quality setting.Sascha Haeberling2015-03-301-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 19424875 This CL and its sibling do two things: - Bring back the Lens Blur setting - Populate the setting with up to three native picture resolutions. - If needed, choose the default as being the second highest resolution. (The list is not a full list, but filterd by what we show to the user). - Make sure that after a new install a the default is set. - Extra check in RefocusModule to make sure the default is set if old setting is not valid. This is important for upgrades. - To make the size logic re-usable, I wrapped it into a PictureSizeLoader which also makes the CameraSettingsActivity a bit easier to read. Change-Id: I53fcac8304f19be4f2c5ac053363f6805b933d89
* | Collect and log jank statistics in the Camera.Paul Rohde2015-03-302-0/+7
|/ | | | | | | | | | | This detects and logs sequences of camera timestamps where the delta between the the current and last frame exceeds the previous delta by a percentage threshold. This should only occur when there are visible janks in the camera preview. Bug: 19987252 Change-Id: Icced48be8232bba625aa501b2b1f5c111dbb5573
* Fix build error. Mirror API change to Camera2.Sascha Haeberling2015-03-251-1/+2
| | | | | | Bug: 19899007 Change-Id: I51d3e02b42a0bff1bea85c6cd910192e6c239293
* Add Faces and Lens Dist. info to photoCaptureDoneI-Jong Lin2015-03-231-2/+6
| | | | | | | | | Added the plumbing for getting values off of the TotalCaptureResult and putting them into the photoCaptureDoneEvent. Bug: 19805467 Change-Id: Id0d16623ffe7eef78b23fd15a4edfeeca5a66eaa
* Add processing time to capture done event for CaptureModule captures.Andy Huibers2015-03-171-1/+2
| | | | | | Bug: 18913439 Bug: 19035503 Change-Id: Ib3768d93a2240ccfbf5f5a750b66939c6930ed0e
* Add EXIF data to images processed via software JPEG encoder.Spike Sprague2015-03-101-1/+2
| | | | | | bug: 16961102 Change-Id: I3df48a74fedbba6ca5540bf095f5e5eaf93db3ab
* Merge "Add black-list for resolutions." into ub-camera-haleakalaSascha Haeberling2015-03-061-0/+8
|\
| * Add black-list for resolutions.Sascha Haeberling2015-03-061-0/+8
| | | | | | | | | | | | Bug: 19611738 Change-Id: I5147bcd925c28e3db0e1e50c8a013cc6750fb47e
* | Merge " Change interface of BurstMediaItem to provide filepath." into ↵Shashi Shekhar2015-03-061-1/+3
|\ \ | |/ |/| | | ub-camera-haleakala
| * Change interface of BurstMediaItem to provide filepath.Shashi Shekhar2015-03-061-1/+3
| | | | | | | | | | | | | | | | | | | | - Instead of passing a byte array, use a file path for the burst media item. - Change the save operation in Stack saver to simply rename the image. - The burst controller is now responsible for managing captured images and implementations should free the captured images as soon as possible. Change-Id: I6762972c68865d6ab15bd6fa20b60fb275f103f1
* | Update stats.Andy Huibers2015-03-061-1/+3
| | | | | | | | | | Bug: 18913439 Change-Id: Iadca6b527c76b55504ce21e9f37f7c29dbb71c57
* | Fix the Camera2 buildPuneet Lall2015-03-051-1/+3
| | | | | | | | Change-Id: I8747231424708aa21df1367f912cfe3ed622c04c
* | Decouple OneCameraManager and CameraActivity.Senpo Hu2015-03-041-9/+14
|/ | | | | | | | | | | | | | 1. To allow other activity (such as SettingsActivity) to create OneCameraManager. 2. Also simplify OneCameraManager.open() and OneCameraCreator.create() interface by introducing OneCameraCaptureSetting. From time to time, we always need to change these interfaces if we want to pass in more things to OneCamera. This solves the headache and also removes the dependency between OneCameraCreator and SettingsManager. Bug: 18523154 Change-Id: Ifb9077bb046740c600dab3b3b369a0f422dbbbeb
* Fix build.Andy Huibers2015-02-261-1/+1
| | | | | Bug: 19534046 Change-Id: I95443c855527c45224a8343621a66c852873e8a2
* Allow number of Images in ImageReader to be variable.Andy Huibers2015-02-261-0/+4
| | | | | | | Goes with ag/644111. Bug: 19534046 Change-Id: I7c54de56cd97798f0c325260d6215e1ad8834348
* Adding reporting functionality using Feedback API for PhotoModule and ↵zafir2015-02-251-1/+1
| | | | | | | CaptureModule when captured pictures don't save to the device. Bug: 19231841 Change-Id: I7d66db1e4c273dc7ec082f40a80b349bd91a7e8b
* Log API2 preview repeat failures.Andy Huibers2015-02-241-0/+1
| | | | | Bug: 19061883 Change-Id: I45a361169e27bc22b5fe36f5d54810fe2abcf6e5
* Centralize logic for Camera API feature determination.Sascha Haeberling2015-02-203-4/+25
| | | | | | | | | | | | | Bug: 19179276 This captures camera capabilities in a centralized class and allows them to be overridden by GServices in the field or using adb. Since this is not it's own class it would be trivial to create another instance for testing and pass that into CameraActivity or even to change these values using a UI before the actual Activity is started. Change-Id: I74262c8467f631c7b5e42b02d269d5f401d4e9e7
* Port burst to use FrameServer.Shashi Shekhar2015-02-112-25/+15
| | | | | | | | | | | | | | | Port burst to frameserver - simplifies burst interfaces - removes burst methods from OneCamera. - locks orientation when burst is running. - Deletes most old code for burst integration. - Removes frame distributor preview forwarding, instead frames are streamed using a surface texture the Surface for which is passed as a output target to the create capture session. - Deletes FrameDistributor, now the low-res frames are streamed to a new surface specifically setup for burst. Change-Id: I50f2955bb48610a7e284f9609cd70b8e4e1f1059
* Implemented Report functionality using GMS Core Feedback API. Implemented ↵zafir2015-02-031-2/+7
| | | | | | | stubs for Camera2. Bug: 18188247 Change-Id: Ic47bf432dca326bb454d0e4408b6b58f645a3fa4
* Image Backend Integration w/ Simple CameraI-Jong Lin2015-01-221-4/+6
| | | | | | | | | | | | | Wiring for cameras that only deliver compressed JPEG artifacts. This CL was tested by enabling it on the Nexus 5. Currently, the code in this CL is NOT exposed in any known Nexus Camera model. The two unexposed bugs are as follows: an camera initialization bug on Nexus 4, and a cross-device functional issue with the SimpleCameraOneFactory object in that it doesn't request a JPEG compression artifact from the HAL with zero orientation. Bug: 18908116 Change-Id: If7080c4e8e52a329fb9a6fed52f7c31541758afb
* Fix camera2 LogHelper signature mismatch.Paul Rohde2015-01-221-5/+7
| | | | Change-Id: Ibb37baad498bfebbab9f0451af4d5a95ac45dabe
* Move stats to new package.Andy Huibers2015-01-162-2/+2
| | | | Change-Id: Idfab1a24c91ff4c96515f3520283c7a0512d0514
* Change ImageSaver interface to support processing bursts and thumbnailsPuneet Lall2015-01-131-2/+1
| | | | | | Bug: 18908116 Change-Id: I14863011de5c3a575bfb54758824ccfaa04cf200
* Merge "Refactor the filmstrip backing data." into ub-camera-haleakalaPaul Rohde2015-01-081-2/+2
|\
| * Refactor the filmstrip backing data.Paul Rohde2015-01-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | Instantiate a ImageSaver.Builder in CaptureModule.Senpo Hu2015-01-071-1/+3
|/ | | | | | | | | 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
* Refactor camera factories to reduce code duplicationPuneet Lall2015-01-061-1/+2
| | | | Change-Id: I5f5c899f595dbbaa9fa181c5caa092d4bad69f07
* Refactor the interface of CaptureModule to Burst to allow disabling.Sascha Haeberling2014-12-191-1/+1
| | | | Change-Id: I87164c0cd8961ad929a63ff34248a12690f7d4d1
* Hook burst controller to the shutter button long press.Shashi Shekhar2014-11-191-0/+63
| | | | | | | | | | | | | | | | | | | Hooks up the shutter button long press to start the burst. Introduces a BurstManager to interact with burst. Provides an implementation of BurstManager that listens to burst and saves results when burst is complete. The burst eviction handler is now installed on the ring buffer on shutter button press and uninstalled on shutter button release. The ring buffer is cleared before starting and after completion of the burst. Also provides a stub implementation of the BurstController that has a static method which controls if burst is enabled or not. Bug: 18332704 Change-Id: I1098937bf348af7acbf55da1a5eeb423c30fb901
* Fix the build break due to ag/567355.Senpo Hu2014-10-141-0/+2
| | | | Change-Id: I3f8b657bea9fdd22287115230709dda0a26b8ae4
* Log camera exception via UsageStatistics.Senpo Hu2014-10-141-1/+2
| | | | Change-Id: I2b80338dd489ece87d94e20a303c5e43e972c3b0
* Add verbose logging for os/apk debug buildsAlan Newberger2014-10-101-1/+5
| | | | | | | | Relax VERBOSE screening so that by default, we log more when not in a release configuration. Bug: 17950234 Change-Id: I30250974456607b4fb64c15d6ecfa288ceb2f133
* DO NOT MERGE Pipe context through to cameraSascha Häberling2014-09-061-1/+2
| | | | | | | | | | 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
* Revert "Pipe context through to camera"Sascha Häberling2014-09-061-2/+1
| | | | | | | | 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
* Pipe context through to cameraSascha Haeberling2014-09-051-1/+2
| | | | | | | | | | 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
* Add simple sound player to be used in Camera implementations.Sascha Haeberling2014-08-271-1/+2
| | | | | | Bug: 17205355 Change-Id: I04c4bf1a692c7a4555eafea794737e41a8fc342c
* Remove FeedbackHelperAlan Newberger2014-08-271-34/+0
| | | | | | | | ag/393130 has comments pointing out that startFeedback has a leak. We don't use it anymore after Help library integration, so just remove it. Bug: 17302992 Change-Id: I519a2b0eb7a0ce06d6fcdcbfa2c851837e9a6579
* Enable switching within CaptureModule to HDR+ and back.Sascha Haeberling2014-08-221-1/+2
| | | | | | Bug: 16945820 Change-Id: If92371129c5bf2a78b7623d745a8b86d218d32e1
* filmstrip actionbar tweaksSpike Sprague2014-08-221-2/+17
| | | | | bug: 17114274 Change-Id: I0e9b3dd37325d39f5a16d81cbfaf71b98baf7510