27 lines
1.0 KiB
Java
27 lines
1.0 KiB
Java
package c.p.a;
|
|
|
|
import android.animation.ValueAnimator;
|
|
import android.view.ViewGroup;
|
|
import d0.z.d.m;
|
|
import java.util.Objects;
|
|
/* compiled from: SwipeDismissTouchListener.kt */
|
|
public final class n implements ValueAnimator.AnimatorUpdateListener {
|
|
public final /* synthetic */ l a;
|
|
public final /* synthetic */ ViewGroup.LayoutParams b;
|
|
|
|
public n(l lVar, ViewGroup.LayoutParams layoutParams) {
|
|
this.a = lVar;
|
|
this.b = layoutParams;
|
|
}
|
|
|
|
@Override // android.animation.ValueAnimator.AnimatorUpdateListener
|
|
public final void onAnimationUpdate(ValueAnimator valueAnimator) {
|
|
ViewGroup.LayoutParams layoutParams = this.b;
|
|
m.checkNotNullExpressionValue(valueAnimator, "valueAnimator");
|
|
Object animatedValue = valueAnimator.getAnimatedValue();
|
|
Objects.requireNonNull(animatedValue, "null cannot be cast to non-null type kotlin.Int");
|
|
layoutParams.height = ((Integer) animatedValue).intValue();
|
|
this.a.f1520s.setLayoutParams(this.b);
|
|
}
|
|
}
|