com.appnexus.oas.mobilesdk.ui.adview.XBannerImageView.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of appnexusoasmobileadsdk-test Show documentation
Show all versions of appnexusoasmobileadsdk-test Show documentation
AppNexus OpenAdStream Android Advertising Libraries
???? 2? 5com/appnexus/oas/mobilesdk/ui/adview/XBannerImageView android/widget/ImageView !android/view/View$OnClickListener TAG Ljava/lang/String; context Landroid/content/Context; adViewContainer $Lcom/appnexus/oas/mobilesdk/XAdView; clickThroughUrl xAdSlotConfiguration ?Lcom/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration; adClickListener -Lcom/appnexus/oas/mobilesdk/IAdClickListener; adClickToActionListener 1Lcom/appnexus/oas/mobilesdk/IHandleClickToAction; bannerAdListener &Lcom/appnexus/oas/mobilesdk/IBannerAd; isInBrowserLaunched Z (Landroid/content/Context;)V Code
java/lang/Object ! " getClass ()Ljava/lang/Class;
$ & % java/lang/Class ' (
getSimpleName ()Ljava/lang/String; * ,
. LineNumberTable LocalVariableTable this 7Lcom/appnexus/oas/mobilesdk/ui/adview/XBannerImageView; 7(Landroid/content/Context;Landroid/util/AttributeSet;)V
5 3 attrs Landroid/util/AttributeSet; 8(Landroid/content/Context;Landroid/util/AttributeSet;I)V
: 8 defStyle I.(Landroid/content/Context;Landroid/graphics/Bitmap;Ljava/lang/String;Lcom/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration;Lcom/appnexus/oas/mobilesdk/XAdView;Lcom/appnexus/oas/mobilesdk/IAdClickListener;Lcom/appnexus/oas/mobilesdk/IBannerAd;Lcom/appnexus/oas/mobilesdk/IHandleClickToAction;)V ?
A C E G I
K L M getUpdatedLayoutParams ?(Landroid/content/Context;Landroid/graphics/Bitmap;Lcom/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration;Lcom/appnexus/oas/mobilesdk/XAdView;)Landroid/widget/RelativeLayout$LayoutParams;
O P Q setLayoutParams ((Landroid/view/ViewGroup$LayoutParams;)V
S T U setOnClickListener &(Landroid/view/View$OnClickListener;)V
W X Y setImageBitmap (Landroid/graphics/Bitmap;)V
[ ] \ "com/appnexus/oas/mobilesdk/XAdView ^ _ findViewById (I)Landroid/view/View; a 7com/appnexus/oas/mobilesdk/ui/adview/XBannerImageView$1
` c d :(Lcom/appnexus/oas/mobilesdk/ui/adview/XBannerImageView;)V
f S g android/view/View bitmapImageFromURL Landroid/graphics/Bitmap; layoutParams ,Landroid/widget/RelativeLayout$LayoutParams; [ m n < layoutHeight
[ p q r getDefaultHeight ()I
t v u -com/appnexus/oas/mobilesdk/utilities/XUtility w x getSizeInDP (Landroid/content/Context;I)I [ z { < layoutWidth
[ } ~ r getDefaultWidth
? ? ? android/graphics/Bitmap ? r getWidth
? ? ? =com/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration ? ?
isScalable ()Z
? ? ? r getHeight
? ? ? ? isMaintainAspectRatio ? ? ? "android/widget/ImageView$ScaleType ? ? FIT_XY $Landroid/widget/ImageView$ScaleType;
? ? ? setScaleType '(Landroid/widget/ImageView$ScaleType;)V ? *android/widget/RelativeLayout$LayoutParams
? ? ? (II)V
? ? ? ? addRule (I)V standardBannerHeight standardBannerWidth newWidth newHeight
StackMapTable onConfigurationChanged &(Landroid/content/res/Configuration;)V
? ? ?
? ? ? getLayoutParams '()Landroid/view/ViewGroup$LayoutParams; ? ? ? #android/view/ViewGroup$LayoutParams ? < width
[ ? ? ? ? < height newConfig #Landroid/content/res/Configuration; onClick (Landroid/view/View;)V ? java/lang/StringBuilder ? 2xAdSlotConfiguration.isOpenInExternalBrowser() ::
? ? ? (Ljava/lang/String;)V
? ? ? ? isOpenInExternalBrowser
? ? ? ? append (Z)Ljava/lang/StringBuilder;
? ? ? ( toString
? ? ? -com/appnexus/oas/mobilesdk/utilities/XLogUtil ? ? d '(Ljava/lang/String;Ljava/lang/String;)V
? ? ? openUrl ? java/lang/Exception v Landroid/view/View; ? UTF-8
? ? ? java/net/URLDecoder ? ? decode 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
? ? ? android/net/Uri ? ? parse %(Ljava/lang/String;)Landroid/net/Uri;
? ? ? ( getScheme ? mailto
? ? ? java/lang/String ? ? equalsIgnoreCase (Ljava/lang/String;)Z
? ? ? openEmailClient &(Ljava/lang/String;Landroid/net/Uri;)V ? sms
? ? ?
openSMSapp ? tel
openPhoneApp (Landroid/net/Uri;)V market
openPlaystoreApp
openInExternalBrowser .(Ljava/lang/String;Landroid/content/Context;)V
openInAppBrowser ? url=
? ? -(Ljava/lang/String;)Ljava/lang/StringBuilder; error=
? (
getMessage url uri Landroid/net/Uri; e Ljava/lang/Exception; play store:
?" ?# -(Ljava/lang/Object;)Ljava/lang/StringBuilder;
? ?& id
?()* indexOf (Ljava/lang/String;)I, index:
?. ?/ (I)Ljava/lang/StringBuilder;
?12 r length
?456 substring (II)Ljava/lang/String;8 market:: android/content/Intent< android.intent.action.VIEW
9 ?
9?@A setData +(Landroid/net/Uri;)Landroid/content/Intent;
9DEF setFlags (I)Landroid/content/Intent;H -http://play.google.com/store/apps/details?id= JLK :com/appnexus/oas/mobilesdk/utilities/XConstant$ACTION_TYPEMN MARKET