APKPure v3.19.91版本的 MD5 值为:f9be25764b720fb55728dbddf2153619

以下内容为反编译后的 qdab.java 源代码,内容仅作参考


package com.apkpure.aegon.minigames.shortcut;

import android.content.Context;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.apkpure.aegon.R;
import com.apkpure.aegon.app.newcard.model.AppCardData;
import com.apkpure.aegon.cms.adapter.qdfd;
import com.apkpure.aegon.utils.b0;
import com.apkpure.aegon.utils.m0;
import com.apkpure.aegon.widgets.textview.RoundTextView;
import com.rishabhharit.roundedimageview.RoundedImageView;
import com.tencent.trpcprotocol.projecta.common.game_info.nano.GameInfo;
import e7.qdbe;
import java.util.HashMap;
import kotlin.jvm.internal.qdbb;
import kotlinx.coroutines.qddg;

public final class qdab extends f9.qdaa {

    public static final int f9163o = 0;

    public final GameInfo f9164e;

    public TextView f9165f;

    public TextView f9166g;

    public RoundTextView f9167h;

    public RoundTextView f9168i;

    public LinearLayout f9169j;

    public LinearLayout f9170k;

    public ImageView f9171l;

    public RoundedImageView f9172m;

    public TextView f9173n;

    public qdab(GameInfo gameInfo) {
        qdbb.f(gameInfo, "gameInfo");
        this.f9164e = gameInfo;
    }

    @Override
    public final int H0() {
        return R.layout.arg_res_0x7f0c0139;
    }

    @Override
    public final void g(View view) {
        int k10;
        String str;
        Context context;
        qdbb.f(view, "view");
        View findViewById = view.findViewById(R.id.arg_res_0x7f0903c1);
        qdbb.e(findViewById, "view.findViewById(R.id.dialog_root_ll)");
        View findViewById2 = view.findViewById(R.id.arg_res_0x7f090346);
        qdbb.e(findViewById2, "view.findViewById(R.id.content_ll)");
        this.f9169j = (LinearLayout) findViewById2;
        View findViewById3 = view.findViewById(R.id.arg_res_0x7f090b06);
        qdbb.e(findViewById3, "view.findViewById(R.id.title_tv)");
        this.f9165f = (TextView) findViewById3;
        View findViewById4 = view.findViewById(R.id.arg_res_0x7f090391);
        qdbb.e(findViewById4, "view.findViewById(R.id.desc_tv)");
        this.f9166g = (TextView) findViewById4;
        View findViewById5 = view.findViewById(R.id.arg_res_0x7f0902c9);
        qdbb.e(findViewById5, "view.findViewById(R.id.close_rtv)");
        this.f9167h = (RoundTextView) findViewById5;
        View findViewById6 = view.findViewById(R.id.arg_res_0x7f0907ac);
        qdbb.e(findViewById6, "view.findViewById(R.id.ok_rty)");
        this.f9168i = (RoundTextView) findViewById6;
        View findViewById7 = view.findViewById(R.id.arg_res_0x7f09022f);
        qdbb.e(findViewById7, "view.findViewById(R.id.card_ll)");
        this.f9170k = (LinearLayout) findViewById7;
        View findViewById8 = view.findViewById(R.id.arg_res_0x7f0901e3);
        qdbb.e(findViewById8, "view.findViewById(R.id.bg_iv)");
        this.f9171l = (ImageView) findViewById8;
        View findViewById9 = view.findViewById(R.id.arg_res_0x7f0909f7);
        qdbb.e(findViewById9, "view.findViewById(R.id.short_icon_riv)");
        this.f9172m = (RoundedImageView) findViewById9;
        View findViewById10 = view.findViewById(R.id.arg_res_0x7f0900cf);
        qdbb.e(findViewById10, "view.findViewById(R.id.apk2_name_tv)");
        this.f9173n = (TextView) findViewById10;
        boolean d4 = b0.d(this.f20541b);
        TextView textView = this.f9165f;
        if (textView != null) {
            Context context2 = this.f20541b;
            int i4 = R.color.arg_res_0x7f060071;
            if (d4) {
                k10 = t0.qdaa.b(context2, R.color.arg_res_0x7f060071);
            } else {
                k10 = m0.k(R.attr.arg_res_0x7f040615, context2);
            }
            textView.setTextColor(k10);
            ImageView imageView = this.f9171l;
            if (imageView != null) {
                Context context3 = imageView.getContext();
                if (d4) {
                    str = "https://image.winudf.com/v2/user/admin/YWRtaW5fbWluaV9nYW1lX2RldGFpbF9zaG9ydF9kaWFsb2dfYmdfbGlnaHQucG5nXzE2NjAxMTU5MDU4MzY/image.png?fakeurl=1";
                } else {
                    str = "https://image.winudf.com/v2/user/admin/YWRtaW5fbWluaV9nYW1lX2RldGFpbF9zaG9ydF9kaWFsb2dfYmcucG5nXzE2NjAxMTU5MDU4MzQ/image.png?fakeurl=1";
                }
                qdbe.j(context3, str, imageView, qdbe.d());
                TextView textView2 = this.f9173n;
                if (textView2 != null) {
                    GameInfo gameInfo = this.f9164e;
                    textView2.setText(gameInfo.name);
                    RoundedImageView roundedImageView = this.f9172m;
                    if (roundedImageView != null) {
                        qdbe.j(roundedImageView.getContext(), gameInfo.iconUrl, roundedImageView, qdbe.d());
                        TextView textView3 = this.f9166g;
                        if (textView3 != null) {
                            if (d4) {
                                context = this.f20541b;
                            } else {
                                context = this.f20541b;
                                i4 = R.color.arg_res_0x7f06006e;
                            }
                            textView3.setTextColor(t0.qdaa.b(context, i4));
                            int k11 = m0.k(R.attr.arg_res_0x7f04014e, this.f20541b);
                            RoundTextView roundTextView = this.f9167h;
                            if (roundTextView != null) {
                                roundTextView.setTextColor(k11);
                                roundTextView.getDelegate().f(k11);
                                roundTextView.getDelegate().b(qddg.e0(0.2f, k11));
                                RoundTextView roundTextView2 = this.f9168i;
                                if (roundTextView2 != null) {
                                    roundTextView2.setTextColor(-1);
                                    roundTextView2.getDelegate().a(k11);
                                    roundTextView2.getDelegate().b(qddg.e0(0.7f, k11));
                                    RoundTextView roundTextView3 = this.f9167h;
                                    if (roundTextView3 != null) {
                                        roundTextView3.setOnClickListener(new com.apkpure.aegon.exploration.page.qdae(this, 11));
                                        RoundTextView roundTextView4 = this.f9168i;
                                        if (roundTextView4 != null) {
                                            roundTextView4.setOnClickListener(new qdfd(this, 16));
                                            com.vungle.warren.utility.qdad.f18740e = System.currentTimeMillis();
                                            LinearLayout linearLayout = this.f9169j;
                                            if (linearLayout != null) {
                                                HashMap x2 = com.vungle.warren.utility.qdad.x();
                                                com.apkpure.aegon.statistics.datong.qdae.q(linearLayout, AppCardData.KEY_SCENE, x2, true);
                                                com.apkpure.aegon.statistics.datong.qdae.n(null, linearLayout, "imp", x2);
                                                LinearLayout linearLayout2 = this.f9170k;
                                                if (linearLayout2 != null) {
                                                    HashMap x10 = com.vungle.warren.utility.qdad.x();
                                                    x10.put("model_type", 153L);
                                                    x10.put("module_name", "mini_game_shortcut");
                                                    com.apkpure.aegon.statistics.datong.qdae.q(linearLayout2, "card", x10, false);
                                                    com.apkpure.aegon.statistics.datong.qdae.n(null, linearLayout2, "imp", x10);
                                                    RoundTextView roundTextView5 = this.f9168i;
                                                    if (roundTextView5 != null) {
                                                        HashMap x11 = com.vungle.warren.utility.qdad.x();
                                                        com.apkpure.aegon.statistics.datong.qdae.q(roundTextView5, "add_button", x11, false);
                                                        com.apkpure.aegon.statistics.datong.qdae.n(null, roundTextView5, "imp", x11);
                                                        RoundTextView roundTextView6 = this.f9167h;
                                                        if (roundTextView6 != null) {
                                                            HashMap x12 = com.vungle.warren.utility.qdad.x();
                                                            com.apkpure.aegon.statistics.datong.qdae.q(roundTextView6, "close_button", x12, false);
                                                            com.apkpure.aegon.statistics.datong.qdae.n(null, roundTextView6, "imp", x12);
                                                            return;
                                                        }
                                                        qdbb.m("closeRtv");
                                                        throw null;
                                                    }
                                                    qdbb.m("okRty");
                                                    throw null;
                                                }
                                                qdbb.m("cardLl");
                                                throw null;
                                            }
                                            qdbb.m("contentLl");
                                            throw null;
                                        }
                                        qdbb.m("okRty");
                                        throw null;
                                    }
                                    qdbb.m("closeRtv");
                                    throw null;
                                }
                                qdbb.m("okRty");
                                throw null;
                            }
                            qdbb.m("closeRtv");
                            throw null;
                        }
                        qdbb.m("descTv");
                        throw null;
                    }
                    qdbb.m("shortIconRiv");
                    throw null;
                }
                qdbb.m("apk2NameTv");
                throw null;
            }
            qdbb.m("bgIv");
            throw null;
        }
        qdbb.m("titleTv");
        throw null;
    }
}