80 lines
2.6 KiB
Smali
80 lines
2.6 KiB
Smali
|
.class final Lcom/google/android/material/bottomsheet/BottomSheetBehavior$a;
|
||
|
.super Ljava/lang/Object;
|
||
|
|
||
|
# interfaces
|
||
|
.implements Ljava/lang/Runnable;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Lcom/google/android/material/bottomsheet/BottomSheetBehavior;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x0
|
||
|
name = "a"
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field final synthetic buc:Lcom/google/android/material/bottomsheet/BottomSheetBehavior;
|
||
|
|
||
|
.field private final bud:I
|
||
|
|
||
|
.field private final view:Landroid/view/View;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>(Lcom/google/android/material/bottomsheet/BottomSheetBehavior;Landroid/view/View;I)V
|
||
|
.locals 0
|
||
|
|
||
|
iput-object p1, p0, Lcom/google/android/material/bottomsheet/BottomSheetBehavior$a;->buc:Lcom/google/android/material/bottomsheet/BottomSheetBehavior;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
iput-object p2, p0, Lcom/google/android/material/bottomsheet/BottomSheetBehavior$a;->view:Landroid/view/View;
|
||
|
|
||
|
iput p3, p0, Lcom/google/android/material/bottomsheet/BottomSheetBehavior$a;->bud:I
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public final run()V
|
||
|
.locals 2
|
||
|
|
||
|
iget-object v0, p0, Lcom/google/android/material/bottomsheet/BottomSheetBehavior$a;->buc:Lcom/google/android/material/bottomsheet/BottomSheetBehavior;
|
||
|
|
||
|
iget-object v0, v0, Lcom/google/android/material/bottomsheet/BottomSheetBehavior;->viewDragHelper:Landroidx/customview/widget/ViewDragHelper;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
iget-object v0, p0, Lcom/google/android/material/bottomsheet/BottomSheetBehavior$a;->buc:Lcom/google/android/material/bottomsheet/BottomSheetBehavior;
|
||
|
|
||
|
iget-object v0, v0, Lcom/google/android/material/bottomsheet/BottomSheetBehavior;->viewDragHelper:Landroidx/customview/widget/ViewDragHelper;
|
||
|
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
invoke-virtual {v0, v1}, Landroidx/customview/widget/ViewDragHelper;->continueSettling(Z)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
iget-object v0, p0, Lcom/google/android/material/bottomsheet/BottomSheetBehavior$a;->view:Landroid/view/View;
|
||
|
|
||
|
invoke-static {v0, p0}, Landroidx/core/view/ViewCompat;->postOnAnimation(Landroid/view/View;Ljava/lang/Runnable;)V
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_0
|
||
|
iget-object v0, p0, Lcom/google/android/material/bottomsheet/BottomSheetBehavior$a;->buc:Lcom/google/android/material/bottomsheet/BottomSheetBehavior;
|
||
|
|
||
|
iget v1, p0, Lcom/google/android/material/bottomsheet/BottomSheetBehavior$a;->bud:I
|
||
|
|
||
|
invoke-virtual {v0, v1}, Lcom/google/android/material/bottomsheet/BottomSheetBehavior;->setStateInternal(I)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|