summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBobby Georgescu <georgescu@google.com>2012-10-21 20:17:08 -0700
committerBobby Georgescu <georgescu@google.com>2012-10-21 20:17:08 -0700
commita41c877619656e2a8f07efc1efcf9dcecffd5f9d (patch)
treea0737146e65dc01dac78c036be12e5743d87ab20
parent2daced6baacd59850e7c64ea02f2479530654ed8 (diff)
downloadandroid_packages_apps_Gallery2-a41c877619656e2a8f07efc1efcf9dcecffd5f9d.tar.gz
android_packages_apps_Gallery2-a41c877619656e2a8f07efc1efcf9dcecffd5f9d.tar.bz2
android_packages_apps_Gallery2-a41c877619656e2a8f07efc1efcf9dcecffd5f9d.zip
Tweak transition animations
Bug: 7376109 Change-Id: I28cc8413bda31ff945e8e48dd75b86b2e9d071a8
-rw-r--r--src/com/android/gallery3d/anim/StateTransitionAnimation.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/gallery3d/anim/StateTransitionAnimation.java b/src/com/android/gallery3d/anim/StateTransitionAnimation.java
index 8428cb866..2f7a2ecdb 100644
--- a/src/com/android/gallery3d/anim/StateTransitionAnimation.java
+++ b/src/com/android/gallery3d/anim/StateTransitionAnimation.java
@@ -31,7 +31,7 @@ public class StateTransitionAnimation extends Animation {
public static final Spec INCOMING;
public static final Spec PHOTO_INCOMING;
- public int duration = 330;
+ public int duration = 250;
public float backgroundAlphaFrom = 0;
public float backgroundAlphaTo = 0;
public float backgroundScaleFrom = 0;
@@ -48,7 +48,7 @@ public class StateTransitionAnimation extends Animation {
static {
OUTGOING = new Spec();
- OUTGOING.backgroundAlphaFrom = 1f;
+ OUTGOING.backgroundAlphaFrom = 0.5f;
OUTGOING.backgroundAlphaTo = 0f;
OUTGOING.backgroundScaleFrom = 1f;
OUTGOING.backgroundScaleTo = 0f;