diff options
author | Sam Judd <judds@google.com> | 2014-03-17 12:57:50 -0700 |
---|---|---|
committer | Sam Judd <judds@google.com> | 2014-03-21 15:29:01 -0700 |
commit | 4021c896985d9ba43db0199f259ce4b8bfc0dc88 (patch) | |
tree | e3721f17949ca42e84cb73cae6ff4962bb4a4ede /Android.mk | |
parent | 4227202694efe5b448b681f0041eb98b91c7cc04 (diff) | |
download | android_packages_apps_Camera2-4021c896985d9ba43db0199f259ce4b8bfc0dc88.tar.gz android_packages_apps_Camera2-4021c896985d9ba43db0199f259ce4b8bfc0dc88.tar.bz2 android_packages_apps_Camera2-4021c896985d9ba43db0199f259ce4b8bfc0dc88.zip |
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
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk index 877908132..4f187895f 100644 --- a/Android.mk +++ b/Android.mk @@ -6,6 +6,7 @@ LOCAL_MODULE_TAGS := optional LOCAL_STATIC_JAVA_LIBRARIES := android-support-v13 LOCAL_STATIC_JAVA_LIBRARIES += xmp_toolkit +LOCAL_STATIC_JAVA_LIBRARIES += glide LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_SRC_FILES += $(call all-java-files-under, src_pd) |