History log of /packages/apps/Camera2/src/com/android/camera/data/SessionItem.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/data/SessionItem.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/data/SessionItem.java
444bd470a7e1c7475798b89b567f0c34b4b42d92 10-Feb-2015 Sascha Haeberling <haeberling@google.com> Fish crash due to null session bitmap

Bug: 19310525

Change-Id: I3701f18ba4080f2414bdb84141d8bf9597d9ab3b
/packages/apps/Camera2/src/com/android/camera/data/SessionItem.java
8a8534566eed80d85b472adfe25d5c21822ffcf2 10-Feb-2015 Sascha Haeberling <haeberling@google.com> Fix capture indicators not showing caused by refactoring last month.

Bug: 19310525

This was caused by http://ag/607738 which refactored the data classes.

Change-Id: Idbbaf1b40c9aaf5ea241408125fa97bb2e6c36b2
/packages/apps/Camera2/src/com/android/camera/data/SessionItem.java
77d9f023e76816e5da7bd067ad46cc0e9c98623f 03-Feb-2015 Paul Rohde <codelogic@google.com> Fix filmstrip jank on N4.

Bug: 19164291
Bug: 19220382
Bug: 19020507

Change-Id: Id1c2011b29b1cee206593fb395d9b4a4c89e71ab
/packages/apps/Camera2/src/com/android/camera/data/SessionItem.java
51cafa0a35546a42c573357aa7a031a79cf9ba1b 23-Jan-2015 Alan Newberger <alann@google.com> Fix Video thumbnail filmstrip size

Video size comes in asynchronously, and after refactor wasn't
wired up to query the metadata instead of the initial mediastore
size. This CL hides FilmstripItemData dimensions behind FilmstripItem
so that VideoItem can override and provide a Size via its existing
methods that use metadata if present.

Bug: 19000322

Change-Id: Ifddd6c90169c80d9fd69a1549e1086d5f1abfd85
/packages/apps/Camera2/src/com/android/camera/data/SessionItem.java
abf1e994d236a65180eecfcb6997003ab12795df 21-Jan-2015 Sascha Haeberling <haeberling@google.com> CaptureSession can now be started with an empty placeholder.

Bug: 19014774
Bug: 18853119
Bug: 18979823

Being able to start with an empty placeholder and then updating that
placeholder allows us to add a visual entry to the filmstrip early on.

This avoid jarring effects where after taking many apid fire shots and
going to filmstrip, the entries are appearing one after the other.
This was caused by sessions only getting started when the thumbnail was
produced, which can take a while when multiple shots are in the
encoding pipeline.

Also contains changes that make CaptureSession testable.

Change-Id: I3d44704099be81524f8e165f3f09de6eebfc147b
/packages/apps/Camera2/src/com/android/camera/data/SessionItem.java
005bb2f26e73c4c9daad41b615f6dd414396f625 23-Jan-2015 Alan Newberger <alann@google.com> Remove placeholders from filmstrip methods, add PhotoItem/SessionItem integration

In this CL we add the ability for a PhotoItem to use a Session bitmap as a
placeholder. We also move general placeholder management out of the method
call stack, moving a single static initialization in CameraActivity into a
field in FilmstripItemBase for use by FilmstripItems.

Bug: 18977838
Change-Id: Ic1b0dc11fd0e4c85b9b310235e6d3122cf1543ce
/packages/apps/Camera2/src/com/android/camera/data/SessionItem.java
8ee16b8a323ffa20e6fb1270d498ec445f64defc 18-Dec-2014 Paul Rohde <codelogic@google.com> Refactor the filmstrip backing data.

- 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
/packages/apps/Camera2/src/com/android/camera/data/SessionItem.java