History log of /packages/apps/Camera2/src/com/android/camera/session/CaptureSessionImpl.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
dad39b12816f05468476804b7caf3ef39a4aa682 28-May-2015 Sascha Haeberling <haeberling@google.com> Add logging for when a session knowingly failed.

Bug: 21169512

Change-Id: Ic1dc499785a97f7344e517f555fa5f7b3a1c7ea9
/packages/apps/Camera2/src/com/android/camera/session/CaptureSessionImpl.java
14d92c346e1890cf3eeb0fb9c846d834e2c59179 28-May-2015 Paul Rohde <codelogic@google.com> Merge "Log capture session canceled events." into ub-camera-haleakala
646e84f85a3f463ce094ad5a9caca261277f0d0e 28-May-2015 Paul Rohde <codelogic@google.com> Log capture session canceled events.

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
/packages/apps/Camera2/src/com/android/camera/session/CaptureSessionImpl.java
dae7a41623e04e8d583dfd636e3f5a5ae0e245e6 20-May-2015 Sascha Haeberling <haeberling@google.com> Don't attempt to update thumbnail if session is finished.

Bug: 21167342

Change-Id: If2e4db523aa66e82809d30aa35fb9a30d124d9df
/packages/apps/Camera2/src/com/android/camera/session/CaptureSessionImpl.java
231b1c0679892e431bac9fe4461d5fb235e362b1 16-May-2015 Paul Rohde <codelogic@google.com> Log capture started and bytes on disk

Change-Id: I3a62aed33f55b396b4940a7bc9e5da5131616890
/packages/apps/Camera2/src/com/android/camera/session/CaptureSessionImpl.java
9c6f9b8085c2752758e0f5633958fd17cfc9307e 13-Apr-2015 Sascha Haeberling <haeberling@google.com> Add proper support for canceling sessions.

Bug: 19384186

Change-Id: I45b0262947dcd4257d54e706f3cffc69b6bd4bc9
/packages/apps/Camera2/src/com/android/camera/session/CaptureSessionImpl.java
37036186326fb68c27063f97305405d3667a5eb3 25-Mar-2015 Sascha Haeberling <haeberling@google.com> Change CaptureSession.saveAndFinish to return a future for the URI.

Bug: 19665531

Most callers of saveAndFinish never provided the callback. In addition
it's unclear on what thread the callback is called. This cleans this up
a bit and moves the responsibility to the caller to decide on which
thread the URI should be received. Callers that don't care don't have to
do anything.

Also fixes a bug where we wouldn't even supply a URI for when there was
no placeholder.

Change-Id: I1a186b470d2cca8f34a674e9eb5c533fc01a4409
/packages/apps/Camera2/src/com/android/camera/session/CaptureSessionImpl.java
976bba4cfffb0089d4b7c61e16b90f506dbf1a2b 20-Mar-2015 Sascha Haeberling <haeberling@google.com> Rename CaptureSession#finalize to not collide with Object#finalize.

Bug: 19855781

Change-Id: Ie32024a9d2b7c04a27cc1ff7eee62df0e6857031
/packages/apps/Camera2/src/com/android/camera/session/CaptureSessionImpl.java
e7c53cc907f5bb40c8d112830d12ac494e4c68c5 12-Mar-2015 I-Jong Lin <ijonglin@google.com> Add PhotoCaptureEvent to Capture Module

Adds a CaptureSession collector class so that
we can combine stats information from both the
CaptureModule and ImageBackend to create a
complete PhotoCaptureDone event.

Bug: 19035503
Change-Id: Ide5f708c5f3efb710fa704f3f30c52ac7a8c3fe4
/packages/apps/Camera2/src/com/android/camera/session/CaptureSessionImpl.java
0460ef28c6970d646260584b7df0b2b3157a67ee 07-Mar-2015 Sascha Haeberling <haeberling@google.com> CaptureSession passes on message IDs instead of strings.

Bug: 18867164

Change-Id: Ie601a0fbaf64873c56c6a9b2767a2fa6a04a11d9
/packages/apps/Camera2/src/com/android/camera/session/CaptureSessionImpl.java
698e271d2b263778bfa73d1e67d6e2cd2783c89e 04-Mar-2015 zafir <zafir@google.com> Added more error handling for camera access and picture storage issues.

Implemented onFailure() method in the OpenCallback interface and
onPictureTakingFailed() in the PictureCallback interface.
OnFailure() routes through showErrorAndFinish() in the AppController.

Bug: 19452391

Change-Id: I3c19a274cc7664f7d1834899a486c57d0585dc9a
/packages/apps/Camera2/src/com/android/camera/session/CaptureSessionImpl.java
734122e8fe6c621a8510043839f05a0adff4c3a4 06-Feb-2015 zafir <zafir@google.com> Adding reporting functionality using Feedback API for PhotoModule and CaptureModule when captured pictures don't save to the device.

Bug: 19231841
Change-Id: I7d66db1e4c273dc7ec082f40a80b349bd91a7e8b
/packages/apps/Camera2/src/com/android/camera/session/CaptureSessionImpl.java
995083b53be47e1e27133e403da0b63a03d07ea7 20-Feb-2015 Alan Newberger <alann@google.com> Reduce memory footprint of session bitmap cache.

Convert storage bitmap cache to an LRU cache to have a fixed
upper bound on usage. Evict bitmaps after a session is complete.

Bug: 19124117
Change-Id: I4a5dd9f15c3b986601c4a92477edf9346f190de1
/packages/apps/Camera2/src/com/android/camera/session/CaptureSessionImpl.java
f0ff1a9aa44d04f680af7cec8b97c3b01d3e76bd 18-Feb-2015 Sascha Haeberling <haeberling@google.com> Refactors the CaptureSession API by splitting out notifier interface.

This will remove the need to pass in an *Impl instead of an interface
and will therefore make the capture intent refactor cleaner as well.

Change-Id: I4d3b272e9cde1548c8ef1ad235a31bf420fe4f74
/packages/apps/Camera2/src/com/android/camera/session/CaptureSessionImpl.java
636bce5ed9771df424a5ca46586648a11018179b 14-Feb-2015 Sascha Haeberling <haeberling@google.com> Allow for the thumbnail to be updated and refreshed.

Bug: 19325176

Change-Id: Icc0f08b4c8b20e1b6d3e66fa420efea9e24faf73
/packages/apps/Camera2/src/com/android/camera/session/CaptureSessionImpl.java
6dd5840e86bffecba8a7f52327b9c1085caeb7d2 10-Feb-2015 Sascha Haeberling <haeberling@google.com> Route all thumbnail updates through CaptureSession

Bug: 19326495
Bug: 19310525

This removes the thumbnail ready callback that was hooked directly into
the ImageBackend from the CaptureModule before since it's now
unnecessary.

Client of CaptureSession can no optionally specify whether the updated
thumbnail is to be used to update the capture indicator. Default is
'yes' so that Lens Blur, Photo Sphere and HDR+ don't need to change.

Change-Id: I94adb50f875ccee214492f03f00ed2a67d400da1
/packages/apps/Camera2/src/com/android/camera/session/CaptureSessionImpl.java
b62fa4716df6bcc526f575006822e06dd8ea9b83 03-Feb-2015 Sascha Haeberling <haeberling@google.com> Move CaptureSession into it's own file and clean up interface.

Change-Id: Iaca24e22b541aec898cdf1d3246c98ed72cd85ca
/packages/apps/Camera2/src/com/android/camera/session/CaptureSessionImpl.java