0ec045201975bc12ac12007615c099c5e98d202a |
|
06-May-2015 |
Alan Newberger <alann@google.com> |
Refresh metadata for every filmstrip item update. Current filmstrip item updates: 1. call CameraFilmstripDataAdapter.updateItemAt which then calls FilmstripView.updateViewItem 2. FilmstripView.updateViewItem updates the view then calls CameraActivity.updateUiByData 3. CameraActivity.updateUiByData calls CameraFilmstripDataAdapter.updateMetadataAt 4. MetadataUpdateTask calls FilmstripView.updateViewItem again if metadata was loaded The double updateViewItems disrupts SessionItem -> PhotoItem transitions, and for some reason for LB causes the second updateViewItem to only request tiny thumbnails. For a very targeted fix, we instead make step 1 do the metadata load, and then updateViewItem is only called once. The code in step 3 still executes but is a no-op since metadata was already loaded in step one. Tested with Camera mode, Pano/PhotoSphere, LB, redoing an LB, calling out to editor and changing a photo, and taking a video. Bug: 20862631 Change-Id: Ib8b112c2ef1b5a364a5569d1391ef359d1b5fb1a
/packages/apps/Camera2/src/com/android/camera/data/CameraFilmstripDataAdapter.java
|
65bf3ddf0b0377ea9fb0e78c3e82a4bba27b531a |
|
10-Mar-2015 |
Alan Newberger <alann@google.com> |
Workaround for future GPS timestamps Some images are known to have incorrect GPS timestamps, which are used by MediaStore as creation date. If future creation dates are encountered, fall back to modification date which is not known to have bugs. Bug: 19565464 Change-Id: I35b5e43c9a3de1f05d9a2f405502a2bb2bf9adde
/packages/apps/Camera2/src/com/android/camera/data/CameraFilmstripDataAdapter.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/CameraFilmstripDataAdapter.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/CameraFilmstripDataAdapter.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/CameraFilmstripDataAdapter.java
|
71dd56f86579b953bf13ee2617989c8ff5042eda |
|
22-Jan-2015 |
Alan Newberger <alann@google.com> |
Add typing to cursor item factories Add a bit of generic typing to allow clients to directly use PhotoItem or VideoItem without casting, particularly in CameraActivity.onSessionDone where explicit calls are made to the PhotoItem factory. Bug: 18977838 Change-Id: Ib5ecff2342d73ec3ce817a5f7e7fe42733ed8a71
/packages/apps/Camera2/src/com/android/camera/data/CameraFilmstripDataAdapter.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/CameraFilmstripDataAdapter.java
|