History log of /packages/apps/Camera2/src/com/android/camera/data/PanoramaMetadataLoader.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8e29072ca69229a25dc4a856e3635d131613f4ca 22-Jan-2015 Alan Newberger <alann@google.com> Reduce view add/removes when loading photos

Two fixes to reduce flicker when loading images. First, adjust
ViewItem instances in-place instead of creating new ViewItems
which included adding and removing views from the hierarchy.
It turned out we were doing an update for every photo due to
touching PanoramaMetadata and reporting back that metadata
was adjusted, whether or not a photo was a panorama. Now
that data is reported. New photo captures are essentially
added and removed from the view hierarchy three times before
this change, after an ImageView is added once, with its
contents changed as the photo is loaded.

More testing is needed but I cannot repro the elusive filmstrip
flicker with these changes.

Bug: 18977838
Bug: 17905863
Change-Id: I5a42c0baf87a8cef0ee4dbcf9f03d40715e6aa2d
/packages/apps/Camera2/src/com/android/camera/data/PanoramaMetadataLoader.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/PanoramaMetadataLoader.java
7190c6a9018e95ff0c49642442c7a069e16a6a7a 21-Feb-2014 Sascha Haeberling <haeberling@google.com> Maybe show release information before sharing certain data types.

Bug: 11984630

Change-Id: I22646291c50ae126ffa34ad451fc2969b566ecbc
/packages/apps/Camera2/src/com/android/camera/data/PanoramaMetadataLoader.java
8a2350a3d557465b53445685db0f9ac838cf90c5 17-Dec-2013 Angus Kong <shkong@google.com> Refactor the photosphere/refocus metadata loading.

1. Metadata added to allow for different attributes to describe LocalData.
2. Move the metadata loading process to image data loading.
3. LocalData.view() removed. The invocation of external viewer is moved back to
the activity.

bug:12197251

Change-Id: I496b018186f7a4b4818b976201703b966103a636
/packages/apps/Camera2/src/com/android/camera/data/PanoramaMetadataLoader.java
8e963a5a6016d246184ed65906f9d103e92b17e2 06-Aug-2013 Sascha Haeberling <haeberling@google.com> This removes all non-Camera stuff from Camera2.

Note: Camera2 is a clone of Gallery2 right now.
Note 2: I will bring .mk files back later.

Change-Id: Ida958654296f5ebaacb6bb0ff59d52a7c37ce6fc
/packages/apps/Camera2/src/com/android/camera/data/PanoramaMetadataLoader.java
f1f5186f7d3fd8bf35009d9e65a43914c664d82b 31-Jul-2013 Sascha Haeberling <haeberling@google.com> Adds back the PhotoSphere View icon in filmstrip.

This also exercises the "leave a place cleaner than you found it" rule
by cleaning up stuff:

- Formatting according to the Android format rules
- Removing unused code
- Putting braces where they belong.

Change-Id: Ie1dbfe9195bf3e20d9624d7ae85eeba16df8f931
/packages/apps/Camera2/src/com/android/camera/data/PanoramaMetadataLoader.java