package defpackage;

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

/* JADX INFO: renamed from: ˀﹶᵩᵠ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public final class C0645 extends Property {

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public final /* synthetic */ int f3024;

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

    @Override // android.util.Property
    public final Object get(Object obj) {
        switch (this.f3024) {
            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 C5224.STRING_SET_FIELD_NUMBER /* 6 */:
                return null;
            case C5224.DOUBLE_FIELD_NUMBER /* 7 */:
                return null;
            case C5224.BYTES_FIELD_NUMBER /* 8 */:
                return null;
            case 9:
                return null;
            case 10:
                return Integer.valueOf(((AbstractC4441) obj).getStreamPosition());
            case 11:
                return Float.valueOf(((SwitchCompat) obj).f175);
            case 12:
                return Float.valueOf(AbstractC3371.f12913.ᵜᵪʾ((View) obj));
            default:
                return ((View) obj).getClipBounds();
        }
    }

    @Override // android.util.Property
    public final void set(Object obj, Object obj2) {
        switch (this.f3024) {
            case 0:
                C1187 c1187 = (C1187) obj;
                PointF pointF = (PointF) obj2;
                c1187.getClass();
                c1187.f5049 = Math.round(pointF.x);
                int iRound = Math.round(pointF.y);
                c1187.f5046 = iRound;
                int i = c1187.f5052 + 1;
                c1187.f5052 = i;
                if (i == c1187.f5050) {
                    AbstractC3371.m7725(c1187.f5048, c1187.f5049, iRound, c1187.f5047, c1187.f5051);
                    c1187.f5052 = 0;
                    c1187.f5050 = 0;
                }
                break;
            case 1:
                C1187 c11872 = (C1187) obj;
                PointF pointF2 = (PointF) obj2;
                c11872.getClass();
                c11872.f5047 = Math.round(pointF2.x);
                int iRound2 = Math.round(pointF2.y);
                c11872.f5051 = iRound2;
                int i2 = c11872.f5050 + 1;
                c11872.f5050 = i2;
                if (c11872.f5052 == i2) {
                    AbstractC3371.m7725(c11872.f5048, c11872.f5049, c11872.f5046, c11872.f5047, iRound2);
                    c11872.f5052 = 0;
                    c11872.f5050 = 0;
                }
                break;
            case 2:
                View view = (View) obj;
                PointF pointF3 = (PointF) obj2;
                AbstractC3371.m7725(view, view.getLeft(), view.getTop(), Math.round(pointF3.x), Math.round(pointF3.y));
                break;
            case 3:
                View view2 = (View) obj;
                PointF pointF4 = (PointF) obj2;
                AbstractC3371.m7725(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);
                AbstractC3371.m7725(view3, iRound3, iRound4, view3.getWidth() + iRound3, view3.getHeight() + iRound4);
                break;
            case 5:
                C2851 c2851 = (C2851) obj;
                PointF pointF6 = (PointF) obj2;
                c2851.getClass();
                c2851.f10940 = Math.round(pointF6.x);
                int iRound5 = Math.round(pointF6.y);
                c2851.f10937 = iRound5;
                int i3 = c2851.f10943 + 1;
                c2851.f10943 = i3;
                if (i3 == c2851.f10941) {
                    AbstractC3371.m7725(c2851.f10939, c2851.f10940, iRound5, c2851.f10938, c2851.f10942);
                    c2851.f10943 = 0;
                    c2851.f10941 = 0;
                }
                break;
            case C5224.STRING_SET_FIELD_NUMBER /* 6 */:
                C2851 c28512 = (C2851) obj;
                PointF pointF7 = (PointF) obj2;
                c28512.getClass();
                c28512.f10938 = Math.round(pointF7.x);
                int iRound6 = Math.round(pointF7.y);
                c28512.f10942 = iRound6;
                int i4 = c28512.f10941 + 1;
                c28512.f10941 = i4;
                if (c28512.f10943 == i4) {
                    AbstractC3371.m7725(c28512.f10939, c28512.f10940, c28512.f10937, c28512.f10938, iRound6);
                    c28512.f10943 = 0;
                    c28512.f10941 = 0;
                }
                break;
            case C5224.DOUBLE_FIELD_NUMBER /* 7 */:
                View view4 = (View) obj;
                PointF pointF8 = (PointF) obj2;
                AbstractC3371.m7725(view4, view4.getLeft(), view4.getTop(), Math.round(pointF8.x), Math.round(pointF8.y));
                break;
            case C5224.BYTES_FIELD_NUMBER /* 8 */:
                View view5 = (View) obj;
                PointF pointF9 = (PointF) obj2;
                AbstractC3371.m7725(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);
                AbstractC3371.m7725(view6, iRound7, iRound8, view6.getWidth() + iRound7, view6.getHeight() + iRound8);
                break;
            case 10:
                ((AbstractC4441) obj).setStreamPosition(((Integer) obj2).intValue());
                break;
            case 11:
                ((SwitchCompat) obj).setThumbPosition(((Float) obj2).floatValue());
                break;
            case 12:
                float fFloatValue = ((Float) obj2).floatValue();
                AbstractC3371.f12913.ˊᵡᵗʨ((View) obj, fFloatValue);
                break;
            default:
                ((View) obj).setClipBounds((Rect) obj2);
                break;
        }
    }
}
