r.smali

.class public final synthetic Lcom/facebook/appevents/r;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ljava/lang/Runnable;


# static fields
.field public static final synthetic b:Lcom/facebook/appevents/r;

.field public static final synthetic c:Lcom/facebook/appevents/r;

.field public static final synthetic d:Lcom/facebook/appevents/r;

.field public static final synthetic e:Lcom/facebook/appevents/r;


# instance fields
.field public final synthetic a:I


# direct methods
.method static synthetic constructor <clinit>()V
    .registers 2

    new-instance v0, Lcom/facebook/appevents/r;

    const/4 v1, 0x0

    invoke-direct {v0, v1}, Lcom/facebook/appevents/r;-><init>(I)V

    sput-object v0, Lcom/facebook/appevents/r;->b:Lcom/facebook/appevents/r;

    new-instance v0, Lcom/facebook/appevents/r;

    const/4 v1, 0x1

    invoke-direct {v0, v1}, Lcom/facebook/appevents/r;-><init>(I)V

    sput-object v0, Lcom/facebook/appevents/r;->c:Lcom/facebook/appevents/r;

    new-instance v0, Lcom/facebook/appevents/r;

    const/4 v1, 0x2

    invoke-direct {v0, v1}, Lcom/facebook/appevents/r;-><init>(I)V

    sput-object v0, Lcom/facebook/appevents/r;->d:Lcom/facebook/appevents/r;

    new-instance v0, Lcom/facebook/appevents/r;

    const/4 v1, 0x3

    invoke-direct {v0, v1}, Lcom/facebook/appevents/r;-><init>(I)V

    sput-object v0, Lcom/facebook/appevents/r;->e:Lcom/facebook/appevents/r;

    return-void
.end method

.method public synthetic constructor <init>(I)V
    .registers 2

    iput p1, p0, Lcom/facebook/appevents/r;->a:I

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final run()V
    .registers 6

    iget v0, p0, Lcom/facebook/appevents/r;->a:I

    packed-switch v0, :pswitch_data_7c

    goto :goto_67

    :pswitch_6
    sget-object v0, Lcom/shopee/app/ui/home/native_home/NativeHomeView;->M:Lcom/shopee/app/ui/home/native_home/NativeHomeView$a;

    .line 1
    sget-object v0, Lcom/shopee/app/ui/home/native_home/engine/t;->a:Lcom/shopee/app/ui/home/native_home/engine/t;

    .line 2
    sget-object v0, Lcom/shopee/app/ui/home/native_home/engine/t;->z:Lcom/shopee/app/ui/home/native_home/engine/v0;

    if-eqz v0, :cond_5c

    .line 3
    iget-object v0, v0, Lcom/shopee/app/ui/home/native_home/engine/v0;->f:Lcom/shopee/app/ui/home/native_home/o;

    if-eqz v0, :cond_5c

    .line 4
    :try_start_12
    iget-object v1, v0, Lcom/shopee/app/ui/home/native_home/o;->a:Landroidx/recyclerview/widget/RecyclerView;

    invoke-static {}, Lcom/shopee/sz/mediaeffect/core/effect/renders/mmc/c;->h()I

    move-result v2

    invoke-virtual {v1, v2}, Landroidx/recyclerview/widget/RecyclerView;->findViewHolderForAdapterPosition(I)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;

    move-result-object v1

    .line 5
    iget-object v2, v0, Lcom/shopee/app/ui/home/native_home/o;->a:Landroidx/recyclerview/widget/RecyclerView;

    invoke-virtual {v2}, Landroidx/recyclerview/widget/RecyclerView;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager;

    move-result-object v2

    if-eqz v2, :cond_5c

    if-nez v1, :cond_27

    goto :goto_5c

    .line 6
    :cond_27
    instance-of v3, v2, Landroidx/recyclerview/widget/LinearLayoutManager;

    if-eqz v3, :cond_3b

    .line 7
    check-cast v2, Landroidx/recyclerview/widget/LinearLayoutManager;

    invoke-static {}, Lcom/shopee/sz/mediaeffect/core/effect/renders/mmc/c;->g()I

    move-result v3

    iget-object v1, v1, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;

    invoke-virtual {v1}, Landroid/view/View;->getBottom()I

    move-result v1

    invoke-virtual {v2, v3, v1}, Landroidx/recyclerview/widget/LinearLayoutManager;->scrollToPositionWithOffset(II)V

    goto :goto_59

    .line 8
    :cond_3b
    instance-of v3, v2, Landroidx/recyclerview/widget/StaggeredGridLayoutManager;

    if-eqz v3, :cond_59

    .line 9
    check-cast v2, Landroidx/recyclerview/widget/StaggeredGridLayoutManager;

    invoke-static {}, Lcom/shopee/sz/mediaeffect/core/effect/renders/mmc/c;->g()I

    move-result v3

    iget-object v1, v1, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;

    invoke-virtual {v1}, Landroid/view/View;->getBottom()I

    move-result v1

    .line 10
    iget-object v4, v2, Landroidx/recyclerview/widget/StaggeredGridLayoutManager;->q:Landroidx/recyclerview/widget/StaggeredGridLayoutManager$SavedState;

    if-eqz v4, :cond_52

    .line 11
    invoke-virtual {v4}, Landroidx/recyclerview/widget/StaggeredGridLayoutManager$SavedState;->a()V

    .line 12
    :cond_52
    iput v3, v2, Landroidx/recyclerview/widget/StaggeredGridLayoutManager;->k:I

    .line 13
    iput v1, v2, Landroidx/recyclerview/widget/StaggeredGridLayoutManager;->l:I

    .line 14
    invoke-virtual {v2}, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;->requestLayout()V

    .line 15
    :cond_59
    :goto_59
    invoke-virtual {v0}, Lcom/shopee/app/ui/home/native_home/o;->d()V
    :try_end_5c
    .catch Ljava/lang/Exception; {:try_start_12 .. :try_end_5c} :catch_5c

    :catch_5c
    :cond_5c
    :goto_5c
    return-void

    .line 16
    :pswitch_5d
    sget-object v0, Lcom/shopee/app/plugin/b0;->b:Lcom/shopee/app/plugin/b0;

    invoke-virtual {v0}, Lcom/shopee/app/plugin/b0;->u()V

    return-void

    .line 17
    :pswitch_63
    invoke-static {}, Lcom/facebook/appevents/UserDataStore;->c()V

    return-void

    :goto_67
    sget v0, Lcom/shopee/demoluban/portal/block/BlockTestActivity;->c:I

    const-wide/16 v0, 0xa

    .line 18
    invoke-static {v0, v1}, Ljava/lang/Thread;->sleep(J)V

    .line 19
    sget-object v0, Lcom/shopee/luban/base/logger/LLog;->a:Lcom/shopee/luban/base/logger/LLog;

    const/4 v1, 0x0

    new-array v1, v1, [Ljava/lang/Object;

    const-string v2, "LooperActivity"

    const-string v3, "Test aggregate messages"

    invoke-virtual {v0, v2, v3, v1}, Lcom/shopee/luban/base/logger/LLog;->b(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V

    return-void

    nop

    :pswitch_data_7c
    .packed-switch 0x0
        :pswitch_63
        :pswitch_5d
        :pswitch_6
    .end packed-switch
.end method