GenericProgressWithAdFragment$setupViews$2.smali

.class public final Lcom/avast/android/cleaner/fragment/GenericProgressWithAdFragment$setupViews$2;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnLayoutChangeListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/avast/android/cleaner/fragment/GenericProgressWithAdFragment;->setupViews()V
.end annotation

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


# instance fields
.field final synthetic a:Lcom/avast/android/cleaner/fragment/GenericProgressWithAdFragment;

.field final synthetic b:I


# direct methods
.method constructor <init>(Lcom/avast/android/cleaner/fragment/GenericProgressWithAdFragment;I)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I)V"
        }
    .end annotation

    iput-object p1, p0, Lcom/avast/android/cleaner/fragment/GenericProgressWithAdFragment$setupViews$2;->a:Lcom/avast/android/cleaner/fragment/GenericProgressWithAdFragment;

    iput p2, p0, Lcom/avast/android/cleaner/fragment/GenericProgressWithAdFragment$setupViews$2;->b:I

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

    return-void
.end method


# virtual methods
.method public onLayoutChange(Landroid/view/View;IIIIIIII)V
    .registers 11

    const-string p2, "v"

    const-string p2, "v"

    const/4 v0, 0x6

    invoke-static {p1, p2}, Lkotlin/jvm/internal/Intrinsics;->c(Ljava/lang/Object;Ljava/lang/String;)V

    sub-int/2addr p5, p3

    iget p1, p0, Lcom/avast/android/cleaner/fragment/GenericProgressWithAdFragment$setupViews$2;->b:I

    const/4 v0, 0x0

    if-ge p5, p1, :cond_42

    iget-object p1, p0, Lcom/avast/android/cleaner/fragment/GenericProgressWithAdFragment$setupViews$2;->a:Lcom/avast/android/cleaner/fragment/GenericProgressWithAdFragment;

    const/4 v0, 0x1

    invoke-virtual {p1}, Lcom/avast/android/cleaner/fragment/GenericProgressWithAdFragment;->getViewModel()Lcom/avast/android/cleaner/fragment/viewmodel/ProgressWithAdModel;

    move-result-object p1

    const/4 v0, 0x1

    const/4 p2, 0x1

    const/4 v0, 0x2

    invoke-virtual {p1, p2}, Lcom/avast/android/cleaner/fragment/viewmodel/ProgressWithAdModel;->p(Z)V

    iget-object p1, p0, Lcom/avast/android/cleaner/fragment/GenericProgressWithAdFragment$setupViews$2;->a:Lcom/avast/android/cleaner/fragment/GenericProgressWithAdFragment;

    sget p2, Lcom/avast/android/cleaner/R$id;->progress_object:I

    invoke-virtual {p1, p2}, Lcom/avast/android/cleaner/fragment/GenericProgressWithAdFragment;->_$_findCachedViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Lcom/google/android/material/textview/MaterialTextView;

    const-string p2, "pbssrecesg_toor"

    const-string p2, "progress_object"

    invoke-static {p1, p2}, Lkotlin/jvm/internal/Intrinsics;->b(Ljava/lang/Object;Ljava/lang/String;)V

    const/4 v0, 0x4

    const/4 p2, 0x4

    const/4 v0, 0x6

    invoke-virtual {p1, p2}, Landroid/widget/TextView;->setVisibility(I)V

    const/4 v0, 0x2

    iget-object p1, p0, Lcom/avast/android/cleaner/fragment/GenericProgressWithAdFragment$setupViews$2;->a:Lcom/avast/android/cleaner/fragment/GenericProgressWithAdFragment;

    sget p2, Lcom/avast/android/cleaner/R$id;->progress_object:I

    const/4 v0, 0x0

    invoke-virtual {p1, p2}, Lcom/avast/android/cleaner/fragment/GenericProgressWithAdFragment;->_$_findCachedViewById(I)Landroid/view/View;

    move-result-object p1

    const/4 v0, 0x1

    check-cast p1, Lcom/google/android/material/textview/MaterialTextView;

    invoke-virtual {p1, p0}, Landroid/widget/TextView;->removeOnLayoutChangeListener(Landroid/view/View$OnLayoutChangeListener;)V

    :cond_42
    return-void
.end method