da6f3accc02c942b1f2dd1c248edb6a0bd66ee10 |
|
25-Sep-2014 |
Alan Newberger <alann@google.com> |
Skip disk caching for session data Bring back full color depth but don't bother with a disk cache for temporary session images, since they will go away and be replaced by mediastore entries anyway. Bug: 17642071 Change-Id: I1a8483b71d69967033074fc4d8c69c9dfb17651e
/packages/apps/Camera2/src/com/android/camera/data/LocalSessionData.java
|
728c6fe4e719976ab4bd7a7937c6b25548418041 |
|
25-Sep-2014 |
Alan Newberger <alann@google.com> |
Revert temporary session images in filmstrip to RGB_565 A simple way to avoid performance issues for now until we get around the significant load issues seen in writing ARGB_8888 to disk cache. Bug: 17642071 Change-Id: I6017980fce6e633b52dce93f3f46931e5bcc3d9c
/packages/apps/Camera2/src/com/android/camera/data/LocalSessionData.java
|
8aa154952b2d32776759a83dd61437313069e1c8 |
|
07-Jul-2014 |
Sam Judd <judds@google.com> |
Ensure photosphere/pano thumbs are always shown. Bug: 16061224 Change-Id: I93f1dd8a094cd4f00d06c02c13f51ef8545aa26c
/packages/apps/Camera2/src/com/android/camera/data/LocalSessionData.java
|
632eaafda53eb59b15c81ddeaf2080e6d8515f59 |
|
24-Jun-2014 |
Sam Judd <judds@google.com> |
Pull Glide forward. Bug: 15669246 Change-Id: Icdcc5cb7c3ec2bbf5b970ee95ea121e10ac341d7
/packages/apps/Camera2/src/com/android/camera/data/LocalSessionData.java
|
c8924b2ec3788ca6d0f0af5ca749e5fe7be125ce |
|
21-May-2014 |
Andy Huibers <andyhuibers@google.com> |
Add maximum zoom level and time to view events. Bug: 15646701 Change-Id: I7c1de761fc10486b417a25ebc8469cebaf840a1c
/packages/apps/Camera2/src/com/android/camera/data/LocalSessionData.java
|
a93ba0dbd8e4000f3643567809a4a3fac554fd3c |
|
21-May-2014 |
Spike Sprague <spikuru@google.com> |
added Filmstrip viewtype tags for session, secure album placeholder, and camera preview bug: 15136020 Change-Id: Ib9d4c93317a1c1603c6368e1f8bb03438922f4a8
/packages/apps/Camera2/src/com/android/camera/data/LocalSessionData.java
|
d19b9b512d0dccd7faa3b7b8206b5d9117175107 |
|
16-May-2014 |
Angus Kong <shkong@google.com> |
Update session data properly. bug:14969759 Change-Id: I39ba063e23482a03cf108931b6c686755dbec91e
/packages/apps/Camera2/src/com/android/camera/data/LocalSessionData.java
|
a293597032795e3f245e9f0d5b20701375904e04 |
|
27-Mar-2014 |
Alan Newberger <alann@google.com> |
resolved conflicts for merge of 1cfa3dd7 to ub-camera-everglades Change-Id: I82bd27a28ad5df4dda149e97bddc317ffe6914d0
|
1cfa3dd77d3828985d37beffbfad9388af054757 |
|
26-Mar-2014 |
Alan Newberger <alann@google.com> |
Add content description for filmstrip images, video button This CL corrects a missing content description for video icon in filmstrip. It also adds content description for images so that when a user in TalkBack highlights an image, it describes its timestamp. Bug: 13644357 Bug: 13589550 Change-Id: I029b141cee4ddc325a5e5569ef10de600734b0f4
/packages/apps/Camera2/src/com/android/camera/data/LocalSessionData.java
|
4021c896985d9ba43db0199f259ce4b8bfc0dc88 |
|
17-Mar-2014 |
Sam Judd <judds@google.com> |
Decreases jank/speeds image loading in filmstrip. Adds Glide, an image loading library, to handle image caching and bitmap reuse. This is working, but there are still some significant todos: 1. We're loading larger images than we need. 2. We're not aggressively cancelling loads so if you scroll far it takes longer than necessary for the image to appear. 3. Video thumbnail loading is slow (will require changes to Glide to improve). Change-Id: I01387429068451b923509f78c6d5f8ce115e74ad
/packages/apps/Camera2/src/com/android/camera/data/LocalSessionData.java
|
43bf03f6e7f9a71b7553e7282b5799798997caf7 |
|
17-Mar-2014 |
Sam Judd <judds@google.com> |
Allow views to be reused in filmstrip. Change-Id: Ic2b8bbc251c9b19e658412ac3885a0cb83680809
/packages/apps/Camera2/src/com/android/camera/data/LocalSessionData.java
|
571a8c389798bd3f01429f6be34cd3e606ab34df |
|
13-Mar-2014 |
Angus Kong <shkong@google.com> |
Refactor data model. bug:13176987 bug:13410244 This refactor is to make the relationship between Controller, Model and View clearer. Now controller (CameraActivity in our case) takes the full responsibility to add/remove data. The model (CameraDataAdapter, LocalData and its subclasses) is only responsible to store the data with correct types and data structures. The view (Filmstrip) is a totally passive component who takes care of how the data is presented and define how the user can interactive with it. The session API should not be exposed to the filmstrip MVC architecture and instead we should make them as independent as possible. The controller should maintain the logics of how to interact between these components. Major changes in this CL: 1. ImageData.getContentUri() -> getUri(). The Uri is no longer a content Uri. 2. LocalDataAdapter: addNewSession() and finishSession() removed. We don't assume the session concept in data adapters anymore. 3. LocalDataAdapter: addPhotoData() removed. 4. LocalDataAdapter: addData() added (original private in CameraDataAdapter) 5. LocalDataAdapter.Listener: onNewDataAdded() removed (since it's actually triggered by the caller who is adding the data.) Session API change: CaptureSession.onPreviewUpdated() is changed to onPreviewAvailable. The module now should decide the timing to notify the availability of the preview through it. CaptureSession.updatePreview(String path) is added. Not all the module can have a preview when the session is created. Panorama/PhotoSphere creates the preview after a background processing. The preview is stored as a file and should be update to the internal preview storage through CaptureSession.updatePreview(). Change-Id: Id73c8f289bd4b3c13149da1b72c99fc6bab5849e
/packages/apps/Camera2/src/com/android/camera/data/LocalSessionData.java
|
aeed91f3777d08a4160d68ddfc2626808a08b92d |
|
13-Mar-2014 |
Sam Judd <judds@google.com> |
Show photos added to camera folder externally in filmstrip promptly. Bug: 13320658 Change-Id: I2f605674fdd23e31bc7567b28ba098fff59802c0
/packages/apps/Camera2/src/com/android/camera/data/LocalSessionData.java
|
455ba5a146484d2af4a4fb44eb50ad294834dfa0 |
|
14-Feb-2014 |
Seth Raphael <magicseth@google.com> |
Hold in-progress sessions in mem, not media store Bug: 12457236 Change-Id: I88f7c3a822010744881b8be966adbcf2774a8115
/packages/apps/Camera2/src/com/android/camera/data/LocalSessionData.java
|