正在查看: 万能钥匙 v1.1.23 应用的 BottomTutuOpenAuthActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: 万能钥匙 v1.1.23 应用的 BottomTutuOpenAuthActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.wifitutu.user.ui.auth;
import ah0.l;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.widget.ImageView;
import androidx.lifecycle.x;
import com.meituan.robust.ChangeQuickRedirect;
import com.meituan.robust.PatchProxy;
import com.meituan.robust.PatchProxyResult;
import com.wifitutu.user.ui.auth.BottomTutuOpenAuthActivity;
import kotlin.Metadata;
import kotlin.jvm.internal.i;
import kotlin.jvm.internal.n;
import kotlin.jvm.internal.p;
import lg0.InterfaceC2498b;
import lg0.d6;
import lg0.e0;
import m30.d;
import o80.f;
@Metadata(d1 = {"\u0000*\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\t\u0018\u00002\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00030\u0001B\u0007¢\u0006\u0004\b\u0004\u0010\u0005J\u0019\u0010\t\u001a\u00020\b2\b\u0010\u0007\u001a\u0004\u0018\u00010\u0006H\u0014¢\u0006\u0004\b\t\u0010\nJ\u000f\u0010\u000b\u001a\u00020\u0002H\u0014¢\u0006\u0004\b\u000b\u0010\fJ\u0015\u0010\u000e\u001a\b\u0012\u0004\u0012\u00020\u00030\rH\u0014¢\u0006\u0004\b\u000e\u0010\u000fJ\u0017\u0010\u0011\u001a\u00020\b2\u0006\u0010\u0010\u001a\u00020\u0002H\u0014¢\u0006\u0004\b\u0011\u0010\u0012J\u0017\u0010\u0014\u001a\u00020\b2\u0006\u0010\u0013\u001a\u00020\u0003H\u0014¢\u0006\u0004\b\u0014\u0010\u0015¨\u0006\u0016"}, d2 = {"Lcom/wifitutu/user/ui/auth/BottomTutuOpenAuthActivity;", "Lcom/wifitutu/user/ui/auth/ATutuOpenAuthActivity;", "Ls30/c;", "Lo30/b;", "<init>", "()V", "Landroid/os/Bundle;", "savedInstanceState", "Llg0/e0;", "onCreate", "(Landroid/os/Bundle;)V", "m0", "()Ls30/c;", "Ljava/lang/Class;", "g0", "()Ljava/lang/Class;", "binding", "j0", "(Ls30/c;)V", "vm", "l0", "(Lo30/b;)V", "user-ui_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public final class BottomTutuOpenAuthActivity extends ATutuOpenAuthActivity<s30.c, o30.b> {
public static ChangeQuickRedirect changeQuickRedirect;
@Metadata(d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Llg0/e0;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 8, 0})
public static final class a extends p implements ah0.a<e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public a() {
super(0);
}
@Override
public e0 invoke() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 31224, new Class[0], Object.class);
if (proxy.isSupported) {
return proxy.result;
}
invoke2();
return e0.a;
}
public final void invoke2() {
if (PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 31223, new Class[0], Void.TYPE).isSupported) {
return;
}
Window window = BottomTutuOpenAuthActivity.this.getWindow();
WindowManager.LayoutParams attributes = BottomTutuOpenAuthActivity.this.getWindow().getAttributes();
attributes.gravity = 80;
attributes.width = -1;
attributes.height = -2;
window.setAttributes(attributes);
}
}
@Metadata(d1 = {"\u0000\u0010\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0004\u001a\u00020\u00032\u000e\u0010\u0002\u001a\n \u0001*\u0004\u0018\u00010\u00000\u0000H\n¢\u0006\u0004\b\u0004\u0010\u0005"}, d2 = {"", "kotlin.jvm.PlatformType", "it", "Llg0/e0;", "b", "(Ljava/lang/Boolean;)V"}, k = 3, mv = {1, 8, 0})
public static final class b extends p implements l<Boolean, e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public b() {
super(1);
}
public final void b(Boolean bool) {
if (PatchProxy.proxy(new Object[]{bool}, this, changeQuickRedirect, false, 31225, new Class[]{Boolean.class}, Void.TYPE).isSupported) {
return;
}
if (!n.d(bool, Boolean.TRUE)) {
Animation animation = BottomTutuOpenAuthActivity.this.X().F.D.getAnimation();
if (animation != null) {
animation.cancel();
return;
}
return;
}
BottomTutuOpenAuthActivity.this.X().F.C.setVisibility(8);
CharSequence charSequence = (CharSequence) BottomTutuOpenAuthActivity.this.Z().t().f();
if (charSequence == null || charSequence.length() == 0) {
BottomTutuOpenAuthActivity.this.X().F.B.setBackgroundResource(d.user_top_round_bg_ffffff);
} else {
BottomTutuOpenAuthActivity.this.X().F.B.setBackground(null);
}
ImageView imageView = BottomTutuOpenAuthActivity.this.X().F.D;
imageView.setAnimation(AnimationUtils.loadAnimation(imageView.getContext(), o80.c.ui_anim_progress));
}
@Override
public e0 invoke(Boolean bool) {
PatchProxyResult proxy = PatchProxy.proxy(new Object[]{bool}, this, changeQuickRedirect, false, 31226, new Class[]{Object.class}, Object.class);
if (proxy.isSupported) {
return proxy.result;
}
b(bool);
return e0.a;
}
}
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public static final class c implements x, i {
public static ChangeQuickRedirect changeQuickRedirect;
public final l a;
public c(l lVar) {
this.a = lVar;
}
public final void d(Object obj) {
if (PatchProxy.proxy(new Object[]{obj}, this, changeQuickRedirect, false, 31227, new Class[]{Object.class}, Void.TYPE).isSupported) {
return;
}
this.a.invoke(obj);
}
public final boolean equals(Object obj) {
PatchProxyResult proxy = PatchProxy.proxy(new Object[]{obj}, this, changeQuickRedirect, false, 31228, new Class[]{Object.class}, Boolean.TYPE);
if (proxy.isSupported) {
return ((Boolean) proxy.result).booleanValue();
}
if ((obj instanceof x) && (obj instanceof i)) {
return n.d(getFunctionDelegate(), ((i) obj).getFunctionDelegate());
}
return false;
}
public final InterfaceC2498b<?> getFunctionDelegate() {
return this.a;
}
public final int hashCode() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 31229, new Class[0], Integer.TYPE);
return proxy.isSupported ? ((Integer) proxy.result).intValue() : getFunctionDelegate().hashCode();
}
}
public static final void k0(s30.c cVar, BottomTutuOpenAuthActivity bottomTutuOpenAuthActivity, View view) {
if (PatchProxy.proxy(new Object[]{cVar, bottomTutuOpenAuthActivity, view}, (Object) null, changeQuickRedirect, true, 31219, new Class[]{s30.c.class, BottomTutuOpenAuthActivity.class, View.class}, Void.TYPE).isSupported) {
return;
}
if (cVar.B.isChecked()) {
bottomTutuOpenAuthActivity.h0();
} else {
bottomTutuOpenAuthActivity.Z().G(cVar.C);
}
}
@Override
public void c0(s30.c cVar) {
if (PatchProxy.proxy(new Object[]{cVar}, this, changeQuickRedirect, false, 31221, new Class[]{t6.a.class}, Void.TYPE).isSupported) {
return;
}
j0(cVar);
}
@Override
public void d0(o30.b bVar) {
if (PatchProxy.proxy(new Object[]{bVar}, this, changeQuickRedirect, false, 31222, new Class[]{o30.c.class}, Void.TYPE).isSupported) {
return;
}
l0(bVar);
}
@Override
public s30.c f0() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 31220, new Class[0], t6.a.class);
return proxy.isSupported ? (t6.a) proxy.result : m0();
}
@Override
public Class<o30.b> g0() {
return o30.b.class;
}
public void j0(final s30.c binding) {
if (PatchProxy.proxy(new Object[]{binding}, this, changeQuickRedirect, false, 31217, new Class[]{s30.c.class}, Void.TYPE).isSupported) {
return;
}
super.c0(binding);
binding.p0(Z());
binding.O.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view) {
BottomTutuOpenAuthActivity.k0(s30.c.this, this, view);
}
});
a0(binding.B, binding.D, binding.M, com.wifitutu.link.foundation.kernel.d.b(com.wifitutu.link.foundation.kernel.d.d()).getResources().getDimensionPixelSize(f.dp_40));
}
public void l0(o30.b vm) {
if (PatchProxy.proxy(new Object[]{vm}, this, changeQuickRedirect, false, 31218, new Class[]{o30.b.class}, Void.TYPE).isSupported) {
return;
}
super.d0(vm);
vm.i().h(this, new c(new b()));
}
public s30.c m0() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 31216, new Class[0], s30.c.class);
return proxy.isSupported ? (s30.c) proxy.result : s30.c.m0(getLayoutInflater());
}
@Override
public void onCreate(Bundle savedInstanceState) {
if (PatchProxy.proxy(new Object[]{savedInstanceState}, this, changeQuickRedirect, false, 31215, new Class[]{Bundle.class}, Void.TYPE).isSupported) {
return;
}
super.onCreate(savedInstanceState);
d6.k(new a());
}
}