package defpackage;

import android.content.Context;
import android.graphics.drawable.Drawable;
import androidx.appcompat.widget.AppCompatImageView;
import ar.tvplayer.tv.R;

/* renamed from: ˊᵵʼ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C1397 extends AppCompatImageView implements InterfaceC1761 {

    /* renamed from: ᵾᵬ, reason: contains not printable characters */
    public final /* synthetic */ C1065 f5742;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C1397(C1065 c1065, Context context) {
        super(context, null, R.attr._11_res_0x7f040021);
        this.f5742 = c1065;
        setClickable(true);
        setFocusable(true);
        setVisibility(0);
        setEnabled(true);
        ᵙᵛᵯ.ᵧـˌᵎ(this, getContentDescription());
        setOnTouchListener(new C1664(this, this));
    }

    @Override // android.view.View
    public final boolean performClick() {
        if (super.performClick()) {
            return true;
        }
        playSoundEffect(0);
        this.f5742.m3444();
        return true;
    }

    @Override // android.widget.ImageView
    public final boolean setFrame(int i, int i2, int i3, int i4) {
        boolean frame = super.setFrame(i, i2, i3, i4);
        Drawable drawable = getDrawable();
        Drawable background = getBackground();
        if (drawable != null && background != null) {
            int width = getWidth();
            int height = getHeight();
            int iMax = Math.max(width, height) / 2;
            int paddingLeft = (width + (getPaddingLeft() - getPaddingRight())) / 2;
            int paddingTop = (height + (getPaddingTop() - getPaddingBottom())) / 2;
            background.setHotspotBounds(paddingLeft - iMax, paddingTop - iMax, paddingLeft + iMax, paddingTop + iMax);
        }
        return frame;
    }

    @Override // defpackage.InterfaceC1761
    /* renamed from: ˏᵙ */
    public final boolean mo1() {
        return false;
    }

    @Override // defpackage.InterfaceC1761
    /* renamed from: ᵴᵳ */
    public final boolean mo4() {
        return false;
    }
}
