.class public final Lz5/dn0;
.super Ljava/lang/Object;
.source ""


# instance fields
.field public final a:Lz5/np0;

.field public final b:Lz5/to0;

.field public c:Landroid/view/ViewTreeObserver$OnScrollChangedListener;


# direct methods
.method public constructor <init>(Lz5/np0;Lz5/to0;)V
    .registers 3

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

    iput-object p1, p0, Lz5/dn0;->a:Lz5/np0;

    iput-object p2, p0, Lz5/dn0;->b:Lz5/to0;

    const/4 p1, 0x0

    iput-object p1, p0, Lz5/dn0;->c:Landroid/view/ViewTreeObserver$OnScrollChangedListener;

    return-void
.end method

.method public static final b(Landroid/content/Context;Ljava/lang/String;I)I
    .registers 3

    :try_start_0
    invoke-static {p1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result p2
    :try_end_4
    .catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_4} :catch_4

    .line 1
    :catch_4
    sget-object p1, Lz5/wk;->f:Lz5/wk;

    iget-object p1, p1, Lz5/wk;->a:Lz5/z40;

    .line 2
    invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object p0

    invoke-virtual {p0}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object p0

    invoke-static {p0, p2}, Lz5/z40;->f(Landroid/util/DisplayMetrics;I)I

    move-result p0

    return p0
.end method


# virtual methods
.method public final a(Landroid/view/View;Landroid/view/WindowManager;)Landroid/view/View;
    .registers 15

    iget-object v0, p0, Lz5/dn0;->a:Lz5/np0;

    invoke-static {}, Lz5/dk;->c()Lz5/dk;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2, v2}, Lz5/np0;->a(Lz5/dk;Lz5/b31;Lz5/e31;)Lcom/google/android/gms/internal/ads/g2;

    move-result-object v0

    move-object v1, v0

    check-cast v1, Landroid/view/View;

    const/4 v2, 0x4

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

    const-string v2, "policy_validator"

    invoke-virtual {v1, v2}, Landroid/view/View;->setContentDescription(Ljava/lang/CharSequence;)V

    new-instance v2, Lz5/gt;

    invoke-direct {v2, p0}, Lz5/gt;-><init>(Lz5/dn0;)V

    move-object v3, v0

    check-cast v3, Lz5/j80;

    .line 1
    iget-object v4, v3, Lz5/j80;->r:Lcom/google/android/gms/internal/ads/g2;

    const-string v5, "/sendMessageToSdk"

    invoke-interface {v4, v5, v2}, Lcom/google/android/gms/internal/ads/g2;->T(Ljava/lang/String;Lz5/cu;)V

    .line 2
    new-instance v2, Lz5/an0;

    invoke-direct {v2, p0, p2, p1}, Lz5/an0;-><init>(Lz5/dn0;Landroid/view/WindowManager;Landroid/view/View;)V

    .line 3
    iget-object v4, v3, Lz5/j80;->r:Lcom/google/android/gms/internal/ads/g2;

    const-string v5, "/hideValidatorOverlay"

    invoke-interface {v4, v5, v2}, Lcom/google/android/gms/internal/ads/g2;->T(Ljava/lang/String;Lz5/cu;)V

    .line 4
    new-instance v2, Lz5/ku;

    const/4 v7, 0x0

    const/4 v8, 0x0

    const/4 v9, 0x0

    const/4 v10, 0x0

    const/4 v11, 0x0

    move-object v6, v2

    invoke-direct/range {v6 .. v11}, Lz5/ku;-><init>(Lcom/google/android/gms/ads/internal/zzb;Lz5/nz;Lz5/lu0;Lz5/lq0;Lz5/q51;)V

    .line 5
    iget-object v3, v3, Lz5/j80;->r:Lcom/google/android/gms/internal/ads/g2;

    const-string v4, "/open"

    invoke-interface {v3, v4, v2}, Lcom/google/android/gms/internal/ads/g2;->T(Ljava/lang/String;Lz5/cu;)V

    .line 6
    iget-object v2, p0, Lz5/dn0;->b:Lz5/to0;

    new-instance v3, Ljava/lang/ref/WeakReference;

    invoke-direct {v3, v0}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    new-instance v4, Lz5/an0;

    invoke-direct {v4, p0, p1, p2}, Lz5/an0;-><init>(Lz5/dn0;Landroid/view/View;Landroid/view/WindowManager;)V

    .line 7
    new-instance p1, Lz5/so0;

    const-string p2, "/loadNativeAdPolicyViolations"

    invoke-direct {p1, v2, v3, p2, v4}, Lz5/so0;-><init>(Lz5/to0;Ljava/lang/ref/WeakReference;Ljava/lang/String;Lz5/cu;)V

    invoke-virtual {v2, p2, p1}, Lz5/to0;->b(Ljava/lang/String;Lz5/cu;)V

    .line 8
    iget-object p1, p0, Lz5/dn0;->b:Lz5/to0;

    new-instance p2, Ljava/lang/ref/WeakReference;

    invoke-direct {p2, v0}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    sget-object v0, Lz5/bn0;->r:Lz5/cu;

    .line 9
    new-instance v2, Lz5/so0;

    const-string v3, "/showValidatorOverlay"

    invoke-direct {v2, p1, p2, v3, v0}, Lz5/so0;-><init>(Lz5/to0;Ljava/lang/ref/WeakReference;Ljava/lang/String;Lz5/cu;)V

    invoke-virtual {p1, v3, v2}, Lz5/to0;->b(Ljava/lang/String;Lz5/cu;)V

    return-object v1
.end method
