package defpackage;

import android.graphics.PointF;
import android.graphics.Rect;
import android.util.Property;
import android.view.View;
import androidx.appcompat.widget.SwitchCompat;

/* renamed from: ˏʙˎ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C1806 extends Property {

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final /* synthetic */ int f7275;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public /* synthetic */ C1806(Class cls, String str, int i) {
        super(cls, str);
        this.f7275 = i;
    }

    @Override // android.util.Property
    public final Object get(Object obj) {
        switch (this.f7275) {
            case 0:
                return null;
            case 1:
                return null;
            case 2:
                return null;
            case 3:
                return null;
            case 4:
                return null;
            case 5:
                return null;
            case C1339.STRING_SET_FIELD_NUMBER /* 6 */:
                return null;
            case C1339.DOUBLE_FIELD_NUMBER /* 7 */:
                return null;
            case C1339.BYTES_FIELD_NUMBER /* 8 */:
                return null;
            case 9:
                return null;
            case 10:
                return Integer.valueOf(((AbstractC3390) obj).getStreamPosition());
            case 11:
                return Float.valueOf(((SwitchCompat) obj).f203);
            case 12:
                return Float.valueOf(AbstractC2596.f10069.ᵺʙ((View) obj));
            default:
                return ((View) obj).getClipBounds();
        }
    }

    @Override // android.util.Property
    public final void set(Object obj, Object obj2) {
        switch (this.f7275) {
            case 0:
                C1045 c1045 = (C1045) obj;
                PointF pointF = (PointF) obj2;
                c1045.getClass();
                c1045.f4553 = Math.round(pointF.x);
                int iRound = Math.round(pointF.y);
                c1045.f4554 = iRound;
                int i = c1045.f4551 + 1;
                c1045.f4551 = i;
                if (i == c1045.f4550) {
                    AbstractC2596.m6512(c1045.f4549, c1045.f4553, iRound, c1045.f4552, c1045.f4555);
                    c1045.f4551 = 0;
                    c1045.f4550 = 0;
                    break;
                }
                break;
            case 1:
                C1045 c10452 = (C1045) obj;
                PointF pointF2 = (PointF) obj2;
                c10452.getClass();
                c10452.f4552 = Math.round(pointF2.x);
                int iRound2 = Math.round(pointF2.y);
                c10452.f4555 = iRound2;
                int i2 = c10452.f4550 + 1;
                c10452.f4550 = i2;
                if (c10452.f4551 == i2) {
                    AbstractC2596.m6512(c10452.f4549, c10452.f4553, c10452.f4554, c10452.f4552, iRound2);
                    c10452.f4551 = 0;
                    c10452.f4550 = 0;
                    break;
                }
                break;
            case 2:
                View view = (View) obj;
                PointF pointF3 = (PointF) obj2;
                AbstractC2596.m6512(view, view.getLeft(), view.getTop(), Math.round(pointF3.x), Math.round(pointF3.y));
                break;
            case 3:
                View view2 = (View) obj;
                PointF pointF4 = (PointF) obj2;
                AbstractC2596.m6512(view2, Math.round(pointF4.x), Math.round(pointF4.y), view2.getRight(), view2.getBottom());
                break;
            case 4:
                View view3 = (View) obj;
                PointF pointF5 = (PointF) obj2;
                int iRound3 = Math.round(pointF5.x);
                int iRound4 = Math.round(pointF5.y);
                AbstractC2596.m6512(view3, iRound3, iRound4, view3.getWidth() + iRound3, view3.getHeight() + iRound4);
                break;
            case 5:
                C5048 c5048 = (C5048) obj;
                PointF pointF6 = (PointF) obj2;
                c5048.getClass();
                c5048.f18868 = Math.round(pointF6.x);
                int iRound5 = Math.round(pointF6.y);
                c5048.f18869 = iRound5;
                int i3 = c5048.f18866 + 1;
                c5048.f18866 = i3;
                if (i3 == c5048.f18865) {
                    AbstractC2596.m6512(c5048.f18864, c5048.f18868, iRound5, c5048.f18867, c5048.f18870);
                    c5048.f18866 = 0;
                    c5048.f18865 = 0;
                    break;
                }
                break;
            case C1339.STRING_SET_FIELD_NUMBER /* 6 */:
                C5048 c50482 = (C5048) obj;
                PointF pointF7 = (PointF) obj2;
                c50482.getClass();
                c50482.f18867 = Math.round(pointF7.x);
                int iRound6 = Math.round(pointF7.y);
                c50482.f18870 = iRound6;
                int i4 = c50482.f18865 + 1;
                c50482.f18865 = i4;
                if (c50482.f18866 == i4) {
                    AbstractC2596.m6512(c50482.f18864, c50482.f18868, c50482.f18869, c50482.f18867, iRound6);
                    c50482.f18866 = 0;
                    c50482.f18865 = 0;
                    break;
                }
                break;
            case C1339.DOUBLE_FIELD_NUMBER /* 7 */:
                View view4 = (View) obj;
                PointF pointF8 = (PointF) obj2;
                AbstractC2596.m6512(view4, view4.getLeft(), view4.getTop(), Math.round(pointF8.x), Math.round(pointF8.y));
                break;
            case C1339.BYTES_FIELD_NUMBER /* 8 */:
                View view5 = (View) obj;
                PointF pointF9 = (PointF) obj2;
                AbstractC2596.m6512(view5, Math.round(pointF9.x), Math.round(pointF9.y), view5.getRight(), view5.getBottom());
                break;
            case 9:
                View view6 = (View) obj;
                PointF pointF10 = (PointF) obj2;
                int iRound7 = Math.round(pointF10.x);
                int iRound8 = Math.round(pointF10.y);
                AbstractC2596.m6512(view6, iRound7, iRound8, view6.getWidth() + iRound7, view6.getHeight() + iRound8);
                break;
            case 10:
                ((AbstractC3390) obj).setStreamPosition(((Integer) obj2).intValue());
                break;
            case 11:
                ((SwitchCompat) obj).setThumbPosition(((Float) obj2).floatValue());
                break;
            case 12:
                float fFloatValue = ((Float) obj2).floatValue();
                AbstractC2596.f10069.ᵡᵶᵡ((View) obj, fFloatValue);
                break;
            default:
                ((View) obj).setClipBounds((Rect) obj2);
                break;
        }
    }
}
