package defpackage;

import android.content.Context;
import android.content.res.Resources;
import android.view.View;
import android.view.ViewGroup;
import android.view.animation.Animation;

/* renamed from: ᵭʤʿᵼ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C4090 extends AbstractC0243 {

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public final C0391 f15284;

    public C4090(C0391 c0391) {
        this.f15284 = c0391;
    }

    @Override // defpackage.AbstractC0243
    /* renamed from: ˏᵙ */
    public final void mo1548(ViewGroup viewGroup) throws Resources.NotFoundException {
        C0391 c0391 = this.f15284;
        C0423 c0423 = (C0423) ((ᵢˇᵭ) c0391).ᵧᵾˀˈ;
        if (c0391.ᵳٴᵶ()) {
            c0423.m1968(this);
            return;
        }
        Context context = viewGroup.getContext();
        View view = c0423.f2345.f13752;
        ᵪᵨ r0 = c0391.m1851(context);
        if (r0 == null) {
            ᵹˉᵞ.ᵳٴᵶ("Required value was null.");
            return;
        }
        Animation animation = (Animation) r0.ᵢˇᵭ;
        if (animation == null) {
            ᵹˉᵞ.ᵳٴᵶ("Required value was null.");
            return;
        }
        if (c0423.f2347 != 1) {
            view.startAnimation(animation);
            c0423.m1968(this);
            return;
        }
        viewGroup.startViewTransition(view);
        RunnableC3291 runnableC3291 = new RunnableC3291(animation, viewGroup, view);
        runnableC3291.setAnimationListener(new AnimationAnimationListenerC5448(c0423, viewGroup, view, this));
        view.startAnimation(runnableC3291);
        if (AbstractC4731.m9918(2)) {
            c0423.toString();
        }
    }

    @Override // defpackage.AbstractC0243
    /* renamed from: ᵴᵳ */
    public final void mo1550(ViewGroup viewGroup) {
        C0423 c0423 = (C0423) ((ᵢˇᵭ) this.f15284).ᵧᵾˀˈ;
        View view = c0423.f2345.f13752;
        view.clearAnimation();
        viewGroup.endViewTransition(view);
        c0423.m1968(this);
        if (AbstractC4731.m9918(2)) {
            c0423.toString();
        }
    }
}
