package ඓ.ῲ.K.㗗.㿎;

import android.graphics.drawable.Animatable;
import android.graphics.drawable.Drawable;
import android.widget.ImageView;
import ඓ.ῲ.K.㗗.ᨨ.AbstractC1192;
import ඓ.ῲ.K.㗗.ᨨ.C1194;

/* renamed from: ඓ.ῲ.K.㗗.㿎.ඓ  reason: contains not printable characters */
/* compiled from: ImageViewTarget */
public abstract class AbstractC1202<Z> extends AbstractC1203<ImageView, Z> implements AbstractC1192.AbstractC1193 {

    /* renamed from: 㿎  reason: contains not printable characters */
    public Animatable f4769;

    public AbstractC1202(ImageView imageView) {
        super(imageView);
    }

    @Override // ඓ.ῲ.K.㑃.AbstractC1175
    public void onStop() {
        Animatable animatable = this.f4769;
        if (animatable != null) {
            animatable.stop();
        }
    }

    @Override // ඓ.ῲ.K.㗗.㿎.AbstractC1203, ඓ.ῲ.K.㗗.㿎.AbstractC1208, ඓ.ῲ.K.㗗.㿎.AbstractC1211
    /* renamed from: ʬ  reason: contains not printable characters */
    public void m3241(Drawable drawable) {
        super.m3249(drawable);
        Animatable animatable = this.f4769;
        if (animatable != null) {
            animatable.stop();
        }
        m3243((Object) null);
        m3246((Object) null);
        ((ImageView) this.f4773).setImageDrawable(drawable);
    }

    @Override // ඓ.ῲ.K.㗗.㿎.AbstractC1208, ඓ.ῲ.K.㗗.㿎.AbstractC1211
    /* renamed from: ῲ  reason: contains not printable characters */
    public void m3242(Drawable drawable) {
        super.m3262(drawable);
        m3243((Object) null);
        m3246((Object) null);
        ((ImageView) this.f4773).setImageDrawable(drawable);
    }

    /* renamed from: ῲ  reason: contains not printable characters */
    public abstract void m3243(Z z);

    @Override // ඓ.ῲ.K.㗗.㿎.AbstractC1203, ඓ.ῲ.K.㗗.㿎.AbstractC1208, ඓ.ῲ.K.㗗.㿎.AbstractC1211
    /* renamed from: K  reason: contains not printable characters */
    public void m3245(Drawable drawable) {
        super.m3251(drawable);
        m3243((Object) null);
        m3246((Object) null);
        ((ImageView) this.f4773).setImageDrawable(drawable);
    }

    @Override // ඓ.ῲ.K.㗗.㿎.AbstractC1211
    /* renamed from: K  reason: contains not printable characters */
    public void m3247(Z z, AbstractC1192<? super Z> r2) {
        if (r2 != null) {
            C1194 k = (C1194) r2;
        }
        m3243((Object) z);
        if (z instanceof Animatable) {
            this.f4769 = z;
            this.f4769.start();
            return;
        }
        this.f4769 = null;
    }

    @Override // ඓ.ῲ.K.㑃.AbstractC1175
    /* renamed from: K  reason: contains not printable characters */
    public void m3244() {
        Animatable animatable = this.f4769;
        if (animatable != null) {
            animatable.start();
        }
    }

    /* renamed from: K  reason: contains not printable characters */
    public final void m3246(Z z) {
        if (z instanceof Animatable) {
            this.f4769 = z;
            this.f4769.start();
            return;
        }
        this.f4769 = null;
    }
}
