package ῲ.ᨨ.ᨨ;

import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.animation.ValueAnimator;
import android.os.Build;
import android.view.View;
import java.lang.ref.WeakReference;
import ῲ.ῲ.K.C1950;

/* renamed from: ῲ.ᨨ.ᨨ.㴪  reason: contains not printable characters */
/* compiled from: ViewPropertyAnimatorCompat */
public final class C1768 {

    /* renamed from: ʬ  reason: contains not printable characters */
    public Runnable f6099 = null;

    /* renamed from: ῲ  reason: contains not printable characters */
    public Runnable f6100 = null;

    /* renamed from: K  reason: contains not printable characters */
    public WeakReference<View> f6101;

    /* renamed from: 㸾  reason: contains not printable characters */
    public int f6102 = -1;

    /* renamed from: ῲ.ᨨ.ᨨ.㴪$ῲ  reason: contains not printable characters */
    /* compiled from: ViewPropertyAnimatorCompat */
    public class C1769 implements ValueAnimator.AnimatorUpdateListener {

        /* renamed from: ῲ  reason: contains not printable characters */
        public final /* synthetic */ View f6103;

        /* renamed from: K  reason: contains not printable characters */
        public final /* synthetic */ AbstractC1750 f6104;

        public C1769(C1768 r1, AbstractC1750 r2, View view) {
            this.f6104 = r2;
            this.f6103 = view;
        }

        public void onAnimationUpdate(ValueAnimator valueAnimator) {
            ((View) C1950.this.f6668.getParent()).invalidate();
        }
    }

    /* renamed from: ῲ.ᨨ.ᨨ.㴪$K  reason: contains not printable characters */
    /* compiled from: ViewPropertyAnimatorCompat */
    public class C1770 extends AnimatorListenerAdapter {

        /* renamed from: ῲ  reason: contains not printable characters */
        public final /* synthetic */ View f6105;

        /* renamed from: K  reason: contains not printable characters */
        public final /* synthetic */ AbstractC1738 f6106;

        public C1770(C1768 r1, AbstractC1738 r2, View view) {
            this.f6106 = r2;
            this.f6105 = view;
        }

        public void onAnimationCancel(Animator animator) {
            this.f6106.m4533(this.f6105);
        }

        public void onAnimationEnd(Animator animator) {
            this.f6106.m4535(this.f6105);
        }

        public void onAnimationStart(Animator animator) {
            this.f6106.m4534(this.f6105);
        }
    }

    public C1768(View view) {
        this.f6101 = new WeakReference<>(view);
    }

    /* renamed from: ῲ  reason: contains not printable characters */
    public C1768 m4616(float f) {
        View view = this.f6101.get();
        if (view != null) {
            view.animate().translationY(f);
        }
        return this;
    }

    /* renamed from: K  reason: contains not printable characters */
    public C1768 m4618(long j) {
        View view = this.f6101.get();
        if (view != null) {
            view.animate().setDuration(j);
        }
        return this;
    }

    /* renamed from: K  reason: contains not printable characters */
    public C1768 m4617(float f) {
        View view = this.f6101.get();
        if (view != null) {
            view.animate().alpha(f);
        }
        return this;
    }

    /* renamed from: K  reason: contains not printable characters */
    public void m4621() {
        View view = this.f6101.get();
        if (view != null) {
            view.animate().cancel();
        }
    }

    /* renamed from: K  reason: contains not printable characters */
    public C1768 m4619(AbstractC1738 r3) {
        View view = this.f6101.get();
        if (view != null) {
            int i = Build.VERSION.SDK_INT;
            m4622(view, r3);
        }
        return this;
    }

    /* renamed from: K  reason: contains not printable characters */
    public final void m4622(View view, AbstractC1738 r4) {
        if (r4 != null) {
            view.animate().setListener(new C1770(this, r4, view));
        } else {
            view.animate().setListener(null);
        }
    }

    /* renamed from: K  reason: contains not printable characters */
    public C1768 m4620(AbstractC1750 r3) {
        View view = this.f6101.get();
        if (view != null) {
            int i = Build.VERSION.SDK_INT;
            C1769 r1 = null;
            if (r3 != null) {
                r1 = new C1769(this, r3, view);
            }
            view.animate().setUpdateListener(r1);
        }
        return this;
    }
}
