HurriyetAdView.smali

.class public Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;
.super Landroid/widget/RelativeLayout;
.source "HurriyetAdView.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$NativeAdListener;
    }
.end annotation


# static fields
.field public static final RECTANGLE_BIG_AD_HEIGHT:I = 0x1e0

.field public static final RECTANGLE_BIG_AD_WIDTH:I = 0x140

.field public static final RECTANGLE_SMALL_AD_HEIGHT:I = 0xfa

.field public static final RECTANGLE_SMALL_AD_WIDTH:I = 0x12c


# instance fields
.field private mAdFeed:Ltr/com/hurriyet/androidsdk/model/content/AdFeed;

.field private mConfigurations:Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;

.field private mExternalAdListeners:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/google/android/gms/ads/AdListener;",
            ">;"
        }
    .end annotation
.end field

.field private mIsFirstMeasure:Z

.field private mIsMeasureInfoEnabled:Z

.field private final mLocalAdListener:Lcom/google/android/gms/ads/AdListener;

.field mPublisherAdView:Lcom/google/android/gms/ads/doubleclick/PublisherAdView;

.field private nativeAdListener:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$NativeAdListener;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .registers 2

    .line 44
    invoke-direct {p0, p1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    .line 39
    new-instance p1, Ljava/util/ArrayList;

    invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V

    iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mExternalAdListeners:Ljava/util/List;

    const/4 p1, 0x1

    .line 40
    iput-boolean p1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mIsFirstMeasure:Z

    .line 74
    new-instance p1, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$1;

    invoke-direct {p1, p0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$1;-><init>(Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;)V

    iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->nativeAdListener:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$NativeAdListener;

    .line 245
    new-instance p1, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$2;

    invoke-direct {p1, p0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$2;-><init>(Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;)V

    iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mLocalAdListener:Lcom/google/android/gms/ads/AdListener;

    const/4 p1, 0x0

    .line 45
    invoke-direct {p0, p1, p1, p1}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->initAdView(Ltr/com/hurriyet/androidsdk/model/content/AdFeed;Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;Landroidx/recyclerview/widget/RecyclerView;)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .registers 3

    .line 49
    invoke-direct {p0, p1, p2}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    .line 39
    new-instance p1, Ljava/util/ArrayList;

    invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V

    iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mExternalAdListeners:Ljava/util/List;

    const/4 p1, 0x1

    .line 40
    iput-boolean p1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mIsFirstMeasure:Z

    .line 74
    new-instance p1, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$1;

    invoke-direct {p1, p0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$1;-><init>(Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;)V

    iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->nativeAdListener:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$NativeAdListener;

    .line 245
    new-instance p1, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$2;

    invoke-direct {p1, p0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$2;-><init>(Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;)V

    iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mLocalAdListener:Lcom/google/android/gms/ads/AdListener;

    const/4 p1, 0x0

    .line 50
    invoke-direct {p0, p1, p1, p1}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->initAdView(Ltr/com/hurriyet/androidsdk/model/content/AdFeed;Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;Landroidx/recyclerview/widget/RecyclerView;)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .registers 4

    .line 54
    invoke-direct {p0, p1, p2}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    .line 39
    new-instance p1, Ljava/util/ArrayList;

    invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V

    iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mExternalAdListeners:Ljava/util/List;

    const/4 p1, 0x1

    .line 40
    iput-boolean p1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mIsFirstMeasure:Z

    .line 74
    new-instance p1, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$1;

    invoke-direct {p1, p0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$1;-><init>(Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;)V

    iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->nativeAdListener:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$NativeAdListener;

    .line 245
    new-instance p1, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$2;

    invoke-direct {p1, p0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$2;-><init>(Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;)V

    iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mLocalAdListener:Lcom/google/android/gms/ads/AdListener;

    const/4 p1, 0x0

    .line 55
    invoke-direct {p0, p1, p1, p1}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->initAdView(Ltr/com/hurriyet/androidsdk/model/content/AdFeed;Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;Landroidx/recyclerview/widget/RecyclerView;)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Ltr/com/hurriyet/androidsdk/model/content/AdFeed;Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;)V
    .registers 4

    .line 59
    invoke-direct {p0, p1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    .line 39
    new-instance p1, Ljava/util/ArrayList;

    invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V

    iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mExternalAdListeners:Ljava/util/List;

    const/4 p1, 0x1

    .line 40
    iput-boolean p1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mIsFirstMeasure:Z

    .line 74
    new-instance p1, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$1;

    invoke-direct {p1, p0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$1;-><init>(Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;)V

    iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->nativeAdListener:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$NativeAdListener;

    .line 245
    new-instance p1, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$2;

    invoke-direct {p1, p0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$2;-><init>(Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;)V

    iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mLocalAdListener:Lcom/google/android/gms/ads/AdListener;

    const/4 p1, 0x0

    .line 60
    invoke-direct {p0, p2, p3, p1}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->initAdView(Ltr/com/hurriyet/androidsdk/model/content/AdFeed;Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;Landroidx/recyclerview/widget/RecyclerView;)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Ltr/com/hurriyet/androidsdk/model/content/AdFeed;Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;Landroidx/recyclerview/widget/RecyclerView;)V
    .registers 5

    .line 64
    invoke-direct {p0, p1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    .line 39
    new-instance p1, Ljava/util/ArrayList;

    invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V

    iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mExternalAdListeners:Ljava/util/List;

    const/4 p1, 0x1

    .line 40
    iput-boolean p1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mIsFirstMeasure:Z

    .line 74
    new-instance p1, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$1;

    invoke-direct {p1, p0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$1;-><init>(Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;)V

    iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->nativeAdListener:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$NativeAdListener;

    .line 245
    new-instance p1, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$2;

    invoke-direct {p1, p0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$2;-><init>(Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;)V

    iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mLocalAdListener:Lcom/google/android/gms/ads/AdListener;

    .line 65
    invoke-direct {p0, p2, p3, p4}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->initAdView(Ltr/com/hurriyet/androidsdk/model/content/AdFeed;Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;Landroidx/recyclerview/widget/RecyclerView;)V

    return-void
.end method

.method static synthetic access$000(Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;)V
    .registers 1

    .line 30
    invoke-direct {p0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->showAd()V

    return-void
.end method

.method static synthetic access$100(Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;)Ljava/util/List;
    .registers 1

    .line 30
    iget-object p0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mExternalAdListeners:Ljava/util/List;

    return-object p0
.end method

.method static synthetic access$200(Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;)Ltr/com/hurriyet/androidsdk/model/content/AdFeed;
    .registers 1

    .line 30
    iget-object p0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mAdFeed:Ltr/com/hurriyet/androidsdk/model/content/AdFeed;

    return-object p0
.end method

.method static synthetic access$300(Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;)Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;
    .registers 1

    .line 30
    iget-object p0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mConfigurations:Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;

    return-object p0
.end method

.method static synthetic access$400(Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;Ltr/com/hurriyet/androidsdk/model/content/AdFeed;Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;Landroidx/recyclerview/widget/RecyclerView;)V
    .registers 4

    .line 30
    invoke-direct {p0, p1, p2, p3}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->initAdView(Ltr/com/hurriyet/androidsdk/model/content/AdFeed;Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;Landroidx/recyclerview/widget/RecyclerView;)V

    return-void
.end method

.method static synthetic access$500(Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;)V
    .registers 1

    .line 30
    invoke-direct {p0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->hideAd()V

    return-void
.end method

.method private getAdPrefix()Ljava/lang/String;
    .registers 3

    .line 206
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/HApp;->getAppContext()Landroid/content/Context;

    move-result-object v0

    const-string v1, "0"

    invoke-static {v0, v1}, Lcom/appcore/clientdata/ClientData;->loadData(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    .line 209
    iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mAdFeed:Ltr/com/hurriyet/androidsdk/model/content/AdFeed;

    iget-object v1, v1, Ltr/com/hurriyet/androidsdk/model/content/AdFeed;->androidAdUnitPrefix:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_1a

    .line 210
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mAdFeed:Ltr/com/hurriyet/androidsdk/model/content/AdFeed;

    iget-object v0, v0, Ltr/com/hurriyet/androidsdk/model/content/AdFeed;->androidAdUnitPrefix:Ljava/lang/String;

    :cond_1a
    return-object v0
.end method

.method private getAdUrl()Ljava/lang/String;
    .registers 3

    .line 216
    new-instance v0, Ljava/lang/StringBuilder;

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

    invoke-direct {p0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->getAdPrefix()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mAdFeed:Ltr/com/hurriyet/androidsdk/model/content/AdFeed;

    iget-object v1, v1, Ltr/com/hurriyet/androidsdk/model/content/AdFeed;->adUrl:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method private hideAd()V
    .registers 3

    .line 220
    invoke-virtual {p0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    const/16 v1, 0x8

    if-eqz v0, :cond_11

    .line 221
    invoke-virtual {p0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    check-cast v0, Landroid/view/ViewGroup;

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

    .line 223
    :cond_11
    invoke-virtual {p0, v1}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->setVisibility(I)V

    .line 224
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mPublisherAdView:Lcom/google/android/gms/ads/doubleclick/PublisherAdView;

    if-eqz v0, :cond_1b

    .line 225
    invoke-virtual {v0, v1}, Lcom/google/android/gms/ads/doubleclick/PublisherAdView;->setVisibility(I)V

    :cond_1b
    return-void
.end method

.method private initAdView(Ltr/com/hurriyet/androidsdk/model/content/AdFeed;Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;Landroidx/recyclerview/widget/RecyclerView;)V
    .registers 8

    .line 97
    sget-boolean v0, Lhurriyet/mobil/android/hurriyet/HConstants;->IS_AD_ENABLED:Z

    if-eqz v0, :cond_c7

    if-eqz p1, :cond_c7

    invoke-virtual {p1}, Ltr/com/hurriyet/androidsdk/model/content/AdFeed;->getAdType()Ltr/com/hurriyet/androidsdk/model/content/AdType;

    move-result-object v0

    sget-object v1, Ltr/com/hurriyet/androidsdk/model/content/AdType;->INTERSTITIAL:Ltr/com/hurriyet/androidsdk/model/content/AdType;

    if-eq v0, v1, :cond_c7

    iget-object v0, p1, Ltr/com/hurriyet/androidsdk/model/content/AdFeed;->adUrl:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_18

    goto/16 :goto_c7

    .line 101
    :cond_18
    iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mAdFeed:Ltr/com/hurriyet/androidsdk/model/content/AdFeed;

    if-eqz p2, :cond_2a

    .line 103
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/HApp;->getAppContext()Landroid/content/Context;

    move-result-object v0

    const-string v1, "115"

    invoke-static {v0, v1}, Lcom/appcore/clientdata/ClientData;->loadData(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/List;

    iput-object v0, p2, Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;->userSegments:Ljava/util/List;

    .line 105
    :cond_2a
    iput-object p2, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mConfigurations:Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;

    const/high16 p2, 0x60000

    .line 106
    invoke-virtual {p0, p2}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->setDescendantFocusability(I)V

    .line 109
    new-instance p2, Lcom/google/android/gms/ads/doubleclick/PublisherAdView;

    invoke-virtual {p0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-direct {p2, v0}, Lcom/google/android/gms/ads/doubleclick/PublisherAdView;-><init>(Landroid/content/Context;)V

    iput-object p2, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mPublisherAdView:Lcom/google/android/gms/ads/doubleclick/PublisherAdView;

    .line 111
    new-instance p2, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v0, -0x1

    const/4 v1, -0x2

    invoke-direct {p2, v0, v1}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v0, 0xe

    .line 112
    invoke-virtual {p2, v0}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    .line 115
    iget-object v0, p1, Ltr/com/hurriyet/androidsdk/model/content/AdFeed;->nativeStyles:Ljava/util/List;

    const/4 v1, 0x0

    if-eqz v0, :cond_9a

    iget-object v0, p1, Ltr/com/hurriyet/androidsdk/model/content/AdFeed;->nativeStyles:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_9a

    .line 117
    new-instance v0, Lhurriyet/mobil/android/hurriyet/views/HurriyetDfpView;

    invoke-static {}, Lhurriyet/mobil/android/hurriyet/HApp;->getH()Lhurriyet/mobil/android/hurriyet/HApp;

    move-result-object v2

    invoke-virtual {v2}, Lhurriyet/mobil/android/hurriyet/HApp;->getPageController()Lhurriyet/mobil/android/hurriyet/HurriyetPageController;

    move-result-object v2

    invoke-interface {v2}, Lhurriyet/mobil/android/hurriyet/HurriyetPageController;->getMainActivity()Lhurriyet/mobil/android/hurriyet/activities/main/MainActivity;

    move-result-object v2

    iget-object v3, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->nativeAdListener:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$NativeAdListener;

    invoke-direct {v0, v2, v3}, Lhurriyet/mobil/android/hurriyet/views/HurriyetDfpView;-><init>(Landroid/content/Context;Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$NativeAdListener;)V

    .line 118
    iget-object v2, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mAdFeed:Ltr/com/hurriyet/androidsdk/model/content/AdFeed;

    invoke-virtual {v2}, Ltr/com/hurriyet/androidsdk/model/content/AdFeed;->getAdType()Ltr/com/hurriyet/androidsdk/model/content/AdType;

    move-result-object v2

    sget-object v3, Ltr/com/hurriyet/androidsdk/model/content/AdType;->RECTANGLE:Ltr/com/hurriyet/androidsdk/model/content/AdType;

    if-ne v2, v3, :cond_80

    .line 119
    sget-object v2, Lcom/google/android/gms/ads/AdSize;->MEDIUM_RECTANGLE:Lcom/google/android/gms/ads/AdSize;

    invoke-virtual {v2}, Lcom/google/android/gms/ads/AdSize;->getHeight()I

    move-result v2

    invoke-static {v2}, Lcom/appcore/utils/helpers/ConversionHelpers;->dpToPx(I)F

    move-result v2

    float-to-int v2, v2

    iput v2, p2, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    goto :goto_8d

    .line 121
    :cond_80
    sget-object v2, Lcom/google/android/gms/ads/AdSize;->BANNER:Lcom/google/android/gms/ads/AdSize;

    invoke-virtual {v2}, Lcom/google/android/gms/ads/AdSize;->getHeight()I

    move-result v2

    invoke-static {v2}, Lcom/appcore/utils/helpers/ConversionHelpers;->dpToPx(I)F

    move-result v2

    float-to-int v2, v2

    iput v2, p2, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    .line 123
    :goto_8d
    invoke-direct {p0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->getAdUrl()Ljava/lang/String;

    move-result-object v2

    iget-object p1, p1, Ltr/com/hurriyet/androidsdk/model/content/AdFeed;->nativeStyles:Ljava/util/List;

    invoke-virtual {v0, v2, p1, p3}, Lhurriyet/mobil/android/hurriyet/views/HurriyetDfpView;->init(Ljava/lang/String;Ljava/util/List;Landroidx/recyclerview/widget/RecyclerView;)V

    .line 124
    invoke-virtual {p0, v0, v1, p2}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V

    goto :goto_c3

    .line 126
    :cond_9a
    sget-object p1, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$3;->$SwitchMap$tr$com$hurriyet$androidsdk$model$content$AdType:[I

    iget-object p3, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mAdFeed:Ltr/com/hurriyet/androidsdk/model/content/AdFeed;

    invoke-virtual {p3}, Ltr/com/hurriyet/androidsdk/model/content/AdFeed;->getAdType()Ltr/com/hurriyet/androidsdk/model/content/AdType;

    move-result-object p3

    invoke-virtual {p3}, Ltr/com/hurriyet/androidsdk/model/content/AdType;->ordinal()I

    move-result p3

    aget p1, p1, p3

    .line 134
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mPublisherAdView:Lcom/google/android/gms/ads/doubleclick/PublisherAdView;

    const/4 p3, 0x3

    new-array p3, p3, [Lcom/google/android/gms/ads/AdSize;

    sget-object v0, Lcom/google/android/gms/ads/AdSize;->BANNER:Lcom/google/android/gms/ads/AdSize;

    aput-object v0, p3, v1

    const/4 v0, 0x1

    sget-object v2, Lcom/google/android/gms/ads/AdSize;->LARGE_BANNER:Lcom/google/android/gms/ads/AdSize;

    aput-object v2, p3, v0

    const/4 v0, 0x2

    sget-object v2, Lcom/google/android/gms/ads/AdSize;->MEDIUM_RECTANGLE:Lcom/google/android/gms/ads/AdSize;

    aput-object v2, p3, v0

    invoke-virtual {p1, p3}, Lcom/google/android/gms/ads/doubleclick/PublisherAdView;->setAdSizes([Lcom/google/android/gms/ads/AdSize;)V

    .line 137
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mPublisherAdView:Lcom/google/android/gms/ads/doubleclick/PublisherAdView;

    invoke-virtual {p0, p1, v1, p2}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V

    .line 140
    :goto_c3
    invoke-direct {p0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->hideAd()V

    return-void

    .line 98
    :cond_c7
    :goto_c7
    invoke-direct {p0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->hideAd()V

    return-void
.end method

.method private showAd()V
    .registers 3

    .line 230
    invoke-virtual {p0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->getVisibility()I

    move-result v0

    if-eqz v0, :cond_23

    .line 231
    invoke-virtual {p0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    const/4 v1, 0x0

    if-eqz v0, :cond_19

    .line 232
    invoke-virtual {p0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    check-cast v0, Landroid/view/ViewGroup;

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

    .line 233
    invoke-virtual {p0, v1}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->setVisibility(I)V

    .line 235
    :cond_19
    invoke-virtual {p0, v1}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->setVisibility(I)V

    .line 236
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mPublisherAdView:Lcom/google/android/gms/ads/doubleclick/PublisherAdView;

    if-eqz v0, :cond_23

    .line 237
    invoke-virtual {v0, v1}, Lcom/google/android/gms/ads/doubleclick/PublisherAdView;->setVisibility(I)V

    :cond_23
    return-void
.end method


# virtual methods
.method public addExternalAdListener(ILcom/google/android/gms/ads/AdListener;)V
    .registers 4

    if-ltz p1, :cond_11

    .line 322
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mExternalAdListeners:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge p1, v0, :cond_11

    if-eqz p2, :cond_11

    .line 323
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mExternalAdListeners:Ljava/util/List;

    invoke-interface {v0, p1, p2}, Ljava/util/List;->add(ILjava/lang/Object;)V

    :cond_11
    return-void
.end method

.method public addExternalAdListener(Lcom/google/android/gms/ads/AdListener;)V
    .registers 3

    if-eqz p1, :cond_7

    .line 317
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mExternalAdListeners:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_7
    return-void
.end method

.method public destroy()V
    .registers 2

    .line 337
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mPublisherAdView:Lcom/google/android/gms/ads/doubleclick/PublisherAdView;

    if-eqz v0, :cond_7

    .line 338
    invoke-virtual {v0}, Lcom/google/android/gms/ads/doubleclick/PublisherAdView;->destroy()V

    :cond_7
    return-void
.end method

.method public getAdType()Ltr/com/hurriyet/androidsdk/model/content/AdType;
    .registers 2

    .line 349
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mAdFeed:Ltr/com/hurriyet/androidsdk/model/content/AdFeed;

    if-eqz v0, :cond_9

    .line 350
    invoke-virtual {v0}, Ltr/com/hurriyet/androidsdk/model/content/AdFeed;->getAdType()Ltr/com/hurriyet/androidsdk/model/content/AdType;

    move-result-object v0

    return-object v0

    :cond_9
    const/4 v0, 0x0

    return-object v0
.end method

.method public getExternalAdListeners()Ljava/util/List;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Lcom/google/android/gms/ads/AdListener;",
            ">;"
        }
    .end annotation

    .line 312
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mExternalAdListeners:Ljava/util/List;

    return-object v0
.end method

.method public getPublisherAdView()Lcom/google/android/gms/ads/doubleclick/PublisherAdView;
    .registers 2

    .line 356
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mPublisherAdView:Lcom/google/android/gms/ads/doubleclick/PublisherAdView;

    return-object v0
.end method

.method public loadAd()V
    .registers 5

    .line 166
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mAdFeed:Ltr/com/hurriyet/androidsdk/model/content/AdFeed;

    if-eqz v0, :cond_9

    iget-object v0, v0, Ltr/com/hurriyet/androidsdk/model/content/AdFeed;->nativeStyles:Ljava/util/List;

    if-eqz v0, :cond_9

    return-void

    .line 168
    :cond_9
    sget-boolean v0, Lhurriyet/mobil/android/hurriyet/HConstants;->IS_AD_ENABLED:Z

    if-eqz v0, :cond_ba

    invoke-virtual {p0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->getContext()Landroid/content/Context;

    move-result-object v0

    if-eqz v0, :cond_ba

    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mAdFeed:Ltr/com/hurriyet/androidsdk/model/content/AdFeed;

    if-eqz v0, :cond_ba

    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mPublisherAdView:Lcom/google/android/gms/ads/doubleclick/PublisherAdView;

    if-eqz v0, :cond_ba

    .line 169
    iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mConfigurations:Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;

    if-eqz v1, :cond_8a

    .line 170
    invoke-virtual {v0}, Lcom/google/android/gms/ads/doubleclick/PublisherAdView;->getAdSize()Lcom/google/android/gms/ads/AdSize;

    move-result-object v0

    if-eqz v0, :cond_45

    .line 171
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mConfigurations:Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;

    new-instance v1, Ljava/lang/StringBuilder;

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

    iget-object v2, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mPublisherAdView:Lcom/google/android/gms/ads/doubleclick/PublisherAdView;

    invoke-virtual {v2}, Lcom/google/android/gms/ads/doubleclick/PublisherAdView;->getAdSize()Lcom/google/android/gms/ads/AdSize;

    move-result-object v2

    invoke-virtual {v2}, Lcom/google/android/gms/ads/AdSize;->getHeight()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;->adSize:Ljava/lang/String;

    goto :goto_6a

    .line 173
    :cond_45
    sget-object v0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView$3;->$SwitchMap$tr$com$hurriyet$androidsdk$model$content$AdType:[I

    iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mAdFeed:Ltr/com/hurriyet/androidsdk/model/content/AdFeed;

    invoke-virtual {v1}, Ltr/com/hurriyet/androidsdk/model/content/AdFeed;->getAdType()Ltr/com/hurriyet/androidsdk/model/content/AdType;

    move-result-object v1

    invoke-virtual {v1}, Ltr/com/hurriyet/androidsdk/model/content/AdType;->ordinal()I

    move-result v1

    aget v0, v0, v1

    .line 181
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mPublisherAdView:Lcom/google/android/gms/ads/doubleclick/PublisherAdView;

    const/4 v1, 0x3

    new-array v1, v1, [Lcom/google/android/gms/ads/AdSize;

    const/4 v2, 0x0

    sget-object v3, Lcom/google/android/gms/ads/AdSize;->BANNER:Lcom/google/android/gms/ads/AdSize;

    aput-object v3, v1, v2

    const/4 v2, 0x1

    sget-object v3, Lcom/google/android/gms/ads/AdSize;->LARGE_BANNER:Lcom/google/android/gms/ads/AdSize;

    aput-object v3, v1, v2

    const/4 v2, 0x2

    sget-object v3, Lcom/google/android/gms/ads/AdSize;->MEDIUM_RECTANGLE:Lcom/google/android/gms/ads/AdSize;

    aput-object v3, v1, v2

    invoke-virtual {v0, v1}, Lcom/google/android/gms/ads/doubleclick/PublisherAdView;->setAdSizes([Lcom/google/android/gms/ads/AdSize;)V

    .line 185
    :goto_6a
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mConfigurations:Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;

    iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mAdFeed:Ltr/com/hurriyet/androidsdk/model/content/AdFeed;

    iget-object v1, v1, Ltr/com/hurriyet/androidsdk/model/content/AdFeed;->androidAdUnitPrefix:Ljava/lang/String;

    iput-object v1, v0, Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;->adPrefix:Ljava/lang/String;

    .line 186
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mConfigurations:Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;

    invoke-direct {p0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->getAdPrefix()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;->adPrefix:Ljava/lang/String;

    .line 187
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mConfigurations:Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;

    iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mAdFeed:Ltr/com/hurriyet/androidsdk/model/content/AdFeed;

    iget-object v1, v1, Ltr/com/hurriyet/androidsdk/model/content/AdFeed;->adUrl:Ljava/lang/String;

    iput-object v1, v0, Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;->adSuffix:Ljava/lang/String;

    .line 188
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mConfigurations:Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;

    invoke-direct {p0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->getAdUrl()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;->combinedAdId:Ljava/lang/String;

    .line 192
    :cond_8a
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mPublisherAdView:Lcom/google/android/gms/ads/doubleclick/PublisherAdView;

    invoke-virtual {v0}, Lcom/google/android/gms/ads/doubleclick/PublisherAdView;->getAdUnitId()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_ba

    .line 193
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mPublisherAdView:Lcom/google/android/gms/ads/doubleclick/PublisherAdView;

    invoke-direct {p0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->getAdUrl()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/google/android/gms/ads/doubleclick/PublisherAdView;->setAdUnitId(Ljava/lang/String;)V

    .line 194
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mPublisherAdView:Lcom/google/android/gms/ads/doubleclick/PublisherAdView;

    iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mLocalAdListener:Lcom/google/android/gms/ads/AdListener;

    invoke-virtual {v0, v1}, Lcom/google/android/gms/ads/doubleclick/PublisherAdView;->setAdListener(Lcom/google/android/gms/ads/AdListener;)V

    .line 196
    :try_start_a6
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mPublisherAdView:Lcom/google/android/gms/ads/doubleclick/PublisherAdView;

    iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mConfigurations:Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;

    invoke-static {v1}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdHelper;->getPublisherAdRequest(Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;)Lcom/google/android/gms/ads/doubleclick/PublisherAdRequest;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/google/android/gms/ads/doubleclick/PublisherAdView;->loadAd(Lcom/google/android/gms/ads/doubleclick/PublisherAdRequest;)V
    :try_end_b1
    .catch Ljava/lang/Exception; {:try_start_a6 .. :try_end_b1} :catch_b2

    goto :goto_ba

    :catch_b2
    move-exception v0

    .line 198
    invoke-static {}, Lcom/google/firebase/crashlytics/FirebaseCrashlytics;->getInstance()Lcom/google/firebase/crashlytics/FirebaseCrashlytics;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/google/firebase/crashlytics/FirebaseCrashlytics;->recordException(Ljava/lang/Throwable;)V

    :cond_ba
    :goto_ba
    return-void
.end method

.method protected onMeasure(II)V
    .registers 4

    .line 145
    invoke-super {p0, p1, p2}, Landroid/widget/RelativeLayout;->onMeasure(II)V

    .line 146
    iget-boolean p1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mIsMeasureInfoEnabled:Z

    if-eqz p1, :cond_2e

    iget-boolean p1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mIsFirstMeasure:Z

    if-eqz p1, :cond_2e

    const/4 p1, 0x0

    .line 147
    iput-boolean p1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mIsFirstMeasure:Z

    .line 148
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mExternalAdListeners:Ljava/util/List;

    if-eqz p1, :cond_2e

    .line 149
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :cond_16
    :goto_16
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result p2

    if-eqz p2, :cond_2e

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object p2

    check-cast p2, Lcom/google/android/gms/ads/AdListener;

    if-eqz p2, :cond_16

    .line 150
    instance-of v0, p2, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdListener;

    if-eqz v0, :cond_16

    .line 151
    check-cast p2, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdListener;

    invoke-virtual {p2}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdListener;->onFirstAdMeasured()V

    goto :goto_16

    :cond_2e
    return-void
.end method

.method public pause()V
    .registers 2

    .line 343
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mPublisherAdView:Lcom/google/android/gms/ads/doubleclick/PublisherAdView;

    if-eqz v0, :cond_7

    .line 344
    invoke-virtual {v0}, Lcom/google/android/gms/ads/doubleclick/PublisherAdView;->pause()V

    :cond_7
    return-void
.end method

.method public resume()V
    .registers 2

    .line 331
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mPublisherAdView:Lcom/google/android/gms/ads/doubleclick/PublisherAdView;

    if-eqz v0, :cond_7

    .line 332
    invoke-virtual {v0}, Lcom/google/android/gms/ads/doubleclick/PublisherAdView;->resume()V

    :cond_7
    return-void
.end method

.method public setMeasureInfoEnabled(Z)V
    .registers 2

    .line 159
    iput-boolean p1, p0, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->mIsMeasureInfoEnabled:Z

    return-void
.end method