History log of /packages/apps/Camera2/src/com/android/camera/data/VideoItem.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
689348be49bf1e5e5f705d55915f87292d9506ed 23-Mar-2015 Paul Rohde <codelogic@google.com> Clamp pixels and bounds for filmstrip images.

This change does a more extensive set of checks and constraints
based on the maximum area (to prevent jank) and adds clamping for
the bounds of the image based on the maximum supported texture
size of the device to prevent blank frames.

Bug: 19871547
Change-Id: Ib33e6e591638fb4dfefb60ddea488818e985495d
/packages/apps/Camera2/src/com/android/camera/data/VideoItem.java
6d3c6c5208314e2a120ae6b8d4a99a9f925b0f20 17-Mar-2015 Sascha Haeberling <haeberling@google.com> Fix bug where return value for thumbnail can be null.

Bug: 19779596

Change-Id: I4ccf39b0e19956c6873868bc02be836b547fa1c5
/packages/apps/Camera2/src/com/android/camera/data/VideoItem.java
adb9d0d9af9bc969a38cac0f26d11cdc544cdf40 06-Mar-2015 Alan Newberger <alann@google.com> Fix units in video duration calculation

Convert milliseconds coming out of media table, to seconds
for details formatting.

Bug: 19305203
Change-Id: I4fafae9b3d09d23e60906c2fb3c3f305faee1339
/packages/apps/Camera2/src/com/android/camera/data/VideoItem.java
b6a8810b7a5ac0df1e19efd26628c01bcb32b97b 19-Feb-2015 Paul Rohde <codelogic@google.com> Remove CanSwipeInFullScreen attribute.

This fixes the swipe guesture problem by removing the mostly
unused canSwipeInFullScreen attribute on filmstrip items and
checking existing usages to ensure they still work.

Bug: 18948437

Change-Id: I7d8c9fba4b0cf3db6fc3d60afe37d527c0732318
/packages/apps/Camera2/src/com/android/camera/data/VideoItem.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/VideoItem.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/VideoItem.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/VideoItem.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/VideoItem.java