what-the-bank/sources/androidx/appcompat/widget/AppCompatSeekBar.java

51 lines
1.4 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package androidx.appcompat.widget;
import android.content.Context;
import android.graphics.Canvas;
import android.util.AttributeSet;
import android.widget.SeekBar;
import o.SYO;
import o.nKv;
import o.uzP;
/* loaded from: classes.dex */
public class AppCompatSeekBar extends SeekBar {
private final uzP a;
public AppCompatSeekBar(Context context) {
this(context, null);
}
public AppCompatSeekBar(Context context, AttributeSet attributeSet) {
this(context, attributeSet, SYO.IeS.seekBarStyle);
}
public AppCompatSeekBar(Context context, AttributeSet attributeSet, int i) {
super(context, attributeSet, i);
nKv.b(getContext());
uzP uzp = new uzP(this);
this.a = uzp;
uzp.gK_(attributeSet, i);
}
@Override // android.widget.AbsSeekBar, android.widget.ProgressBar, android.view.View
protected void onDraw(Canvas canvas) {
synchronized (this) {
super.onDraw(canvas);
this.a.gJ_(canvas);
}
}
@Override // android.widget.AbsSeekBar, android.widget.ProgressBar, android.view.View
protected void drawableStateChanged() {
super.drawableStateChanged();
this.a.c();
}
@Override // android.widget.AbsSeekBar, android.widget.ProgressBar, android.view.View
public void jumpDrawablesToCurrentState() {
super.jumpDrawablesToCurrentState();
this.a.a();
}
}