XVerticalSeekBar.smali
.class public Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;
.super Landroidx/appcompat/widget/AppCompatSeekBar;
.source "SourceFile"
# instance fields
.field private a:Z
.field private b:Landroid/graphics/drawable/Drawable;
.field private c:Ljava/lang/reflect/Method;
.field private d:I
# direct methods
.method public constructor <init>(Landroid/content/Context;)V
.registers 4
.line 32
invoke-direct {p0, p1}, Landroidx/appcompat/widget/AppCompatSeekBar;-><init>(Landroid/content/Context;)V
const/16 v0, 0x5a
.line 29
iput v0, p0, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->d:I
const/4 v0, 0x0
const/4 v1, 0x0
.line 33
invoke-direct {p0, p1, v0, v1}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->a(Landroid/content/Context;Landroid/util/AttributeSet;I)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.registers 4
.line 37
invoke-direct {p0, p1, p2}, Landroidx/appcompat/widget/AppCompatSeekBar;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
const/16 v0, 0x5a
.line 29
iput v0, p0, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->d:I
const/4 v0, 0x0
.line 38
invoke-direct {p0, p1, p2, v0}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->a(Landroid/content/Context;Landroid/util/AttributeSet;I)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
.registers 5
.line 42
invoke-direct {p0, p1, p2, p3}, Landroidx/appcompat/widget/AppCompatSeekBar;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
const/16 v0, 0x5a
.line 29
iput v0, p0, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->d:I
.line 43
invoke-direct {p0, p1, p2, p3}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->a(Landroid/content/Context;Landroid/util/AttributeSet;I)V
return-void
.end method
.method private declared-synchronized a(I)V
.registers 9
monitor-enter p0
.line 261
:try_start_1
iget-object v0, p0, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->c:Ljava/lang/reflect/Method;
:try_end_3
.catchall {:try_start_1 .. :try_end_3} :catchall_3d
const/4 v1, 0x0
const/4 v2, 0x2
const/4 v3, 0x1
if-nez v0, :cond_1f
.line 264
:try_start_8
const-class v0, Landroid/widget/ProgressBar;
const-string v4, "setProgress"
new-array v5, v2, [Ljava/lang/Class;
sget-object v6, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
aput-object v6, v5, v1
sget-object v6, Ljava/lang/Boolean;->TYPE:Ljava/lang/Class;
aput-object v6, v5, v3
invoke-virtual {v0, v4, v5}, Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
move-result-object v0
.line 265
invoke-virtual {v0, v3}, Ljava/lang/reflect/Method;->setAccessible(Z)V
.line 266
iput-object v0, p0, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->c:Ljava/lang/reflect/Method;
:try_end_1f
.catch Ljava/lang/NoSuchMethodException; {:try_start_8 .. :try_end_1f} :catch_1f
.catchall {:try_start_8 .. :try_end_1f} :catchall_3d
.line 271
:catch_1f
:cond_1f
:try_start_1f
iget-object v0, p0, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->c:Ljava/lang/reflect/Method;
:try_end_21
.catchall {:try_start_1f .. :try_end_21} :catchall_3d
if-eqz v0, :cond_35
.line 273
:try_start_23
iget-object v0, p0, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->c:Ljava/lang/reflect/Method;
new-array v2, v2, [Ljava/lang/Object;
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p1
aput-object p1, v2, v1
sget-object p1, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;
aput-object p1, v2, v3
invoke-virtual {v0, p0, v2}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
:try_end_34
.catch Ljava/lang/IllegalArgumentException; {:try_start_23 .. :try_end_34} :catch_38
.catch Ljava/lang/IllegalAccessException; {:try_start_23 .. :try_end_34} :catch_38
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_23 .. :try_end_34} :catch_38
.catchall {:try_start_23 .. :try_end_34} :catchall_3d
goto :goto_38
.line 279
:cond_35
:try_start_35
invoke-super {p0, p1}, Landroidx/appcompat/widget/AppCompatSeekBar;->setProgress(I)V
.line 281
:catch_38
:goto_38
invoke-direct {p0}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->b()V
:try_end_3b
.catchall {:try_start_35 .. :try_end_3b} :catchall_3d
.line 282
monitor-exit p0
return-void
:catchall_3d
move-exception p1
monitor-exit p0
throw p1
.end method
.method private a(Landroid/content/Context;Landroid/util/AttributeSet;I)V
.registers 6
const/4 v0, 0x0
.line 47
invoke-static {p0, v0}, Landroidx/core/view/ViewCompat;->setLayoutDirection(Landroid/view/View;I)V
if-eqz p2, :cond_1d
.line 50
sget-object v1, Lcom/imo/xui/a$i;->XVerticalSeekBar:[I
invoke-virtual {p1, p2, v1, p3, v0}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray;
move-result-object p1
.line 51
sget p2, Lcom/imo/xui/a$i;->XVerticalSeekBar_seekBarRotation:I
invoke-virtual {p1, p2, v0}, Landroid/content/res/TypedArray;->getInteger(II)I
move-result p2
.line 52
invoke-static {p2}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->b(I)Z
move-result p3
if-eqz p3, :cond_1a
.line 53
iput p2, p0, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->d:I
.line 55
:cond_1a
invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V
:cond_1d
return-void
.end method
.method private a(Landroid/view/MotionEvent;)V
.registers 8
.line 150
invoke-super {p0}, Landroidx/appcompat/widget/AppCompatSeekBar;->getPaddingLeft()I
move-result v0
.line 151
invoke-super {p0}, Landroidx/appcompat/widget/AppCompatSeekBar;->getPaddingRight()I
move-result v1
.line 152
invoke-virtual {p0}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->getHeight()I
move-result v2
sub-int/2addr v2, v0
sub-int v1, v2, v1
.line 155
invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F
move-result p1
float-to-int p1, p1
.line 160
iget v3, p0, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->d:I
const/16 v4, 0x5a
const/4 v5, 0x0
if-eq v3, v4, :cond_24
const/16 v0, 0x10e
if-eq v3, v0, :cond_21
const/4 p1, 0x0
goto :goto_26
:cond_21
sub-int/2addr v2, p1
int-to-float p1, v2
goto :goto_26
:cond_24
sub-int/2addr p1, v0
int-to-float p1, p1
:goto_26
cmpg-float v0, p1, v5
if-ltz v0, :cond_37
if-nez v1, :cond_2d
goto :goto_37
:cond_2d
int-to-float v0, v1
cmpl-float v1, p1, v0
if-lez v1, :cond_35
const/high16 v5, 0x3f800000 # 1.0f
goto :goto_37
:cond_35
div-float v5, p1, v0
.line 179
:cond_37
:goto_37
invoke-virtual {p0}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->getMax()I
move-result p1
int-to-float p1, p1
mul-float v5, v5, p1
float-to-int p1, v5
.line 182
invoke-direct {p0, p1}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->a(I)V
return-void
.end method
.method private a(Z)V
.registers 3
.line 190
invoke-virtual {p0}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->getParent()Landroid/view/ViewParent;
move-result-object v0
if-eqz v0, :cond_9
.line 192
invoke-interface {v0, p1}, Landroid/view/ViewParent;->requestDisallowInterceptTouchEvent(Z)V
:cond_9
return-void
.end method
.method private b()V
.registers 4
.line 357
invoke-super {p0}, Landroidx/appcompat/widget/AppCompatSeekBar;->getWidth()I
move-result v0
invoke-super {p0}, Landroidx/appcompat/widget/AppCompatSeekBar;->getHeight()I
move-result v1
const/4 v2, 0x0
invoke-virtual {p0, v0, v1, v2, v2}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->onSizeChanged(IIII)V
return-void
.end method
.method private static b(I)Z
.registers 2
const/16 v0, 0x5a
if-eq p0, v0, :cond_b
const/16 v0, 0x10e
if-ne p0, v0, :cond_9
goto :goto_b
:cond_9
const/4 p0, 0x0
return p0
:cond_b
:goto_b
const/4 p0, 0x1
return p0
.end method
.method private getWrapper()Lcom/imo/xui/widget/seekbar/XVerticalSeekBarWrapper;
.registers 3
.line 365
invoke-virtual {p0}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->getParent()Landroid/view/ViewParent;
move-result-object v0
.line 367
instance-of v1, v0, Lcom/imo/xui/widget/seekbar/XVerticalSeekBarWrapper;
if-eqz v1, :cond_b
.line 368
check-cast v0, Lcom/imo/xui/widget/seekbar/XVerticalSeekBarWrapper;
return-object v0
:cond_b
const/4 v0, 0x0
return-object v0
.end method
# virtual methods
.method final a()Z
.registers 2
.line 361
invoke-virtual {p0}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->isInEditMode()Z
move-result v0
if-nez v0, :cond_8
const/4 v0, 0x1
return v0
:cond_8
const/4 v0, 0x0
return v0
.end method
.method public getRotationAngle()I
.registers 2
.line 331
iget v0, p0, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->d:I
return v0
.end method
.method public declared-synchronized onDraw(Landroid/graphics/Canvas;)V
.registers 5
monitor-enter p0
.line 312
:try_start_1
invoke-virtual {p0}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->a()Z
move-result v0
if-nez v0, :cond_30
.line 313
iget v0, p0, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->d:I
const/16 v1, 0x5a
const/4 v2, 0x0
if-eq v0, v1, :cond_22
const/16 v1, 0x10e
if-eq v0, v1, :cond_13
goto :goto_30
:cond_13
const/high16 v0, -0x3d4c0000 # -90.0f
.line 319
invoke-virtual {p1, v0}, Landroid/graphics/Canvas;->rotate(F)V
.line 320
invoke-super {p0}, Landroidx/appcompat/widget/AppCompatSeekBar;->getHeight()I
move-result v0
neg-int v0, v0
int-to-float v0, v0
invoke-virtual {p1, v0, v2}, Landroid/graphics/Canvas;->translate(FF)V
goto :goto_30
:cond_22
const/high16 v0, 0x42b40000 # 90.0f
.line 315
invoke-virtual {p1, v0}, Landroid/graphics/Canvas;->rotate(F)V
.line 316
invoke-super {p0}, Landroidx/appcompat/widget/AppCompatSeekBar;->getWidth()I
move-result v0
neg-int v0, v0
int-to-float v0, v0
invoke-virtual {p1, v2, v0}, Landroid/graphics/Canvas;->translate(FF)V
.line 327
:cond_30
:goto_30
invoke-super {p0, p1}, Landroidx/appcompat/widget/AppCompatSeekBar;->onDraw(Landroid/graphics/Canvas;)V
:try_end_33
.catchall {:try_start_1 .. :try_end_33} :catchall_35
.line 328
monitor-exit p0
return-void
:catchall_35
move-exception p1
monitor-exit p0
throw p1
.end method
.method public onKeyDown(ILandroid/view/KeyEvent;)Z
.registers 7
.line 213
invoke-virtual {p0}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->isEnabled()Z
move-result v0
if-eqz v0, :cond_37
const/4 v0, -0x1
const/4 v1, 0x0
const/4 v2, 0x1
packed-switch p1, :pswitch_data_3c
const/4 v0, 0x0
goto :goto_1e
:pswitch_e
return v1
.line 219
:pswitch_f
iget v1, p0, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->d:I
const/16 v3, 0x5a
if-ne v1, v3, :cond_1d
goto :goto_1c
.line 223
:pswitch_16
iget v1, p0, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->d:I
const/16 v3, 0x10e
if-ne v1, v3, :cond_1d
:goto_1c
const/4 v0, 0x1
:cond_1d
const/4 v1, 0x1
:goto_1e
if-eqz v1, :cond_37
.line 236
invoke-virtual {p0}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->getKeyProgressIncrement()I
move-result p1
.line 237
invoke-virtual {p0}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->getProgress()I
move-result p2
mul-int v0, v0, p1
add-int/2addr p2, v0
if-ltz p2, :cond_36
.line 241
invoke-virtual {p0}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->getMax()I
move-result p1
if-gt p2, p1, :cond_36
.line 242
invoke-direct {p0, p2}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->a(I)V
:cond_36
return v2
.line 249
:cond_37
invoke-super {p0, p1, p2}, Landroidx/appcompat/widget/AppCompatSeekBar;->onKeyDown(ILandroid/view/KeyEvent;)Z
move-result p1
return p1
:pswitch_data_3c
.packed-switch 0x13
:pswitch_16
:pswitch_f
:pswitch_e
:pswitch_e
.end packed-switch
.end method
.method protected declared-synchronized onMeasure(II)V
.registers 4
monitor-enter p0
.line 286
:try_start_1
invoke-virtual {p0}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->a()Z
move-result v0
if-eqz v0, :cond_c
.line 287
invoke-super {p0, p1, p2}, Landroidx/appcompat/widget/AppCompatSeekBar;->onMeasure(II)V
:try_end_a
.catchall {:try_start_1 .. :try_end_a} :catchall_37
monitor-exit p0
return-void
.line 289
:cond_c
:try_start_c
invoke-super {p0, p2, p1}, Landroidx/appcompat/widget/AppCompatSeekBar;->onMeasure(II)V
.line 291
invoke-virtual {p0}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object p1
.line 293
invoke-virtual {p0}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->isInEditMode()Z
move-result p2
if-eqz p2, :cond_2a
if-eqz p1, :cond_2a
iget p2, p1, Landroid/view/ViewGroup$LayoutParams;->height:I
if-ltz p2, :cond_2a
.line 294
invoke-super {p0}, Landroidx/appcompat/widget/AppCompatSeekBar;->getMeasuredHeight()I
move-result p2
iget p1, p1, Landroid/view/ViewGroup$LayoutParams;->height:I
invoke-virtual {p0, p2, p1}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->setMeasuredDimension(II)V
:try_end_28
.catchall {:try_start_c .. :try_end_28} :catchall_37
monitor-exit p0
return-void
.line 296
:cond_2a
:try_start_2a
invoke-super {p0}, Landroidx/appcompat/widget/AppCompatSeekBar;->getMeasuredHeight()I
move-result p1
invoke-super {p0}, Landroidx/appcompat/widget/AppCompatSeekBar;->getMeasuredWidth()I
move-result p2
invoke-virtual {p0, p1, p2}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->setMeasuredDimension(II)V
:try_end_35
.catchall {:try_start_2a .. :try_end_35} :catchall_37
.line 299
monitor-exit p0
return-void
:catchall_37
move-exception p1
monitor-exit p0
throw p1
.end method
.method protected onSizeChanged(IIII)V
.registers 6
.line 303
invoke-virtual {p0}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->a()Z
move-result v0
if-eqz v0, :cond_a
.line 304
invoke-super {p0, p1, p2, p3, p4}, Landroidx/appcompat/widget/AppCompatSeekBar;->onSizeChanged(IIII)V
return-void
.line 306
:cond_a
invoke-super {p0, p2, p1, p4, p3}, Landroidx/appcompat/widget/AppCompatSeekBar;->onSizeChanged(IIII)V
return-void
.end method
.method public onTouchEvent(Landroid/view/MotionEvent;)Z
.registers 7
.line 67
invoke-virtual {p0}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->a()Z
move-result v0
const/4 v1, 0x3
const/4 v2, 0x0
const/4 v3, 0x1
if-eqz v0, :cond_22
.line 1128
invoke-super {p0, p1}, Landroidx/appcompat/widget/AppCompatSeekBar;->onTouchEvent(Landroid/view/MotionEvent;)Z
move-result v0
if-eqz v0, :cond_21
.line 1131
invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I
move-result p1
if-eqz p1, :cond_1e
if-eq p1, v3, :cond_1a
if-eq p1, v1, :cond_1a
goto :goto_21
.line 1139
:cond_1a
invoke-direct {p0, v2}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->a(Z)V
goto :goto_21
.line 1134
:cond_1e
invoke-direct {p0, v3}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->a(Z)V
:cond_21
:goto_21
return v0
.line 2075
:cond_22
invoke-virtual {p0}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->isEnabled()Z
move-result v0
if-nez v0, :cond_29
return v2
.line 2079
:cond_29
invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I
move-result v0
if-eqz v0, :cond_64
if-eq v0, v3, :cond_49
const/4 v4, 0x2
if-eq v0, v4, :cond_41
if-eq v0, v1, :cond_37
goto :goto_72
.line 2115
:cond_37
iget-boolean p1, p0, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->a:Z
if-eqz p1, :cond_6f
.line 4208
iput-boolean v2, p0, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->a:Z
.line 2117
invoke-virtual {p0, v2}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->setPressed(Z)V
goto :goto_6f
.line 2089
:cond_41
iget-boolean v0, p0, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->a:Z
if-eqz v0, :cond_72
.line 2090
invoke-direct {p0, p1}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->a(Landroid/view/MotionEvent;)V
goto :goto_72
.line 2095
:cond_49
iget-boolean v0, p0, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->a:Z
if-eqz v0, :cond_56
.line 2096
invoke-direct {p0, p1}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->a(Landroid/view/MotionEvent;)V
.line 2208
iput-boolean v2, p0, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->a:Z
.line 2098
invoke-virtual {p0, v2}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->setPressed(Z)V
goto :goto_60
.line 3200
:cond_56
iput-boolean v3, p0, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->a:Z
.line 2104
invoke-direct {p0, p1}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->a(Landroid/view/MotionEvent;)V
.line 3208
iput-boolean v2, p0, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->a:Z
.line 2106
invoke-direct {p0, v2}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->a(Z)V
.line 2111
:goto_60
invoke-virtual {p0}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->invalidate()V
goto :goto_72
.line 2081
:cond_64
invoke-virtual {p0, v3}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->setPressed(Z)V
.line 2200
iput-boolean v3, p0, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->a:Z
.line 2083
invoke-direct {p0, p1}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->a(Landroid/view/MotionEvent;)V
.line 2084
invoke-direct {p0, v3}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->a(Z)V
.line 2119
:cond_6f
:goto_6f
invoke-virtual {p0}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->invalidate()V
:cond_72
:goto_72
return v3
.end method
.method public declared-synchronized setProgress(I)V
.registers 2
monitor-enter p0
.line 254
:try_start_1
invoke-super {p0, p1}, Landroidx/appcompat/widget/AppCompatSeekBar;->setProgress(I)V
.line 255
invoke-virtual {p0}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->a()Z
move-result p1
if-nez p1, :cond_d
.line 256
invoke-direct {p0}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->b()V
:try_end_d
.catchall {:try_start_1 .. :try_end_d} :catchall_f
.line 258
:cond_d
monitor-exit p0
return-void
:catchall_f
move-exception p1
monitor-exit p0
throw p1
.end method
.method public setRotationAngle(I)V
.registers 4
.line 335
invoke-static {p1}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->b(I)Z
move-result v0
if-eqz v0, :cond_29
.line 339
iget v0, p0, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->d:I
if-ne v0, p1, :cond_b
return-void
.line 343
:cond_b
iput p1, p0, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->d:I
.line 345
invoke-virtual {p0}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->a()Z
move-result p1
if-eqz p1, :cond_25
.line 346
invoke-direct {p0}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->getWrapper()Lcom/imo/xui/widget/seekbar/XVerticalSeekBarWrapper;
move-result-object p1
if-eqz p1, :cond_24
.line 5112
invoke-virtual {p1}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBarWrapper;->getWidth()I
move-result v0
invoke-virtual {p1}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBarWrapper;->getHeight()I
move-result v1
invoke-virtual {p1, v0, v1}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBarWrapper;->a(II)V
:cond_24
return-void
.line 351
:cond_25
invoke-virtual {p0}, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->requestLayout()V
return-void
.line 336
:cond_29
new-instance v0, Ljava/lang/IllegalArgumentException;
invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
move-result-object p1
const-string v1, "Invalid angle specified :"
invoke-virtual {v1, p1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public setThumb(Landroid/graphics/drawable/Drawable;)V
.registers 2
.line 61
iput-object p1, p0, Lcom/imo/xui/widget/seekbar/XVerticalSeekBar;->b:Landroid/graphics/drawable/Drawable;
.line 62
invoke-super {p0, p1}, Landroidx/appcompat/widget/AppCompatSeekBar;->setThumb(Landroid/graphics/drawable/Drawable;)V
return-void
.end method