Add decompiled APK source code (JADX)

- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
package com.mbridge.msdk.dycreator.baseview;
import android.content.Context;
import android.graphics.Color;
import android.graphics.Typeface;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.mbridge.msdk.dycreator.e.c;
import com.mbridge.msdk.foundation.tools.af;
import com.mbridge.msdk.foundation.tools.x;
/* loaded from: classes4.dex */
public class MBHeatLevelLayoutView extends MBLinearLayout {
public MBHeatLevelLayoutView(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
}
public void setHeatCount(int i) {
try {
removeAllViews();
double a = c.a(i, 10000.0d, 2);
LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(-2, c.a(getContext(), 30.0f));
layoutParams.setMargins(15, 0, 0, 0);
TextView textView = new TextView(getContext());
textView.setTypeface(Typeface.defaultFromStyle(1));
textView.setGravity(17);
textView.setTextColor(Color.parseColor("#FF000000"));
textView.setTextSize(10.0f);
Drawable drawable = getResources().getDrawable(x.a(getContext(), "mbridge_reward_user", "drawable"));
if (drawable != null) {
drawable.setBounds(0, 0, drawable.getMinimumWidth(), drawable.getMinimumHeight());
}
textView.setCompoundDrawables(null, null, drawable, null);
textView.setText(a + getResources().getString(getResources().getIdentifier("mbridge_reward_heat_count_unit", "string", com.mbridge.msdk.foundation.controller.c.m().g())));
addView(textView, layoutParams);
} catch (Exception e) {
af.b("MBHeatLevelLayoutView", e.getMessage());
}
}
}