package com.scwang.smartrefresh.layout.internal.pathview;

import android.content.Context;
import android.graphics.Canvas;
import android.util.AttributeSet;
import android.view.View;
import ඓ.㿎.K.ῲ.㗽.ʬ.C1428;

public class PathsView extends View {

    /* renamed from: ῲ  reason: contains not printable characters */
    public C1428 f3328 = new C1428();

    public PathsView(Context context) {
        super(context);
        m1899();
    }

    public void onDraw(Canvas canvas) {
        super.onDraw(canvas);
        this.f3328.draw(canvas);
    }

    public void onFinishInflate() {
        super.onFinishInflate();
        if (getTag() instanceof String) {
            m1901(getTag().toString());
        }
    }

    public void onLayout(boolean z, int i, int i2, int i3, int i4) {
        super.onLayout(z, i, i2, i3, i4);
        this.f3328.setBounds(getPaddingLeft(), getPaddingTop(), Math.max((i3 - i) - getPaddingRight(), getPaddingLeft()), Math.max((i4 - i2) - getPaddingTop(), getPaddingTop()));
    }

    public void onMeasure(int i, int i2) {
        setMeasuredDimension(View.resolveSize(getPaddingRight() + getPaddingLeft() + this.f3328.m3639(), i), View.resolveSize(getPaddingBottom() + getPaddingTop() + this.f3328.m3641(), i2));
    }

    /* renamed from: K  reason: contains not printable characters */
    public final void m1899() {
        this.f3328 = new C1428();
    }

    /* renamed from: K  reason: contains not printable characters */
    public void m1901(String... strArr) {
        this.f3328.m3644(strArr);
    }

    /* renamed from: K  reason: contains not printable characters */
    public void m1900(int... iArr) {
        this.f3328.m3643(iArr);
    }

    public PathsView(Context context, AttributeSet attributeSet) {
        super(context, attributeSet);
        m1899();
    }

    public PathsView(Context context, AttributeSet attributeSet, int i) {
        super(context, attributeSet, i);
        m1899();
    }
}
