AppCompatSeekBar.smali
.class public Landroidx/appcompat/widget/AppCompatSeekBar;
.super Landroid/widget/SeekBar;
.source "AppCompatSeekBar.java"
# instance fields
.field private final mAppCompatSeekBarHelper:Landroidx/appcompat/widget/AppCompatSeekBarHelper;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>(Landroid/content/Context;)V
.registers 3
.param p1, "context" # Landroid/content/Context;
.line 41
const/4 v0, 0x0
invoke-direct {p0, p1, v0}, Landroidx/appcompat/widget/AppCompatSeekBar;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.line 42
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.registers 4
.param p1, "context" # Landroid/content/Context;
.param p2, "attrs" # Landroid/util/AttributeSet;
.line 45
sget v0, Landroidx/appcompat/R$attr;->seekBarStyle:I
invoke-direct {p0, p1, p2, v0}, Landroidx/appcompat/widget/AppCompatSeekBar;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
.line 46
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
.registers 5
.param p1, "context" # Landroid/content/Context;
.param p2, "attrs" # Landroid/util/AttributeSet;
.param p3, "defStyleAttr" # I
.line 50
invoke-direct {p0, p1, p2, p3}, Landroid/widget/SeekBar;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
.line 52
invoke-virtual {p0}, Landroidx/appcompat/widget/AppCompatSeekBar;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {p0, v0}, Landroidx/appcompat/widget/ThemeUtils;->checkAppCompatTheme(Landroid/view/View;Landroid/content/Context;)V
.line 54
new-instance v0, Landroidx/appcompat/widget/AppCompatSeekBarHelper;
invoke-direct {v0, p0}, Landroidx/appcompat/widget/AppCompatSeekBarHelper;-><init>(Landroid/widget/SeekBar;)V
iput-object v0, p0, Landroidx/appcompat/widget/AppCompatSeekBar;->mAppCompatSeekBarHelper:Landroidx/appcompat/widget/AppCompatSeekBarHelper;
.line 55
invoke-virtual {v0, p2, p3}, Landroidx/appcompat/widget/AppCompatSeekBarHelper;->loadFromAttributes(Landroid/util/AttributeSet;I)V
.line 56
return-void
.end method
# virtual methods
.method protected drawableStateChanged()V
.registers 2
.line 66
invoke-super {p0}, Landroid/widget/SeekBar;->drawableStateChanged()V
.line 67
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSeekBar;->mAppCompatSeekBarHelper:Landroidx/appcompat/widget/AppCompatSeekBarHelper;
invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatSeekBarHelper;->drawableStateChanged()V
.line 68
return-void
.end method
.method public jumpDrawablesToCurrentState()V
.registers 2
.line 72
invoke-super {p0}, Landroid/widget/SeekBar;->jumpDrawablesToCurrentState()V
.line 73
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSeekBar;->mAppCompatSeekBarHelper:Landroidx/appcompat/widget/AppCompatSeekBarHelper;
invoke-virtual {v0}, Landroidx/appcompat/widget/AppCompatSeekBarHelper;->jumpDrawablesToCurrentState()V
.line 74
return-void
.end method
.method protected declared-synchronized onDraw(Landroid/graphics/Canvas;)V
.registers 3
.param p1, "canvas" # Landroid/graphics/Canvas;
monitor-enter p0
.line 60
:try_start_1
invoke-super {p0, p1}, Landroid/widget/SeekBar;->onDraw(Landroid/graphics/Canvas;)V
.line 61
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatSeekBar;->mAppCompatSeekBarHelper:Landroidx/appcompat/widget/AppCompatSeekBarHelper;
invoke-virtual {v0, p1}, Landroidx/appcompat/widget/AppCompatSeekBarHelper;->drawTickMarks(Landroid/graphics/Canvas;)V
:try_end_9
.catchall {:try_start_1 .. :try_end_9} :catchall_b
.line 62
monitor-exit p0
return-void
.line 59
.end local p0 # "this":Landroidx/appcompat/widget/AppCompatSeekBar;
.end local p1 # "canvas":Landroid/graphics/Canvas;
:catchall_b
move-exception p1
monitor-exit p0
throw p1
.end method