2019-12-06 03:29:40 +00:00
|
|
|
.class public Landroidx/preference/SeekBarPreference$1;
|
2019-11-15 02:21:15 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "SeekBarPreference.java"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Landroid/widget/SeekBar$OnSeekBarChangeListener;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Landroidx/preference/SeekBarPreference;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
2019-12-06 03:29:40 +00:00
|
|
|
accessFlags = 0x1
|
2019-11-15 02:21:15 +00:00
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final synthetic this$0:Landroidx/preference/SeekBarPreference;
|
2019-11-15 02:21:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public constructor <init>(Landroidx/preference/SeekBarPreference;)V
|
2019-11-15 02:21:15 +00:00
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p1, p0, Landroidx/preference/SeekBarPreference$1;->this$0:Landroidx/preference/SeekBarPreference;
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public onProgressChanged(Landroid/widget/SeekBar;IZ)V
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 1
|
2019-11-15 02:21:15 +00:00
|
|
|
|
|
|
|
if-eqz p3, :cond_1
|
|
|
|
|
|
|
|
iget-object p3, p0, Landroidx/preference/SeekBarPreference$1;->this$0:Landroidx/preference/SeekBarPreference;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-boolean v0, p3, Landroidx/preference/SeekBarPreference;->mUpdatesContinuously:Z
|
2019-11-15 02:21:15 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-nez v0, :cond_0
|
2019-11-15 02:21:15 +00:00
|
|
|
|
|
|
|
iget-boolean p3, p3, Landroidx/preference/SeekBarPreference;->mTrackingTouch:Z
|
|
|
|
|
|
|
|
if-nez p3, :cond_1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
iget-object p2, p0, Landroidx/preference/SeekBarPreference$1;->this$0:Landroidx/preference/SeekBarPreference;
|
|
|
|
|
|
|
|
invoke-virtual {p2, p1}, Landroidx/preference/SeekBarPreference;->syncValueInternal(Landroid/widget/SeekBar;)V
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_0
|
2019-11-15 02:21:15 +00:00
|
|
|
|
|
|
|
:cond_1
|
|
|
|
iget-object p1, p0, Landroidx/preference/SeekBarPreference$1;->this$0:Landroidx/preference/SeekBarPreference;
|
|
|
|
|
|
|
|
iget p3, p1, Landroidx/preference/SeekBarPreference;->mMin:I
|
|
|
|
|
|
|
|
add-int/2addr p2, p3
|
|
|
|
|
|
|
|
invoke-virtual {p1, p2}, Landroidx/preference/SeekBarPreference;->updateLabelValue(I)V
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:goto_0
|
2019-11-15 02:21:15 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public onStartTrackingTouch(Landroid/widget/SeekBar;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-object p1, p0, Landroidx/preference/SeekBarPreference$1;->this$0:Landroidx/preference/SeekBarPreference;
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
iput-boolean v0, p1, Landroidx/preference/SeekBarPreference;->mTrackingTouch:Z
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public onStopTrackingTouch(Landroid/widget/SeekBar;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 3
|
2019-11-15 02:21:15 +00:00
|
|
|
|
|
|
|
iget-object v0, p0, Landroidx/preference/SeekBarPreference$1;->this$0:Landroidx/preference/SeekBarPreference;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
iput-boolean v1, v0, Landroidx/preference/SeekBarPreference;->mTrackingTouch:Z
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Landroid/widget/SeekBar;->getProgress()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
iget-object v1, p0, Landroidx/preference/SeekBarPreference$1;->this$0:Landroidx/preference/SeekBarPreference;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget v2, v1, Landroidx/preference/SeekBarPreference;->mMin:I
|
2019-11-15 02:21:15 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
add-int/2addr v0, v2
|
2019-11-15 02:21:15 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget v2, v1, Landroidx/preference/SeekBarPreference;->mSeekBarValue:I
|
2019-11-15 02:21:15 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eq v0, v2, :cond_0
|
2019-11-15 02:21:15 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {v1, p1}, Landroidx/preference/SeekBarPreference;->syncValueInternal(Landroid/widget/SeekBar;)V
|
2019-11-15 02:21:15 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
.end method
|