Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0f933c9a authored by Chet Haase's avatar Chet Haase Committed by Android (Google) Code Review
Browse files

Merge "Fix behavior of AnimationSet and fillBefore"

parents dfed08bc 0041861a
Loading
Loading
Loading
Loading
+7 −6
Original line number Diff line number Diff line
@@ -348,7 +348,7 @@ public class AnimationSet extends Animation {

            for (int i = count - 1; i >= 0; --i) {
                final Animation a = animations.get(i);

                if (!a.isFillEnabled() || a.getFillBefore() || a.getStartOffset() == 0) {
                    temp.clear();
                    final Interpolator interpolator = a.mInterpolator;
                    a.applyTransformation(interpolator != null ? interpolator.getInterpolation(0.0f)
@@ -357,6 +357,7 @@ public class AnimationSet extends Animation {
                }
            }
        }
    }

    /**
     * The transformation of an animation set is the concatenation of all of its