[Android] VideoGridAnimator: reduce the duration of the alpha animation

Ludovic Fauvet git at videolan.org
Mon Oct 15 22:24:49 CEST 2012


vlc-ports/android | branch: master | Ludovic Fauvet <etix at videolan.org> | Mon Oct 15 22:22:27 2012 +0200| [f43a68fae38fa71a4edc53bdff92cbf0c5f6d166] | committer: Ludovic Fauvet

VideoGridAnimator: reduce the duration of the alpha animation

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=f43a68fae38fa71a4edc53bdff92cbf0c5f6d166
---

 vlc-android/src/org/videolan/vlc/gui/video/VideoGridAnimator.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoGridAnimator.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoGridAnimator.java
index cff4aea..d1f7e6c 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoGridAnimator.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoGridAnimator.java
@@ -89,7 +89,7 @@ public class VideoGridAnimator {
             for (int i = 0; i < mGridView.getChildCount(); i++) {
                 AnimationSet animSet = new AnimationSet(true);
                 Animation animation = new AlphaAnimation(0.0f, 1.0f);
-                animation.setDuration(400);
+                animation.setDuration(300);
                 animation.setStartOffset(i * 80);
                 animSet.addAnimation(animation);
                 if (((VideoListAdapter)mGridView.getAdapter()).isListMode()) {



More information about the Android mailing list