From cba2c073700990bea194ee14ff3eac76fc31b42b Mon Sep 17 00:00:00 2001 From: huiyan Date: Mon, 21 Mar 2016 14:55:31 +0800 Subject: Gallery2: Play gif photo directly in photopage Implement new feature: Remove play icon and play the gif photo directly Change-Id: I95f82ca8ab912a98a5120ce2c01fe2fe33c9a875 CRs-Fixed: 987942 --- AndroidManifest.xml | 12 +- res/layout/view_gif_image.xml | 17 -- .../android/gallery3d/app/PhotoDataAdapter.java | 232 +++++++++++++++++++- src/com/android/gallery3d/app/PhotoPage.java | 13 -- src/com/android/gallery3d/ui/PhotoView.java | 4 +- src/com/android/gallery3d/util/GIFView.java | 234 --------------------- src/com/android/gallery3d/util/GifDecoder.java | 22 +- src/com/android/gallery3d/util/GifRequest.java | 78 +++++++ src/com/android/gallery3d/util/ViewGifImage.java | 67 ------ 9 files changed, 327 insertions(+), 352 deletions(-) delete mode 100644 res/layout/view_gif_image.xml delete mode 100644 src/com/android/gallery3d/util/GIFView.java create mode 100755 src/com/android/gallery3d/util/GifRequest.java delete mode 100755 src/com/android/gallery3d/util/ViewGifImage.java diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 08ca742e0..1eda90bf7 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -1,5 +1,5 @@ -