91 lines
3.3 KiB
Smali
91 lines
3.3 KiB
Smali
.class final Lcom/google/android/material/transformation/ExpandableBehavior$1;
|
|
.super Ljava/lang/Object;
|
|
.source "ExpandableBehavior.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/view/ViewTreeObserver$OnPreDrawListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/google/android/material/transformation/ExpandableBehavior;->onLayoutChild(Landroidx/coordinatorlayout/widget/CoordinatorLayout;Landroid/view/View;I)Z
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic aNa:Landroid/view/View;
|
|
|
|
.field final synthetic aPK:I
|
|
|
|
.field final synthetic aPL:Lcom/google/android/material/expandable/ExpandableWidget;
|
|
|
|
.field final synthetic aPM:Lcom/google/android/material/transformation/ExpandableBehavior;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/google/android/material/transformation/ExpandableBehavior;Landroid/view/View;ILcom/google/android/material/expandable/ExpandableWidget;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/google/android/material/transformation/ExpandableBehavior$1;->aPM:Lcom/google/android/material/transformation/ExpandableBehavior;
|
|
|
|
iput-object p2, p0, Lcom/google/android/material/transformation/ExpandableBehavior$1;->aNa:Landroid/view/View;
|
|
|
|
iput p3, p0, Lcom/google/android/material/transformation/ExpandableBehavior$1;->aPK:I
|
|
|
|
iput-object p4, p0, Lcom/google/android/material/transformation/ExpandableBehavior$1;->aPL:Lcom/google/android/material/expandable/ExpandableWidget;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final onPreDraw()Z
|
|
.locals 5
|
|
|
|
iget-object v0, p0, Lcom/google/android/material/transformation/ExpandableBehavior$1;->aNa:Landroid/view/View;
|
|
|
|
invoke-virtual {v0}, Landroid/view/View;->getViewTreeObserver()Landroid/view/ViewTreeObserver;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p0}, Landroid/view/ViewTreeObserver;->removeOnPreDrawListener(Landroid/view/ViewTreeObserver$OnPreDrawListener;)V
|
|
|
|
iget-object v0, p0, Lcom/google/android/material/transformation/ExpandableBehavior$1;->aPM:Lcom/google/android/material/transformation/ExpandableBehavior;
|
|
|
|
invoke-static {v0}, Lcom/google/android/material/transformation/ExpandableBehavior;->access$000(Lcom/google/android/material/transformation/ExpandableBehavior;)I
|
|
|
|
move-result v0
|
|
|
|
iget v1, p0, Lcom/google/android/material/transformation/ExpandableBehavior$1;->aPK:I
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/google/android/material/transformation/ExpandableBehavior$1;->aPM:Lcom/google/android/material/transformation/ExpandableBehavior;
|
|
|
|
iget-object v1, p0, Lcom/google/android/material/transformation/ExpandableBehavior$1;->aPL:Lcom/google/android/material/expandable/ExpandableWidget;
|
|
|
|
move-object v3, v1
|
|
|
|
check-cast v3, Landroid/view/View;
|
|
|
|
iget-object v4, p0, Lcom/google/android/material/transformation/ExpandableBehavior$1;->aNa:Landroid/view/View;
|
|
|
|
invoke-interface {v1}, Lcom/google/android/material/expandable/ExpandableWidget;->isExpanded()Z
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {v0, v3, v4, v1, v2}, Lcom/google/android/material/transformation/ExpandableBehavior;->onExpandedStateChange(Landroid/view/View;Landroid/view/View;ZZ)Z
|
|
|
|
:cond_0
|
|
return v2
|
|
.end method
|