package defpackage;

import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.RectF;
import android.util.AttributeSet;
import android.util.TypedValue;
import android.view.ContextThemeWrapper;

/* renamed from: ᵷˎᵘ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C4879 implements InterfaceC2895 {

    /* renamed from: ˇʼʤˎ, reason: contains not printable characters */
    public InterfaceC2028 f18171;

    /* renamed from: ˌᵜᵹᵩ, reason: contains not printable characters */
    public ᵼᵫᵧˀ f18172;

    /* renamed from: ˎˏʜʾ, reason: contains not printable characters */
    public InterfaceC2028 f18173;

    /* renamed from: ˏˋٴ, reason: contains not printable characters */
    public InterfaceC2028 f18174;

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public ᵲᵝᵪ f18175;

    /* renamed from: ᵝᵵᵺ, reason: contains not printable characters */
    public ᵼᵫᵧˀ f18176;

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public ᵲᵝᵪ f18177;

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public ᵲᵝᵪ f18178;

    /* renamed from: ᵶᵷᵕ, reason: contains not printable characters */
    public ᵼᵫᵧˀ f18179;

    /* renamed from: ᵸˑ, reason: contains not printable characters */
    public ᵼᵫᵧˀ f18180;

    /* renamed from: ᵹᵝᵶ, reason: contains not printable characters */
    public InterfaceC2028 f18181;

    /* renamed from: ᵻᵢﹳᵰ, reason: contains not printable characters */
    public ᵲᵝᵪ f18182;

    /* renamed from: ˇʼʤˎ, reason: contains not printable characters */
    public static C4628 m10320(Context context, AttributeSet attributeSet, int i, int i2) {
        C5318 c5318 = new C5318(0.0f);
        TypedArray typedArrayObtainStyledAttributes = context.obtainStyledAttributes(attributeSet, AbstractC0914.f4192, i, i2);
        int resourceId = typedArrayObtainStyledAttributes.getResourceId(0, 0);
        int resourceId2 = typedArrayObtainStyledAttributes.getResourceId(1, 0);
        typedArrayObtainStyledAttributes.recycle();
        ContextThemeWrapper contextThemeWrapper = new ContextThemeWrapper(context, resourceId);
        if (resourceId2 != 0) {
            contextThemeWrapper.getTheme().applyStyle(resourceId2, true);
        }
        return m10322(contextThemeWrapper.obtainStyledAttributes(AbstractC0914.f4190), c5318);
    }

    /* renamed from: ˎˏʜʾ, reason: contains not printable characters */
    public static InterfaceC2028 m10321(TypedArray typedArray, int i, InterfaceC2028 interfaceC2028) {
        TypedValue typedValuePeekValue = typedArray.peekValue(i);
        if (typedValuePeekValue != null) {
            int i2 = typedValuePeekValue.type;
            if (i2 == 5) {
                return new C5318(TypedValue.complexToDimensionPixelSize(typedValuePeekValue.data, typedArray.getResources().getDisplayMetrics()));
            }
            if (i2 == 6) {
                return new C4761(typedValuePeekValue.getFraction(1.0f, 1.0f));
            }
        }
        return interfaceC2028;
    }

    /* renamed from: ˏˋٴ, reason: contains not printable characters */
    public static C4628 m10322(TypedArray typedArray, C5318 c5318) {
        try {
            int i = typedArray.getInt(0, 0);
            int i2 = typedArray.getInt(3, i);
            int i3 = typedArray.getInt(4, i);
            int i4 = typedArray.getInt(2, i);
            int i5 = typedArray.getInt(1, i);
            InterfaceC2028 interfaceC2028M10321 = m10321(typedArray, 5, c5318);
            InterfaceC2028 interfaceC2028M103212 = m10321(typedArray, 8, interfaceC2028M10321);
            InterfaceC2028 interfaceC2028M103213 = m10321(typedArray, 9, interfaceC2028M10321);
            InterfaceC2028 interfaceC2028M103214 = m10321(typedArray, 7, interfaceC2028M10321);
            InterfaceC2028 interfaceC2028M103215 = m10321(typedArray, 6, interfaceC2028M10321);
            C4628 c4628 = new C4628();
            c4628.f17122 = ᵕˏᵛ.ˌᵜᵹᵩ(i2);
            c4628.f17116 = interfaceC2028M103212;
            c4628.f17123 = ᵕˏᵛ.ˌᵜᵹᵩ(i3);
            c4628.f17119 = interfaceC2028M103213;
            c4628.f17120 = ᵕˏᵛ.ˌᵜᵹᵩ(i4);
            c4628.f17118 = interfaceC2028M103214;
            c4628.f17127 = ᵕˏᵛ.ˌᵜᵹᵩ(i5);
            c4628.f17126 = interfaceC2028M103215;
            return c4628;
        } finally {
            typedArray.recycle();
        }
    }

    public final String toString() {
        return "[" + this.f18171 + ", " + this.f18174 + ", " + this.f18173 + ", " + this.f18181 + "]";
    }

    @Override // defpackage.InterfaceC2895
    /* renamed from: ˏᵙ */
    public final C4879 mo7064() {
        return this;
    }

    /* renamed from: ᵝᵵᵺ, reason: contains not printable characters */
    public final C4628 m10323() {
        C4628 c4628 = new C4628();
        c4628.f17122 = this.f18177;
        c4628.f17123 = this.f18178;
        c4628.f17120 = this.f18175;
        c4628.f17127 = this.f18182;
        c4628.f17116 = this.f18171;
        c4628.f17119 = this.f18174;
        c4628.f17118 = this.f18173;
        c4628.f17126 = this.f18181;
        c4628.f17121 = this.f18176;
        c4628.f17124 = this.f18179;
        c4628.f17125 = this.f18180;
        c4628.f17117 = this.f18172;
        return c4628;
    }

    @Override // defpackage.InterfaceC2895
    /* renamed from: ᵥᵯˎ */
    public final C4879 mo7065(float f) {
        C4628 c4628M10323 = m10323();
        c4628M10323.f17116 = new C5318(f);
        c4628M10323.f17119 = new C5318(f);
        c4628M10323.f17118 = new C5318(f);
        c4628M10323.f17126 = new C5318(f);
        return c4628M10323.m9814();
    }

    @Override // defpackage.InterfaceC2895
    /* renamed from: ᵴᵳ */
    public final C4879 mo7066(int[] iArr) {
        return this;
    }

    /* renamed from: ᵹᵝᵶ, reason: contains not printable characters */
    public final boolean m10324(RectF rectF) {
        boolean z = this.f18172.getClass().equals(ᵼᵫᵧˀ.class) && this.f18179.getClass().equals(ᵼᵫᵧˀ.class) && this.f18176.getClass().equals(ᵼᵫᵧˀ.class) && this.f18180.getClass().equals(ᵼᵫᵧˀ.class);
        float fMo3779 = this.f18171.mo3779(rectF);
        return z && ((this.f18174.mo3779(rectF) > fMo3779 ? 1 : (this.f18174.mo3779(rectF) == fMo3779 ? 0 : -1)) == 0 && (this.f18181.mo3779(rectF) > fMo3779 ? 1 : (this.f18181.mo3779(rectF) == fMo3779 ? 0 : -1)) == 0 && (this.f18173.mo3779(rectF) > fMo3779 ? 1 : (this.f18173.mo3779(rectF) == fMo3779 ? 0 : -1)) == 0) && (this.f18178 instanceof C1531) && (this.f18177 instanceof C1531) && (this.f18175 instanceof C1531) && (this.f18182 instanceof C1531);
    }

    @Override // defpackage.InterfaceC2895
    /* renamed from: ᵻᵢﹳᵰ */
    public final boolean mo7067() {
        return false;
    }
}
