112 lines
3 KiB
Smali
112 lines
3 KiB
Smali
|
.class public Landroidx/preference/SeekBarPreference$1;
|
||
|
.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;
|
||
|
accessFlags = 0x1
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public final synthetic this$0:Landroidx/preference/SeekBarPreference;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(Landroidx/preference/SeekBarPreference;)V
|
||
|
.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
|
||
|
.locals 1
|
||
|
|
||
|
if-eqz p3, :cond_1
|
||
|
|
||
|
iget-object p3, p0, Landroidx/preference/SeekBarPreference$1;->this$0:Landroidx/preference/SeekBarPreference;
|
||
|
|
||
|
iget-boolean v0, p3, Landroidx/preference/SeekBarPreference;->mUpdatesContinuously:Z
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
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
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
: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
|
||
|
|
||
|
:goto_0
|
||
|
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
|
||
|
.locals 3
|
||
|
|
||
|
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;
|
||
|
|
||
|
iget v2, v1, Landroidx/preference/SeekBarPreference;->mMin:I
|
||
|
|
||
|
add-int/2addr v0, v2
|
||
|
|
||
|
iget v2, v1, Landroidx/preference/SeekBarPreference;->mSeekBarValue:I
|
||
|
|
||
|
if-eq v0, v2, :cond_0
|
||
|
|
||
|
invoke-virtual {v1, p1}, Landroidx/preference/SeekBarPreference;->syncValueInternal(Landroid/widget/SeekBar;)V
|
||
|
|
||
|
:cond_0
|
||
|
return-void
|
||
|
.end method
|