得物.apk(点击下载) / FsBrandUpgradeDialog.java
package com.shizhuang.duapp.modules.financialstagesdk.ui.dialog;
import android.app.Dialog;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.Window;
import android.view.WindowManager;
import android.widget.TextView;
import androidx.annotation.Keep;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.knightboost.weaver.api.Scope;
import com.knightboost.weaver.api.annotations.Insert;
import com.knightboost.weaver.api.annotations.TargetClass;
import com.meituan.robust.ChangeQuickRedirect;
import com.meituan.robust.PatchProxy;
import com.meituan.robust.PatchProxyResult;
import com.shizhuang.duapp.R;
import com.shizhuang.duapp.libs.duimageloaderview.DuImageLoaderView;
import com.shizhuang.duapp.modules.financialstagesdk.dialog.base.FsBaseDialogFragment;
import com.shizhuang.duapp.modules.financialstagesdk.model.SignAgreement;
import java.util.HashMap;
import jn.b;
import kotlin.Metadata;
import kotlin.jvm.internal.DefaultConstructorMarker;
import org.jetbrains.annotations.NotNull;
import uc0.e;
@Metadata(bv = {}, d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\u0018\u00002\u00020\u0001:\u0001\u0004B\u0007¢\u0006\u0004\b\u0002\u0010\u0003¨\u0006\u0005"}, d2 = {"Lcom/shizhuang/duapp/modules/financialstagesdk/ui/dialog/FsBrandUpgradeDialog;", "Lcom/shizhuang/duapp/modules/financialstagesdk/dialog/base/FsBaseDialogFragment;", "<init>", "()V", "a", "com.shizhuang.duapp.libs.du_financial_stage_sdk"}, k = 1, mv = {1, 4, 2})
/* compiled from: FsBrandUpgradeDialog.kt */
public final class FsBrandUpgradeDialog extends FsBaseDialogFragment {
public static ChangeQuickRedirect changeQuickRedirect;
@NotNull
public static final a e = new a(null);
/* renamed from: c reason: collision with root package name */
public SignAgreement f15424c;
public HashMap d;
public class _boostWeave {
public static ChangeQuickRedirect changeQuickRedirect;
@TargetClass(scope = Scope.ALL_CHILDREN, value = "androidx.fragment.app.Fragment")
@Insert(mayCreateSuper = true, value = "onCreate")
@Keep
public static void FragmentMethodWeaver_onCreate(FsBrandUpgradeDialog fsBrandUpgradeDialog, Bundle bundle) {
if (!PatchProxy.proxy(new Object[]{fsBrandUpgradeDialog, bundle}, null, changeQuickRedirect, true, 150666, new Class[]{FsBrandUpgradeDialog.class, Bundle.class}, Void.TYPE).isSupported) {
long currentTimeMillis = System.currentTimeMillis();
FsBrandUpgradeDialog.p(fsBrandUpgradeDialog, bundle);
long currentTimeMillis2 = System.currentTimeMillis();
if (fsBrandUpgradeDialog.getClass().getCanonicalName().equals("com.shizhuang.duapp.modules.financialstagesdk.ui.dialog.FsBrandUpgradeDialog")) {
b.f34396a.fragmentOnCreateMethod(fsBrandUpgradeDialog, currentTimeMillis, currentTimeMillis2);
}
}
}
@TargetClass(scope = Scope.ALL_CHILDREN, value = "androidx.fragment.app.Fragment")
@Insert(mayCreateSuper = true, value = "onCreateView")
@Keep
public static View FragmentMethodWeaver_onCreateView(@NonNull FsBrandUpgradeDialog fsBrandUpgradeDialog, @Nullable LayoutInflater layoutInflater, @Nullable ViewGroup viewGroup, Bundle bundle) {
PatchProxyResult proxy = PatchProxy.proxy(new Object[]{fsBrandUpgradeDialog, layoutInflater, viewGroup, bundle}, null, changeQuickRedirect, true, 150668, new Class[]{FsBrandUpgradeDialog.class, LayoutInflater.class, ViewGroup.class, Bundle.class}, View.class);
if (proxy.isSupported) {
return (View) proxy.result;
}
long currentTimeMillis = System.currentTimeMillis();
View r = FsBrandUpgradeDialog.r(fsBrandUpgradeDialog, layoutInflater, viewGroup, bundle);
long currentTimeMillis2 = System.currentTimeMillis();
if (fsBrandUpgradeDialog.getClass().getCanonicalName().equals("com.shizhuang.duapp.modules.financialstagesdk.ui.dialog.FsBrandUpgradeDialog")) {
b.f34396a.fragmentOnCreateViewMethod(fsBrandUpgradeDialog, currentTimeMillis, currentTimeMillis2);
}
return r;
}
@TargetClass(scope = Scope.ALL_CHILDREN, value = "androidx.fragment.app.Fragment")
@Insert(mayCreateSuper = true, value = "onResume")
@Keep
public static void FragmentMethodWeaver_onResume(FsBrandUpgradeDialog fsBrandUpgradeDialog) {
if (!PatchProxy.proxy(new Object[]{fsBrandUpgradeDialog}, null, changeQuickRedirect, true, 150669, new Class[]{FsBrandUpgradeDialog.class}, Void.TYPE).isSupported) {
long currentTimeMillis = System.currentTimeMillis();
FsBrandUpgradeDialog.s(fsBrandUpgradeDialog);
long currentTimeMillis2 = System.currentTimeMillis();
if (fsBrandUpgradeDialog.getClass().getCanonicalName().equals("com.shizhuang.duapp.modules.financialstagesdk.ui.dialog.FsBrandUpgradeDialog")) {
b.f34396a.fragmentOnResumeMethod(fsBrandUpgradeDialog, currentTimeMillis, currentTimeMillis2);
}
}
}
@TargetClass(scope = Scope.ALL_CHILDREN, value = "androidx.fragment.app.Fragment")
@Insert(mayCreateSuper = true, value = "onStart")
@Keep
public static void FragmentMethodWeaver_onStart(FsBrandUpgradeDialog fsBrandUpgradeDialog) {
if (!PatchProxy.proxy(new Object[]{fsBrandUpgradeDialog}, null, changeQuickRedirect, true, 150667, new Class[]{FsBrandUpgradeDialog.class}, Void.TYPE).isSupported) {
long currentTimeMillis = System.currentTimeMillis();
FsBrandUpgradeDialog.q(fsBrandUpgradeDialog);
long currentTimeMillis2 = System.currentTimeMillis();
if (fsBrandUpgradeDialog.getClass().getCanonicalName().equals("com.shizhuang.duapp.modules.financialstagesdk.ui.dialog.FsBrandUpgradeDialog")) {
b.f34396a.fragmentOnStartMethod(fsBrandUpgradeDialog, currentTimeMillis, currentTimeMillis2);
}
}
}
@TargetClass(scope = Scope.ALL_CHILDREN, value = "androidx.fragment.app.Fragment")
@Insert(mayCreateSuper = true, value = "onViewCreated")
@Keep
public static void FragmentMethodWeaver_onViewCreated(@NonNull FsBrandUpgradeDialog fsBrandUpgradeDialog, @Nullable View view, Bundle bundle) {
if (!PatchProxy.proxy(new Object[]{fsBrandUpgradeDialog, view, bundle}, null, changeQuickRedirect, true, 150670, new Class[]{FsBrandUpgradeDialog.class, View.class, Bundle.class}, Void.TYPE).isSupported) {
long currentTimeMillis = System.currentTimeMillis();
FsBrandUpgradeDialog.t(fsBrandUpgradeDialog, view, bundle);
long currentTimeMillis2 = System.currentTimeMillis();
if (fsBrandUpgradeDialog.getClass().getCanonicalName().equals("com.shizhuang.duapp.modules.financialstagesdk.ui.dialog.FsBrandUpgradeDialog")) {
b.f34396a.fragmentOnViewCreatedMethod(fsBrandUpgradeDialog, currentTimeMillis, currentTimeMillis2);
}
}
}
}
/* compiled from: FsBrandUpgradeDialog.kt */
public static final class a {
public static ChangeQuickRedirect changeQuickRedirect;
public a(DefaultConstructorMarker defaultConstructorMarker) {
}
}
public static void p(FsBrandUpgradeDialog fsBrandUpgradeDialog, Bundle bundle) {
if (!PatchProxy.proxy(new Object[]{bundle}, fsBrandUpgradeDialog, changeQuickRedirect, false, 150650, new Class[]{Bundle.class}, Void.TYPE).isSupported) {
super.onCreate(bundle);
Bundle arguments = fsBrandUpgradeDialog.getArguments();
fsBrandUpgradeDialog.f15424c = arguments != null ? (SignAgreement) arguments.getParcelable("EXTRA_SIGN_AGREEMENT") : null;
}
}
public static void q(FsBrandUpgradeDialog fsBrandUpgradeDialog) {
if (!PatchProxy.proxy(new Object[0], fsBrandUpgradeDialog, changeQuickRedirect, false, 150658, new Class[0], Void.TYPE).isSupported) {
super.onStart();
}
}
public static View r(FsBrandUpgradeDialog fsBrandUpgradeDialog, LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
PatchProxyResult proxy = PatchProxy.proxy(new Object[]{layoutInflater, viewGroup, bundle}, fsBrandUpgradeDialog, changeQuickRedirect, false, 150660, new Class[]{LayoutInflater.class, ViewGroup.class, Bundle.class}, View.class);
return proxy.isSupported ? (View) proxy.result : super.onCreateView(layoutInflater, viewGroup, bundle);
}
public static void s(FsBrandUpgradeDialog fsBrandUpgradeDialog) {
if (!PatchProxy.proxy(new Object[0], fsBrandUpgradeDialog, changeQuickRedirect, false, 150662, new Class[0], Void.TYPE).isSupported) {
super.onResume();
}
}
public static void t(FsBrandUpgradeDialog fsBrandUpgradeDialog, View view, Bundle bundle) {
if (!PatchProxy.proxy(new Object[]{view, bundle}, fsBrandUpgradeDialog, changeQuickRedirect, false, 150664, new Class[]{View.class, Bundle.class}, Void.TYPE).isSupported) {
super.onViewCreated(view, bundle);
}
}
public View _$_findCachedViewById(int i) {
PatchProxyResult proxy = PatchProxy.proxy(new Object[]{new Integer(i)}, this, changeQuickRedirect, false, 150654, new Class[]{Integer.TYPE}, View.class);
if (proxy.isSupported) {
return (View) proxy.result;
}
if (this.d == null) {
this.d = new HashMap();
}
View view = (View) this.d.get(Integer.valueOf(i));
if (view != null) {
return view;
}
View view2 = getView();
if (view2 == null) {
return null;
}
View findViewById = view2.findViewById(i);
this.d.put(Integer.valueOf(i), findViewById);
return findViewById;
}
@Override // com.shizhuang.duapp.modules.financialstagesdk.dialog.base.FsDuDialogFragment
public void f() {
Window window;
if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 150653, new Class[0], Void.TYPE).isSupported) {
super.f();
Dialog dialog = getDialog();
if (dialog != null && (window = dialog.getWindow()) != null) {
WindowManager.LayoutParams attributes = window.getAttributes();
attributes.height = -2;
attributes.width = e.f38901a - e.a((float) 80);
attributes.gravity = 17;
window.setAttributes(attributes);
}
}
}
@Override // com.shizhuang.duapp.modules.financialstagesdk.dialog.base.FsBaseDialogFragment
public int m() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 150648, new Class[0], Integer.TYPE);
return proxy.isSupported ? ((Integer) proxy.result).intValue() : R.style.FinancialStageSizeBottomDialog;
}
@Override // com.shizhuang.duapp.modules.financialstagesdk.dialog.base.FsBaseDialogFragment
public int n() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 150647, new Class[0], Integer.TYPE);
return proxy.isSupported ? ((Integer) proxy.result).intValue() : R.layout.dialog_fs_brand_upgrade;
}
@Override // com.shizhuang.duapp.modules.financialstagesdk.dialog.base.FsBaseDialogFragment
public void o(@org.jetbrains.annotations.Nullable View view) {
if (!PatchProxy.proxy(new Object[]{view}, this, changeQuickRedirect, false, 150651, new Class[]{View.class}, Void.TYPE).isSupported) {
((DuImageLoaderView) _$_findCachedViewById(R.id.imgUpgrade)).i("https://apk.poizon.com/duApp/Android_Config/resource/mall/app/finance/fs_brand_upgrade.png").x();
((TextView) _$_findCachedViewById(R.id.btnConfirm)).setOnClickListener(new FsBrandUpgradeDialog$initView$$inlined$fsClickThrottle$1(500, this));
}
}
@Override // com.shizhuang.duapp.modules.financialstagesdk.dialog.base.FsBaseDialogFragment, com.shizhuang.duapp.modules.financialstagesdk.dialog.base.FsDuDialogFragment, androidx.appcompat.app.AppCompatDialogFragment, androidx.fragment.app.Fragment, androidx.fragment.app.DialogFragment
public void onCreate(Bundle bundle) {
if (!PatchProxy.proxy(new Object[]{bundle}, this, changeQuickRedirect, false, 150649, new Class[]{Bundle.class}, Void.TYPE).isSupported) {
_boostWeave.FragmentMethodWeaver_onCreate(this, bundle);
}
}
@Override // com.shizhuang.duapp.modules.financialstagesdk.dialog.base.FsBaseDialogFragment, com.shizhuang.duapp.modules.financialstagesdk.dialog.base.FsDuDialogFragment, androidx.appcompat.app.AppCompatDialogFragment, androidx.fragment.app.Fragment, androidx.fragment.app.DialogFragment
public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
PatchProxyResult proxy = PatchProxy.proxy(new Object[]{layoutInflater, viewGroup, bundle}, this, changeQuickRedirect, false, 150659, new Class[]{LayoutInflater.class, ViewGroup.class, Bundle.class}, View.class);
return proxy.isSupported ? (View) proxy.result : _boostWeave.FragmentMethodWeaver_onCreateView(this, layoutInflater, viewGroup, bundle);
}
@Override // androidx.fragment.app.Fragment, androidx.fragment.app.DialogFragment
public void onDestroyView() {
HashMap hashMap;
super.onDestroyView();
if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 150655, new Class[0], Void.TYPE).isSupported && (hashMap = this.d) != null) {
hashMap.clear();
}
}
@Override // com.shizhuang.duapp.modules.financialstagesdk.dialog.base.FsBaseDialogFragment, com.shizhuang.duapp.modules.financialstagesdk.dialog.base.FsDuDialogFragment, androidx.appcompat.app.AppCompatDialogFragment, androidx.fragment.app.Fragment, androidx.fragment.app.DialogFragment
public void onResume() {
if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 150661, new Class[0], Void.TYPE).isSupported) {
_boostWeave.FragmentMethodWeaver_onResume(this);
}
}
@Override // com.shizhuang.duapp.modules.financialstagesdk.dialog.base.FsBaseDialogFragment, com.shizhuang.duapp.modules.financialstagesdk.dialog.base.FsDuDialogFragment, androidx.appcompat.app.AppCompatDialogFragment, androidx.fragment.app.Fragment, androidx.fragment.app.DialogFragment
public void onStart() {
if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 150657, new Class[0], Void.TYPE).isSupported) {
_boostWeave.FragmentMethodWeaver_onStart(this);
}
}
@Override // com.shizhuang.duapp.modules.financialstagesdk.dialog.base.FsBaseDialogFragment, com.shizhuang.duapp.modules.financialstagesdk.dialog.base.FsDuDialogFragment, androidx.appcompat.app.AppCompatDialogFragment, androidx.fragment.app.Fragment, androidx.fragment.app.DialogFragment
public void onViewCreated(View view, Bundle bundle) {
if (!PatchProxy.proxy(new Object[]{view, bundle}, this, changeQuickRedirect, false, 150663, new Class[]{View.class, Bundle.class}, Void.TYPE).isSupported) {
_boostWeave.FragmentMethodWeaver_onViewCreated(this, view, bundle);
}
}
}