package androidx.appcompat.widget;

import android.content.Context;
import android.graphics.Canvas;
import android.util.AttributeSet;
import android.widget.SeekBar;

/* JADX INFO: compiled from: AppCompatSeekBar.java */
/* JADX INFO: loaded from: classes.dex */
public class y extends SeekBar {

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    private final z f1138e;

    public y(Context context, AttributeSet attributeSet) {
        this(context, attributeSet, c.a.J);
    }

    @Override // android.widget.AbsSeekBar, android.widget.ProgressBar, android.view.View
    protected void drawableStateChanged() {
        super.drawableStateChanged();
        this.f1138e.h();
    }

    @Override // android.widget.AbsSeekBar, android.widget.ProgressBar, android.view.View
    public void jumpDrawablesToCurrentState() {
        super.jumpDrawablesToCurrentState();
        this.f1138e.i();
    }

    @Override // android.widget.AbsSeekBar, android.widget.ProgressBar, android.view.View
    protected synchronized void onDraw(Canvas canvas) {
        super.onDraw(canvas);
        this.f1138e.g(canvas);
    }

    public y(Context context, AttributeSet attributeSet, int i3) {
        super(context, attributeSet, i3);
        v0.a(this, getContext());
        z zVar = new z(this);
        this.f1138e = zVar;
        zVar.c(attributeSet, i3);
    }
}
