package IMuAHx_6.Mqv2r_3.KQgRr5e_0.QxJ9d_1.FSaI4_7;

import android.graphics.Canvas;
import android.graphics.Path;
import android.graphics.Rect;
import com.google.android.material.behavior.HideBottomViewOnScrollBehavior;
/* compiled from: ArrowDrawable.java */
/* loaded from: classes.dex */
public class KQgRr5e_0 extends PGPF6hQ_2 {
    public int KQgRr5e_0 = 0;
    public int QxJ9d_1 = 0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public Path f252KQgRr5e_0 = new Path();

    @Override // android.graphics.drawable.Drawable
    public void draw(Canvas canvas) {
        Rect bounds = getBounds();
        int width = bounds.width();
        int height = bounds.height();
        if (this.KQgRr5e_0 != width || this.QxJ9d_1 != height) {
            int i = (width * 30) / HideBottomViewOnScrollBehavior.ENTER_ANIMATION_DURATION;
            this.f252KQgRr5e_0.reset();
            float f = i;
            float f2 = f * 0.70710677f;
            float f3 = f / 0.70710677f;
            float f4 = width;
            float f5 = f4 / 2.0f;
            float f6 = height;
            this.f252KQgRr5e_0.moveTo(f5, f6);
            float f7 = f6 / 2.0f;
            this.f252KQgRr5e_0.lineTo(0.0f, f7);
            float f8 = f7 - f2;
            this.f252KQgRr5e_0.lineTo(f2, f8);
            float f9 = f / 2.0f;
            float f10 = f5 - f9;
            float f11 = (f6 - f3) - f9;
            this.f252KQgRr5e_0.lineTo(f10, f11);
            this.f252KQgRr5e_0.lineTo(f10, 0.0f);
            float f12 = f5 + f9;
            this.f252KQgRr5e_0.lineTo(f12, 0.0f);
            this.f252KQgRr5e_0.lineTo(f12, f11);
            this.f252KQgRr5e_0.lineTo(f4 - f2, f8);
            this.f252KQgRr5e_0.lineTo(f4, f7);
            this.f252KQgRr5e_0.close();
            this.KQgRr5e_0 = width;
            this.QxJ9d_1 = height;
        }
        canvas.drawPath(this.f252KQgRr5e_0, ((PGPF6hQ_2) this).KQgRr5e_0);
    }
}
