正在查看: Fancy Optimizer v4.6.3 应用的 CleanCommonDialogActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Fancy Optimizer v4.6.3 应用的 CleanCommonDialogActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.fancyclean.boost.junkclean.ui.activity;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.animation.ObjectAnimator;
import android.app.Dialog;
import android.content.DialogInterface;
import android.os.Bundle;
import android.util.Property;
import android.view.View;
import android.view.animation.DecelerateInterpolator;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.annotation.NonNull;
import com.thinkyeah.common.ui.dialog.c;
import t4.d;
import vj.h;
import wk.b;
public class CleanCommonDialogActivity extends b {
public static final h l = new h("CleanCommonDialogActivity");
public static class a extends c<CleanCommonDialogActivity> {
public static final int c = 0;
public class C0074a extends AnimatorListenerAdapter {
public final String a;
public final TextView b;
public final ImageView c;
public C0074a(String str, TextView textView, ImageView imageView) {
this.a = str;
this.b = textView;
this.c = imageView;
}
@Override
public final void onAnimationEnd(Animator animator) {
String str = this.a;
boolean equals = "action_clean_apk".equals(str);
TextView textView = this.b;
if (equals) {
textView.setText(2131887894);
} else if ("action_clean_residual_files".equals(str)) {
textView.setText(2131887897);
} else {
CleanCommonDialogActivity.l.d("Unknown action: " + str, (Throwable) null);
}
this.c.setImageResource(2131231356);
}
}
@NonNull
public final Dialog onCreateDialog(Bundle bundle) {
String string = getArguments().getString("action");
View inflate = View.inflate(getContext(), 2131558588, null);
ImageView imageView = (ImageView) inflate.findViewById(2131362426);
TextView textView = (TextView) inflate.findViewById(2131363556);
textView.setText(2131886489);
ObjectAnimator duration = ObjectAnimator.ofFloat(imageView, (Property<ImageView, Float>) View.ROTATION, 0.0f, 7200.0f).setDuration(3000L);
duration.setInterpolator(new DecelerateInterpolator());
duration.addListener(new C0074a(string, textView, imageView));
duration.start();
inflate.findViewById(2131362418).setOnClickListener(new d(this, 12));
c.a aVar = new c.a(getContext());
aVar.y = 8;
aVar.x = inflate;
return aVar.a();
}
public final void onDismiss(@NonNull DialogInterface dialogInterface) {
super/*androidx.fragment.app.DialogFragment*/.onDismiss(dialogInterface);
G();
}
}
public final void X2() {
String action = getIntent().getAction();
a aVar = new a();
Bundle bundle = new Bundle();
bundle.putString("action", action);
aVar.setArguments(bundle);
aVar.j0(this, "CleanCommonDialogFragment");
}
}