BaseFeedFDView$b.smali

.class final Lcom/imo/android/imoim/world/fulldetail/view/interactive/BaseFeedFDView$b;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/imo/android/imoim/world/fulldetail/view/interactive/BaseFeedFDView;->a(I)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x18
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/imo/android/imoim/world/fulldetail/view/interactive/BaseFeedFDView;

.field final synthetic b:I


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/world/fulldetail/view/interactive/BaseFeedFDView;I)V
    .registers 3

    iput-object p1, p0, Lcom/imo/android/imoim/world/fulldetail/view/interactive/BaseFeedFDView$b;->a:Lcom/imo/android/imoim/world/fulldetail/view/interactive/BaseFeedFDView;

    iput p2, p0, Lcom/imo/android/imoim/world/fulldetail/view/interactive/BaseFeedFDView$b;->b:I

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

    return-void
.end method


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

    .line 1012
    iget-object v0, p0, Lcom/imo/android/imoim/world/fulldetail/view/interactive/BaseFeedFDView$b;->a:Lcom/imo/android/imoim/world/fulldetail/view/interactive/BaseFeedFDView;

    invoke-static {v0}, Lcom/imo/android/imoim/world/fulldetail/view/interactive/BaseFeedFDView;->z(Lcom/imo/android/imoim/world/fulldetail/view/interactive/BaseFeedFDView;)Lcom/imo/android/imoim/world/util/c/b;

    move-result-object v0

    if-eqz v0, :cond_3d

    invoke-virtual {v0}, Lcom/imo/android/imoim/world/util/c/b;->f()Z

    move-result v0

    const/4 v1, 0x1

    if-ne v0, v1, :cond_3d

    .line 1013
    iget-object v0, p0, Lcom/imo/android/imoim/world/fulldetail/view/interactive/BaseFeedFDView$b;->a:Lcom/imo/android/imoim/world/fulldetail/view/interactive/BaseFeedFDView;

    invoke-static {v0}, Lcom/imo/android/imoim/world/fulldetail/view/interactive/BaseFeedFDView;->A(Lcom/imo/android/imoim/world/fulldetail/view/interactive/BaseFeedFDView;)V

    .line 1014
    iget-object v0, p0, Lcom/imo/android/imoim/world/fulldetail/view/interactive/BaseFeedFDView$b;->a:Lcom/imo/android/imoim/world/fulldetail/view/interactive/BaseFeedFDView;

    sget v1, Lcom/imo/android/imoim/k$a;->iv_menu_container:I

    invoke-virtual {v0, v1}, Lcom/imo/android/imoim/world/fulldetail/view/interactive/BaseFeedFDView;->b(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout;

    if-eqz v0, :cond_3d

    .line 1015
    invoke-virtual {v0}, Landroid/widget/FrameLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v1

    if-eqz v1, :cond_35

    check-cast v1, Landroid/view/ViewGroup$MarginLayoutParams;

    .line 1016
    iget v2, v1, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I

    iget v3, p0, Lcom/imo/android/imoim/world/fulldetail/view/interactive/BaseFeedFDView$b;->b:I

    add-int/2addr v2, v3

    iput v2, v1, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I

    .line 1017
    check-cast v1, Landroid/view/ViewGroup$LayoutParams;

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    return-void

    .line 1015
    :cond_35
    new-instance v0, Lkotlin/TypeCastException;

    const-string v1, "null cannot be cast to non-null type android.view.ViewGroup.MarginLayoutParams"

    invoke-direct {v0, v1}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_3d
    return-void
.end method