You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
183 lines
5.4 KiB
183 lines
5.4 KiB
2 years ago
|
.class Lcom/afollestad/materialdialogs/f$1;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "MaterialDialog.java"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||
|
value = Lcom/afollestad/materialdialogs/f;->c()V
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x0
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field final synthetic a:Lcom/afollestad/materialdialogs/f;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>(Lcom/afollestad/materialdialogs/f;)V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 123
|
||
|
iput-object p1, p0, Lcom/afollestad/materialdialogs/f$1;->a:Lcom/afollestad/materialdialogs/f;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public onGlobalLayout()V
|
||
|
.locals 3
|
||
|
|
||
|
.prologue
|
||
|
.line 127
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
const/16 v1, 0x10
|
||
|
|
||
|
if-ge v0, v1, :cond_2
|
||
|
|
||
|
.line 129
|
||
|
iget-object v0, p0, Lcom/afollestad/materialdialogs/f$1;->a:Lcom/afollestad/materialdialogs/f;
|
||
|
|
||
|
iget-object v0, v0, Lcom/afollestad/materialdialogs/f;->g:Landroid/support/v7/widget/RecyclerView;
|
||
|
|
||
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView;->getViewTreeObserver()Landroid/view/ViewTreeObserver;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {v0, p0}, Landroid/view/ViewTreeObserver;->removeGlobalOnLayoutListener(Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;)V
|
||
|
|
||
|
.line 134
|
||
|
:goto_0
|
||
|
iget-object v0, p0, Lcom/afollestad/materialdialogs/f$1;->a:Lcom/afollestad/materialdialogs/f;
|
||
|
|
||
|
iget-object v0, v0, Lcom/afollestad/materialdialogs/f;->r:Lcom/afollestad/materialdialogs/f$i;
|
||
|
|
||
|
sget-object v1, Lcom/afollestad/materialdialogs/f$i;->b:Lcom/afollestad/materialdialogs/f$i;
|
||
|
|
||
|
if-eq v0, v1, :cond_0
|
||
|
|
||
|
iget-object v0, p0, Lcom/afollestad/materialdialogs/f$1;->a:Lcom/afollestad/materialdialogs/f;
|
||
|
|
||
|
iget-object v0, v0, Lcom/afollestad/materialdialogs/f;->r:Lcom/afollestad/materialdialogs/f$i;
|
||
|
|
||
|
sget-object v1, Lcom/afollestad/materialdialogs/f$i;->c:Lcom/afollestad/materialdialogs/f$i;
|
||
|
|
||
|
if-ne v0, v1, :cond_1
|
||
|
|
||
|
.line 136
|
||
|
:cond_0
|
||
|
iget-object v0, p0, Lcom/afollestad/materialdialogs/f$1;->a:Lcom/afollestad/materialdialogs/f;
|
||
|
|
||
|
iget-object v0, v0, Lcom/afollestad/materialdialogs/f;->r:Lcom/afollestad/materialdialogs/f$i;
|
||
|
|
||
|
sget-object v1, Lcom/afollestad/materialdialogs/f$i;->b:Lcom/afollestad/materialdialogs/f$i;
|
||
|
|
||
|
if-ne v0, v1, :cond_4
|
||
|
|
||
|
.line 137
|
||
|
iget-object v0, p0, Lcom/afollestad/materialdialogs/f$1;->a:Lcom/afollestad/materialdialogs/f;
|
||
|
|
||
|
iget-object v0, v0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a;
|
||
|
|
||
|
iget v0, v0, Lcom/afollestad/materialdialogs/f$a;->O:I
|
||
|
|
||
|
if-gez v0, :cond_3
|
||
|
|
||
|
.line 159
|
||
|
:cond_1
|
||
|
:goto_1
|
||
|
return-void
|
||
|
|
||
|
.line 131
|
||
|
:cond_2
|
||
|
iget-object v0, p0, Lcom/afollestad/materialdialogs/f$1;->a:Lcom/afollestad/materialdialogs/f;
|
||
|
|
||
|
iget-object v0, v0, Lcom/afollestad/materialdialogs/f;->g:Landroid/support/v7/widget/RecyclerView;
|
||
|
|
||
|
invoke-virtual {v0}, Landroid/support/v7/widget/RecyclerView;->getViewTreeObserver()Landroid/view/ViewTreeObserver;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {v0, p0}, Landroid/view/ViewTreeObserver;->removeOnGlobalLayoutListener(Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;)V
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 140
|
||
|
:cond_3
|
||
|
iget-object v0, p0, Lcom/afollestad/materialdialogs/f$1;->a:Lcom/afollestad/materialdialogs/f;
|
||
|
|
||
|
iget-object v0, v0, Lcom/afollestad/materialdialogs/f;->b:Lcom/afollestad/materialdialogs/f$a;
|
||
|
|
||
|
iget v0, v0, Lcom/afollestad/materialdialogs/f$a;->O:I
|
||
|
|
||
|
.line 150
|
||
|
:goto_2
|
||
|
iget-object v1, p0, Lcom/afollestad/materialdialogs/f$1;->a:Lcom/afollestad/materialdialogs/f;
|
||
|
|
||
|
iget-object v1, v1, Lcom/afollestad/materialdialogs/f;->g:Landroid/support/v7/widget/RecyclerView;
|
||
|
|
||
|
new-instance v2, Lcom/afollestad/materialdialogs/f$1$1;
|
||
|
|
||
|
invoke-direct {v2, p0, v0}, Lcom/afollestad/materialdialogs/f$1$1;-><init>(Lcom/afollestad/materialdialogs/f$1;I)V
|
||
|
|
||
|
invoke-virtual {v1, v2}, Landroid/support/v7/widget/RecyclerView;->post(Ljava/lang/Runnable;)Z
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
.line 142
|
||
|
:cond_4
|
||
|
iget-object v0, p0, Lcom/afollestad/materialdialogs/f$1;->a:Lcom/afollestad/materialdialogs/f;
|
||
|
|
||
|
iget-object v0, v0, Lcom/afollestad/materialdialogs/f;->s:Ljava/util/List;
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
iget-object v0, p0, Lcom/afollestad/materialdialogs/f$1;->a:Lcom/afollestad/materialdialogs/f;
|
||
|
|
||
|
iget-object v0, v0, Lcom/afollestad/materialdialogs/f;->s:Ljava/util/List;
|
||
|
|
||
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
.line 145
|
||
|
iget-object v0, p0, Lcom/afollestad/materialdialogs/f$1;->a:Lcom/afollestad/materialdialogs/f;
|
||
|
|
||
|
iget-object v0, v0, Lcom/afollestad/materialdialogs/f;->s:Ljava/util/List;
|
||
|
|
||
|
invoke-static {v0}, Ljava/util/Collections;->sort(Ljava/util/List;)V
|
||
|
|
||
|
.line 146
|
||
|
iget-object v0, p0, Lcom/afollestad/materialdialogs/f$1;->a:Lcom/afollestad/materialdialogs/f;
|
||
|
|
||
|
iget-object v0, v0, Lcom/afollestad/materialdialogs/f;->s:Ljava/util/List;
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Ljava/lang/Integer;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
goto :goto_2
|
||
|
.end method
|