正在查看: Share Any v2.1.7 应用的 TransferCompletedActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Share Any v2.1.7 应用的 TransferCompletedActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package net.shareany.app.activity.transfer;
import android.os.Bundle;
import android.text.SpannableString;
import android.text.style.ForegroundColorSpan;
import android.text.style.RelativeSizeSpan;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.FrameLayout;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.appcompat.widget.Toolbar;
import com.facebook.internal.c0;
import g.j;
import m5.h;
import n5.l;
import n5.o;
import org.apache.commons.math3.distribution.NormalDistribution;
import s0.b;
import s5.e;
import va.a;
public class TransferCompletedActivity extends j {
public static final String C = h.a(new byte[]{87, 51, 70, 57, 83, 20, 86, 36, 92, 46, 97, 34, 72, 46}, new byte[]{50, 75});
public static final String D = h.a(new byte[]{10, 1, 27, 11, 14, 38, 27, 16, 2, 28, 42, 21, 14, 9, 28, 28, 11}, new byte[]{111, 121});
public o A;
public e B;
public void onBackPressed() {
l.b(this, new b(this));
}
public void onCreate(Bundle bundle) {
super/*androidx.fragment.app.q*/.onCreate(bundle);
View inflate = getLayoutInflater().inflate(2131492905, (ViewGroup) null, false);
int i = 2131296381;
FrameLayout frameLayout = (FrameLayout) androidx.activity.l.c(inflate, 2131296381);
if (frameLayout != null) {
Button button = (Button) androidx.activity.l.c(inflate, 2131296437);
if (button != null) {
Toolbar c = androidx.activity.l.c(inflate, 2131297016);
if (c != null) {
TextView textView = (TextView) androidx.activity.l.c(inflate, 2131297058);
if (textView != null) {
TextView textView2 = (TextView) androidx.activity.l.c(inflate, 2131297074);
if (textView2 != null) {
TextView textView3 = (TextView) androidx.activity.l.c(inflate, 2131297075);
if (textView3 != null) {
e eVar = new e((LinearLayout) inflate, frameLayout, button, c, textView, textView2, textView3);
this.B = eVar;
setContentView(eVar.a());
((Toolbar) this.B.e).setTitle("");
w((Toolbar) this.B.e);
long longExtra = getIntent().getLongExtra(C, 0L);
double longExtra2 = (1000.0f / getIntent().getLongExtra(D, 0L)) * longExtra;
((TextView) this.B.g).setText(a.i(longExtra, false));
((TextView) this.B.h).setText(a.i((long) longExtra2, false) + h.a(new byte[]{-70, 97}, new byte[]{-107, 18}));
String format = String.format(h.a(new byte[]{35, -83, 52, -27, 35, -90}, new byte[]{6, -125}), Double.valueOf(new NormalDistribution(4194304.0d, 3145728.0d).cumulativeProbability(longExtra2) * 100.0d));
String string = getString(2131820617, new Object[]{format});
SpannableString spannableString = new SpannableString(string);
int indexOf = string.indexOf(format);
spannableString.setSpan(new RelativeSizeSpan(1.8f), indexOf, format.length() + indexOf, 33);
spannableString.setSpan(new ForegroundColorSpan(getResources().getColor(2131034184)), indexOf, format.length() + indexOf, 33);
((TextView) this.B.f).setText(spannableString);
this.A = new o(this, h.a(new byte[]{-19, -32, -93, -32, -2, -15, -93, -15, -5, -29, -93, -77, -68, -74, -69, -76, -68, -73, -67, -77, -67, -78, -68, -78, -65, -78, -70, -82, -70, -77, -71, -72, -73, -80, -70, -79, -72, -72}, new byte[]{-114, -127}), (ViewGroup) findViewById(2131296381), 2131493042);
((Button) this.B.d).setOnClickListener(new c0(this));
l.a(this);
return;
}
i = 2131297075;
} else {
i = 2131297074;
}
} else {
i = 2131297058;
}
} else {
i = 2131297016;
}
} else {
i = 2131296437;
}
}
throw new NullPointerException(h.a(new byte[]{29, -75, 35, -81, 57, -78, 55, -4, 34, -71, 33, -87, 57, -82, 53, -72, 112, -86, 57, -71, 39, -4, 39, -75, 36, -76, 112, -107, 20, -26, 112}, new byte[]{80, -36}).concat(inflate.getResources().getResourceName(i)));
}
public void onDestroy() {
this.A.a();
super.onDestroy();
}
public boolean onOptionsItemSelected(MenuItem menuItem) {
if (menuItem.getItemId() != 16908332) {
return super/*android.app.Activity*/.onOptionsItemSelected(menuItem);
}
onBackPressed();
return true;
}
public void onPause() {
this.A.b();
super/*androidx.fragment.app.q*/.onPause();
}
public void onResume() {
super/*androidx.fragment.app.q*/.onResume();
this.A.c();
}
}