整点视频 v3.3.0版本的 MD5 值为:cba0457dc37421eed445b30f92de25d3
以下内容为反编译后的 a.java 源代码,内容仅作参考
package com.kc.openset.sdk.dsp.dialog;
import android.app.Activity;
import android.app.Dialog;
import android.os.Handler;
import android.os.Message;
import android.util.DisplayMetrics;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.ScrollView;
import android.widget.TextView;
import com.jiagu.sdk.OSETSDKProtected;
import com.kc.openset.R;
import com.kc.openset.sdk.dsp.util.ODData;
import com.kc.openset.sdk.dsp.util.ODInsertListener;
import com.kc.openset.sdk.dsp.util.StateListener;
import com.kc.openset.sdk.dsp.util.g;
import java.util.Map;
public class a extends Dialog {
private RelativeLayout a;
private ImageView b;
private ScrollView c;
private Activity d;
private ImageView e;
private ODInsertListener f;
private ODData.ODAdInfoBean g;
private TextView h;
private String i;
private boolean j;
private Handler k;
class C0161a implements StateListener {
static {
OSETSDKProtected.interface11(669);
}
C0161a() {
}
@Override
public native void isClick();
}
class b implements View.OnClickListener {
static {
OSETSDKProtected.interface11(670);
}
b() {
}
@Override
public native void onClick(View view);
}
class c implements View.OnClickListener {
static {
OSETSDKProtected.interface11(671);
}
c() {
}
@Override
public native void onClick(View view);
}
class d extends Handler {
d() {
}
@Override
public void handleMessage(Message message) {
super.handleMessage(message);
if (message.what == 1 && a.this.isShowing()) {
Map<String, Object> map = com.kc.openset.sdk.dsp.util.a.e;
if (map.get(a.c(a.this).getMatId() + "show") == null) {
com.kc.openset.sdk.dsp.util.b.a().a("http://dsp.shenshiads.com/event/show", (ODData.ODAdInfoBean) message.obj);
g.a().a(a.c(a.this), "曝光");
}
Map<String, Object> map2 = com.kc.openset.sdk.dsp.util.a.e;
map2.put(a.c(a.this).getMatId() + "show", "111");
}
}
}
static {
OSETSDKProtected.interface11(673);
}
public a(Activity activity, ODInsertListener oDInsertListener, ODData.ODAdInfoBean oDAdInfoBean, String str) {
super(activity, R.style.ODDialogStyle);
this.k = new d();
this.d = activity;
this.f = oDInsertListener;
this.g = oDAdInfoBean;
this.i = str;
setContentView(R.layout.od_view_insert);
DisplayMetrics displayMetrics = activity.getApplicationContext().getResources().getDisplayMetrics();
int i = displayMetrics.widthPixels;
int i2 = displayMetrics.heightPixels;
double d2 = i;
Double.isNaN(d2);
Double.isNaN(d2);
a((int) (d2 - (0.2d * d2)), i2, oDAdInfoBean);
setCanceledOnTouchOutside(false);
getWindow().setBackgroundDrawableResource(17170445);
}
private native ViewGroup.LayoutParams a(RelativeLayout relativeLayout, int i, int i2, double d2, double d3, int i3);
private native void a();
private native void a(int i, int i2, ODData.ODAdInfoBean oDAdInfoBean);
static native boolean a(a aVar);
static native boolean a(a aVar, boolean z);
static native void b(a aVar);
static native ODData.ODAdInfoBean c(a aVar);
@Override
protected native void onStart();
@Override
protected native void onStop();
}