2bca210e5fc8a77685775ffb403096167b017dce |
|
12-Mar-2014 |
Angus Kong <shkong@google.com> |
Use debug.Log instead of android.util.Log. see http://ag/438423, merge conflicts solved. 1. Change to use com.android.camera.debug.Log instead of android.util.Log. 2. Add DebugCameraProxy to support more detailed debug info. 3. Add CameraErrorCallback in CameraManager. 4. Support posting to a specific handler for CameraErrorCallback. 5. Trim down some TAGs to match the framework tag length limit. 6. Remove some unused codes in CameraSettings. bug:13324870 Change-Id: I8c20a8a0d11cfd50b6e199b03cbc88d3c4ad2ceb Conflicts: src/com/android/camera/data/LocalMediaData.java src/com/android/camera/data/RotationTask.java src/com/android/camera/widget/FilmstripView.java
/packages/apps/Camera2/src/com/android/camera/data/FixedFirstDataAdapter.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/FixedFirstDataAdapter.java
|
553a0a5508d0a476c1cebc1297ca6385924376f2 |
|
21-Mar-2014 |
Sam Judd <judds@google.com> |
am 48d6492c: Merge "Best effort fix to prevent stretched videos." into gb-ub-photos-denali * commit '48d6492ccc56cb7d62a30ecc1f8576dc44e25718': Best effort fix to prevent stretched videos.
|
de3e9abaa241dc2aa66e5d02ba8b7bd35e0d8f00 |
|
17-Mar-2014 |
Sam Judd <judds@google.com> |
Best effort fix to prevent stretched videos. To avoid increasing load times, we now only parse video headers asynchronously while the user scrolls. We make a best effort attempt to prefetch video headers while we're scrolling to avoid the layout jumping around when we update dimensions for an item that's visible to the user. Bug: 13505062 Change-Id: Ib7d7835c39d50f22f45db5673ec4c49d84b81124
/packages/apps/Camera2/src/com/android/camera/data/FixedFirstDataAdapter.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/FixedFirstDataAdapter.java
|
312c2dce9b2d870bd5619a75e3139d1c07e9385d |
|
21-Dec-2013 |
Andy Huibers <andyhuibers@google.com> |
Merge "Increase bitmap resolution when zooming in filmstrip" into gb-ub-photos-denali
|
caca8c7b2e97bd76e4df1ea98c08acaa48b21557 |
|
14-Dec-2013 |
Andy Huibers <andyhuibers@google.com> |
Increase bitmap resolution when zooming in filmstrip Bug:11137777 Change-Id: I6f947e2981d012c1693ef0475a2776a7e6275de5
/packages/apps/Camera2/src/com/android/camera/data/FixedFirstDataAdapter.java
|
44c1afb9dac08e02004244e602469c29a27487b6 |
|
20-Dec-2013 |
Sascha Haeberling <haeberling@google.com> |
Simplify the LocalData API. By removing the Context from most method calls, it makes the API much more concise and focus on what's important. Change-Id: Ib79344365bd4d6a33f8ef59d1d28b5e9780102f5
/packages/apps/Camera2/src/com/android/camera/data/FixedFirstDataAdapter.java
|
56102c6a83104cea1371114d77a57e1934f2c648 |
|
19-Dec-2013 |
Angus Kong <shkong@google.com> |
Fix build. Update LocalData implementations with new methods. Change-Id: I9642dd2277d9e3d5745230fbee911cf03eb2905c
/packages/apps/Camera2/src/com/android/camera/data/FixedFirstDataAdapter.java
|
e2f4c03eaea059e15adf34d8782c433b1f7164dc |
|
19-Dec-2013 |
Angus Kong <shkong@google.com> |
Load metadata of LocalData on demand. 1. Metadata of LocalData is not always needed. It's more efficient to load it on demand. 2. MetadataLoader added to be responsible for loading all the metadata. 3. Metadata loading callback added in LocalDataListener. 4. The loading of the metadata and the bitmap are now all executed by the thread pool executor. bug:12216695 Change-Id: I5c75746630e9952b389f9b50416a0bb950301f33
/packages/apps/Camera2/src/com/android/camera/data/FixedFirstDataAdapter.java
|
14ff6c8df2924ccad083591c0fc873322c6828c0 |
|
13-Dec-2013 |
Sascha Haeberling <haeberling@google.com> |
Add placeholder image support. Bug: 12132677 Change-Id: I2add5837f82a956901c132cacae71b193007d482
/packages/apps/Camera2/src/com/android/camera/data/FixedFirstDataAdapter.java
|
01054e922aa547b937a71131ad04c6bd15356240 |
|
10-Dec-2013 |
Angus Kong <shkong@google.com> |
Move/refactor filmstrip related files around. 1. Rename filmstrip.FilmstripDataAdapter to filmstrip.DataAdapter. 2. Rename filmstrip.FilmstripImageData to filmstrip.ImageData. 3. Move filmstrip.FilmstripListener to filmstrip.FilmstripController.Listener. 4. Add FilmstripContentPanel interface. 5. Move ui.FilmstripView to widget.FilmstripView 6. Move ui.FilmstrpLayout to widget.Filmstripview 7. Move ui.FilmstripBottomControls to widget.FilmstripBottomLayout 8. Extracted interface from widget.FilmstripBottomLayout as filmstrip.BottomControls Change-Id: I83bdd89e2a48a98002a4fed7dab011b28036d1a0
/packages/apps/Camera2/src/com/android/camera/data/FixedFirstDataAdapter.java
|
c02b13af4c44fe23d4a563d3c2df1ca50e44affc |
|
12-Nov-2013 |
Angus Kong <shkong@google.com> |
Refine comments and small change of interfaces. 1. Use Context as possible as we can instead of the concrete implementaion Activity. 2. Update/add some comments. Change-Id: If80b2a8ab9ddeb297b8ec821568a74db4f52104f
/packages/apps/Camera2/src/com/android/camera/data/FixedFirstDataAdapter.java
|
628481532e1e58a0a26330d238e850aec5657bce |
|
09-Nov-2013 |
Angus Kong <shkong@google.com> |
Further refactor 1. Create filmstrip package. 2. Move ImageTaskManager to under package app/. 3. Adde app UI abstract layer AppUi. Change-Id: I9d640de65c59196c5d3e5c3a8901bb3220b29f62
/packages/apps/Camera2/src/com/android/camera/data/FixedFirstDataAdapter.java
|
b7be228d192cb8f91079caaa2f77a884a40b1160 |
|
21-Sep-2013 |
ztenghui <ztenghui@google.com> |
Fix incorrect width and height from MediaStore. bug:10768232 Change-Id: I53673b8ef341f7388a9a4aaa7b03f804485928cf
/packages/apps/Camera2/src/com/android/camera/data/FixedFirstDataAdapter.java
|
b7639c641f2ed5d0c60546349c3aa9e90c026878 |
|
09-Sep-2013 |
Sascha Haeberling <haeberling@google.com> |
Make sure we switch to preview view when resuming. Bug: 10640328 But we need to make sure to not always switch in onResume, as some activities stared from us (like playing a video or editing) require the UI flow to stay in filmstrip. Change-Id: Id2911be4949de9fd9fc4cb3451dd34e3fae8becf
/packages/apps/Camera2/src/com/android/camera/data/FixedFirstDataAdapter.java
|
4ff5a1ab360577c6a7ec953f9197778c84c9d334 |
|
15-Aug-2013 |
Angus Kong <shkong@google.com> |
Set views in filmstrip invisible when alpha = 0. bug:10096747 Change-Id: Idcb62448acbf38d581af3a08a9bcbc0cad0ab6be
/packages/apps/Camera2/src/com/android/camera/data/FixedFirstDataAdapter.java
|
dcccc510652b835fdbd39310a07849af8203052a |
|
09-Aug-2013 |
Angus Kong <shkong@google.com> |
Fix camera preview stopped after onResume(). This fix is for the blank camera preview blank after onPause() -> onResume(). 1. Refined camera start up procedure by removing redundant camera startup thread. 2. Cleanup unused calls after aparted from gallery. bug:10189998 Change-Id: I13ffa24aff5069f0032cd4bc801548fccc63d0e7
/packages/apps/Camera2/src/com/android/camera/data/FixedFirstDataAdapter.java
|
3d0b691b8f7a844093e8de9267ffa2ce16d0c5a9 |
|
09-Aug-2013 |
Angus Kong <shkong@google.com> |
Fix DataAdapter wrapper classes callback mechanism. Also to fix FilmStripView to avoid NPE before data is loaded. Change-Id: I6c8a3d215d9f1dc72b4207e52023c1e27e9df123
/packages/apps/Camera2/src/com/android/camera/data/FixedFirstDataAdapter.java
|
37f3611bbdc787c996a99894dcef7d8fb77e3f7c |
|
06-Aug-2013 |
Sascha Haeberling <haeberling@google.com> |
This adds the following four CLs to Camera2: http://ag/339319 http://ag/338974 http://ag/338401 http://ag/324149 Adapted to work in Camera2 and adding a .gitignore so that temporary Eclipse files and folders are not submitted. Change-Id: I40295c7f0139f76270c44f0ca395c0574a288569
/packages/apps/Camera2/src/com/android/camera/data/FixedFirstDataAdapter.java
|
8e5e4eedb25a4589342660b928935acca4375fc7 |
|
30-Jul-2013 |
Angus Kong <shkong@google.com> |
Add LocalDataAdapter and wrappers. 1. FixedFirstDataAdapter wraps another adapter and add a data at the first position. 2. FixedLastDataAdapter wraps another adapter and add a data at the last position. 3. Make the LocalData interface more complete. - onFullScreen() - canSwipeInFullScreen() - getPath() 3. Add methods to the FilmStripView.DataAdapter to receive UI events. - onDataCentered() - onDataFullScreen() Change-Id: I26d3a3b7facd0c451af43ce5fbbcab2baaaec427
/packages/apps/Camera2/src/com/android/camera/data/FixedFirstDataAdapter.java
|