discord-jadx/app/src/main/java/c/p/a/m.java

32 lines
1.1 KiB
Java
Raw Normal View History

2021-06-27 20:44:35 +00:00
package c.p.a;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.view.ViewGroup;
/* compiled from: SwipeDismissTouchListener.kt */
public final class m extends AnimatorListenerAdapter {
public final /* synthetic */ l a;
public final /* synthetic */ ViewGroup.LayoutParams b;
/* renamed from: c reason: collision with root package name */
2021-07-13 20:23:20 +00:00
public final /* synthetic */ int f1521c;
2021-06-27 20:44:35 +00:00
public m(l lVar, ViewGroup.LayoutParams layoutParams, int i) {
this.a = lVar;
this.b = layoutParams;
2021-07-13 20:23:20 +00:00
this.f1521c = i;
2021-06-27 20:44:35 +00:00
}
@Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
public void onAnimationEnd(Animator animator) {
d0.z.d.m.checkNotNullParameter(animator, "animation");
l lVar = this.a;
2021-07-13 20:23:20 +00:00
lVar.t.onDismiss(lVar.f1520s);
this.a.f1520s.setAlpha(1.0f);
this.a.f1520s.setTranslationX(0.0f);
2021-06-27 20:44:35 +00:00
ViewGroup.LayoutParams layoutParams = this.b;
2021-07-13 20:23:20 +00:00
layoutParams.height = this.f1521c;
this.a.f1520s.setLayoutParams(layoutParams);
2021-06-27 20:44:35 +00:00
}
}