Initial import of ADIF API reverse-engineering toolkit
This commit is contained in:
133
apk_decompiled/sources/D1/a.java
Normal file
133
apk_decompiled/sources/D1/a.java
Normal file
@@ -0,0 +1,133 @@
|
||||
package D1;
|
||||
|
||||
import I2.C0053d;
|
||||
import I2.l;
|
||||
import I2.y;
|
||||
import android.text.Editable;
|
||||
import android.text.method.PasswordTransformationMethod;
|
||||
import android.view.View;
|
||||
import android.widget.EditText;
|
||||
import android.widget.PopupMenu;
|
||||
import com.adif.elcanomovil.commonViews.DayView;
|
||||
import com.adif.elcanomovil.commonViews.StationOptionView;
|
||||
import com.adif.elcanomovil.commonViews.UserStationsView;
|
||||
import com.adif.elcanomovil.commonViews.extensions.ViewKt;
|
||||
import com.adif.elcanomovil.uiAvisa.components.details.IssueDetailsFragment;
|
||||
import com.adif.elcanomovil.uiAvisa.databinding.PopupFullscreenPictureBinding;
|
||||
import com.adif.elcanomovil.uiAvisa.utils.ui.FullScreenPicturePopupWindow;
|
||||
import com.adif.elcanomovil.uiAvisa.utils.ui.PictureGridView;
|
||||
import com.adif.elcanomovil.uiHome.HomeFragment;
|
||||
import com.adif.elcanomovil.uiMoreAdif.wizard.WizardActivity;
|
||||
import com.adif.elcanomovil.uiSelectStation.main.SelectStationFragment;
|
||||
import com.adif.elcanomovil.uiSelectTrain.main.SelectTrainFragment;
|
||||
import com.adif.elcanomovil.uiStations.main.StationsFragment;
|
||||
import com.adif.elcanomovil.uiSubscriptions.create.SubscriptionCreationFragment;
|
||||
import com.adif.elcanomovil.uiSubscriptions.create.views.TrainView;
|
||||
import com.adif.elcanomovil.widget.configuration.ConfigureWidgetFragment;
|
||||
import com.google.android.material.datepicker.m;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final /* synthetic */ class a implements View.OnClickListener {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f370a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ Object f371b;
|
||||
|
||||
public /* synthetic */ a(Object obj, int i) {
|
||||
this.f370a = i;
|
||||
this.f371b = obj;
|
||||
}
|
||||
|
||||
@Override // android.view.View.OnClickListener
|
||||
public final void onClick(View view) {
|
||||
switch (this.f370a) {
|
||||
case 0:
|
||||
FullScreenPicturePopupWindow.a((FullScreenPicturePopupWindow) this.f371b, view);
|
||||
return;
|
||||
case 1:
|
||||
FullScreenPicturePopupWindow.b((PopupFullscreenPictureBinding) this.f371b, view);
|
||||
return;
|
||||
case 2:
|
||||
PictureGridView.a((PictureGridView) this.f371b, view);
|
||||
return;
|
||||
case 3:
|
||||
C0053d c0053d = (C0053d) this.f371b;
|
||||
EditText editText = c0053d.i;
|
||||
if (editText == null) {
|
||||
return;
|
||||
}
|
||||
Editable text = editText.getText();
|
||||
if (text != null) {
|
||||
text.clear();
|
||||
}
|
||||
c0053d.q();
|
||||
return;
|
||||
case 4:
|
||||
((l) this.f371b).u();
|
||||
return;
|
||||
case 5:
|
||||
y yVar = (y) this.f371b;
|
||||
EditText editText2 = yVar.f909f;
|
||||
if (editText2 == null) {
|
||||
return;
|
||||
}
|
||||
int selectionEnd = editText2.getSelectionEnd();
|
||||
EditText editText3 = yVar.f909f;
|
||||
if (editText3 == null || !(editText3.getTransformationMethod() instanceof PasswordTransformationMethod)) {
|
||||
yVar.f909f.setTransformationMethod(PasswordTransformationMethod.getInstance());
|
||||
} else {
|
||||
yVar.f909f.setTransformationMethod(null);
|
||||
}
|
||||
if (selectionEnd >= 0) {
|
||||
yVar.f909f.setSelection(selectionEnd);
|
||||
}
|
||||
yVar.q();
|
||||
return;
|
||||
case 6:
|
||||
TrainView.i((TrainView) this.f371b, view);
|
||||
return;
|
||||
case 7:
|
||||
DayView.i((DayView) this.f371b, view);
|
||||
return;
|
||||
case 8:
|
||||
StationOptionView.i((StationOptionView) this.f371b, view);
|
||||
return;
|
||||
case 9:
|
||||
UserStationsView.i((PopupMenu) this.f371b, view);
|
||||
return;
|
||||
case 10:
|
||||
ViewKt.a((Function1) this.f371b, view);
|
||||
return;
|
||||
case 11:
|
||||
IssueDetailsFragment.g((IssueDetailsFragment) this.f371b, view);
|
||||
return;
|
||||
case 12:
|
||||
HomeFragment.f((HomeFragment) this.f371b, view);
|
||||
return;
|
||||
case 13:
|
||||
((WizardActivity) this.f371b).lambda$onCreate$0(view);
|
||||
return;
|
||||
case 14:
|
||||
SelectStationFragment.f((SelectStationFragment) this.f371b, view);
|
||||
return;
|
||||
case 15:
|
||||
SelectTrainFragment.f((SelectTrainFragment) this.f371b, view);
|
||||
return;
|
||||
case 16:
|
||||
StationsFragment.f((StationsFragment) this.f371b, view);
|
||||
return;
|
||||
case 17:
|
||||
SubscriptionCreationFragment.bindViewModel$lambda$19((SubscriptionCreationFragment) this.f371b, view);
|
||||
return;
|
||||
case 18:
|
||||
ConfigureWidgetFragment.f((ConfigureWidgetFragment) this.f371b, view);
|
||||
return;
|
||||
default:
|
||||
((m) this.f371b).g();
|
||||
throw null;
|
||||
}
|
||||
}
|
||||
}
|
||||
54
apk_decompiled/sources/D1/c.java
Normal file
54
apk_decompiled/sources/D1/c.java
Normal file
@@ -0,0 +1,54 @@
|
||||
package D1;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
import android.widget.ImageView;
|
||||
import com.adif.elcanomovil.uiAvisa.utils.ui.PictureGridView;
|
||||
import java.util.List;
|
||||
import kotlin.ResultKt;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.coroutines.intrinsics.IntrinsicsKt;
|
||||
import kotlin.coroutines.jvm.internal.SuspendLambda;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlinx.coroutines.CoroutineScope;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class c extends SuspendLambda implements Function2 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ PictureGridView f375a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ int f376b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ Bitmap f377c;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public c(PictureGridView pictureGridView, int i, Bitmap bitmap, Continuation continuation) {
|
||||
super(2, continuation);
|
||||
this.f375a = pictureGridView;
|
||||
this.f376b = i;
|
||||
this.f377c = bitmap;
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Continuation create(Object obj, Continuation continuation) {
|
||||
return new c(this.f375a, this.f376b, this.f377c, continuation);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public final Object invoke(Object obj, Object obj2) {
|
||||
return ((c) create((CoroutineScope) obj, (Continuation) obj2)).invokeSuspend(Unit.INSTANCE);
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Object invokeSuspend(Object obj) {
|
||||
List list;
|
||||
IntrinsicsKt.getCOROUTINE_SUSPENDED();
|
||||
ResultKt.throwOnFailure(obj);
|
||||
list = this.f375a.imageViews;
|
||||
((ImageView) list.get(this.f376b)).setImageBitmap(this.f377c);
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user