Initial import of ADIF API reverse-engineering toolkit
This commit is contained in:
24
apk_decompiled/sources/androidx/fragment/app/A.java
Normal file
24
apk_decompiled/sources/androidx/fragment/app/A.java
Normal file
@@ -0,0 +1,24 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import d.AbstractC0294c;
|
||||
import java.util.concurrent.atomic.AtomicReference;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class A extends AbstractC0294c {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ AtomicReference f2977a;
|
||||
|
||||
public A(AtomicReference atomicReference) {
|
||||
this.f2977a = atomicReference;
|
||||
}
|
||||
|
||||
@Override // d.AbstractC0294c
|
||||
public final void a(Object obj) {
|
||||
AbstractC0294c abstractC0294c = (AbstractC0294c) this.f2977a.get();
|
||||
if (abstractC0294c == null) {
|
||||
throw new IllegalStateException("Operation cannot be started before fragment is in created state");
|
||||
}
|
||||
abstractC0294c.a(obj);
|
||||
}
|
||||
}
|
||||
61
apk_decompiled/sources/androidx/fragment/app/A0.java
Normal file
61
apk_decompiled/sources/androidx/fragment/app/A0.java
Normal file
@@ -0,0 +1,61 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.transition.Transition;
|
||||
import java.util.ArrayList;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class A0 implements Transition.TransitionListener {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ Object f2978a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ ArrayList f2979b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ Object f2980c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final /* synthetic */ ArrayList f2981d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public final /* synthetic */ C0 f2982e;
|
||||
|
||||
public A0(C0 c02, Object obj, ArrayList arrayList, Object obj2, ArrayList arrayList2) {
|
||||
this.f2982e = c02;
|
||||
this.f2978a = obj;
|
||||
this.f2979b = arrayList;
|
||||
this.f2980c = obj2;
|
||||
this.f2981d = arrayList2;
|
||||
}
|
||||
|
||||
@Override // android.transition.Transition.TransitionListener
|
||||
public final void onTransitionCancel(Transition transition) {
|
||||
}
|
||||
|
||||
@Override // android.transition.Transition.TransitionListener
|
||||
public final void onTransitionEnd(Transition transition) {
|
||||
transition.removeListener(this);
|
||||
}
|
||||
|
||||
@Override // android.transition.Transition.TransitionListener
|
||||
public final void onTransitionPause(Transition transition) {
|
||||
}
|
||||
|
||||
@Override // android.transition.Transition.TransitionListener
|
||||
public final void onTransitionResume(Transition transition) {
|
||||
}
|
||||
|
||||
@Override // android.transition.Transition.TransitionListener
|
||||
public final void onTransitionStart(Transition transition) {
|
||||
C0 c02 = this.f2982e;
|
||||
Object obj = this.f2978a;
|
||||
if (obj != null) {
|
||||
c02.A(obj, this.f2979b, null);
|
||||
}
|
||||
Object obj2 = this.f2980c;
|
||||
if (obj2 != null) {
|
||||
c02.A(obj2, this.f2981d, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
2216
apk_decompiled/sources/androidx/fragment/app/AbstractC0158l0.java
Normal file
2216
apk_decompiled/sources/androidx/fragment/app/AbstractC0158l0.java
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,48 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.view.View;
|
||||
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* renamed from: androidx.fragment.app.m, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class AbstractC0159m {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final J0 f3181a;
|
||||
|
||||
public AbstractC0159m(J0 operation) {
|
||||
Intrinsics.checkNotNullParameter(operation, "operation");
|
||||
this.f3181a = operation;
|
||||
}
|
||||
|
||||
public final boolean a() {
|
||||
M0 m02;
|
||||
J0 j02 = this.f3181a;
|
||||
View view = j02.f3038c.mView;
|
||||
M0 m03 = M0.f3055b;
|
||||
if (view != null) {
|
||||
Intrinsics.checkNotNullParameter(view, "<this>");
|
||||
float alpha = view.getAlpha();
|
||||
m02 = M0.f3057d;
|
||||
if (alpha != BitmapDescriptorFactory.HUE_RED || view.getVisibility() != 0) {
|
||||
int visibility = view.getVisibility();
|
||||
if (visibility == 0) {
|
||||
m02 = m03;
|
||||
} else if (visibility != 4) {
|
||||
if (visibility != 8) {
|
||||
throw new IllegalArgumentException(com.google.android.gms.measurement.internal.a.l(visibility, "Unknown visibility "));
|
||||
}
|
||||
m02 = M0.f3056c;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
m02 = null;
|
||||
}
|
||||
M0 m04 = j02.f3036a;
|
||||
if (m02 != m04) {
|
||||
return (m02 == m03 || m04 == m03) ? false : true;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.util.Log;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.animation.Animation;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* renamed from: androidx.fragment.app.f, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class AnimationAnimationListenerC0145f implements Animation.AnimationListener {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ J0 f3116a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ ViewGroup f3117b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ View f3118c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final /* synthetic */ C0147g f3119d;
|
||||
|
||||
public AnimationAnimationListenerC0145f(J0 j02, ViewGroup viewGroup, View view, C0147g c0147g) {
|
||||
this.f3116a = j02;
|
||||
this.f3117b = viewGroup;
|
||||
this.f3118c = view;
|
||||
this.f3119d = c0147g;
|
||||
}
|
||||
|
||||
@Override // android.view.animation.Animation.AnimationListener
|
||||
public final void onAnimationEnd(Animation animation) {
|
||||
Intrinsics.checkNotNullParameter(animation, "animation");
|
||||
View view = this.f3118c;
|
||||
C0147g c0147g = this.f3119d;
|
||||
ViewGroup viewGroup = this.f3117b;
|
||||
viewGroup.post(new RunnableC0143e(viewGroup, view, c0147g, 0));
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "Animation from operation " + this.f3116a + " has ended.");
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.view.animation.Animation.AnimationListener
|
||||
public final void onAnimationRepeat(Animation animation) {
|
||||
Intrinsics.checkNotNullParameter(animation, "animation");
|
||||
}
|
||||
|
||||
@Override // android.view.animation.Animation.AnimationListener
|
||||
public final void onAnimationStart(Animation animation) {
|
||||
Intrinsics.checkNotNullParameter(animation, "animation");
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "Animation from operation " + this.f3116a + " has reached onAnimationStart.");
|
||||
}
|
||||
}
|
||||
}
|
||||
28
apk_decompiled/sources/androidx/fragment/app/B.java
Normal file
28
apk_decompiled/sources/androidx/fragment/app/B.java
Normal file
@@ -0,0 +1,28 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class B implements Runnable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f2983a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ K f2984b;
|
||||
|
||||
public /* synthetic */ B(K k4, int i) {
|
||||
this.f2983a = i;
|
||||
this.f2984b = k4;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
switch (this.f2983a) {
|
||||
case 0:
|
||||
this.f2984b.startPostponedEnterTransition();
|
||||
return;
|
||||
default:
|
||||
this.f2984b.callStartTransitionListener(false);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
35
apk_decompiled/sources/androidx/fragment/app/B0.java
Normal file
35
apk_decompiled/sources/androidx/fragment/app/B0.java
Normal file
@@ -0,0 +1,35 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.transition.Transition;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class B0 implements Transition.TransitionListener {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ RunnableC0161n f2985a;
|
||||
|
||||
public B0(RunnableC0161n runnableC0161n) {
|
||||
this.f2985a = runnableC0161n;
|
||||
}
|
||||
|
||||
@Override // android.transition.Transition.TransitionListener
|
||||
public final void onTransitionCancel(Transition transition) {
|
||||
}
|
||||
|
||||
@Override // android.transition.Transition.TransitionListener
|
||||
public final void onTransitionEnd(Transition transition) {
|
||||
this.f2985a.run();
|
||||
}
|
||||
|
||||
@Override // android.transition.Transition.TransitionListener
|
||||
public final void onTransitionPause(Transition transition) {
|
||||
}
|
||||
|
||||
@Override // android.transition.Transition.TransitionListener
|
||||
public final void onTransitionResume(Transition transition) {
|
||||
}
|
||||
|
||||
@Override // android.transition.Transition.TransitionListener
|
||||
public final void onTransitionStart(Transition transition) {
|
||||
}
|
||||
}
|
||||
23
apk_decompiled/sources/androidx/fragment/app/C.java
Normal file
23
apk_decompiled/sources/androidx/fragment/app/C.java
Normal file
@@ -0,0 +1,23 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.os.Bundle;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class C extends I {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ K f2986a;
|
||||
|
||||
public C(K k4) {
|
||||
this.f2986a = k4;
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.I
|
||||
public final void a() {
|
||||
K k4 = this.f2986a;
|
||||
k4.mSavedStateRegistryController.a();
|
||||
androidx.lifecycle.q0.f(k4);
|
||||
Bundle bundle = k4.mSavedFragmentState;
|
||||
k4.mSavedStateRegistryController.b(bundle != null ? bundle.getBundle("registryState") : null);
|
||||
}
|
||||
}
|
||||
205
apk_decompiled/sources/androidx/fragment/app/C0.java
Normal file
205
apk_decompiled/sources/androidx/fragment/app/C0.java
Normal file
@@ -0,0 +1,205 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.graphics.Rect;
|
||||
import android.transition.Transition;
|
||||
import android.transition.TransitionManager;
|
||||
import android.transition.TransitionSet;
|
||||
import android.util.Log;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0 extends E0 {
|
||||
public static boolean z(Transition transition) {
|
||||
return (E0.k(transition.getTargetIds()) && E0.k(transition.getTargetNames()) && E0.k(transition.getTargetTypes())) ? false : true;
|
||||
}
|
||||
|
||||
public final void A(Object obj, ArrayList arrayList, ArrayList arrayList2) {
|
||||
List<View> targets;
|
||||
Transition transition = (Transition) obj;
|
||||
int i = 0;
|
||||
if (transition instanceof TransitionSet) {
|
||||
TransitionSet transitionSet = (TransitionSet) transition;
|
||||
int transitionCount = transitionSet.getTransitionCount();
|
||||
while (i < transitionCount) {
|
||||
A(transitionSet.getTransitionAt(i), arrayList, arrayList2);
|
||||
i++;
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (z(transition) || (targets = transition.getTargets()) == null || targets.size() != arrayList.size() || !targets.containsAll(arrayList)) {
|
||||
return;
|
||||
}
|
||||
int size = arrayList2 == null ? 0 : arrayList2.size();
|
||||
while (i < size) {
|
||||
transition.addTarget((View) arrayList2.get(i));
|
||||
i++;
|
||||
}
|
||||
for (int size2 = arrayList.size() - 1; size2 >= 0; size2--) {
|
||||
transition.removeTarget((View) arrayList.get(size2));
|
||||
}
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.E0
|
||||
public final void a(View view, Object obj) {
|
||||
((Transition) obj).addTarget(view);
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.E0
|
||||
public final void b(Object obj, ArrayList arrayList) {
|
||||
Transition transition = (Transition) obj;
|
||||
if (transition == null) {
|
||||
return;
|
||||
}
|
||||
int i = 0;
|
||||
if (transition instanceof TransitionSet) {
|
||||
TransitionSet transitionSet = (TransitionSet) transition;
|
||||
int transitionCount = transitionSet.getTransitionCount();
|
||||
while (i < transitionCount) {
|
||||
b(transitionSet.getTransitionAt(i), arrayList);
|
||||
i++;
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (z(transition) || !E0.k(transition.getTargets())) {
|
||||
return;
|
||||
}
|
||||
int size = arrayList.size();
|
||||
while (i < size) {
|
||||
transition.addTarget((View) arrayList.get(i));
|
||||
i++;
|
||||
}
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.E0
|
||||
public final void e(ViewGroup viewGroup, Object obj) {
|
||||
TransitionManager.beginDelayedTransition(viewGroup, (Transition) obj);
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.E0
|
||||
public final boolean g(Object obj) {
|
||||
return obj instanceof Transition;
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.E0
|
||||
public final Object h(Object obj) {
|
||||
if (obj != null) {
|
||||
return ((Transition) obj).clone();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.E0
|
||||
public final boolean l() {
|
||||
if (!AbstractC0158l0.M(4)) {
|
||||
return false;
|
||||
}
|
||||
Log.i("FragmentManager", "Predictive back not available using Framework Transitions. Please switch to AndroidX Transition 1.5.0 or higher to enable seeking.");
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.E0
|
||||
public final boolean m(Object obj) {
|
||||
if (!AbstractC0158l0.M(2)) {
|
||||
return false;
|
||||
}
|
||||
Log.v("FragmentManager", "Predictive back not available for framework transition " + obj + ". Please switch to AndroidX Transition 1.5.0 or higher to enable seeking.");
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.E0
|
||||
public final Object n(Object obj, Object obj2, Object obj3) {
|
||||
Transition transition = (Transition) obj;
|
||||
Transition transition2 = (Transition) obj2;
|
||||
Transition transition3 = (Transition) obj3;
|
||||
if (transition != null && transition2 != null) {
|
||||
transition = new TransitionSet().addTransition(transition).addTransition(transition2).setOrdering(1);
|
||||
} else if (transition == null) {
|
||||
transition = transition2 != null ? transition2 : null;
|
||||
}
|
||||
if (transition3 == null) {
|
||||
return transition;
|
||||
}
|
||||
TransitionSet transitionSet = new TransitionSet();
|
||||
if (transition != null) {
|
||||
transitionSet.addTransition(transition);
|
||||
}
|
||||
transitionSet.addTransition(transition3);
|
||||
return transitionSet;
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.E0
|
||||
public final Object o(Object obj, Object obj2) {
|
||||
TransitionSet transitionSet = new TransitionSet();
|
||||
if (obj != null) {
|
||||
transitionSet.addTransition((Transition) obj);
|
||||
}
|
||||
transitionSet.addTransition((Transition) obj2);
|
||||
return transitionSet;
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.E0
|
||||
public final void p(Object obj, View view, ArrayList arrayList) {
|
||||
((Transition) obj).addListener(new z0(view, arrayList));
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.E0
|
||||
public final void q(Object obj, Object obj2, ArrayList arrayList, Object obj3, ArrayList arrayList2) {
|
||||
((Transition) obj).addListener(new A0(this, obj2, arrayList, obj3, arrayList2));
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.E0
|
||||
public final void s(View view, Object obj) {
|
||||
if (view != null) {
|
||||
Rect rect = new Rect();
|
||||
E0.j(rect, view);
|
||||
((Transition) obj).setEpicenterCallback(new y0(0, rect));
|
||||
}
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.E0
|
||||
public final void t(Object obj, Rect rect) {
|
||||
((Transition) obj).setEpicenterCallback(new y0(1, rect));
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.E0
|
||||
public final void u(K k4, Object obj, K.e eVar, RunnableC0161n runnableC0161n) {
|
||||
((Transition) obj).addListener(new B0(runnableC0161n));
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.E0
|
||||
public final void w(Object obj, View view, ArrayList arrayList) {
|
||||
TransitionSet transitionSet = (TransitionSet) obj;
|
||||
List<View> targets = transitionSet.getTargets();
|
||||
targets.clear();
|
||||
int size = arrayList.size();
|
||||
for (int i = 0; i < size; i++) {
|
||||
E0.f((View) arrayList.get(i), targets);
|
||||
}
|
||||
targets.add(view);
|
||||
arrayList.add(view);
|
||||
b(transitionSet, arrayList);
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.E0
|
||||
public final void x(Object obj, ArrayList arrayList, ArrayList arrayList2) {
|
||||
TransitionSet transitionSet = (TransitionSet) obj;
|
||||
if (transitionSet != null) {
|
||||
transitionSet.getTargets().clear();
|
||||
transitionSet.getTargets().addAll(arrayList2);
|
||||
A(transitionSet, arrayList, arrayList2);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.E0
|
||||
public final Object y(Object obj) {
|
||||
if (obj == null) {
|
||||
return null;
|
||||
}
|
||||
TransitionSet transitionSet = new TransitionSet();
|
||||
transitionSet.addTransition((Transition) obj);
|
||||
return transitionSet;
|
||||
}
|
||||
}
|
||||
354
apk_decompiled/sources/androidx/fragment/app/C0135a.java
Normal file
354
apk_decompiled/sources/androidx/fragment/app/C0135a.java
Normal file
@@ -0,0 +1,354 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.util.Log;
|
||||
import i0.AbstractC0383d;
|
||||
import java.io.PrintWriter;
|
||||
import java.lang.reflect.Modifier;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
|
||||
/* renamed from: androidx.fragment.app.a, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0135a extends w0 implements InterfaceC0150h0 {
|
||||
|
||||
/* renamed from: q, reason: collision with root package name */
|
||||
public final AbstractC0158l0 f3084q;
|
||||
|
||||
/* renamed from: r, reason: collision with root package name */
|
||||
public boolean f3085r;
|
||||
|
||||
/* renamed from: s, reason: collision with root package name */
|
||||
public int f3086s;
|
||||
|
||||
/* renamed from: t, reason: collision with root package name */
|
||||
public boolean f3087t;
|
||||
|
||||
public C0135a(AbstractC0158l0 abstractC0158l0) {
|
||||
abstractC0158l0.J();
|
||||
V v3 = abstractC0158l0.f3177w;
|
||||
if (v3 != null) {
|
||||
v3.f3075b.getClassLoader();
|
||||
}
|
||||
this.f3086s = -1;
|
||||
this.f3087t = false;
|
||||
this.f3084q = abstractC0158l0;
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.InterfaceC0150h0
|
||||
public final boolean a(ArrayList arrayList, ArrayList arrayList2) {
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "Run: " + this);
|
||||
}
|
||||
arrayList.add(this);
|
||||
arrayList2.add(Boolean.FALSE);
|
||||
if (!this.f3263g) {
|
||||
return true;
|
||||
}
|
||||
this.f3084q.f3161d.add(this);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.w0
|
||||
public final void c(int i, K k4, String str, int i4) {
|
||||
String str2 = k4.mPreviousWho;
|
||||
if (str2 != null) {
|
||||
AbstractC0383d.d(k4, str2);
|
||||
}
|
||||
Class<?> cls = k4.getClass();
|
||||
int modifiers = cls.getModifiers();
|
||||
if (cls.isAnonymousClass() || !Modifier.isPublic(modifiers) || (cls.isMemberClass() && !Modifier.isStatic(modifiers))) {
|
||||
throw new IllegalStateException("Fragment " + cls.getCanonicalName() + " must be a public static class to be properly recreated from instance state.");
|
||||
}
|
||||
if (str != null) {
|
||||
String str3 = k4.mTag;
|
||||
if (str3 != null && !str.equals(str3)) {
|
||||
throw new IllegalStateException("Can't change tag of fragment " + k4 + ": was " + k4.mTag + " now " + str);
|
||||
}
|
||||
k4.mTag = str;
|
||||
}
|
||||
if (i != 0) {
|
||||
if (i == -1) {
|
||||
throw new IllegalArgumentException("Can't add fragment " + k4 + " with tag " + str + " to container view with no id");
|
||||
}
|
||||
int i5 = k4.mFragmentId;
|
||||
if (i5 != 0 && i5 != i) {
|
||||
throw new IllegalStateException("Can't change container ID of fragment " + k4 + ": was " + k4.mFragmentId + " now " + i);
|
||||
}
|
||||
k4.mFragmentId = i;
|
||||
k4.mContainerId = i;
|
||||
}
|
||||
b(new v0(k4, i4));
|
||||
k4.mFragmentManager = this.f3084q;
|
||||
}
|
||||
|
||||
public final void d(int i) {
|
||||
if (this.f3263g) {
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "Bump nesting in " + this + " by " + i);
|
||||
}
|
||||
ArrayList arrayList = this.f3257a;
|
||||
int size = arrayList.size();
|
||||
for (int i4 = 0; i4 < size; i4++) {
|
||||
v0 v0Var = (v0) arrayList.get(i4);
|
||||
K k4 = v0Var.f3250b;
|
||||
if (k4 != null) {
|
||||
k4.mBackStackNesting += i;
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "Bump nesting of " + v0Var.f3250b + " to " + v0Var.f3250b.mBackStackNesting);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public final int e(boolean z3) {
|
||||
if (this.f3085r) {
|
||||
throw new IllegalStateException("commit already called");
|
||||
}
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "Commit: " + this);
|
||||
PrintWriter printWriter = new PrintWriter(new G0());
|
||||
f(" ", printWriter, true);
|
||||
printWriter.close();
|
||||
}
|
||||
this.f3085r = true;
|
||||
boolean z4 = this.f3263g;
|
||||
AbstractC0158l0 abstractC0158l0 = this.f3084q;
|
||||
if (z4) {
|
||||
this.f3086s = abstractC0158l0.f3165j.getAndIncrement();
|
||||
} else {
|
||||
this.f3086s = -1;
|
||||
}
|
||||
abstractC0158l0.y(this, z3);
|
||||
return this.f3086s;
|
||||
}
|
||||
|
||||
public final void f(String str, PrintWriter printWriter, boolean z3) {
|
||||
String str2;
|
||||
if (z3) {
|
||||
printWriter.print(str);
|
||||
printWriter.print("mName=");
|
||||
printWriter.print(this.i);
|
||||
printWriter.print(" mIndex=");
|
||||
printWriter.print(this.f3086s);
|
||||
printWriter.print(" mCommitted=");
|
||||
printWriter.println(this.f3085r);
|
||||
if (this.f3262f != 0) {
|
||||
printWriter.print(str);
|
||||
printWriter.print("mTransition=#");
|
||||
printWriter.print(Integer.toHexString(this.f3262f));
|
||||
}
|
||||
if (this.f3258b != 0 || this.f3259c != 0) {
|
||||
printWriter.print(str);
|
||||
printWriter.print("mEnterAnim=#");
|
||||
printWriter.print(Integer.toHexString(this.f3258b));
|
||||
printWriter.print(" mExitAnim=#");
|
||||
printWriter.println(Integer.toHexString(this.f3259c));
|
||||
}
|
||||
if (this.f3260d != 0 || this.f3261e != 0) {
|
||||
printWriter.print(str);
|
||||
printWriter.print("mPopEnterAnim=#");
|
||||
printWriter.print(Integer.toHexString(this.f3260d));
|
||||
printWriter.print(" mPopExitAnim=#");
|
||||
printWriter.println(Integer.toHexString(this.f3261e));
|
||||
}
|
||||
if (this.f3264j != 0 || this.f3265k != null) {
|
||||
printWriter.print(str);
|
||||
printWriter.print("mBreadCrumbTitleRes=#");
|
||||
printWriter.print(Integer.toHexString(this.f3264j));
|
||||
printWriter.print(" mBreadCrumbTitleText=");
|
||||
printWriter.println(this.f3265k);
|
||||
}
|
||||
if (this.f3266l != 0 || this.f3267m != null) {
|
||||
printWriter.print(str);
|
||||
printWriter.print("mBreadCrumbShortTitleRes=#");
|
||||
printWriter.print(Integer.toHexString(this.f3266l));
|
||||
printWriter.print(" mBreadCrumbShortTitleText=");
|
||||
printWriter.println(this.f3267m);
|
||||
}
|
||||
}
|
||||
ArrayList arrayList = this.f3257a;
|
||||
if (arrayList.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
printWriter.print(str);
|
||||
printWriter.println("Operations:");
|
||||
int size = arrayList.size();
|
||||
for (int i = 0; i < size; i++) {
|
||||
v0 v0Var = (v0) arrayList.get(i);
|
||||
switch (v0Var.f3249a) {
|
||||
case 0:
|
||||
str2 = "NULL";
|
||||
break;
|
||||
case 1:
|
||||
str2 = "ADD";
|
||||
break;
|
||||
case 2:
|
||||
str2 = "REPLACE";
|
||||
break;
|
||||
case 3:
|
||||
str2 = "REMOVE";
|
||||
break;
|
||||
case 4:
|
||||
str2 = "HIDE";
|
||||
break;
|
||||
case 5:
|
||||
str2 = "SHOW";
|
||||
break;
|
||||
case 6:
|
||||
str2 = "DETACH";
|
||||
break;
|
||||
case 7:
|
||||
str2 = "ATTACH";
|
||||
break;
|
||||
case 8:
|
||||
str2 = "SET_PRIMARY_NAV";
|
||||
break;
|
||||
case 9:
|
||||
str2 = "UNSET_PRIMARY_NAV";
|
||||
break;
|
||||
case 10:
|
||||
str2 = "OP_SET_MAX_LIFECYCLE";
|
||||
break;
|
||||
default:
|
||||
str2 = "cmd=" + v0Var.f3249a;
|
||||
break;
|
||||
}
|
||||
printWriter.print(str);
|
||||
printWriter.print(" Op #");
|
||||
printWriter.print(i);
|
||||
printWriter.print(": ");
|
||||
printWriter.print(str2);
|
||||
printWriter.print(" ");
|
||||
printWriter.println(v0Var.f3250b);
|
||||
if (z3) {
|
||||
if (v0Var.f3252d != 0 || v0Var.f3253e != 0) {
|
||||
printWriter.print(str);
|
||||
printWriter.print("enterAnim=#");
|
||||
printWriter.print(Integer.toHexString(v0Var.f3252d));
|
||||
printWriter.print(" exitAnim=#");
|
||||
printWriter.println(Integer.toHexString(v0Var.f3253e));
|
||||
}
|
||||
if (v0Var.f3254f != 0 || v0Var.f3255g != 0) {
|
||||
printWriter.print(str);
|
||||
printWriter.print("popEnterAnim=#");
|
||||
printWriter.print(Integer.toHexString(v0Var.f3254f));
|
||||
printWriter.print(" popExitAnim=#");
|
||||
printWriter.println(Integer.toHexString(v0Var.f3255g));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public final C0135a g(K k4) {
|
||||
AbstractC0158l0 abstractC0158l0 = k4.mFragmentManager;
|
||||
if (abstractC0158l0 == null || abstractC0158l0 == this.f3084q) {
|
||||
b(new v0(k4, 3));
|
||||
return this;
|
||||
}
|
||||
throw new IllegalStateException("Cannot remove Fragment attached to a different FragmentManager. Fragment " + k4.toString() + " is already attached to a FragmentManager.");
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
/* JADX WARN: Type inference failed for: r0v3, types: [java.lang.Object, androidx.fragment.app.v0] */
|
||||
public final C0135a h(K k4, androidx.lifecycle.B b4) {
|
||||
AbstractC0158l0 abstractC0158l0 = k4.mFragmentManager;
|
||||
AbstractC0158l0 abstractC0158l02 = this.f3084q;
|
||||
if (abstractC0158l0 != abstractC0158l02) {
|
||||
throw new IllegalArgumentException("Cannot setMaxLifecycle for Fragment not attached to FragmentManager " + abstractC0158l02);
|
||||
}
|
||||
if (b4 == androidx.lifecycle.B.f3281b && k4.mState > -1) {
|
||||
throw new IllegalArgumentException("Cannot set maximum Lifecycle to " + b4 + " after the Fragment has been created");
|
||||
}
|
||||
if (b4 == androidx.lifecycle.B.f3280a) {
|
||||
throw new IllegalArgumentException("Cannot set maximum Lifecycle to " + b4 + ". Use remove() to remove the fragment from the FragmentManager and trigger its destruction.");
|
||||
}
|
||||
?? obj = new Object();
|
||||
obj.f3249a = 10;
|
||||
obj.f3250b = k4;
|
||||
obj.f3251c = false;
|
||||
obj.h = k4.mMaxState;
|
||||
obj.i = b4;
|
||||
b(obj);
|
||||
return this;
|
||||
}
|
||||
|
||||
public final C0135a i(K k4) {
|
||||
AbstractC0158l0 abstractC0158l0 = k4.mFragmentManager;
|
||||
if (abstractC0158l0 == null || abstractC0158l0 == this.f3084q) {
|
||||
b(new v0(k4, 8));
|
||||
return this;
|
||||
}
|
||||
throw new IllegalStateException("Cannot setPrimaryNavigation for Fragment attached to a different FragmentManager. Fragment " + k4.toString() + " is already attached to a FragmentManager.");
|
||||
}
|
||||
|
||||
public final String toString() {
|
||||
StringBuilder sb = new StringBuilder(128);
|
||||
sb.append("BackStackEntry{");
|
||||
sb.append(Integer.toHexString(System.identityHashCode(this)));
|
||||
if (this.f3086s >= 0) {
|
||||
sb.append(" #");
|
||||
sb.append(this.f3086s);
|
||||
}
|
||||
if (this.i != null) {
|
||||
sb.append(" ");
|
||||
sb.append(this.i);
|
||||
}
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/* JADX WARN: Type inference failed for: r3v0, types: [java.lang.Object, androidx.fragment.app.v0] */
|
||||
public C0135a(C0135a c0135a) {
|
||||
c0135a.f3084q.J();
|
||||
V v3 = c0135a.f3084q.f3177w;
|
||||
if (v3 != null) {
|
||||
v3.f3075b.getClassLoader();
|
||||
}
|
||||
Iterator it = c0135a.f3257a.iterator();
|
||||
while (it.hasNext()) {
|
||||
v0 v0Var = (v0) it.next();
|
||||
ArrayList arrayList = this.f3257a;
|
||||
?? obj = new Object();
|
||||
obj.f3249a = v0Var.f3249a;
|
||||
obj.f3250b = v0Var.f3250b;
|
||||
obj.f3251c = v0Var.f3251c;
|
||||
obj.f3252d = v0Var.f3252d;
|
||||
obj.f3253e = v0Var.f3253e;
|
||||
obj.f3254f = v0Var.f3254f;
|
||||
obj.f3255g = v0Var.f3255g;
|
||||
obj.h = v0Var.h;
|
||||
obj.i = v0Var.i;
|
||||
arrayList.add(obj);
|
||||
}
|
||||
this.f3258b = c0135a.f3258b;
|
||||
this.f3259c = c0135a.f3259c;
|
||||
this.f3260d = c0135a.f3260d;
|
||||
this.f3261e = c0135a.f3261e;
|
||||
this.f3262f = c0135a.f3262f;
|
||||
this.f3263g = c0135a.f3263g;
|
||||
this.h = c0135a.h;
|
||||
this.i = c0135a.i;
|
||||
this.f3266l = c0135a.f3266l;
|
||||
this.f3267m = c0135a.f3267m;
|
||||
this.f3264j = c0135a.f3264j;
|
||||
this.f3265k = c0135a.f3265k;
|
||||
if (c0135a.f3268n != null) {
|
||||
ArrayList arrayList2 = new ArrayList();
|
||||
this.f3268n = arrayList2;
|
||||
arrayList2.addAll(c0135a.f3268n);
|
||||
}
|
||||
if (c0135a.f3269o != null) {
|
||||
ArrayList arrayList3 = new ArrayList();
|
||||
this.f3269o = arrayList3;
|
||||
arrayList3.addAll(c0135a.f3269o);
|
||||
}
|
||||
this.p = c0135a.p;
|
||||
this.f3086s = -1;
|
||||
this.f3087t = false;
|
||||
this.f3084q = c0135a.f3084q;
|
||||
this.f3085r = c0135a.f3085r;
|
||||
this.f3086s = c0135a.f3086s;
|
||||
this.f3087t = c0135a.f3087t;
|
||||
}
|
||||
}
|
||||
86
apk_decompiled/sources/androidx/fragment/app/C0136a0.java
Normal file
86
apk_decompiled/sources/androidx/fragment/app/C0136a0.java
Normal file
@@ -0,0 +1,86 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.util.Log;
|
||||
import d.C0292a;
|
||||
import d.InterfaceC0293b;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Map;
|
||||
|
||||
/* renamed from: androidx.fragment.app.a0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0136a0 implements InterfaceC0293b {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f3088a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ AbstractC0158l0 f3089b;
|
||||
|
||||
public /* synthetic */ C0136a0(AbstractC0158l0 abstractC0158l0, int i) {
|
||||
this.f3088a = i;
|
||||
this.f3089b = abstractC0158l0;
|
||||
}
|
||||
|
||||
@Override // d.InterfaceC0293b
|
||||
public final void a(Object obj) {
|
||||
switch (this.f3088a) {
|
||||
case 0:
|
||||
Map map = (Map) obj;
|
||||
String[] strArr = (String[]) map.keySet().toArray(new String[0]);
|
||||
ArrayList arrayList = new ArrayList(map.values());
|
||||
int[] iArr = new int[arrayList.size()];
|
||||
for (int i = 0; i < arrayList.size(); i++) {
|
||||
iArr[i] = ((Boolean) arrayList.get(i)).booleanValue() ? 0 : -1;
|
||||
}
|
||||
AbstractC0158l0 abstractC0158l0 = this.f3089b;
|
||||
C0148g0 c0148g0 = (C0148g0) abstractC0158l0.f3148F.pollFirst();
|
||||
if (c0148g0 == null) {
|
||||
Log.w("FragmentManager", "No permissions were requested for " + this);
|
||||
return;
|
||||
}
|
||||
u0 u0Var = abstractC0158l0.f3160c;
|
||||
String str = c0148g0.f3122a;
|
||||
K c4 = u0Var.c(str);
|
||||
if (c4 != null) {
|
||||
c4.onRequestPermissionsResult(c0148g0.f3123b, strArr, iArr);
|
||||
return;
|
||||
}
|
||||
Log.w("FragmentManager", "Permission request result delivered for unknown Fragment " + str);
|
||||
return;
|
||||
case 1:
|
||||
C0292a c0292a = (C0292a) obj;
|
||||
AbstractC0158l0 abstractC0158l02 = this.f3089b;
|
||||
C0148g0 c0148g02 = (C0148g0) abstractC0158l02.f3148F.pollLast();
|
||||
if (c0148g02 == null) {
|
||||
Log.w("FragmentManager", "No Activities were started for result for " + this);
|
||||
return;
|
||||
}
|
||||
u0 u0Var2 = abstractC0158l02.f3160c;
|
||||
String str2 = c0148g02.f3122a;
|
||||
K c5 = u0Var2.c(str2);
|
||||
if (c5 != null) {
|
||||
c5.onActivityResult(c0148g02.f3123b, c0292a.f6089a, c0292a.f6090b);
|
||||
return;
|
||||
}
|
||||
Log.w("FragmentManager", "Activity result delivered for unknown Fragment " + str2);
|
||||
return;
|
||||
default:
|
||||
C0292a c0292a2 = (C0292a) obj;
|
||||
AbstractC0158l0 abstractC0158l03 = this.f3089b;
|
||||
C0148g0 c0148g03 = (C0148g0) abstractC0158l03.f3148F.pollFirst();
|
||||
if (c0148g03 == null) {
|
||||
Log.w("FragmentManager", "No IntentSenders were started for " + this);
|
||||
return;
|
||||
}
|
||||
u0 u0Var3 = abstractC0158l03.f3160c;
|
||||
String str3 = c0148g03.f3122a;
|
||||
K c6 = u0Var3.c(str3);
|
||||
if (c6 != null) {
|
||||
c6.onActivityResult(c0148g03.f3123b, c0292a2.f6089a, c0292a2.f6090b);
|
||||
return;
|
||||
}
|
||||
Log.w("FragmentManager", "Intent Sender result delivered for unknown Fragment " + str3);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
186
apk_decompiled/sources/androidx/fragment/app/C0137b.java
Normal file
186
apk_decompiled/sources/androidx/fragment/app/C0137b.java
Normal file
@@ -0,0 +1,186 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.text.TextUtils;
|
||||
import android.util.Log;
|
||||
import java.util.ArrayList;
|
||||
|
||||
/* renamed from: androidx.fragment.app.b, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0137b implements Parcelable {
|
||||
public static final Parcelable.Creator<C0137b> CREATOR = new D0.a(3);
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final int[] f3090a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final ArrayList f3091b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final int[] f3092c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final int[] f3093d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public final int f3094e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public final String f3095f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public final int f3096g;
|
||||
public final int h;
|
||||
public final CharSequence i;
|
||||
|
||||
/* renamed from: j, reason: collision with root package name */
|
||||
public final int f3097j;
|
||||
|
||||
/* renamed from: k, reason: collision with root package name */
|
||||
public final CharSequence f3098k;
|
||||
|
||||
/* renamed from: l, reason: collision with root package name */
|
||||
public final ArrayList f3099l;
|
||||
|
||||
/* renamed from: m, reason: collision with root package name */
|
||||
public final ArrayList f3100m;
|
||||
|
||||
/* renamed from: n, reason: collision with root package name */
|
||||
public final boolean f3101n;
|
||||
|
||||
public C0137b(C0135a c0135a) {
|
||||
int size = c0135a.f3257a.size();
|
||||
this.f3090a = new int[size * 6];
|
||||
if (c0135a.f3263g) {
|
||||
this.f3091b = new ArrayList(size);
|
||||
this.f3092c = new int[size];
|
||||
this.f3093d = new int[size];
|
||||
int i = 0;
|
||||
for (int i4 = 0; i4 < size; i4++) {
|
||||
v0 v0Var = (v0) c0135a.f3257a.get(i4);
|
||||
int i5 = i + 1;
|
||||
this.f3090a[i] = v0Var.f3249a;
|
||||
ArrayList arrayList = this.f3091b;
|
||||
K k4 = v0Var.f3250b;
|
||||
arrayList.add(k4 != null ? k4.mWho : null);
|
||||
int[] iArr = this.f3090a;
|
||||
iArr[i5] = v0Var.f3251c ? 1 : 0;
|
||||
iArr[i + 2] = v0Var.f3252d;
|
||||
iArr[i + 3] = v0Var.f3253e;
|
||||
int i6 = i + 5;
|
||||
iArr[i + 4] = v0Var.f3254f;
|
||||
i += 6;
|
||||
iArr[i6] = v0Var.f3255g;
|
||||
this.f3092c[i4] = v0Var.h.ordinal();
|
||||
this.f3093d[i4] = v0Var.i.ordinal();
|
||||
}
|
||||
this.f3094e = c0135a.f3262f;
|
||||
this.f3095f = c0135a.i;
|
||||
this.f3096g = c0135a.f3086s;
|
||||
this.h = c0135a.f3264j;
|
||||
this.i = c0135a.f3265k;
|
||||
this.f3097j = c0135a.f3266l;
|
||||
this.f3098k = c0135a.f3267m;
|
||||
this.f3099l = c0135a.f3268n;
|
||||
this.f3100m = c0135a.f3269o;
|
||||
this.f3101n = c0135a.p;
|
||||
return;
|
||||
}
|
||||
throw new IllegalStateException("Not on back stack");
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
/* JADX WARN: Type inference failed for: r4v1, types: [java.lang.Object, androidx.fragment.app.v0] */
|
||||
public final void a(C0135a c0135a) {
|
||||
int i = 0;
|
||||
int i4 = 0;
|
||||
while (true) {
|
||||
int[] iArr = this.f3090a;
|
||||
boolean z3 = true;
|
||||
if (i >= iArr.length) {
|
||||
c0135a.f3262f = this.f3094e;
|
||||
c0135a.i = this.f3095f;
|
||||
c0135a.f3263g = true;
|
||||
c0135a.f3264j = this.h;
|
||||
c0135a.f3265k = this.i;
|
||||
c0135a.f3266l = this.f3097j;
|
||||
c0135a.f3267m = this.f3098k;
|
||||
c0135a.f3268n = this.f3099l;
|
||||
c0135a.f3269o = this.f3100m;
|
||||
c0135a.p = this.f3101n;
|
||||
return;
|
||||
}
|
||||
?? obj = new Object();
|
||||
int i5 = i + 1;
|
||||
obj.f3249a = iArr[i];
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "Instantiate " + c0135a + " op #" + i4 + " base fragment #" + iArr[i5]);
|
||||
}
|
||||
obj.h = androidx.lifecycle.B.values()[this.f3092c[i4]];
|
||||
obj.i = androidx.lifecycle.B.values()[this.f3093d[i4]];
|
||||
int i6 = i + 2;
|
||||
if (iArr[i5] == 0) {
|
||||
z3 = false;
|
||||
}
|
||||
obj.f3251c = z3;
|
||||
int i7 = iArr[i6];
|
||||
obj.f3252d = i7;
|
||||
int i8 = iArr[i + 3];
|
||||
obj.f3253e = i8;
|
||||
int i9 = i + 5;
|
||||
int i10 = iArr[i + 4];
|
||||
obj.f3254f = i10;
|
||||
i += 6;
|
||||
int i11 = iArr[i9];
|
||||
obj.f3255g = i11;
|
||||
c0135a.f3258b = i7;
|
||||
c0135a.f3259c = i8;
|
||||
c0135a.f3260d = i10;
|
||||
c0135a.f3261e = i11;
|
||||
c0135a.b(obj);
|
||||
i4++;
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable
|
||||
public final int describeContents() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable
|
||||
public final void writeToParcel(Parcel parcel, int i) {
|
||||
parcel.writeIntArray(this.f3090a);
|
||||
parcel.writeStringList(this.f3091b);
|
||||
parcel.writeIntArray(this.f3092c);
|
||||
parcel.writeIntArray(this.f3093d);
|
||||
parcel.writeInt(this.f3094e);
|
||||
parcel.writeString(this.f3095f);
|
||||
parcel.writeInt(this.f3096g);
|
||||
parcel.writeInt(this.h);
|
||||
TextUtils.writeToParcel(this.i, parcel, 0);
|
||||
parcel.writeInt(this.f3097j);
|
||||
TextUtils.writeToParcel(this.f3098k, parcel, 0);
|
||||
parcel.writeStringList(this.f3099l);
|
||||
parcel.writeStringList(this.f3100m);
|
||||
parcel.writeInt(this.f3101n ? 1 : 0);
|
||||
}
|
||||
|
||||
public C0137b(Parcel parcel) {
|
||||
this.f3090a = parcel.createIntArray();
|
||||
this.f3091b = parcel.createStringArrayList();
|
||||
this.f3092c = parcel.createIntArray();
|
||||
this.f3093d = parcel.createIntArray();
|
||||
this.f3094e = parcel.readInt();
|
||||
this.f3095f = parcel.readString();
|
||||
this.f3096g = parcel.readInt();
|
||||
this.h = parcel.readInt();
|
||||
Parcelable.Creator creator = TextUtils.CHAR_SEQUENCE_CREATOR;
|
||||
this.i = (CharSequence) creator.createFromParcel(parcel);
|
||||
this.f3097j = parcel.readInt();
|
||||
this.f3098k = (CharSequence) creator.createFromParcel(parcel);
|
||||
this.f3099l = parcel.createStringArrayList();
|
||||
this.f3100m = parcel.createStringArrayList();
|
||||
this.f3101n = parcel.readInt() != 0;
|
||||
}
|
||||
}
|
||||
158
apk_decompiled/sources/androidx/fragment/app/C0138b0.java
Normal file
158
apk_decompiled/sources/androidx/fragment/app/C0138b0.java
Normal file
@@ -0,0 +1,158 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.util.Log;
|
||||
import b.C0253b;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.Iterator;
|
||||
import java.util.LinkedHashSet;
|
||||
import java.util.List;
|
||||
import kotlin.collections.CollectionsKt;
|
||||
import kotlin.collections.CollectionsKt__MutableCollectionsKt;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* renamed from: androidx.fragment.app.b0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0138b0 extends b.r {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ AbstractC0158l0 f3102a;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public C0138b0(AbstractC0158l0 abstractC0158l0) {
|
||||
super(false);
|
||||
this.f3102a = abstractC0158l0;
|
||||
}
|
||||
|
||||
@Override // b.r
|
||||
public final void handleOnBackCancelled() {
|
||||
boolean M3 = AbstractC0158l0.M(3);
|
||||
AbstractC0158l0 abstractC0158l0 = this.f3102a;
|
||||
if (M3) {
|
||||
Log.d("FragmentManager", "handleOnBackCancelled. PREDICTIVE_BACK = true fragment manager " + abstractC0158l0);
|
||||
}
|
||||
C0135a c0135a = abstractC0158l0.h;
|
||||
if (c0135a != null) {
|
||||
c0135a.f3085r = false;
|
||||
c0135a.e(false);
|
||||
abstractC0158l0.A(true);
|
||||
abstractC0158l0.G();
|
||||
Iterator it = abstractC0158l0.f3169n.iterator();
|
||||
if (it.hasNext()) {
|
||||
throw C.w.g(it);
|
||||
}
|
||||
}
|
||||
abstractC0158l0.h = null;
|
||||
}
|
||||
|
||||
@Override // b.r
|
||||
public final void handleOnBackPressed() {
|
||||
boolean M3 = AbstractC0158l0.M(3);
|
||||
AbstractC0158l0 abstractC0158l0 = this.f3102a;
|
||||
if (M3) {
|
||||
Log.d("FragmentManager", "handleOnBackPressed. PREDICTIVE_BACK = true fragment manager " + abstractC0158l0);
|
||||
}
|
||||
abstractC0158l0.A(true);
|
||||
C0135a c0135a = abstractC0158l0.h;
|
||||
C0138b0 c0138b0 = abstractC0158l0.i;
|
||||
if (c0135a == null) {
|
||||
if (c0138b0.isEnabled()) {
|
||||
if (AbstractC0158l0.M(3)) {
|
||||
Log.d("FragmentManager", "Calling popBackStackImmediate via onBackPressed callback");
|
||||
}
|
||||
abstractC0158l0.T();
|
||||
return;
|
||||
} else {
|
||||
if (AbstractC0158l0.M(3)) {
|
||||
Log.d("FragmentManager", "Calling onBackPressed via onBackPressed callback");
|
||||
}
|
||||
abstractC0158l0.f3164g.d();
|
||||
return;
|
||||
}
|
||||
}
|
||||
ArrayList arrayList = abstractC0158l0.f3169n;
|
||||
if (!arrayList.isEmpty()) {
|
||||
LinkedHashSet linkedHashSet = new LinkedHashSet(AbstractC0158l0.H(abstractC0158l0.h));
|
||||
Iterator it = arrayList.iterator();
|
||||
while (it.hasNext()) {
|
||||
if (it.next() != null) {
|
||||
throw new ClassCastException();
|
||||
}
|
||||
Iterator it2 = linkedHashSet.iterator();
|
||||
if (it2.hasNext()) {
|
||||
throw null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Iterator it3 = abstractC0158l0.h.f3257a.iterator();
|
||||
while (it3.hasNext()) {
|
||||
K k4 = ((v0) it3.next()).f3250b;
|
||||
if (k4 != null) {
|
||||
k4.mTransitioning = false;
|
||||
}
|
||||
}
|
||||
Iterator it4 = abstractC0158l0.f(new ArrayList(Collections.singletonList(abstractC0158l0.h)), 0, 1).iterator();
|
||||
while (it4.hasNext()) {
|
||||
O0 o02 = (O0) it4.next();
|
||||
o02.getClass();
|
||||
if (AbstractC0158l0.M(3)) {
|
||||
Log.d("FragmentManager", "SpecialEffectsController: Completing Back ");
|
||||
}
|
||||
ArrayList arrayList2 = o02.f3063c;
|
||||
o02.o(arrayList2);
|
||||
o02.c(arrayList2);
|
||||
}
|
||||
abstractC0158l0.h = null;
|
||||
abstractC0158l0.k0();
|
||||
if (AbstractC0158l0.M(3)) {
|
||||
Log.d("FragmentManager", "Op is being set to null");
|
||||
Log.d("FragmentManager", "OnBackPressedCallback enabled=" + c0138b0.isEnabled() + " for FragmentManager " + abstractC0158l0);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // b.r
|
||||
public final void handleOnBackProgressed(C0253b backEvent) {
|
||||
boolean M3 = AbstractC0158l0.M(2);
|
||||
AbstractC0158l0 abstractC0158l0 = this.f3102a;
|
||||
if (M3) {
|
||||
Log.v("FragmentManager", "handleOnBackProgressed. PREDICTIVE_BACK = true fragment manager " + abstractC0158l0);
|
||||
}
|
||||
if (abstractC0158l0.h != null) {
|
||||
Iterator it = abstractC0158l0.f(new ArrayList(Collections.singletonList(abstractC0158l0.h)), 0, 1).iterator();
|
||||
while (it.hasNext()) {
|
||||
O0 o02 = (O0) it.next();
|
||||
o02.getClass();
|
||||
Intrinsics.checkNotNullParameter(backEvent, "backEvent");
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "SpecialEffectsController: Processing Progress " + backEvent.f4108c);
|
||||
}
|
||||
ArrayList arrayList = o02.f3063c;
|
||||
ArrayList arrayList2 = new ArrayList();
|
||||
Iterator it2 = arrayList.iterator();
|
||||
while (it2.hasNext()) {
|
||||
CollectionsKt__MutableCollectionsKt.addAll(arrayList2, ((J0) it2.next()).f3044k);
|
||||
}
|
||||
List list = CollectionsKt.toList(CollectionsKt.toSet(arrayList2));
|
||||
int size = list.size();
|
||||
for (int i = 0; i < size; i++) {
|
||||
((I0) list.get(i)).d(backEvent, o02.f3061a);
|
||||
}
|
||||
}
|
||||
Iterator it3 = abstractC0158l0.f3169n.iterator();
|
||||
if (it3.hasNext()) {
|
||||
throw C.w.g(it3);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override // b.r
|
||||
public final void handleOnBackStarted(C0253b c0253b) {
|
||||
boolean M3 = AbstractC0158l0.M(3);
|
||||
AbstractC0158l0 abstractC0158l0 = this.f3102a;
|
||||
if (M3) {
|
||||
Log.d("FragmentManager", "handleOnBackStarted. PREDICTIVE_BACK = true fragment manager " + abstractC0158l0);
|
||||
}
|
||||
abstractC0158l0.x();
|
||||
abstractC0158l0.y(new C0154j0(abstractC0158l0), false);
|
||||
}
|
||||
}
|
||||
38
apk_decompiled/sources/androidx/fragment/app/C0139c.java
Normal file
38
apk_decompiled/sources/androidx/fragment/app/C0139c.java
Normal file
@@ -0,0 +1,38 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import java.util.ArrayList;
|
||||
|
||||
/* renamed from: androidx.fragment.app.c, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0139c implements Parcelable {
|
||||
public static final Parcelable.Creator<C0139c> CREATOR = new D0.a(4);
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final ArrayList f3103a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final ArrayList f3104b;
|
||||
|
||||
public C0139c(ArrayList arrayList, ArrayList arrayList2) {
|
||||
this.f3103a = arrayList;
|
||||
this.f3104b = arrayList2;
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable
|
||||
public final int describeContents() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable
|
||||
public final void writeToParcel(Parcel parcel, int i) {
|
||||
parcel.writeStringList(this.f3103a);
|
||||
parcel.writeTypedList(this.f3104b);
|
||||
}
|
||||
|
||||
public C0139c(Parcel parcel) {
|
||||
this.f3103a = parcel.createStringArrayList();
|
||||
this.f3104b = parcel.createTypedArrayList(C0137b.CREATOR);
|
||||
}
|
||||
}
|
||||
15
apk_decompiled/sources/androidx/fragment/app/C0140c0.java
Normal file
15
apk_decompiled/sources/androidx/fragment/app/C0140c0.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import O.InterfaceC0076q;
|
||||
|
||||
/* renamed from: androidx.fragment.app.c0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0140c0 implements InterfaceC0076q {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ AbstractC0158l0 f3105a;
|
||||
|
||||
public C0140c0(AbstractC0158l0 abstractC0158l0) {
|
||||
this.f3105a = abstractC0158l0;
|
||||
}
|
||||
}
|
||||
46
apk_decompiled/sources/androidx/fragment/app/C0142d0.java
Normal file
46
apk_decompiled/sources/androidx/fragment/app/C0142d0.java
Normal file
@@ -0,0 +1,46 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
/* renamed from: androidx.fragment.app.d0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0142d0 {
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public static final s.j f3109b = new s.j(0);
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ AbstractC0158l0 f3110a;
|
||||
|
||||
public C0142d0(AbstractC0158l0 abstractC0158l0) {
|
||||
this.f3110a = abstractC0158l0;
|
||||
}
|
||||
|
||||
public static Class b(ClassLoader classLoader, String str) {
|
||||
s.j jVar = f3109b;
|
||||
s.j jVar2 = (s.j) jVar.get(classLoader);
|
||||
if (jVar2 == null) {
|
||||
jVar2 = new s.j(0);
|
||||
jVar.put(classLoader, jVar2);
|
||||
}
|
||||
Class cls = (Class) jVar2.get(str);
|
||||
if (cls != null) {
|
||||
return cls;
|
||||
}
|
||||
Class<?> cls2 = Class.forName(str, false, classLoader);
|
||||
jVar2.put(str, cls2);
|
||||
return cls2;
|
||||
}
|
||||
|
||||
public static Class c(ClassLoader classLoader, String str) {
|
||||
try {
|
||||
return b(classLoader, str);
|
||||
} catch (ClassCastException e4) {
|
||||
throw new RuntimeException(C.w.o("Unable to instantiate fragment ", str, ": make sure class is a valid subclass of Fragment"), e4);
|
||||
} catch (ClassNotFoundException e5) {
|
||||
throw new RuntimeException(C.w.o("Unable to instantiate fragment ", str, ": make sure class name exists"), e5);
|
||||
}
|
||||
}
|
||||
|
||||
public final K a(String str) {
|
||||
return K.instantiate(this.f3110a.f3177w.f3075b, str, null);
|
||||
}
|
||||
}
|
||||
18
apk_decompiled/sources/androidx/fragment/app/C0144e0.java
Normal file
18
apk_decompiled/sources/androidx/fragment/app/C0144e0.java
Normal file
@@ -0,0 +1,18 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
/* renamed from: androidx.fragment.app.e0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0144e0 implements q0 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ K f3115a;
|
||||
|
||||
public C0144e0(K k4) {
|
||||
this.f3115a = k4;
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.q0
|
||||
public final void a(AbstractC0158l0 abstractC0158l0, K k4) {
|
||||
this.f3115a.onAttachFragment(k4);
|
||||
}
|
||||
}
|
||||
156
apk_decompiled/sources/androidx/fragment/app/C0146f0.java
Normal file
156
apk_decompiled/sources/androidx/fragment/app/C0146f0.java
Normal file
@@ -0,0 +1,156 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.IntentSender;
|
||||
import android.os.Bundle;
|
||||
import android.util.Log;
|
||||
import d.C0292a;
|
||||
import d.C0302k;
|
||||
import e.AbstractC0311a;
|
||||
import java.util.ArrayList;
|
||||
import java.util.LinkedHashMap;
|
||||
import kotlin.Pair;
|
||||
import kotlin.TuplesKt;
|
||||
import kotlin.collections.ArraysKt;
|
||||
import kotlin.collections.CollectionsKt;
|
||||
import kotlin.collections.MapsKt;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.ranges.RangesKt;
|
||||
|
||||
/* renamed from: androidx.fragment.app.f0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0146f0 extends AbstractC0311a {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f3120a;
|
||||
|
||||
public /* synthetic */ C0146f0(int i) {
|
||||
this.f3120a = i;
|
||||
}
|
||||
|
||||
@Override // e.AbstractC0311a
|
||||
public final Intent a(Context context, Object obj) {
|
||||
Bundle bundleExtra;
|
||||
switch (this.f3120a) {
|
||||
case 0:
|
||||
C0302k c0302k = (C0302k) obj;
|
||||
Intent intent = new Intent("androidx.activity.result.contract.action.INTENT_SENDER_REQUEST");
|
||||
Intent intent2 = c0302k.f6112b;
|
||||
if (intent2 != null && (bundleExtra = intent2.getBundleExtra("androidx.activity.result.contract.extra.ACTIVITY_OPTIONS_BUNDLE")) != null) {
|
||||
intent.putExtra("androidx.activity.result.contract.extra.ACTIVITY_OPTIONS_BUNDLE", bundleExtra);
|
||||
intent2.removeExtra("androidx.activity.result.contract.extra.ACTIVITY_OPTIONS_BUNDLE");
|
||||
if (intent2.getBooleanExtra("androidx.fragment.extra.ACTIVITY_OPTIONS_BUNDLE", false)) {
|
||||
IntentSender intentSender = c0302k.f6111a;
|
||||
Intrinsics.checkNotNullParameter(intentSender, "intentSender");
|
||||
c0302k = new C0302k(intentSender, null, c0302k.f6113c, c0302k.f6114d);
|
||||
}
|
||||
}
|
||||
intent.putExtra("androidx.activity.result.contract.extra.INTENT_SENDER_REQUEST", c0302k);
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "CreateIntent created the following intent: " + intent);
|
||||
}
|
||||
return intent;
|
||||
case 1:
|
||||
String[] input = (String[]) obj;
|
||||
Intrinsics.checkNotNullParameter(context, "context");
|
||||
Intrinsics.checkNotNullParameter(input, "input");
|
||||
Intrinsics.checkNotNullParameter(input, "input");
|
||||
Intent putExtra = new Intent("androidx.activity.result.contract.action.REQUEST_PERMISSIONS").putExtra("androidx.activity.result.contract.extra.PERMISSIONS", input);
|
||||
Intrinsics.checkNotNullExpressionValue(putExtra, "Intent(ACTION_REQUEST_PE…EXTRA_PERMISSIONS, input)");
|
||||
return putExtra;
|
||||
case 2:
|
||||
String input2 = (String) obj;
|
||||
Intrinsics.checkNotNullParameter(context, "context");
|
||||
Intrinsics.checkNotNullParameter(input2, "input");
|
||||
String[] input3 = {input2};
|
||||
Intrinsics.checkNotNullParameter(input3, "input");
|
||||
Intent putExtra2 = new Intent("androidx.activity.result.contract.action.REQUEST_PERMISSIONS").putExtra("androidx.activity.result.contract.extra.PERMISSIONS", input3);
|
||||
Intrinsics.checkNotNullExpressionValue(putExtra2, "Intent(ACTION_REQUEST_PE…EXTRA_PERMISSIONS, input)");
|
||||
return putExtra2;
|
||||
default:
|
||||
Intent input4 = (Intent) obj;
|
||||
Intrinsics.checkNotNullParameter(context, "context");
|
||||
Intrinsics.checkNotNullParameter(input4, "input");
|
||||
return input4;
|
||||
}
|
||||
}
|
||||
|
||||
@Override // e.AbstractC0311a
|
||||
public A.a b(Context context, Object obj) {
|
||||
switch (this.f3120a) {
|
||||
case 1:
|
||||
String[] input = (String[]) obj;
|
||||
Intrinsics.checkNotNullParameter(context, "context");
|
||||
Intrinsics.checkNotNullParameter(input, "input");
|
||||
if (input.length == 0) {
|
||||
return new A.a(MapsKt.emptyMap(), 25);
|
||||
}
|
||||
for (String str : input) {
|
||||
if (D.h.checkSelfPermission(context, str) != 0) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
LinkedHashMap linkedHashMap = new LinkedHashMap(RangesKt.coerceAtLeast(MapsKt.mapCapacity(input.length), 16));
|
||||
for (String str2 : input) {
|
||||
Pair pair = TuplesKt.to(str2, Boolean.TRUE);
|
||||
linkedHashMap.put(pair.getFirst(), pair.getSecond());
|
||||
}
|
||||
return new A.a(linkedHashMap, 25);
|
||||
case 2:
|
||||
String input2 = (String) obj;
|
||||
Intrinsics.checkNotNullParameter(context, "context");
|
||||
Intrinsics.checkNotNullParameter(input2, "input");
|
||||
if (D.h.checkSelfPermission(context, input2) == 0) {
|
||||
return new A.a(Boolean.TRUE, 25);
|
||||
}
|
||||
return null;
|
||||
default:
|
||||
return super.b(context, obj);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // e.AbstractC0311a
|
||||
public final Object c(int i, Intent intent) {
|
||||
switch (this.f3120a) {
|
||||
case 0:
|
||||
return new C0292a(i, intent);
|
||||
case 1:
|
||||
if (i == -1 && intent != null) {
|
||||
String[] stringArrayExtra = intent.getStringArrayExtra("androidx.activity.result.contract.extra.PERMISSIONS");
|
||||
int[] intArrayExtra = intent.getIntArrayExtra("androidx.activity.result.contract.extra.PERMISSION_GRANT_RESULTS");
|
||||
if (intArrayExtra == null || stringArrayExtra == null) {
|
||||
return MapsKt.emptyMap();
|
||||
}
|
||||
ArrayList arrayList = new ArrayList(intArrayExtra.length);
|
||||
for (int i4 : intArrayExtra) {
|
||||
arrayList.add(Boolean.valueOf(i4 == 0));
|
||||
}
|
||||
return MapsKt.toMap(CollectionsKt.zip(ArraysKt.filterNotNull(stringArrayExtra), arrayList));
|
||||
}
|
||||
return MapsKt.emptyMap();
|
||||
case 2:
|
||||
if (intent == null || i != -1) {
|
||||
return Boolean.FALSE;
|
||||
}
|
||||
int[] intArrayExtra2 = intent.getIntArrayExtra("androidx.activity.result.contract.extra.PERMISSION_GRANT_RESULTS");
|
||||
boolean z3 = false;
|
||||
if (intArrayExtra2 != null) {
|
||||
int length = intArrayExtra2.length;
|
||||
int i5 = 0;
|
||||
while (true) {
|
||||
if (i5 < length) {
|
||||
if (intArrayExtra2[i5] == 0) {
|
||||
z3 = true;
|
||||
} else {
|
||||
i5++;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return Boolean.valueOf(z3);
|
||||
default:
|
||||
return new C0292a(i, intent);
|
||||
}
|
||||
}
|
||||
}
|
||||
70
apk_decompiled/sources/androidx/fragment/app/C0147g.java
Normal file
70
apk_decompiled/sources/androidx/fragment/app/C0147g.java
Normal file
@@ -0,0 +1,70 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.content.Context;
|
||||
import android.util.Log;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.animation.Animation;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* renamed from: androidx.fragment.app.g, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0147g extends I0 {
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final C0149h f3121c;
|
||||
|
||||
public C0147g(C0149h animationInfo) {
|
||||
Intrinsics.checkNotNullParameter(animationInfo, "animationInfo");
|
||||
this.f3121c = animationInfo;
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.I0
|
||||
public final void b(ViewGroup container) {
|
||||
Intrinsics.checkNotNullParameter(container, "container");
|
||||
C0149h c0149h = this.f3121c;
|
||||
J0 j02 = c0149h.f3181a;
|
||||
View view = j02.f3038c.mView;
|
||||
view.clearAnimation();
|
||||
container.endViewTransition(view);
|
||||
c0149h.f3181a.c(this);
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "Animation from operation " + j02 + " has been cancelled.");
|
||||
}
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.I0
|
||||
public final void c(ViewGroup container) {
|
||||
Intrinsics.checkNotNullParameter(container, "container");
|
||||
C0149h c0149h = this.f3121c;
|
||||
boolean a2 = c0149h.a();
|
||||
J0 j02 = c0149h.f3181a;
|
||||
if (a2) {
|
||||
j02.c(this);
|
||||
return;
|
||||
}
|
||||
Context context = container.getContext();
|
||||
View view = j02.f3038c.mView;
|
||||
Intrinsics.checkNotNullExpressionValue(context, "context");
|
||||
Q b4 = c0149h.b(context);
|
||||
if (b4 == null) {
|
||||
throw new IllegalStateException("Required value was null.");
|
||||
}
|
||||
Animation animation = (Animation) b4.f3066a;
|
||||
if (animation == null) {
|
||||
throw new IllegalStateException("Required value was null.");
|
||||
}
|
||||
if (j02.f3036a != M0.f3054a) {
|
||||
view.startAnimation(animation);
|
||||
j02.c(this);
|
||||
return;
|
||||
}
|
||||
container.startViewTransition(view);
|
||||
S s4 = new S(animation, container, view);
|
||||
s4.setAnimationListener(new AnimationAnimationListenerC0145f(j02, container, view, this));
|
||||
view.startAnimation(s4);
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "Animation from operation " + j02 + " has started.");
|
||||
}
|
||||
}
|
||||
}
|
||||
32
apk_decompiled/sources/androidx/fragment/app/C0148g0.java
Normal file
32
apk_decompiled/sources/androidx/fragment/app/C0148g0.java
Normal file
@@ -0,0 +1,32 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
/* renamed from: androidx.fragment.app.g0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0148g0 implements Parcelable {
|
||||
public static final Parcelable.Creator<C0148g0> CREATOR = new D0.a(5);
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public String f3122a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public int f3123b;
|
||||
|
||||
public C0148g0(String str, int i) {
|
||||
this.f3122a = str;
|
||||
this.f3123b = i;
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable
|
||||
public final int describeContents() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable
|
||||
public final void writeToParcel(Parcel parcel, int i) {
|
||||
parcel.writeString(this.f3122a);
|
||||
parcel.writeInt(this.f3123b);
|
||||
}
|
||||
}
|
||||
102
apk_decompiled/sources/androidx/fragment/app/C0149h.java
Normal file
102
apk_decompiled/sources/androidx/fragment/app/C0149h.java
Normal file
@@ -0,0 +1,102 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import a.AbstractC0106b;
|
||||
import android.animation.Animator;
|
||||
import android.animation.AnimatorInflater;
|
||||
import android.content.Context;
|
||||
import android.content.res.Resources;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.animation.Animation;
|
||||
import android.view.animation.AnimationUtils;
|
||||
import com.adif.elcanomovil.R;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* renamed from: androidx.fragment.app.h, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0149h extends AbstractC0159m {
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final boolean f3124b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public boolean f3125c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public Q f3126d;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public C0149h(J0 operation, boolean z3) {
|
||||
super(operation);
|
||||
Intrinsics.checkNotNullParameter(operation, "operation");
|
||||
this.f3124b = z3;
|
||||
}
|
||||
|
||||
public final Q b(Context context) {
|
||||
Animation loadAnimation;
|
||||
Q q4;
|
||||
Intrinsics.checkNotNullParameter(context, "context");
|
||||
if (this.f3125c) {
|
||||
return this.f3126d;
|
||||
}
|
||||
J0 j02 = this.f3181a;
|
||||
K k4 = j02.f3038c;
|
||||
boolean z3 = j02.f3036a == M0.f3055b;
|
||||
int nextTransition = k4.getNextTransition();
|
||||
int popEnterAnim = this.f3124b ? z3 ? k4.getPopEnterAnim() : k4.getPopExitAnim() : z3 ? k4.getEnterAnim() : k4.getExitAnim();
|
||||
k4.setAnimations(0, 0, 0, 0);
|
||||
ViewGroup viewGroup = k4.mContainer;
|
||||
Q q5 = null;
|
||||
if (viewGroup != null && viewGroup.getTag(R.id.visible_removing_fragment_view_tag) != null) {
|
||||
k4.mContainer.setTag(R.id.visible_removing_fragment_view_tag, null);
|
||||
}
|
||||
ViewGroup viewGroup2 = k4.mContainer;
|
||||
if (viewGroup2 == null || viewGroup2.getLayoutTransition() == null) {
|
||||
Animation onCreateAnimation = k4.onCreateAnimation(nextTransition, z3, popEnterAnim);
|
||||
if (onCreateAnimation != null) {
|
||||
q5 = new Q(onCreateAnimation);
|
||||
} else {
|
||||
Animator onCreateAnimator = k4.onCreateAnimator(nextTransition, z3, popEnterAnim);
|
||||
if (onCreateAnimator != null) {
|
||||
q5 = new Q(onCreateAnimator);
|
||||
} else {
|
||||
if (popEnterAnim == 0 && nextTransition != 0) {
|
||||
popEnterAnim = nextTransition != 4097 ? nextTransition != 8194 ? nextTransition != 8197 ? nextTransition != 4099 ? nextTransition != 4100 ? -1 : z3 ? AbstractC0106b.I(context, android.R.attr.activityOpenEnterAnimation) : AbstractC0106b.I(context, android.R.attr.activityOpenExitAnimation) : z3 ? R.animator.fragment_fade_enter : R.animator.fragment_fade_exit : z3 ? AbstractC0106b.I(context, android.R.attr.activityCloseEnterAnimation) : AbstractC0106b.I(context, android.R.attr.activityCloseExitAnimation) : z3 ? R.animator.fragment_close_enter : R.animator.fragment_close_exit : z3 ? R.animator.fragment_open_enter : R.animator.fragment_open_exit;
|
||||
}
|
||||
if (popEnterAnim != 0) {
|
||||
boolean equals = "anim".equals(context.getResources().getResourceTypeName(popEnterAnim));
|
||||
try {
|
||||
if (equals) {
|
||||
try {
|
||||
loadAnimation = AnimationUtils.loadAnimation(context, popEnterAnim);
|
||||
} catch (Resources.NotFoundException e4) {
|
||||
throw e4;
|
||||
} catch (RuntimeException unused) {
|
||||
}
|
||||
if (loadAnimation != null) {
|
||||
q4 = new Q(loadAnimation);
|
||||
q5 = q4;
|
||||
}
|
||||
}
|
||||
Animator loadAnimator = AnimatorInflater.loadAnimator(context, popEnterAnim);
|
||||
if (loadAnimator != null) {
|
||||
q4 = new Q(loadAnimator);
|
||||
q5 = q4;
|
||||
}
|
||||
} catch (RuntimeException e5) {
|
||||
if (equals) {
|
||||
throw e5;
|
||||
}
|
||||
Animation loadAnimation2 = AnimationUtils.loadAnimation(context, popEnterAnim);
|
||||
if (loadAnimation2 != null) {
|
||||
q5 = new Q(loadAnimation2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
this.f3126d = q5;
|
||||
this.f3125c = true;
|
||||
return q5;
|
||||
}
|
||||
}
|
||||
56
apk_decompiled/sources/androidx/fragment/app/C0151i.java
Normal file
56
apk_decompiled/sources/androidx/fragment/app/C0151i.java
Normal file
@@ -0,0 +1,56 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.animation.Animator;
|
||||
import android.animation.AnimatorListenerAdapter;
|
||||
import android.util.Log;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* renamed from: androidx.fragment.app.i, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0151i extends AnimatorListenerAdapter {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ ViewGroup f3127a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ View f3128b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ boolean f3129c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final /* synthetic */ J0 f3130d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public final /* synthetic */ C0153j f3131e;
|
||||
|
||||
public C0151i(ViewGroup viewGroup, View view, boolean z3, J0 j02, C0153j c0153j) {
|
||||
this.f3127a = viewGroup;
|
||||
this.f3128b = view;
|
||||
this.f3129c = z3;
|
||||
this.f3130d = j02;
|
||||
this.f3131e = c0153j;
|
||||
}
|
||||
|
||||
@Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
|
||||
public final void onAnimationEnd(Animator anim) {
|
||||
Intrinsics.checkNotNullParameter(anim, "anim");
|
||||
ViewGroup viewGroup = this.f3127a;
|
||||
View viewToAnimate = this.f3128b;
|
||||
viewGroup.endViewTransition(viewToAnimate);
|
||||
boolean z3 = this.f3129c;
|
||||
J0 j02 = this.f3130d;
|
||||
if (z3) {
|
||||
M0 m02 = j02.f3036a;
|
||||
Intrinsics.checkNotNullExpressionValue(viewToAnimate, "viewToAnimate");
|
||||
m02.a(viewToAnimate, viewGroup);
|
||||
}
|
||||
C0153j c0153j = this.f3131e;
|
||||
c0153j.f3135c.f3181a.c(c0153j);
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "Animator from operation " + j02 + " has ended.");
|
||||
}
|
||||
}
|
||||
}
|
||||
32
apk_decompiled/sources/androidx/fragment/app/C0152i0.java
Normal file
32
apk_decompiled/sources/androidx/fragment/app/C0152i0.java
Normal file
@@ -0,0 +1,32 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
/* renamed from: androidx.fragment.app.i0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0152i0 implements InterfaceC0150h0 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final String f3132a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final int f3133b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ AbstractC0158l0 f3134c;
|
||||
|
||||
public C0152i0(AbstractC0158l0 abstractC0158l0, String str, int i) {
|
||||
this.f3134c = abstractC0158l0;
|
||||
this.f3132a = str;
|
||||
this.f3133b = i;
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.InterfaceC0150h0
|
||||
public final boolean a(ArrayList arrayList, ArrayList arrayList2) {
|
||||
K k4 = this.f3134c.f3180z;
|
||||
if (k4 == null || this.f3133b >= 0 || this.f3132a != null || !k4.getChildFragmentManager().U(-1, 0)) {
|
||||
return this.f3134c.V(arrayList, arrayList2, this.f3132a, this.f3133b, 1);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
125
apk_decompiled/sources/androidx/fragment/app/C0153j.java
Normal file
125
apk_decompiled/sources/androidx/fragment/app/C0153j.java
Normal file
@@ -0,0 +1,125 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.animation.AnimatorSet;
|
||||
import android.content.Context;
|
||||
import android.os.Build;
|
||||
import android.util.Log;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import b.C0253b;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* renamed from: androidx.fragment.app.j, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0153j extends I0 {
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final C0149h f3135c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public AnimatorSet f3136d;
|
||||
|
||||
public C0153j(C0149h animatorInfo) {
|
||||
Intrinsics.checkNotNullParameter(animatorInfo, "animatorInfo");
|
||||
this.f3135c = animatorInfo;
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.I0
|
||||
public final void b(ViewGroup container) {
|
||||
Intrinsics.checkNotNullParameter(container, "container");
|
||||
AnimatorSet animatorSet = this.f3136d;
|
||||
J0 j02 = this.f3135c.f3181a;
|
||||
if (animatorSet == null) {
|
||||
j02.c(this);
|
||||
return;
|
||||
}
|
||||
if (j02.f3042g) {
|
||||
C0157l.f3142a.a(animatorSet);
|
||||
} else {
|
||||
animatorSet.end();
|
||||
}
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
StringBuilder sb = new StringBuilder("Animator from operation ");
|
||||
sb.append(j02);
|
||||
sb.append(" has been canceled");
|
||||
sb.append(j02.f3042g ? " with seeking." : ".");
|
||||
sb.append(' ');
|
||||
Log.v("FragmentManager", sb.toString());
|
||||
}
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.I0
|
||||
public final void c(ViewGroup container) {
|
||||
Intrinsics.checkNotNullParameter(container, "container");
|
||||
J0 j02 = this.f3135c.f3181a;
|
||||
AnimatorSet animatorSet = this.f3136d;
|
||||
if (animatorSet == null) {
|
||||
j02.c(this);
|
||||
return;
|
||||
}
|
||||
animatorSet.start();
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "Animator from operation " + j02 + " has started.");
|
||||
}
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.I0
|
||||
public final void d(C0253b backEvent, ViewGroup container) {
|
||||
Intrinsics.checkNotNullParameter(backEvent, "backEvent");
|
||||
Intrinsics.checkNotNullParameter(container, "container");
|
||||
J0 j02 = this.f3135c.f3181a;
|
||||
AnimatorSet animatorSet = this.f3136d;
|
||||
if (animatorSet == null) {
|
||||
j02.c(this);
|
||||
return;
|
||||
}
|
||||
if (Build.VERSION.SDK_INT < 34 || !j02.f3038c.mTransitioning) {
|
||||
return;
|
||||
}
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "Adding BackProgressCallbacks for Animators to operation " + j02);
|
||||
}
|
||||
long a2 = C0155k.f3138a.a(animatorSet);
|
||||
long j4 = backEvent.f4108c * ((float) a2);
|
||||
if (j4 == 0) {
|
||||
j4 = 1;
|
||||
}
|
||||
if (j4 == a2) {
|
||||
j4 = a2 - 1;
|
||||
}
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "Setting currentPlayTime to " + j4 + " for Animator " + animatorSet + " on operation " + j02);
|
||||
}
|
||||
C0157l.f3142a.b(animatorSet, j4);
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.I0
|
||||
public final void e(ViewGroup container) {
|
||||
C0153j c0153j;
|
||||
Intrinsics.checkNotNullParameter(container, "container");
|
||||
C0149h c0149h = this.f3135c;
|
||||
if (c0149h.a()) {
|
||||
return;
|
||||
}
|
||||
Context context = container.getContext();
|
||||
Intrinsics.checkNotNullExpressionValue(context, "context");
|
||||
Q b4 = c0149h.b(context);
|
||||
this.f3136d = b4 != null ? (AnimatorSet) b4.f3067b : null;
|
||||
J0 j02 = c0149h.f3181a;
|
||||
K k4 = j02.f3038c;
|
||||
boolean z3 = j02.f3036a == M0.f3056c;
|
||||
View view = k4.mView;
|
||||
container.startViewTransition(view);
|
||||
AnimatorSet animatorSet = this.f3136d;
|
||||
if (animatorSet != null) {
|
||||
c0153j = this;
|
||||
animatorSet.addListener(new C0151i(container, view, z3, j02, c0153j));
|
||||
} else {
|
||||
c0153j = this;
|
||||
}
|
||||
AnimatorSet animatorSet2 = c0153j.f3136d;
|
||||
if (animatorSet2 != null) {
|
||||
animatorSet2.setTarget(view);
|
||||
}
|
||||
}
|
||||
}
|
||||
52
apk_decompiled/sources/androidx/fragment/app/C0154j0.java
Normal file
52
apk_decompiled/sources/androidx/fragment/app/C0154j0.java
Normal file
@@ -0,0 +1,52 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import java.util.LinkedHashSet;
|
||||
|
||||
/* renamed from: androidx.fragment.app.j0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0154j0 implements InterfaceC0150h0 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ AbstractC0158l0 f3137a;
|
||||
|
||||
public C0154j0(AbstractC0158l0 abstractC0158l0) {
|
||||
this.f3137a = abstractC0158l0;
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.InterfaceC0150h0
|
||||
public final boolean a(ArrayList arrayList, ArrayList arrayList2) {
|
||||
AbstractC0158l0 abstractC0158l0 = this.f3137a;
|
||||
ArrayList arrayList3 = abstractC0158l0.f3161d;
|
||||
C0135a c0135a = (C0135a) arrayList3.get(arrayList3.size() - 1);
|
||||
abstractC0158l0.h = c0135a;
|
||||
Iterator it = c0135a.f3257a.iterator();
|
||||
while (it.hasNext()) {
|
||||
K k4 = ((v0) it.next()).f3250b;
|
||||
if (k4 != null) {
|
||||
k4.mTransitioning = true;
|
||||
}
|
||||
}
|
||||
boolean V3 = abstractC0158l0.V(arrayList, arrayList2, null, -1, 0);
|
||||
if (!abstractC0158l0.f3169n.isEmpty() && arrayList.size() > 0) {
|
||||
((Boolean) arrayList2.get(arrayList.size() - 1)).getClass();
|
||||
LinkedHashSet linkedHashSet = new LinkedHashSet();
|
||||
Iterator it2 = arrayList.iterator();
|
||||
while (it2.hasNext()) {
|
||||
linkedHashSet.addAll(AbstractC0158l0.H((C0135a) it2.next()));
|
||||
}
|
||||
Iterator it3 = abstractC0158l0.f3169n.iterator();
|
||||
while (it3.hasNext()) {
|
||||
if (it3.next() != null) {
|
||||
throw new ClassCastException();
|
||||
}
|
||||
Iterator it4 = linkedHashSet.iterator();
|
||||
if (it4.hasNext()) {
|
||||
throw null;
|
||||
}
|
||||
}
|
||||
}
|
||||
return V3;
|
||||
}
|
||||
}
|
||||
17
apk_decompiled/sources/androidx/fragment/app/C0155k.java
Normal file
17
apk_decompiled/sources/androidx/fragment/app/C0155k.java
Normal file
@@ -0,0 +1,17 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.animation.AnimatorSet;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* renamed from: androidx.fragment.app.k, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0155k {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public static final C0155k f3138a = new Object();
|
||||
|
||||
public final long a(AnimatorSet animatorSet) {
|
||||
Intrinsics.checkNotNullParameter(animatorSet, "animatorSet");
|
||||
return animatorSet.getTotalDuration();
|
||||
}
|
||||
}
|
||||
38
apk_decompiled/sources/androidx/fragment/app/C0156k0.java
Normal file
38
apk_decompiled/sources/androidx/fragment/app/C0156k0.java
Normal file
@@ -0,0 +1,38 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
/* renamed from: androidx.fragment.app.k0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0156k0 implements InterfaceC0150h0 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f3139a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final String f3140b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ AbstractC0158l0 f3141c;
|
||||
|
||||
public /* synthetic */ C0156k0(AbstractC0158l0 abstractC0158l0, String str, int i) {
|
||||
this.f3139a = i;
|
||||
this.f3141c = abstractC0158l0;
|
||||
this.f3140b = str;
|
||||
}
|
||||
|
||||
/* JADX WARN: Code restructure failed: missing block: B:184:0x036d, code lost:
|
||||
|
||||
r5.add(r8);
|
||||
*/
|
||||
@Override // androidx.fragment.app.InterfaceC0150h0
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public final boolean a(java.util.ArrayList r21, java.util.ArrayList r22) {
|
||||
/*
|
||||
Method dump skipped, instructions count: 910
|
||||
To view this dump add '--comments-level debug' option
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: androidx.fragment.app.C0156k0.a(java.util.ArrayList, java.util.ArrayList):boolean");
|
||||
}
|
||||
}
|
||||
22
apk_decompiled/sources/androidx/fragment/app/C0157l.java
Normal file
22
apk_decompiled/sources/androidx/fragment/app/C0157l.java
Normal file
@@ -0,0 +1,22 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.animation.AnimatorSet;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* renamed from: androidx.fragment.app.l, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0157l {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public static final C0157l f3142a = new Object();
|
||||
|
||||
public final void a(AnimatorSet animatorSet) {
|
||||
Intrinsics.checkNotNullParameter(animatorSet, "animatorSet");
|
||||
animatorSet.reverse();
|
||||
}
|
||||
|
||||
public final void b(AnimatorSet animatorSet, long j4) {
|
||||
Intrinsics.checkNotNullParameter(animatorSet, "animatorSet");
|
||||
animatorSet.setCurrentPlayTime(j4);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
/* renamed from: androidx.fragment.app.m0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0160m0 extends AbstractC0158l0 {
|
||||
}
|
||||
50
apk_decompiled/sources/androidx/fragment/app/C0162n0.java
Normal file
50
apk_decompiled/sources/androidx/fragment/app/C0162n0.java
Normal file
@@ -0,0 +1,50 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import java.util.ArrayList;
|
||||
|
||||
/* renamed from: androidx.fragment.app.n0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0162n0 implements Parcelable {
|
||||
public static final Parcelable.Creator<C0162n0> CREATOR = new D0.a(6);
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public ArrayList f3185a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public ArrayList f3186b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public C0137b[] f3187c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public int f3188d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public String f3189e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public ArrayList f3190f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public ArrayList f3191g;
|
||||
public ArrayList h;
|
||||
|
||||
@Override // android.os.Parcelable
|
||||
public final int describeContents() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable
|
||||
public final void writeToParcel(Parcel parcel, int i) {
|
||||
parcel.writeStringList(this.f3185a);
|
||||
parcel.writeStringList(this.f3186b);
|
||||
parcel.writeTypedArray(this.f3187c, i);
|
||||
parcel.writeInt(this.f3188d);
|
||||
parcel.writeString(this.f3189e);
|
||||
parcel.writeStringList(this.f3190f);
|
||||
parcel.writeTypedList(this.f3191g);
|
||||
parcel.writeTypedList(this.h);
|
||||
}
|
||||
}
|
||||
71
apk_decompiled/sources/androidx/fragment/app/C0163o.java
Normal file
71
apk_decompiled/sources/androidx/fragment/app/C0163o.java
Normal file
@@ -0,0 +1,71 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import a.AbstractC0105a;
|
||||
import android.view.ViewGroup;
|
||||
import e3.C0315a;
|
||||
import e3.C0322h;
|
||||
import e3.C0332s;
|
||||
import java.security.cert.Certificate;
|
||||
import java.security.cert.X509Certificate;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import kotlin.Unit;
|
||||
import kotlin.collections.CollectionsKt__IterablesKt;
|
||||
import kotlin.jvm.functions.Function0;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.Lambda;
|
||||
|
||||
/* renamed from: androidx.fragment.app.o, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0163o extends Lambda implements Function0 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f3192a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ Object f3193b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ Object f3194c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final /* synthetic */ Object f3195d;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public /* synthetic */ C0163o(Object obj, Object obj2, Object obj3, int i) {
|
||||
super(0);
|
||||
this.f3192a = i;
|
||||
this.f3193b = obj;
|
||||
this.f3194c = obj2;
|
||||
this.f3195d = obj3;
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function0
|
||||
public final Object invoke() {
|
||||
int collectionSizeOrDefault;
|
||||
List i;
|
||||
switch (this.f3192a) {
|
||||
case 0:
|
||||
((C0167q) this.f3193b).f3211f.e((ViewGroup) this.f3194c, this.f3195d);
|
||||
return Unit.INSTANCE;
|
||||
case 1:
|
||||
AbstractC0105a abstractC0105a = ((C0322h) this.f3193b).f6348b;
|
||||
List list = (List) this.f3194c;
|
||||
if (abstractC0105a != null && (i = abstractC0105a.i((String) this.f3195d, list)) != null) {
|
||||
list = i;
|
||||
}
|
||||
List<Certificate> list2 = list;
|
||||
collectionSizeOrDefault = CollectionsKt__IterablesKt.collectionSizeOrDefault(list2, 10);
|
||||
ArrayList arrayList = new ArrayList(collectionSizeOrDefault);
|
||||
for (Certificate certificate : list2) {
|
||||
Intrinsics.checkNotNull(certificate, "null cannot be cast to non-null type java.security.cert.X509Certificate");
|
||||
arrayList.add((X509Certificate) certificate);
|
||||
}
|
||||
return arrayList;
|
||||
default:
|
||||
AbstractC0105a abstractC0105a2 = ((C0322h) this.f3193b).f6348b;
|
||||
Intrinsics.checkNotNull(abstractC0105a2);
|
||||
return abstractC0105a2.i(((C0315a) this.f3195d).h.f6416d, ((C0332s) this.f3194c).a());
|
||||
}
|
||||
}
|
||||
}
|
||||
26
apk_decompiled/sources/androidx/fragment/app/C0164o0.java
Normal file
26
apk_decompiled/sources/androidx/fragment/app/C0164o0.java
Normal file
@@ -0,0 +1,26 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import n0.C0512b;
|
||||
import o0.C0545w;
|
||||
|
||||
/* renamed from: androidx.fragment.app.o0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0164o0 implements androidx.lifecycle.y0 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f3196a;
|
||||
|
||||
@Override // androidx.lifecycle.y0
|
||||
public final androidx.lifecycle.w0 create(Class modelClass) {
|
||||
switch (this.f3196a) {
|
||||
case 0:
|
||||
return new C0166p0(true);
|
||||
case 1:
|
||||
return new C0512b();
|
||||
default:
|
||||
Intrinsics.checkNotNullParameter(modelClass, "modelClass");
|
||||
return new C0545w();
|
||||
}
|
||||
}
|
||||
}
|
||||
53
apk_decompiled/sources/androidx/fragment/app/C0165p.java
Normal file
53
apk_decompiled/sources/androidx/fragment/app/C0165p.java
Normal file
@@ -0,0 +1,53 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.util.Log;
|
||||
import android.view.ViewGroup;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function0;
|
||||
import kotlin.jvm.internal.Lambda;
|
||||
import kotlin.jvm.internal.Ref;
|
||||
|
||||
/* renamed from: androidx.fragment.app.p, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0165p extends Lambda implements Function0 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ C0167q f3197a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ ViewGroup f3198b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ Object f3199c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final /* synthetic */ Ref.ObjectRef f3200d;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public C0165p(C0167q c0167q, ViewGroup viewGroup, Object obj, Ref.ObjectRef objectRef) {
|
||||
super(0);
|
||||
this.f3197a = c0167q;
|
||||
this.f3198b = viewGroup;
|
||||
this.f3199c = obj;
|
||||
this.f3200d = objectRef;
|
||||
}
|
||||
|
||||
/* JADX WARN: Type inference failed for: r1v2, types: [T, a0.b] */
|
||||
@Override // kotlin.jvm.functions.Function0
|
||||
public final Object invoke() {
|
||||
C0167q c0167q = this.f3197a;
|
||||
E0 e02 = c0167q.f3211f;
|
||||
ViewGroup viewGroup = this.f3198b;
|
||||
Object obj = this.f3199c;
|
||||
Object i = e02.i(viewGroup, obj);
|
||||
c0167q.f3219q = i;
|
||||
if (i == null) {
|
||||
throw new IllegalStateException(("Unable to start transition " + obj + " for container " + viewGroup + '.').toString());
|
||||
}
|
||||
this.f3200d.element = new a0.b(1, c0167q, viewGroup);
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "Started executing operations from " + c0167q.f3209d + " to " + c0167q.f3210e);
|
||||
}
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
}
|
||||
160
apk_decompiled/sources/androidx/fragment/app/C0166p0.java
Normal file
160
apk_decompiled/sources/androidx/fragment/app/C0166p0.java
Normal file
@@ -0,0 +1,160 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.util.Log;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.Iterator;
|
||||
|
||||
/* renamed from: androidx.fragment.app.p0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0166p0 extends androidx.lifecycle.w0 {
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public static final C0164o0 f3201g = new C0164o0(0);
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final boolean f3205d;
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final HashMap f3202a = new HashMap();
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final HashMap f3203b = new HashMap();
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final HashMap f3204c = new HashMap();
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public boolean f3206e = false;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public boolean f3207f = false;
|
||||
|
||||
public C0166p0(boolean z3) {
|
||||
this.f3205d = z3;
|
||||
}
|
||||
|
||||
public final void a(K k4) {
|
||||
if (this.f3207f) {
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "Ignoring addRetainedFragment as the state is already saved");
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
HashMap hashMap = this.f3202a;
|
||||
if (hashMap.containsKey(k4.mWho)) {
|
||||
return;
|
||||
}
|
||||
hashMap.put(k4.mWho, k4);
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "Updating retained Fragments: Added " + k4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void b(K k4, boolean z3) {
|
||||
if (AbstractC0158l0.M(3)) {
|
||||
Log.d("FragmentManager", "Clearing non-config state for " + k4);
|
||||
}
|
||||
f(k4.mWho, z3);
|
||||
}
|
||||
|
||||
public final void c(String str, boolean z3) {
|
||||
if (AbstractC0158l0.M(3)) {
|
||||
Log.d("FragmentManager", "Clearing non-config state for saved state of Fragment " + str);
|
||||
}
|
||||
f(str, z3);
|
||||
}
|
||||
|
||||
public final boolean equals(Object obj) {
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (obj != null && C0166p0.class == obj.getClass()) {
|
||||
C0166p0 c0166p0 = (C0166p0) obj;
|
||||
if (this.f3202a.equals(c0166p0.f3202a) && this.f3203b.equals(c0166p0.f3203b) && this.f3204c.equals(c0166p0.f3204c)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public final void f(String str, boolean z3) {
|
||||
HashMap hashMap = this.f3203b;
|
||||
C0166p0 c0166p0 = (C0166p0) hashMap.get(str);
|
||||
if (c0166p0 != null) {
|
||||
if (z3) {
|
||||
ArrayList arrayList = new ArrayList();
|
||||
arrayList.addAll(c0166p0.f3203b.keySet());
|
||||
Iterator it = arrayList.iterator();
|
||||
while (it.hasNext()) {
|
||||
c0166p0.c((String) it.next(), true);
|
||||
}
|
||||
}
|
||||
c0166p0.onCleared();
|
||||
hashMap.remove(str);
|
||||
}
|
||||
HashMap hashMap2 = this.f3204c;
|
||||
androidx.lifecycle.C0 c02 = (androidx.lifecycle.C0) hashMap2.get(str);
|
||||
if (c02 != null) {
|
||||
c02.a();
|
||||
hashMap2.remove(str);
|
||||
}
|
||||
}
|
||||
|
||||
public final void g(K k4) {
|
||||
if (this.f3207f) {
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "Ignoring removeRetainedFragment as the state is already saved");
|
||||
}
|
||||
} else {
|
||||
if (this.f3202a.remove(k4.mWho) == null || !AbstractC0158l0.M(2)) {
|
||||
return;
|
||||
}
|
||||
Log.v("FragmentManager", "Updating retained Fragments: Removed " + k4);
|
||||
}
|
||||
}
|
||||
|
||||
public final int hashCode() {
|
||||
return this.f3204c.hashCode() + ((this.f3203b.hashCode() + (this.f3202a.hashCode() * 31)) * 31);
|
||||
}
|
||||
|
||||
@Override // androidx.lifecycle.w0
|
||||
public final void onCleared() {
|
||||
if (AbstractC0158l0.M(3)) {
|
||||
Log.d("FragmentManager", "onCleared called for " + this);
|
||||
}
|
||||
this.f3206e = true;
|
||||
}
|
||||
|
||||
public final String toString() {
|
||||
StringBuilder sb = new StringBuilder("FragmentManagerViewModel{");
|
||||
sb.append(Integer.toHexString(System.identityHashCode(this)));
|
||||
sb.append("} Fragments (");
|
||||
Iterator it = this.f3202a.values().iterator();
|
||||
while (it.hasNext()) {
|
||||
sb.append(it.next());
|
||||
if (it.hasNext()) {
|
||||
sb.append(", ");
|
||||
}
|
||||
}
|
||||
sb.append(") Child Non Config (");
|
||||
Iterator it2 = this.f3203b.keySet().iterator();
|
||||
while (it2.hasNext()) {
|
||||
sb.append((String) it2.next());
|
||||
if (it2.hasNext()) {
|
||||
sb.append(", ");
|
||||
}
|
||||
}
|
||||
sb.append(") ViewModelStores (");
|
||||
Iterator it3 = this.f3204c.keySet().iterator();
|
||||
while (it3.hasNext()) {
|
||||
sb.append((String) it3.next());
|
||||
if (it3.hasNext()) {
|
||||
sb.append(", ");
|
||||
}
|
||||
}
|
||||
sb.append(')');
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
532
apk_decompiled/sources/androidx/fragment/app/C0167q.java
Normal file
532
apk_decompiled/sources/androidx/fragment/app/C0167q.java
Normal file
@@ -0,0 +1,532 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import B0.C0031i;
|
||||
import O.AbstractC0057b0;
|
||||
import O.ViewTreeObserverOnPreDrawListenerC0083y;
|
||||
import android.graphics.Rect;
|
||||
import android.os.Build;
|
||||
import android.util.Log;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import b.C0253b;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import java.util.WeakHashMap;
|
||||
import kotlin.Pair;
|
||||
import kotlin.collections.CollectionsKt;
|
||||
import kotlin.collections.CollectionsKt__IterablesKt;
|
||||
import kotlin.jvm.functions.Function0;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.Ref;
|
||||
|
||||
/* renamed from: androidx.fragment.app.q, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0167q extends I0 {
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final ArrayList f3208c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final J0 f3209d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public final J0 f3210e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public final E0 f3211f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public final Object f3212g;
|
||||
public final ArrayList h;
|
||||
public final ArrayList i;
|
||||
|
||||
/* renamed from: j, reason: collision with root package name */
|
||||
public final s.e f3213j;
|
||||
|
||||
/* renamed from: k, reason: collision with root package name */
|
||||
public final ArrayList f3214k;
|
||||
|
||||
/* renamed from: l, reason: collision with root package name */
|
||||
public final ArrayList f3215l;
|
||||
|
||||
/* renamed from: m, reason: collision with root package name */
|
||||
public final s.e f3216m;
|
||||
|
||||
/* renamed from: n, reason: collision with root package name */
|
||||
public final s.e f3217n;
|
||||
|
||||
/* renamed from: o, reason: collision with root package name */
|
||||
public final boolean f3218o;
|
||||
public final K.e p;
|
||||
|
||||
/* renamed from: q, reason: collision with root package name */
|
||||
public Object f3219q;
|
||||
|
||||
/* JADX WARN: Type inference failed for: r2v1, types: [K.e, java.lang.Object] */
|
||||
public C0167q(ArrayList transitionInfos, J0 j02, J0 j03, E0 transitionImpl, Object obj, ArrayList sharedElementFirstOutViews, ArrayList sharedElementLastInViews, s.e sharedElementNameMapping, ArrayList enteringNames, ArrayList exitingNames, s.e firstOutViews, s.e lastInViews, boolean z3) {
|
||||
Intrinsics.checkNotNullParameter(transitionInfos, "transitionInfos");
|
||||
Intrinsics.checkNotNullParameter(transitionImpl, "transitionImpl");
|
||||
Intrinsics.checkNotNullParameter(sharedElementFirstOutViews, "sharedElementFirstOutViews");
|
||||
Intrinsics.checkNotNullParameter(sharedElementLastInViews, "sharedElementLastInViews");
|
||||
Intrinsics.checkNotNullParameter(sharedElementNameMapping, "sharedElementNameMapping");
|
||||
Intrinsics.checkNotNullParameter(enteringNames, "enteringNames");
|
||||
Intrinsics.checkNotNullParameter(exitingNames, "exitingNames");
|
||||
Intrinsics.checkNotNullParameter(firstOutViews, "firstOutViews");
|
||||
Intrinsics.checkNotNullParameter(lastInViews, "lastInViews");
|
||||
this.f3208c = transitionInfos;
|
||||
this.f3209d = j02;
|
||||
this.f3210e = j03;
|
||||
this.f3211f = transitionImpl;
|
||||
this.f3212g = obj;
|
||||
this.h = sharedElementFirstOutViews;
|
||||
this.i = sharedElementLastInViews;
|
||||
this.f3213j = sharedElementNameMapping;
|
||||
this.f3214k = enteringNames;
|
||||
this.f3215l = exitingNames;
|
||||
this.f3216m = firstOutViews;
|
||||
this.f3217n = lastInViews;
|
||||
this.f3218o = z3;
|
||||
this.p = new Object();
|
||||
}
|
||||
|
||||
public static void f(View view, ArrayList arrayList) {
|
||||
if (!(view instanceof ViewGroup)) {
|
||||
if (arrayList.contains(view)) {
|
||||
return;
|
||||
}
|
||||
arrayList.add(view);
|
||||
return;
|
||||
}
|
||||
ViewGroup viewGroup = (ViewGroup) view;
|
||||
if (AbstractC0057b0.b(viewGroup)) {
|
||||
if (arrayList.contains(view)) {
|
||||
return;
|
||||
}
|
||||
arrayList.add(view);
|
||||
return;
|
||||
}
|
||||
int childCount = viewGroup.getChildCount();
|
||||
for (int i = 0; i < childCount; i++) {
|
||||
View child = viewGroup.getChildAt(i);
|
||||
if (child.getVisibility() == 0) {
|
||||
Intrinsics.checkNotNullExpressionValue(child, "child");
|
||||
f(child, arrayList);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.I0
|
||||
public final boolean a() {
|
||||
Object obj;
|
||||
E0 e02 = this.f3211f;
|
||||
if (!e02.l()) {
|
||||
return false;
|
||||
}
|
||||
ArrayList<r> arrayList = this.f3208c;
|
||||
if (!arrayList.isEmpty()) {
|
||||
for (r rVar : arrayList) {
|
||||
if (Build.VERSION.SDK_INT < 34 || (obj = rVar.f3220b) == null || !e02.m(obj)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
Object obj2 = this.f3212g;
|
||||
return obj2 == null || e02.m(obj2);
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.I0
|
||||
public final void b(ViewGroup container) {
|
||||
Intrinsics.checkNotNullParameter(container, "container");
|
||||
K.e eVar = this.p;
|
||||
synchronized (eVar) {
|
||||
try {
|
||||
if (eVar.f967a) {
|
||||
return;
|
||||
}
|
||||
eVar.f967a = true;
|
||||
eVar.f969c = true;
|
||||
C0031i c0031i = eVar.f968b;
|
||||
if (c0031i != null) {
|
||||
try {
|
||||
RunnableC0175z runnableC0175z = (RunnableC0175z) c0031i.f143b;
|
||||
if (runnableC0175z == null) {
|
||||
((B0.x) c0031i.f144c).cancel();
|
||||
((Runnable) c0031i.f145d).run();
|
||||
} else {
|
||||
runnableC0175z.run();
|
||||
}
|
||||
} catch (Throwable th) {
|
||||
synchronized (eVar) {
|
||||
eVar.f969c = false;
|
||||
eVar.notifyAll();
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
}
|
||||
synchronized (eVar) {
|
||||
eVar.f969c = false;
|
||||
eVar.notifyAll();
|
||||
}
|
||||
} finally {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.I0
|
||||
public final void c(ViewGroup container) {
|
||||
int collectionSizeOrDefault;
|
||||
Intrinsics.checkNotNullParameter(container, "container");
|
||||
boolean isLaidOut = container.isLaidOut();
|
||||
ArrayList<r> arrayList = this.f3208c;
|
||||
if (!isLaidOut) {
|
||||
for (r rVar : arrayList) {
|
||||
J0 j02 = rVar.f3181a;
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "SpecialEffectsController: Container " + container + " has not been laid out. Completing operation " + j02);
|
||||
}
|
||||
rVar.f3181a.c(this);
|
||||
}
|
||||
return;
|
||||
}
|
||||
Object obj = this.f3219q;
|
||||
E0 e02 = this.f3211f;
|
||||
J0 j03 = this.f3210e;
|
||||
J0 j04 = this.f3209d;
|
||||
if (obj != null) {
|
||||
Intrinsics.checkNotNull(obj);
|
||||
e02.c(obj);
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "Ending execution of operations from " + j04 + " to " + j03);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
Pair g4 = g(container, j03, j04);
|
||||
ArrayList arrayList2 = (ArrayList) g4.component1();
|
||||
Object component2 = g4.component2();
|
||||
collectionSizeOrDefault = CollectionsKt__IterablesKt.collectionSizeOrDefault(arrayList, 10);
|
||||
ArrayList arrayList3 = new ArrayList(collectionSizeOrDefault);
|
||||
Iterator it = arrayList.iterator();
|
||||
while (it.hasNext()) {
|
||||
arrayList3.add(((r) it.next()).f3181a);
|
||||
}
|
||||
Iterator it2 = arrayList3.iterator();
|
||||
while (it2.hasNext()) {
|
||||
J0 j05 = (J0) it2.next();
|
||||
e02.u(j05.f3038c, component2, this.p, new RunnableC0161n(j05, this, 1));
|
||||
}
|
||||
i(arrayList2, container, new C0163o(this, container, component2, 0));
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "Completed executing operations from " + j04 + " to " + j03);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.I0
|
||||
public final void d(C0253b backEvent, ViewGroup container) {
|
||||
Intrinsics.checkNotNullParameter(backEvent, "backEvent");
|
||||
Intrinsics.checkNotNullParameter(container, "container");
|
||||
Object obj = this.f3219q;
|
||||
if (obj != null) {
|
||||
this.f3211f.r(obj, backEvent.f4108c);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.I0
|
||||
public final void e(ViewGroup container) {
|
||||
int collectionSizeOrDefault;
|
||||
Object obj;
|
||||
Intrinsics.checkNotNullParameter(container, "container");
|
||||
boolean isLaidOut = container.isLaidOut();
|
||||
ArrayList arrayList = this.f3208c;
|
||||
if (!isLaidOut) {
|
||||
Iterator it = arrayList.iterator();
|
||||
while (it.hasNext()) {
|
||||
J0 j02 = ((r) it.next()).f3181a;
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "SpecialEffectsController: Container " + container + " has not been laid out. Skipping onStart for operation " + j02);
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
boolean h = h();
|
||||
J0 j03 = this.f3210e;
|
||||
J0 j04 = this.f3209d;
|
||||
if (h && (obj = this.f3212g) != null && !a()) {
|
||||
Log.i("FragmentManager", "Ignoring shared elements transition " + obj + " between " + j04 + " and " + j03 + " as neither fragment has set a Transition. In order to run a SharedElementTransition, you must also set either an enter or exit transition on a fragment involved in the transaction. The sharedElementTransition will run after the back gesture has been committed.");
|
||||
}
|
||||
if (a() && h()) {
|
||||
Ref.ObjectRef objectRef = new Ref.ObjectRef();
|
||||
Pair g4 = g(container, j03, j04);
|
||||
ArrayList arrayList2 = (ArrayList) g4.component1();
|
||||
Object component2 = g4.component2();
|
||||
collectionSizeOrDefault = CollectionsKt__IterablesKt.collectionSizeOrDefault(arrayList, 10);
|
||||
ArrayList arrayList3 = new ArrayList(collectionSizeOrDefault);
|
||||
Iterator it2 = arrayList.iterator();
|
||||
while (it2.hasNext()) {
|
||||
arrayList3.add(((r) it2.next()).f3181a);
|
||||
}
|
||||
Iterator it3 = arrayList3.iterator();
|
||||
while (it3.hasNext()) {
|
||||
J0 j05 = (J0) it3.next();
|
||||
RunnableC0175z runnableC0175z = new RunnableC0175z(objectRef, 1);
|
||||
K k4 = j05.f3038c;
|
||||
this.f3211f.v(component2, this.p, runnableC0175z, new RunnableC0161n(j05, this, 0));
|
||||
}
|
||||
i(arrayList2, container, new C0165p(this, container, component2, objectRef));
|
||||
}
|
||||
}
|
||||
|
||||
public final Pair g(ViewGroup viewGroup, J0 j02, J0 j03) {
|
||||
ArrayList arrayList;
|
||||
ArrayList arrayList2;
|
||||
E0 e02;
|
||||
Object obj;
|
||||
Object obj2;
|
||||
ArrayList arrayList3;
|
||||
ArrayList arrayList4;
|
||||
J0 j04 = j02;
|
||||
View view = new View(viewGroup.getContext());
|
||||
Rect rect = new Rect();
|
||||
ArrayList arrayList5 = this.f3208c;
|
||||
Iterator it = arrayList5.iterator();
|
||||
View view2 = null;
|
||||
boolean z3 = false;
|
||||
while (true) {
|
||||
boolean hasNext = it.hasNext();
|
||||
arrayList = this.i;
|
||||
arrayList2 = this.h;
|
||||
e02 = this.f3211f;
|
||||
obj = this.f3212g;
|
||||
if (!hasNext) {
|
||||
break;
|
||||
}
|
||||
if (((r) it.next()).f3222d == null || j03 == null || j04 == null || this.f3213j.isEmpty() || obj == null) {
|
||||
arrayList4 = arrayList5;
|
||||
} else {
|
||||
s.e sharedElements = this.f3216m;
|
||||
C0 c02 = x0.f3272a;
|
||||
arrayList4 = arrayList5;
|
||||
K inFragment = j04.f3038c;
|
||||
Intrinsics.checkNotNullParameter(inFragment, "inFragment");
|
||||
K outFragment = j03.f3038c;
|
||||
Intrinsics.checkNotNullParameter(outFragment, "outFragment");
|
||||
Intrinsics.checkNotNullParameter(sharedElements, "sharedElements");
|
||||
if (this.f3218o) {
|
||||
outFragment.getEnterTransitionCallback();
|
||||
} else {
|
||||
inFragment.getEnterTransitionCallback();
|
||||
}
|
||||
ViewTreeObserverOnPreDrawListenerC0083y.a(viewGroup, new RunnableC0143e(j04, j03, this, 1));
|
||||
arrayList2.addAll(sharedElements.values());
|
||||
ArrayList arrayList6 = this.f3215l;
|
||||
if (!arrayList6.isEmpty()) {
|
||||
Object obj3 = arrayList6.get(0);
|
||||
Intrinsics.checkNotNullExpressionValue(obj3, "exitingNames[0]");
|
||||
View view3 = (View) sharedElements.get((String) obj3);
|
||||
e02.s(view3, obj);
|
||||
view2 = view3;
|
||||
}
|
||||
s.e eVar = this.f3217n;
|
||||
arrayList.addAll(eVar.values());
|
||||
ArrayList arrayList7 = this.f3214k;
|
||||
if (!arrayList7.isEmpty()) {
|
||||
Object obj4 = arrayList7.get(0);
|
||||
Intrinsics.checkNotNullExpressionValue(obj4, "enteringNames[0]");
|
||||
View view4 = (View) eVar.get((String) obj4);
|
||||
if (view4 != null) {
|
||||
ViewTreeObserverOnPreDrawListenerC0083y.a(viewGroup, new RunnableC0143e(e02, view4, rect, 2));
|
||||
z3 = true;
|
||||
}
|
||||
}
|
||||
e02.w(obj, view, arrayList2);
|
||||
Object obj5 = this.f3212g;
|
||||
e02.q(obj5, null, null, obj5, arrayList);
|
||||
}
|
||||
arrayList5 = arrayList4;
|
||||
}
|
||||
ArrayList arrayList8 = new ArrayList();
|
||||
Iterator it2 = arrayList5.iterator();
|
||||
Object obj6 = null;
|
||||
Object obj7 = null;
|
||||
while (it2.hasNext()) {
|
||||
r rVar = (r) it2.next();
|
||||
Iterator it3 = it2;
|
||||
J0 j05 = rVar.f3181a;
|
||||
ArrayList arrayList9 = arrayList2;
|
||||
Object h = e02.h(rVar.f3220b);
|
||||
if (h != null) {
|
||||
boolean z4 = z3;
|
||||
ArrayList arrayList10 = new ArrayList();
|
||||
Object obj8 = obj;
|
||||
View view5 = j05.f3038c.mView;
|
||||
Object obj9 = obj7;
|
||||
Intrinsics.checkNotNullExpressionValue(view5, "operation.fragment.mView");
|
||||
f(view5, arrayList10);
|
||||
if (obj8 != null && (j05 == j03 || j05 == j04)) {
|
||||
if (j05 == j03) {
|
||||
arrayList10.removeAll(CollectionsKt.toSet(arrayList9));
|
||||
} else {
|
||||
arrayList10.removeAll(CollectionsKt.toSet(arrayList));
|
||||
}
|
||||
}
|
||||
if (arrayList10.isEmpty()) {
|
||||
e02.a(view, h);
|
||||
obj2 = h;
|
||||
arrayList3 = arrayList10;
|
||||
} else {
|
||||
e02.b(h, arrayList10);
|
||||
e02.q(h, h, arrayList10, null, null);
|
||||
obj2 = h;
|
||||
arrayList3 = arrayList10;
|
||||
if (j05.f3036a == M0.f3056c) {
|
||||
j05.i = false;
|
||||
ArrayList arrayList11 = new ArrayList(arrayList3);
|
||||
K k4 = j05.f3038c;
|
||||
arrayList11.remove(k4.mView);
|
||||
e02.p(obj2, k4.mView, arrayList11);
|
||||
ViewTreeObserverOnPreDrawListenerC0083y.a(viewGroup, new RunnableC0175z(arrayList3, 2));
|
||||
}
|
||||
}
|
||||
if (j05.f3036a == M0.f3055b) {
|
||||
arrayList8.addAll(arrayList3);
|
||||
if (z4) {
|
||||
e02.t(obj2, rect);
|
||||
}
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "Entering Transition: " + obj2);
|
||||
Log.v("FragmentManager", ">>>>> EnteringViews <<<<<");
|
||||
Iterator it4 = arrayList3.iterator();
|
||||
while (it4.hasNext()) {
|
||||
Object transitioningViews = it4.next();
|
||||
Intrinsics.checkNotNullExpressionValue(transitioningViews, "transitioningViews");
|
||||
Log.v("FragmentManager", "View: " + ((View) transitioningViews));
|
||||
}
|
||||
}
|
||||
} else {
|
||||
e02.s(view2, obj2);
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "Exiting Transition: " + obj2);
|
||||
Log.v("FragmentManager", ">>>>> ExitingViews <<<<<");
|
||||
Iterator it5 = arrayList3.iterator();
|
||||
while (it5.hasNext()) {
|
||||
Object transitioningViews2 = it5.next();
|
||||
Intrinsics.checkNotNullExpressionValue(transitioningViews2, "transitioningViews");
|
||||
Log.v("FragmentManager", "View: " + ((View) transitioningViews2));
|
||||
}
|
||||
}
|
||||
}
|
||||
if (rVar.f3221c) {
|
||||
obj6 = e02.o(obj6, obj2);
|
||||
it2 = it3;
|
||||
j04 = j02;
|
||||
arrayList2 = arrayList9;
|
||||
z3 = z4;
|
||||
obj = obj8;
|
||||
obj7 = obj9;
|
||||
} else {
|
||||
obj7 = e02.o(obj9, obj2);
|
||||
it2 = it3;
|
||||
j04 = j02;
|
||||
arrayList2 = arrayList9;
|
||||
z3 = z4;
|
||||
obj = obj8;
|
||||
}
|
||||
} else {
|
||||
it2 = it3;
|
||||
arrayList2 = arrayList9;
|
||||
j04 = j02;
|
||||
}
|
||||
}
|
||||
Object n4 = e02.n(obj6, obj7, obj);
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "Final merged transition: " + n4);
|
||||
}
|
||||
return new Pair(arrayList8, n4);
|
||||
}
|
||||
|
||||
public final boolean h() {
|
||||
ArrayList arrayList = this.f3208c;
|
||||
if (arrayList.isEmpty()) {
|
||||
return true;
|
||||
}
|
||||
Iterator it = arrayList.iterator();
|
||||
while (it.hasNext()) {
|
||||
if (!((r) it.next()).f3181a.f3038c.mTransitioning) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public final void i(ArrayList arrayList, ViewGroup viewGroup, Function0 function0) {
|
||||
x0.a(4, arrayList);
|
||||
E0 e02 = this.f3211f;
|
||||
ArrayList arrayList2 = new ArrayList();
|
||||
ArrayList arrayList3 = this.i;
|
||||
int size = arrayList3.size();
|
||||
for (int i = 0; i < size; i++) {
|
||||
View view = (View) arrayList3.get(i);
|
||||
WeakHashMap weakHashMap = O.X.f1226a;
|
||||
arrayList2.add(O.L.k(view));
|
||||
O.L.v(view, null);
|
||||
}
|
||||
boolean M3 = AbstractC0158l0.M(2);
|
||||
ArrayList arrayList4 = this.h;
|
||||
if (M3) {
|
||||
Log.v("FragmentManager", ">>>>> Beginning transition <<<<<");
|
||||
Log.v("FragmentManager", ">>>>> SharedElementFirstOutViews <<<<<");
|
||||
Iterator it = arrayList4.iterator();
|
||||
while (it.hasNext()) {
|
||||
Object sharedElementFirstOutViews = it.next();
|
||||
Intrinsics.checkNotNullExpressionValue(sharedElementFirstOutViews, "sharedElementFirstOutViews");
|
||||
View view2 = (View) sharedElementFirstOutViews;
|
||||
StringBuilder sb = new StringBuilder("View: ");
|
||||
sb.append(view2);
|
||||
sb.append(" Name: ");
|
||||
WeakHashMap weakHashMap2 = O.X.f1226a;
|
||||
sb.append(O.L.k(view2));
|
||||
Log.v("FragmentManager", sb.toString());
|
||||
}
|
||||
Log.v("FragmentManager", ">>>>> SharedElementLastInViews <<<<<");
|
||||
Iterator it2 = arrayList3.iterator();
|
||||
while (it2.hasNext()) {
|
||||
Object sharedElementLastInViews = it2.next();
|
||||
Intrinsics.checkNotNullExpressionValue(sharedElementLastInViews, "sharedElementLastInViews");
|
||||
View view3 = (View) sharedElementLastInViews;
|
||||
StringBuilder sb2 = new StringBuilder("View: ");
|
||||
sb2.append(view3);
|
||||
sb2.append(" Name: ");
|
||||
WeakHashMap weakHashMap3 = O.X.f1226a;
|
||||
sb2.append(O.L.k(view3));
|
||||
Log.v("FragmentManager", sb2.toString());
|
||||
}
|
||||
}
|
||||
function0.invoke();
|
||||
int size2 = arrayList3.size();
|
||||
ArrayList arrayList5 = new ArrayList();
|
||||
for (int i4 = 0; i4 < size2; i4++) {
|
||||
View view4 = (View) arrayList4.get(i4);
|
||||
WeakHashMap weakHashMap4 = O.X.f1226a;
|
||||
String k4 = O.L.k(view4);
|
||||
arrayList5.add(k4);
|
||||
if (k4 != null) {
|
||||
O.L.v(view4, null);
|
||||
String str = (String) this.f3213j.get(k4);
|
||||
int i5 = 0;
|
||||
while (true) {
|
||||
if (i5 >= size2) {
|
||||
break;
|
||||
}
|
||||
if (str.equals(arrayList2.get(i5))) {
|
||||
O.L.v((View) arrayList3.get(i5), k4);
|
||||
break;
|
||||
}
|
||||
i5++;
|
||||
}
|
||||
}
|
||||
}
|
||||
ViewTreeObserverOnPreDrawListenerC0083y.a(viewGroup, new D0(size2, arrayList3, arrayList2, arrayList4, arrayList5));
|
||||
x0.a(0, arrayList);
|
||||
e02.x(this.f3212g, arrayList4, arrayList3);
|
||||
}
|
||||
}
|
||||
729
apk_decompiled/sources/androidx/fragment/app/C0168s.java
Normal file
729
apk_decompiled/sources/androidx/fragment/app/C0168s.java
Normal file
@@ -0,0 +1,729 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import java.util.WeakHashMap;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* renamed from: androidx.fragment.app.s, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0168s extends O0 {
|
||||
public static void q(s.e eVar, View view) {
|
||||
WeakHashMap weakHashMap = O.X.f1226a;
|
||||
String k4 = O.L.k(view);
|
||||
if (k4 != null) {
|
||||
eVar.put(k4, view);
|
||||
}
|
||||
if (view instanceof ViewGroup) {
|
||||
ViewGroup viewGroup = (ViewGroup) view;
|
||||
int childCount = viewGroup.getChildCount();
|
||||
for (int i = 0; i < childCount; i++) {
|
||||
View child = viewGroup.getChildAt(i);
|
||||
if (child.getVisibility() == 0) {
|
||||
Intrinsics.checkNotNullExpressionValue(child, "child");
|
||||
q(eVar, child);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* JADX WARN: Code restructure failed: missing block: B:100:0x04f6, code lost:
|
||||
|
||||
if (r6.f3044k.isEmpty() != false) goto L225;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:102:0x0519, code lost:
|
||||
|
||||
r5 = r17;
|
||||
r8 = r22;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:103:0x051f, code lost:
|
||||
|
||||
if (r6.f3036a != r8) goto L175;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:104:0x0521, code lost:
|
||||
|
||||
r6.i = false;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:105:0x0526, code lost:
|
||||
|
||||
r7 = new androidx.fragment.app.C0153j(r4);
|
||||
kotlin.jvm.internal.Intrinsics.checkNotNullParameter(r7, r15);
|
||||
r6.f3043j.add(r7);
|
||||
r17 = r5;
|
||||
r22 = r8;
|
||||
r11 = true;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:111:0x04fc, code lost:
|
||||
|
||||
if (androidx.fragment.app.AbstractC0158l0.M(r21) == false) goto L162;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:112:0x04e1, code lost:
|
||||
|
||||
r5 = r17;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:113:0x0516, code lost:
|
||||
|
||||
r17 = r5;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:115:0x04fe, code lost:
|
||||
|
||||
r5 = r17;
|
||||
android.util.Log.v(r5, "Ignoring Animator set on " + r5 + " as this Fragment was involved in a Transition.");
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:117:0x04ea, code lost:
|
||||
|
||||
r1.add(r4);
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:120:0x053a, code lost:
|
||||
|
||||
r5 = r17;
|
||||
r0 = r1.iterator();
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:122:0x0544, code lost:
|
||||
|
||||
if (r0.hasNext() == false) goto L233;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:123:0x0546, code lost:
|
||||
|
||||
r1 = (androidx.fragment.app.C0149h) r0.next();
|
||||
r3 = r1.f3181a;
|
||||
r4 = r3.f3038c;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:124:0x0552, code lost:
|
||||
|
||||
if (r2 != false) goto L232;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:126:0x056f, code lost:
|
||||
|
||||
if (r11 == false) goto L237;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:128:0x058c, code lost:
|
||||
|
||||
r4 = new androidx.fragment.app.C0147g(r1);
|
||||
kotlin.jvm.internal.Intrinsics.checkNotNullParameter(r4, r15);
|
||||
r3.f3043j.add(r4);
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:133:0x0575, code lost:
|
||||
|
||||
if (androidx.fragment.app.AbstractC0158l0.M(r21) == false) goto L241;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:135:0x0577, code lost:
|
||||
|
||||
android.util.Log.v(r5, "Ignoring Animation set on " + r4 + " as Animations cannot run alongside Animators.");
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:140:0x0558, code lost:
|
||||
|
||||
if (androidx.fragment.app.AbstractC0158l0.M(r21) == false) goto L243;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:142:0x055a, code lost:
|
||||
|
||||
android.util.Log.v(r5, "Ignoring Animation set on " + r4 + " as Animations cannot run alongside Transitions.");
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:146:0x059a, code lost:
|
||||
|
||||
return;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:147:0x01ee, code lost:
|
||||
|
||||
r10 = new java.util.ArrayList();
|
||||
r11 = r8;
|
||||
r8 = new java.util.ArrayList();
|
||||
r9 = new s.j(0);
|
||||
r17 = new java.util.ArrayList<>();
|
||||
r19 = new java.util.ArrayList();
|
||||
r20 = r5;
|
||||
r12 = new s.j(0);
|
||||
r21 = 2;
|
||||
r15 = new s.j(0);
|
||||
r13 = r11.iterator();
|
||||
r22 = r6;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:148:0x021e, code lost:
|
||||
|
||||
r6 = null;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:14:0x006b, code lost:
|
||||
|
||||
r3 = (androidx.fragment.app.J0) r5;
|
||||
r4 = r29.listIterator(r29.size());
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:150:0x0223, code lost:
|
||||
|
||||
if (r13.hasNext() == false) goto L245;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:151:0x0225, code lost:
|
||||
|
||||
r29 = r1;
|
||||
r1 = ((androidx.fragment.app.r) r13.next()).f3222d;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:152:0x0231, code lost:
|
||||
|
||||
if (r1 == null) goto L137;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:153:0x0233, code lost:
|
||||
|
||||
if (r3 == null) goto L137;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:154:0x0235, code lost:
|
||||
|
||||
if (r4 == null) goto L137;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:155:0x0237, code lost:
|
||||
|
||||
r6 = r5.y(r5.h(r1));
|
||||
r1 = r4.f3038c;
|
||||
r23 = r5;
|
||||
r5 = r1.getSharedElementSourceNames();
|
||||
r24 = r8;
|
||||
kotlin.jvm.internal.Intrinsics.checkNotNullExpressionValue(r5, "lastIn.fragment.sharedElementSourceNames");
|
||||
r8 = r3.f3038c;
|
||||
r25 = r10;
|
||||
r10 = r8.getSharedElementSourceNames();
|
||||
r26 = r11;
|
||||
kotlin.jvm.internal.Intrinsics.checkNotNullExpressionValue(r10, "firstOut.fragment.sharedElementSourceNames");
|
||||
r11 = r8.getSharedElementTargetNames();
|
||||
r27 = r13;
|
||||
kotlin.jvm.internal.Intrinsics.checkNotNullExpressionValue(r11, "firstOut.fragment.sharedElementTargetNames");
|
||||
r13 = r11.size();
|
||||
r14 = 0;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:156:0x026d, code lost:
|
||||
|
||||
if (r14 >= r13) goto L251;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:157:0x026f, code lost:
|
||||
|
||||
r17 = r13;
|
||||
r13 = r5.indexOf(r11.get(r14));
|
||||
r19 = r11;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:158:0x027c, code lost:
|
||||
|
||||
if (r13 == (-1)) goto L253;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:159:0x027e, code lost:
|
||||
|
||||
r5.set(r13, r10.get(r14));
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:161:0x0285, code lost:
|
||||
|
||||
r14 = r14 + 1;
|
||||
r13 = r17;
|
||||
r11 = r19;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:164:0x028c, code lost:
|
||||
|
||||
r10 = r1.getSharedElementTargetNames();
|
||||
kotlin.jvm.internal.Intrinsics.checkNotNullExpressionValue(r10, "lastIn.fragment.sharedElementTargetNames");
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:165:0x0295, code lost:
|
||||
|
||||
if (r30 != false) goto L104;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:166:0x0297, code lost:
|
||||
|
||||
r8.getExitTransitionCallback();
|
||||
r1.getEnterTransitionCallback();
|
||||
r13 = kotlin.TuplesKt.to(null, null);
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:168:0x02b2, code lost:
|
||||
|
||||
if (r13.component1() != null) goto L246;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:16:0x007a, code lost:
|
||||
|
||||
if (r4.hasPrevious() == false) goto L200;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:170:0x02b8, code lost:
|
||||
|
||||
if (r13.component2() != null) goto L247;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:171:0x02ba, code lost:
|
||||
|
||||
r13 = r5.size();
|
||||
r14 = 0;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:172:0x02bf, code lost:
|
||||
|
||||
if (r14 >= r13) goto L254;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:173:0x02c1, code lost:
|
||||
|
||||
r11 = r5.get(r14);
|
||||
r17 = r13;
|
||||
kotlin.jvm.internal.Intrinsics.checkNotNullExpressionValue(r11, "exitingNames[i]");
|
||||
r13 = r10.get(r14);
|
||||
kotlin.jvm.internal.Intrinsics.checkNotNullExpressionValue(r13, "enteringNames[i]");
|
||||
r9.put((java.lang.String) r11, r13);
|
||||
r14 = r14 + 1;
|
||||
r13 = r17;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:176:0x02e8, code lost:
|
||||
|
||||
if (androidx.fragment.app.AbstractC0158l0.M(2) == false) goto L122;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:177:0x02ea, code lost:
|
||||
|
||||
android.util.Log.v("FragmentManager", ">>> entering view names <<<");
|
||||
r11 = r10.iterator();
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:179:0x02f9, code lost:
|
||||
|
||||
if (r11.hasNext() == false) goto L255;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:17:0x007c, code lost:
|
||||
|
||||
r5 = r4.previous();
|
||||
r12 = (androidx.fragment.app.J0) r5;
|
||||
r15 = r12.f3038c.mView;
|
||||
kotlin.jvm.internal.Intrinsics.checkNotNullExpressionValue(r15, "operation.fragment.mView");
|
||||
kotlin.jvm.internal.Intrinsics.checkNotNullParameter(r15, "<this>");
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:180:0x02fb, code lost:
|
||||
|
||||
android.util.Log.v("FragmentManager", "Name: " + r11.next());
|
||||
r11 = r11;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:182:0x0315, code lost:
|
||||
|
||||
android.util.Log.v("FragmentManager", ">>> exiting view names <<<");
|
||||
r11 = r5.iterator();
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:184:0x0322, code lost:
|
||||
|
||||
if (r11.hasNext() == false) goto L256;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:185:0x0324, code lost:
|
||||
|
||||
android.util.Log.v("FragmentManager", "Name: " + ((java.lang.String) r11.next()));
|
||||
r11 = r11;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:187:0x033e, code lost:
|
||||
|
||||
r8 = r8.mView;
|
||||
kotlin.jvm.internal.Intrinsics.checkNotNullExpressionValue(r8, "firstOut.fragment.mView");
|
||||
q(r12, r8);
|
||||
r12.l(r5);
|
||||
r9.l(r12.keySet());
|
||||
r1 = r1.mView;
|
||||
kotlin.jvm.internal.Intrinsics.checkNotNullExpressionValue(r1, "lastIn.fragment.mView");
|
||||
q(r15, r1);
|
||||
r15.l(r10);
|
||||
r15.l(r9.values());
|
||||
r1 = androidx.fragment.app.x0.f3272a;
|
||||
kotlin.jvm.internal.Intrinsics.checkNotNullParameter(r9, "<this>");
|
||||
kotlin.jvm.internal.Intrinsics.checkNotNullParameter(r15, "namedViews");
|
||||
r1 = r9.f8352c - 1;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:188:0x0375, code lost:
|
||||
|
||||
if ((-1) >= r1) goto L257;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:18:0x0093, code lost:
|
||||
|
||||
if (r15.getAlpha() != com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED) goto L31;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:190:0x0381, code lost:
|
||||
|
||||
if (r15.containsKey((java.lang.String) r9.i(r1)) != false) goto L259;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:191:0x0383, code lost:
|
||||
|
||||
r9.g(r1);
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:193:0x0386, code lost:
|
||||
|
||||
r1 = r1 - 1;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:196:0x0388, code lost:
|
||||
|
||||
r1 = r9.keySet();
|
||||
kotlin.jvm.internal.Intrinsics.checkNotNullExpressionValue(r1, "sharedElementNameMapping.keys");
|
||||
r8 = r12.entrySet();
|
||||
kotlin.jvm.internal.Intrinsics.checkNotNullExpressionValue(r8, "entries");
|
||||
r11 = 3;
|
||||
kotlin.collections.CollectionsKt__MutableCollectionsKt.retainAll((java.util.AbstractSet) r8, new I1.b(r1, r11));
|
||||
r1 = r9.values();
|
||||
kotlin.jvm.internal.Intrinsics.checkNotNullExpressionValue(r1, "sharedElementNameMapping.values");
|
||||
r8 = r15.entrySet();
|
||||
kotlin.jvm.internal.Intrinsics.checkNotNullExpressionValue(r8, "entries");
|
||||
kotlin.collections.CollectionsKt__MutableCollectionsKt.retainAll((java.util.AbstractSet) r8, new I1.b(r1, r11));
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:197:0x03c3, code lost:
|
||||
|
||||
if (r9.isEmpty() == false) goto L131;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:198:0x0405, code lost:
|
||||
|
||||
r1 = r29;
|
||||
r19 = r5;
|
||||
r17 = r10;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:200:0x040d, code lost:
|
||||
|
||||
r5 = r23;
|
||||
r8 = r24;
|
||||
r10 = r25;
|
||||
r11 = r26;
|
||||
r13 = r27;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:202:0x03c5, code lost:
|
||||
|
||||
android.util.Log.i("FragmentManager", "Ignoring shared elements transition " + r6 + " between " + r3 + " and " + r4 + " as there are no matching elements in both the entering and exiting fragment. In order to run a SharedElementTransition, both fragments involved must have the element.");
|
||||
r25.clear();
|
||||
r24.clear();
|
||||
r1 = r29;
|
||||
r19 = r5;
|
||||
r17 = r10;
|
||||
r5 = r23;
|
||||
r8 = r24;
|
||||
r10 = r25;
|
||||
r11 = r26;
|
||||
r13 = r27;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:205:0x041e, code lost:
|
||||
|
||||
throw new java.lang.ClassCastException();
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:208:0x0424, code lost:
|
||||
|
||||
throw new java.lang.ClassCastException();
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:209:0x02a3, code lost:
|
||||
|
||||
r8.getEnterTransitionCallback();
|
||||
r1.getExitTransitionCallback();
|
||||
r13 = kotlin.TuplesKt.to(null, null);
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:20:0x0099, code lost:
|
||||
|
||||
if (r15.getVisibility() != 0) goto L31;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:210:0x0425, code lost:
|
||||
|
||||
r23 = r5;
|
||||
r24 = r8;
|
||||
r25 = r10;
|
||||
r26 = r11;
|
||||
r27 = r13;
|
||||
r1 = r29;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:213:0x0435, code lost:
|
||||
|
||||
r29 = r1;
|
||||
r23 = r5;
|
||||
r24 = r8;
|
||||
r25 = r10;
|
||||
r26 = r11;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:214:0x043f, code lost:
|
||||
|
||||
if (r6 != null) goto L149;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:216:0x0445, code lost:
|
||||
|
||||
if (r26.isEmpty() == false) goto L143;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:217:0x0447, code lost:
|
||||
|
||||
r15 = r29;
|
||||
r17 = "FragmentManager";
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:218:0x044c, code lost:
|
||||
|
||||
r1 = r26.iterator();
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:21:0x009b, code lost:
|
||||
|
||||
r15 = r8;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:220:0x0454, code lost:
|
||||
|
||||
if (r1.hasNext() == false) goto L260;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:222:0x045e, code lost:
|
||||
|
||||
if (((androidx.fragment.app.r) r1.next()).f3220b != null) goto L261;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:226:0x0461, code lost:
|
||||
|
||||
r15 = r29;
|
||||
r17 = "FragmentManager";
|
||||
r1 = new androidx.fragment.app.C0167q(r26, r3, r4, r23, r6, r25, r24, r9, r17, r19, r12, r15, r30);
|
||||
r2 = r26.iterator();
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:228:0x0481, code lost:
|
||||
|
||||
if (r2.hasNext() == false) goto L263;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:229:0x0483, code lost:
|
||||
|
||||
r3 = ((androidx.fragment.app.r) r2.next()).f3181a;
|
||||
r3.getClass();
|
||||
kotlin.jvm.internal.Intrinsics.checkNotNullParameter(r1, r15);
|
||||
r3.f3043j.add(r1);
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:22:0x00b4, code lost:
|
||||
|
||||
if (r15 == r7) goto L203;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:234:0x009d, code lost:
|
||||
|
||||
r15 = r15.getVisibility();
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:235:0x00a1, code lost:
|
||||
|
||||
if (r15 == 0) goto L38;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:236:0x00a3, code lost:
|
||||
|
||||
if (r15 == 4) goto L30;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:237:0x00a5, code lost:
|
||||
|
||||
if (r15 != 8) goto L198;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:238:0x00a7, code lost:
|
||||
|
||||
r15 = r6;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:241:0x00b2, code lost:
|
||||
|
||||
throw new java.lang.IllegalArgumentException(com.google.android.gms.measurement.internal.a.l(r15, "Unknown visibility "));
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:242:0x00b3, code lost:
|
||||
|
||||
r15 = r7;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:244:0x00bb, code lost:
|
||||
|
||||
r5 = 0;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:25:0x00b8, code lost:
|
||||
|
||||
if (r12.f3036a != r7) goto L204;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:27:0x00bc, code lost:
|
||||
|
||||
r4 = r5;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:28:0x00c6, code lost:
|
||||
|
||||
if (androidx.fragment.app.AbstractC0158l0.M(2) == false) goto L47;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:29:0x00c8, code lost:
|
||||
|
||||
android.util.Log.v("FragmentManager", "Executing operations from " + r3 + " to " + r4);
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:30:0x00e1, code lost:
|
||||
|
||||
r5 = new java.util.ArrayList();
|
||||
r8 = new java.util.ArrayList();
|
||||
r9 = ((androidx.fragment.app.J0) kotlin.collections.CollectionsKt.last(r29)).f3038c;
|
||||
r10 = r29.iterator();
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:32:0x00fb, code lost:
|
||||
|
||||
if (r10.hasNext() == false) goto L205;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:33:0x00fd, code lost:
|
||||
|
||||
r11 = ((androidx.fragment.app.J0) r10.next()).f3038c.mAnimationInfo;
|
||||
r12 = r9.mAnimationInfo;
|
||||
r11.f3015b = r12.f3015b;
|
||||
r11.f3016c = r12.f3016c;
|
||||
r11.f3017d = r12.f3017d;
|
||||
r11.f3018e = r12.f3018e;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:35:0x011a, code lost:
|
||||
|
||||
r1 = r29.iterator();
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:37:0x0122, code lost:
|
||||
|
||||
if (r1.hasNext() == false) goto L206;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:38:0x0124, code lost:
|
||||
|
||||
r9 = (androidx.fragment.app.J0) r1.next();
|
||||
r5.add(new androidx.fragment.app.C0149h(r9, r30));
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:39:0x0134, code lost:
|
||||
|
||||
if (r30 == false) goto L59;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:40:0x0136, code lost:
|
||||
|
||||
if (r9 != r3) goto L58;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:41:0x0138, code lost:
|
||||
|
||||
r11 = true;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:43:0x0140, code lost:
|
||||
|
||||
r8.add(new androidx.fragment.app.r(r9, r30, r11));
|
||||
r10 = new androidx.fragment.app.RunnableC0141d(0, r28, r9);
|
||||
kotlin.jvm.internal.Intrinsics.checkNotNullParameter(r10, "listener");
|
||||
r9.f3039d.add(r10);
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:44:0x013b, code lost:
|
||||
|
||||
r11 = false;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:46:0x013d, code lost:
|
||||
|
||||
if (r9 != r4) goto L58;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:48:0x0157, code lost:
|
||||
|
||||
r1 = new java.util.ArrayList();
|
||||
r8 = r8.iterator();
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:50:0x0164, code lost:
|
||||
|
||||
if (r8.hasNext() == false) goto L210;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:51:0x0166, code lost:
|
||||
|
||||
r9 = r8.next();
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:52:0x0171, code lost:
|
||||
|
||||
if (((androidx.fragment.app.r) r9).a() != false) goto L212;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:54:0x0173, code lost:
|
||||
|
||||
r1.add(r9);
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:59:0x0177, code lost:
|
||||
|
||||
r8 = new java.util.ArrayList();
|
||||
r1 = r1.iterator();
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:61:0x0184, code lost:
|
||||
|
||||
if (r1.hasNext() == false) goto L215;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:62:0x0186, code lost:
|
||||
|
||||
r9 = r1.next();
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:63:0x0191, code lost:
|
||||
|
||||
if (((androidx.fragment.app.r) r9).b() == null) goto L217;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:65:0x0193, code lost:
|
||||
|
||||
r8.add(r9);
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:70:0x0197, code lost:
|
||||
|
||||
r1 = r8.iterator();
|
||||
r5 = null;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:72:0x01a1, code lost:
|
||||
|
||||
if (r1.hasNext() == false) goto L219;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:73:0x01a3, code lost:
|
||||
|
||||
r10 = (androidx.fragment.app.r) r1.next();
|
||||
r11 = r10.b();
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:74:0x01ad, code lost:
|
||||
|
||||
if (r5 == null) goto L221;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:75:0x01af, code lost:
|
||||
|
||||
if (r11 != r5) goto L220;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:78:0x01dc, code lost:
|
||||
|
||||
throw new java.lang.IllegalArgumentException(("Mixing framework transitions and AndroidX transitions is not allowed. Fragment " + r10.f3181a.f3038c + " returned Transition " + r10.f3220b + " which uses a different Transition type than other Fragments.").toString());
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:81:0x01dd, code lost:
|
||||
|
||||
r5 = r11;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:84:0x01df, code lost:
|
||||
|
||||
r1 = "effect";
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:85:0x01e1, code lost:
|
||||
|
||||
if (r5 != null) goto L87;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:86:0x01e3, code lost:
|
||||
|
||||
r22 = r6;
|
||||
r17 = "FragmentManager";
|
||||
r20 = r5;
|
||||
r21 = 2;
|
||||
r15 = "effect";
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:87:0x0497, code lost:
|
||||
|
||||
r1 = new java.util.ArrayList();
|
||||
r2 = new java.util.ArrayList();
|
||||
r3 = r20.iterator();
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:89:0x04a9, code lost:
|
||||
|
||||
if (r3.hasNext() == false) goto L223;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:90:0x04ab, code lost:
|
||||
|
||||
kotlin.collections.CollectionsKt__MutableCollectionsKt.addAll(r2, ((androidx.fragment.app.C0149h) r3.next()).f3181a.f3044k);
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:92:0x04b9, code lost:
|
||||
|
||||
r2 = r2.isEmpty();
|
||||
r3 = r20.iterator();
|
||||
r11 = false;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:94:0x04c6, code lost:
|
||||
|
||||
if (r3.hasNext() == false) goto L224;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:95:0x04c8, code lost:
|
||||
|
||||
r4 = (androidx.fragment.app.C0149h) r3.next();
|
||||
r5 = r28.f3061a.getContext();
|
||||
r6 = r4.f3181a;
|
||||
kotlin.jvm.internal.Intrinsics.checkNotNullExpressionValue(r5, "context");
|
||||
r5 = r4.b(r5);
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:96:0x04df, code lost:
|
||||
|
||||
if (r5 != null) goto L163;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:98:0x04e8, code lost:
|
||||
|
||||
if (((android.animation.AnimatorSet) r5.f3067b) != null) goto L166;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:99:0x04ee, code lost:
|
||||
|
||||
r5 = r6.f3038c;
|
||||
*/
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
/* JADX WARN: Type inference failed for: r12v1, types: [s.e, s.j] */
|
||||
/* JADX WARN: Type inference failed for: r15v1, types: [java.lang.Object, s.e, s.j] */
|
||||
/* JADX WARN: Type inference failed for: r5v31, types: [java.lang.Object] */
|
||||
/* JADX WARN: Type inference failed for: r5v4 */
|
||||
/* JADX WARN: Type inference failed for: r5v5 */
|
||||
/* JADX WARN: Type inference failed for: r9v8, types: [java.lang.Object, s.e, s.j] */
|
||||
@Override // androidx.fragment.app.O0
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public final void b(java.util.List r29, boolean r30) {
|
||||
/*
|
||||
Method dump skipped, instructions count: 1435
|
||||
To view this dump add '--comments-level debug' option
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: androidx.fragment.app.C0168s.b(java.util.List, boolean):void");
|
||||
}
|
||||
}
|
||||
48
apk_decompiled/sources/androidx/fragment/app/C0172w.java
Normal file
48
apk_decompiled/sources/androidx/fragment/app/C0172w.java
Normal file
@@ -0,0 +1,48 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.app.Dialog;
|
||||
import android.util.Log;
|
||||
import android.view.View;
|
||||
|
||||
/* renamed from: androidx.fragment.app.w, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0172w implements androidx.lifecycle.Y {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ DialogInterfaceOnCancelListenerC0174y f3256a;
|
||||
|
||||
public C0172w(DialogInterfaceOnCancelListenerC0174y dialogInterfaceOnCancelListenerC0174y) {
|
||||
this.f3256a = dialogInterfaceOnCancelListenerC0174y;
|
||||
}
|
||||
|
||||
@Override // androidx.lifecycle.Y
|
||||
public final void onChanged(Object obj) {
|
||||
boolean z3;
|
||||
Dialog dialog;
|
||||
Dialog dialog2;
|
||||
Dialog dialog3;
|
||||
if (((androidx.lifecycle.J) obj) != null) {
|
||||
DialogInterfaceOnCancelListenerC0174y dialogInterfaceOnCancelListenerC0174y = this.f3256a;
|
||||
z3 = dialogInterfaceOnCancelListenerC0174y.mShowsDialog;
|
||||
if (z3) {
|
||||
View requireView = dialogInterfaceOnCancelListenerC0174y.requireView();
|
||||
if (requireView.getParent() != null) {
|
||||
throw new IllegalStateException("DialogFragment can not be attached to a container view");
|
||||
}
|
||||
dialog = dialogInterfaceOnCancelListenerC0174y.mDialog;
|
||||
if (dialog != null) {
|
||||
if (AbstractC0158l0.M(3)) {
|
||||
StringBuilder sb = new StringBuilder("DialogFragment ");
|
||||
sb.append(this);
|
||||
sb.append(" setting the content view on ");
|
||||
dialog3 = dialogInterfaceOnCancelListenerC0174y.mDialog;
|
||||
sb.append(dialog3);
|
||||
Log.d("FragmentManager", sb.toString());
|
||||
}
|
||||
dialog2 = dialogInterfaceOnCancelListenerC0174y.mDialog;
|
||||
dialog2.setContentView(requireView);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
30
apk_decompiled/sources/androidx/fragment/app/C0173x.java
Normal file
30
apk_decompiled/sources/androidx/fragment/app/C0173x.java
Normal file
@@ -0,0 +1,30 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.view.View;
|
||||
|
||||
/* renamed from: androidx.fragment.app.x, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0173x extends T {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ T f3270a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ DialogInterfaceOnCancelListenerC0174y f3271b;
|
||||
|
||||
public C0173x(DialogInterfaceOnCancelListenerC0174y dialogInterfaceOnCancelListenerC0174y, T t2) {
|
||||
this.f3271b = dialogInterfaceOnCancelListenerC0174y;
|
||||
this.f3270a = t2;
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.T
|
||||
public final View b(int i) {
|
||||
T t2 = this.f3270a;
|
||||
return t2.c() ? t2.b(i) : this.f3271b.onFindViewById(i);
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.T
|
||||
public final boolean c() {
|
||||
return this.f3270a.c() || this.f3271b.onHasView();
|
||||
}
|
||||
}
|
||||
29
apk_decompiled/sources/androidx/fragment/app/D.java
Normal file
29
apk_decompiled/sources/androidx/fragment/app/D.java
Normal file
@@ -0,0 +1,29 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.view.View;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class D extends T {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ K f2987a;
|
||||
|
||||
public D(K k4) {
|
||||
this.f2987a = k4;
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.T
|
||||
public final View b(int i) {
|
||||
K k4 = this.f2987a;
|
||||
View view = k4.mView;
|
||||
if (view != null) {
|
||||
return view.findViewById(i);
|
||||
}
|
||||
throw new IllegalStateException("Fragment " + k4 + " does not have a view");
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.T
|
||||
public final boolean c() {
|
||||
return this.f2987a.mView != null;
|
||||
}
|
||||
}
|
||||
68
apk_decompiled/sources/androidx/fragment/app/D0.java
Normal file
68
apk_decompiled/sources/androidx/fragment/app/D0.java
Normal file
@@ -0,0 +1,68 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import androidx.recyclerview.widget.C0217g;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class D0 implements Runnable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f2988a = 0;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ int f2989b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ List f2990c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final /* synthetic */ List f2991d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public final /* synthetic */ Object f2992e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public final /* synthetic */ Object f2993f;
|
||||
|
||||
public D0(int i, ArrayList arrayList, ArrayList arrayList2, ArrayList arrayList3, ArrayList arrayList4) {
|
||||
this.f2989b = i;
|
||||
this.f2990c = arrayList;
|
||||
this.f2991d = arrayList2;
|
||||
this.f2992e = arrayList3;
|
||||
this.f2993f = arrayList4;
|
||||
}
|
||||
|
||||
/* JADX WARN: Code restructure failed: missing block: B:20:0x00b7, code lost:
|
||||
|
||||
if (r3[(r5 + 1) + r9] > r3[(r5 - 1) + r9]) goto L29;
|
||||
*/
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
/* JADX WARN: Removed duplicated region for block: B:103:0x02a1 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:122:0x0133 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:38:0x010e */
|
||||
/* JADX WARN: Removed duplicated region for block: B:84:0x021a */
|
||||
/* JADX WARN: Type inference failed for: r14v25, types: [androidx.recyclerview.widget.w, java.lang.Object] */
|
||||
/* JADX WARN: Type inference failed for: r5v31, types: [androidx.recyclerview.widget.w, java.lang.Object] */
|
||||
/* JADX WARN: Type inference failed for: r9v0, types: [androidx.recyclerview.widget.v, java.lang.Object] */
|
||||
@Override // java.lang.Runnable
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public final void run() {
|
||||
/*
|
||||
Method dump skipped, instructions count: 776
|
||||
To view this dump add '--comments-level debug' option
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: androidx.fragment.app.D0.run():void");
|
||||
}
|
||||
|
||||
public D0(C0217g c0217g, List list, List list2, int i, Runnable runnable) {
|
||||
this.f2993f = c0217g;
|
||||
this.f2990c = list;
|
||||
this.f2991d = list2;
|
||||
this.f2989b = i;
|
||||
this.f2992e = runnable;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.app.Dialog;
|
||||
import android.content.DialogInterface;
|
||||
|
||||
/* renamed from: androidx.fragment.app.u, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class DialogInterfaceOnCancelListenerC0170u implements DialogInterface.OnCancelListener {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ DialogInterfaceOnCancelListenerC0174y f3243a;
|
||||
|
||||
public DialogInterfaceOnCancelListenerC0170u(DialogInterfaceOnCancelListenerC0174y dialogInterfaceOnCancelListenerC0174y) {
|
||||
this.f3243a = dialogInterfaceOnCancelListenerC0174y;
|
||||
}
|
||||
|
||||
@Override // android.content.DialogInterface.OnCancelListener
|
||||
public final void onCancel(DialogInterface dialogInterface) {
|
||||
Dialog dialog;
|
||||
Dialog dialog2;
|
||||
DialogInterfaceOnCancelListenerC0174y dialogInterfaceOnCancelListenerC0174y = this.f3243a;
|
||||
dialog = dialogInterfaceOnCancelListenerC0174y.mDialog;
|
||||
if (dialog != null) {
|
||||
dialog2 = dialogInterfaceOnCancelListenerC0174y.mDialog;
|
||||
dialogInterfaceOnCancelListenerC0174y.onCancel(dialog2);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,440 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.app.Dialog;
|
||||
import android.content.Context;
|
||||
import android.content.DialogInterface;
|
||||
import android.os.Bundle;
|
||||
import android.os.Handler;
|
||||
import android.os.Looper;
|
||||
import android.util.Log;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.Window;
|
||||
import com.adif.elcanomovil.R;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* renamed from: androidx.fragment.app.y */
|
||||
/* loaded from: classes.dex */
|
||||
public class DialogInterfaceOnCancelListenerC0174y extends K implements DialogInterface.OnCancelListener, DialogInterface.OnDismissListener {
|
||||
private static final String SAVED_BACK_STACK_ID = "android:backStackId";
|
||||
private static final String SAVED_CANCELABLE = "android:cancelable";
|
||||
private static final String SAVED_DIALOG_STATE_TAG = "android:savedDialogState";
|
||||
private static final String SAVED_INTERNAL_DIALOG_SHOWING = "android:dialogShowing";
|
||||
private static final String SAVED_SHOWS_DIALOG = "android:showsDialog";
|
||||
private static final String SAVED_STYLE = "android:style";
|
||||
private static final String SAVED_THEME = "android:theme";
|
||||
public static final int STYLE_NORMAL = 0;
|
||||
public static final int STYLE_NO_FRAME = 2;
|
||||
public static final int STYLE_NO_INPUT = 3;
|
||||
public static final int STYLE_NO_TITLE = 1;
|
||||
private boolean mCreatingDialog;
|
||||
private Dialog mDialog;
|
||||
private boolean mDismissed;
|
||||
private Handler mHandler;
|
||||
private boolean mShownByMe;
|
||||
private boolean mViewDestroyed;
|
||||
private Runnable mDismissRunnable = new RunnableC0169t(this, 0);
|
||||
private DialogInterface.OnCancelListener mOnCancelListener = new DialogInterfaceOnCancelListenerC0170u(this);
|
||||
private DialogInterface.OnDismissListener mOnDismissListener = new DialogInterfaceOnDismissListenerC0171v(this);
|
||||
private int mStyle = 0;
|
||||
private int mTheme = 0;
|
||||
private boolean mCancelable = true;
|
||||
private boolean mShowsDialog = true;
|
||||
private int mBackStackId = -1;
|
||||
private androidx.lifecycle.Y mObserver = new C0172w(this);
|
||||
private boolean mDialogCreated = false;
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public T createFragmentContainer() {
|
||||
return new C0173x(this, super.createFragmentContainer());
|
||||
}
|
||||
|
||||
public void dismiss() {
|
||||
f(false, false, false);
|
||||
}
|
||||
|
||||
public void dismissAllowingStateLoss() {
|
||||
f(true, false, false);
|
||||
}
|
||||
|
||||
public void dismissNow() {
|
||||
f(false, false, true);
|
||||
}
|
||||
|
||||
public final void f(boolean z3, boolean z4, boolean z5) {
|
||||
if (this.mDismissed) {
|
||||
return;
|
||||
}
|
||||
this.mDismissed = true;
|
||||
this.mShownByMe = false;
|
||||
Dialog dialog = this.mDialog;
|
||||
if (dialog != null) {
|
||||
dialog.setOnDismissListener(null);
|
||||
this.mDialog.dismiss();
|
||||
if (!z4) {
|
||||
if (Looper.myLooper() == this.mHandler.getLooper()) {
|
||||
onDismiss(this.mDialog);
|
||||
} else {
|
||||
this.mHandler.post(this.mDismissRunnable);
|
||||
}
|
||||
}
|
||||
}
|
||||
this.mViewDestroyed = true;
|
||||
if (this.mBackStackId >= 0) {
|
||||
if (z5) {
|
||||
AbstractC0158l0 parentFragmentManager = getParentFragmentManager();
|
||||
int i = this.mBackStackId;
|
||||
if (i < 0) {
|
||||
parentFragmentManager.getClass();
|
||||
throw new IllegalArgumentException(com.google.android.gms.measurement.internal.a.l(i, "Bad id: "));
|
||||
}
|
||||
parentFragmentManager.U(i, 1);
|
||||
} else {
|
||||
AbstractC0158l0 parentFragmentManager2 = getParentFragmentManager();
|
||||
int i4 = this.mBackStackId;
|
||||
parentFragmentManager2.getClass();
|
||||
if (i4 < 0) {
|
||||
throw new IllegalArgumentException(com.google.android.gms.measurement.internal.a.l(i4, "Bad id: "));
|
||||
}
|
||||
parentFragmentManager2.y(new C0152i0(parentFragmentManager2, null, i4), z3);
|
||||
}
|
||||
this.mBackStackId = -1;
|
||||
return;
|
||||
}
|
||||
AbstractC0158l0 parentFragmentManager3 = getParentFragmentManager();
|
||||
parentFragmentManager3.getClass();
|
||||
C0135a c0135a = new C0135a(parentFragmentManager3);
|
||||
c0135a.p = true;
|
||||
c0135a.g(this);
|
||||
if (z5) {
|
||||
if (c0135a.f3263g) {
|
||||
throw new IllegalStateException("This transaction is already being added to the back stack");
|
||||
}
|
||||
c0135a.h = false;
|
||||
c0135a.f3084q.B(c0135a, false);
|
||||
return;
|
||||
}
|
||||
if (z3) {
|
||||
c0135a.e(true);
|
||||
} else {
|
||||
c0135a.e(false);
|
||||
}
|
||||
}
|
||||
|
||||
public Dialog getDialog() {
|
||||
return this.mDialog;
|
||||
}
|
||||
|
||||
public boolean getShowsDialog() {
|
||||
return this.mShowsDialog;
|
||||
}
|
||||
|
||||
public int getTheme() {
|
||||
return this.mTheme;
|
||||
}
|
||||
|
||||
public boolean isCancelable() {
|
||||
return this.mCancelable;
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
@Deprecated
|
||||
public void onActivityCreated(Bundle bundle) {
|
||||
super.onActivityCreated(bundle);
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onAttach(Context context) {
|
||||
super.onAttach(context);
|
||||
getViewLifecycleOwnerLiveData().f(this.mObserver);
|
||||
if (this.mShownByMe) {
|
||||
return;
|
||||
}
|
||||
this.mDismissed = false;
|
||||
}
|
||||
|
||||
@Override // android.content.DialogInterface.OnCancelListener
|
||||
public void onCancel(DialogInterface dialogInterface) {
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onCreate(Bundle bundle) {
|
||||
super.onCreate(bundle);
|
||||
this.mHandler = new Handler();
|
||||
this.mShowsDialog = this.mContainerId == 0;
|
||||
if (bundle != null) {
|
||||
this.mStyle = bundle.getInt(SAVED_STYLE, 0);
|
||||
this.mTheme = bundle.getInt(SAVED_THEME, 0);
|
||||
this.mCancelable = bundle.getBoolean(SAVED_CANCELABLE, true);
|
||||
this.mShowsDialog = bundle.getBoolean(SAVED_SHOWS_DIALOG, this.mShowsDialog);
|
||||
this.mBackStackId = bundle.getInt(SAVED_BACK_STACK_ID, -1);
|
||||
}
|
||||
}
|
||||
|
||||
public Dialog onCreateDialog(Bundle bundle) {
|
||||
if (AbstractC0158l0.M(3)) {
|
||||
Log.d("FragmentManager", "onCreateDialog called for DialogFragment " + this);
|
||||
}
|
||||
return new b.p(requireContext(), getTheme());
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onDestroyView() {
|
||||
super.onDestroyView();
|
||||
Dialog dialog = this.mDialog;
|
||||
if (dialog != null) {
|
||||
this.mViewDestroyed = true;
|
||||
dialog.setOnDismissListener(null);
|
||||
this.mDialog.dismiss();
|
||||
if (!this.mDismissed) {
|
||||
onDismiss(this.mDialog);
|
||||
}
|
||||
this.mDialog = null;
|
||||
this.mDialogCreated = false;
|
||||
}
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onDetach() {
|
||||
super.onDetach();
|
||||
if (!this.mShownByMe && !this.mDismissed) {
|
||||
this.mDismissed = true;
|
||||
}
|
||||
getViewLifecycleOwnerLiveData().i(this.mObserver);
|
||||
}
|
||||
|
||||
@Override // android.content.DialogInterface.OnDismissListener
|
||||
public void onDismiss(DialogInterface dialogInterface) {
|
||||
if (this.mViewDestroyed) {
|
||||
return;
|
||||
}
|
||||
if (AbstractC0158l0.M(3)) {
|
||||
Log.d("FragmentManager", "onDismiss called for DialogFragment " + this);
|
||||
}
|
||||
f(true, true, false);
|
||||
}
|
||||
|
||||
public View onFindViewById(int i) {
|
||||
Dialog dialog = this.mDialog;
|
||||
if (dialog != null) {
|
||||
return dialog.findViewById(i);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public LayoutInflater onGetLayoutInflater(Bundle bundle) {
|
||||
LayoutInflater onGetLayoutInflater = super.onGetLayoutInflater(bundle);
|
||||
boolean z3 = this.mShowsDialog;
|
||||
if (z3 && !this.mCreatingDialog) {
|
||||
if (z3 && !this.mDialogCreated) {
|
||||
try {
|
||||
this.mCreatingDialog = true;
|
||||
Dialog onCreateDialog = onCreateDialog(bundle);
|
||||
this.mDialog = onCreateDialog;
|
||||
if (this.mShowsDialog) {
|
||||
setupDialog(onCreateDialog, this.mStyle);
|
||||
Context context = getContext();
|
||||
if (context instanceof Activity) {
|
||||
this.mDialog.setOwnerActivity((Activity) context);
|
||||
}
|
||||
this.mDialog.setCancelable(this.mCancelable);
|
||||
this.mDialog.setOnCancelListener(this.mOnCancelListener);
|
||||
this.mDialog.setOnDismissListener(this.mOnDismissListener);
|
||||
this.mDialogCreated = true;
|
||||
} else {
|
||||
this.mDialog = null;
|
||||
}
|
||||
this.mCreatingDialog = false;
|
||||
} catch (Throwable th) {
|
||||
this.mCreatingDialog = false;
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.d("FragmentManager", "get layout inflater for DialogFragment " + this + " from dialog context");
|
||||
}
|
||||
Dialog dialog = this.mDialog;
|
||||
if (dialog != null) {
|
||||
return onGetLayoutInflater.cloneInContext(dialog.getContext());
|
||||
}
|
||||
} else if (AbstractC0158l0.M(2)) {
|
||||
String str = "getting layout inflater for DialogFragment " + this;
|
||||
if (!this.mShowsDialog) {
|
||||
Log.d("FragmentManager", "mShowsDialog = false: " + str);
|
||||
return onGetLayoutInflater;
|
||||
}
|
||||
Log.d("FragmentManager", "mCreatingDialog = true: " + str);
|
||||
}
|
||||
return onGetLayoutInflater;
|
||||
}
|
||||
|
||||
public boolean onHasView() {
|
||||
return this.mDialogCreated;
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onSaveInstanceState(Bundle bundle) {
|
||||
super.onSaveInstanceState(bundle);
|
||||
Dialog dialog = this.mDialog;
|
||||
if (dialog != null) {
|
||||
Bundle onSaveInstanceState = dialog.onSaveInstanceState();
|
||||
onSaveInstanceState.putBoolean(SAVED_INTERNAL_DIALOG_SHOWING, false);
|
||||
bundle.putBundle(SAVED_DIALOG_STATE_TAG, onSaveInstanceState);
|
||||
}
|
||||
int i = this.mStyle;
|
||||
if (i != 0) {
|
||||
bundle.putInt(SAVED_STYLE, i);
|
||||
}
|
||||
int i4 = this.mTheme;
|
||||
if (i4 != 0) {
|
||||
bundle.putInt(SAVED_THEME, i4);
|
||||
}
|
||||
boolean z3 = this.mCancelable;
|
||||
if (!z3) {
|
||||
bundle.putBoolean(SAVED_CANCELABLE, z3);
|
||||
}
|
||||
boolean z4 = this.mShowsDialog;
|
||||
if (!z4) {
|
||||
bundle.putBoolean(SAVED_SHOWS_DIALOG, z4);
|
||||
}
|
||||
int i5 = this.mBackStackId;
|
||||
if (i5 != -1) {
|
||||
bundle.putInt(SAVED_BACK_STACK_ID, i5);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onStart() {
|
||||
super.onStart();
|
||||
Dialog dialog = this.mDialog;
|
||||
if (dialog != null) {
|
||||
this.mViewDestroyed = false;
|
||||
dialog.show();
|
||||
View decorView = this.mDialog.getWindow().getDecorView();
|
||||
androidx.lifecycle.q0.m(decorView, this);
|
||||
Intrinsics.checkNotNullParameter(decorView, "<this>");
|
||||
decorView.setTag(R.id.view_tree_view_model_store_owner, this);
|
||||
m3.d.D(decorView, this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onStop() {
|
||||
super.onStop();
|
||||
Dialog dialog = this.mDialog;
|
||||
if (dialog != null) {
|
||||
dialog.hide();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onViewStateRestored(Bundle bundle) {
|
||||
Bundle bundle2;
|
||||
super.onViewStateRestored(bundle);
|
||||
if (this.mDialog == null || bundle == null || (bundle2 = bundle.getBundle(SAVED_DIALOG_STATE_TAG)) == null) {
|
||||
return;
|
||||
}
|
||||
this.mDialog.onRestoreInstanceState(bundle2);
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void performCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
|
||||
Bundle bundle2;
|
||||
super.performCreateView(layoutInflater, viewGroup, bundle);
|
||||
if (this.mView != null || this.mDialog == null || bundle == null || (bundle2 = bundle.getBundle(SAVED_DIALOG_STATE_TAG)) == null) {
|
||||
return;
|
||||
}
|
||||
this.mDialog.onRestoreInstanceState(bundle2);
|
||||
}
|
||||
|
||||
public final b.p requireComponentDialog() {
|
||||
Dialog requireDialog = requireDialog();
|
||||
if (requireDialog instanceof b.p) {
|
||||
return (b.p) requireDialog;
|
||||
}
|
||||
throw new IllegalStateException("DialogFragment " + this + " did not return a ComponentDialog instance from requireDialog(). The actual Dialog is " + requireDialog);
|
||||
}
|
||||
|
||||
public final Dialog requireDialog() {
|
||||
Dialog dialog = getDialog();
|
||||
if (dialog != null) {
|
||||
return dialog;
|
||||
}
|
||||
throw new IllegalStateException("DialogFragment " + this + " does not have a Dialog.");
|
||||
}
|
||||
|
||||
public void setCancelable(boolean z3) {
|
||||
this.mCancelable = z3;
|
||||
Dialog dialog = this.mDialog;
|
||||
if (dialog != null) {
|
||||
dialog.setCancelable(z3);
|
||||
}
|
||||
}
|
||||
|
||||
public void setShowsDialog(boolean z3) {
|
||||
this.mShowsDialog = z3;
|
||||
}
|
||||
|
||||
public void setStyle(int i, int i4) {
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.d("FragmentManager", "Setting style and theme for DialogFragment " + this + " to " + i + ", " + i4);
|
||||
}
|
||||
this.mStyle = i;
|
||||
if (i == 2 || i == 3) {
|
||||
this.mTheme = android.R.style.Theme.Panel;
|
||||
}
|
||||
if (i4 != 0) {
|
||||
this.mTheme = i4;
|
||||
}
|
||||
}
|
||||
|
||||
public void setupDialog(Dialog dialog, int i) {
|
||||
if (i != 1 && i != 2) {
|
||||
if (i != 3) {
|
||||
return;
|
||||
}
|
||||
Window window = dialog.getWindow();
|
||||
if (window != null) {
|
||||
window.addFlags(24);
|
||||
}
|
||||
}
|
||||
dialog.requestWindowFeature(1);
|
||||
}
|
||||
|
||||
public void show(AbstractC0158l0 abstractC0158l0, String str) {
|
||||
this.mDismissed = false;
|
||||
this.mShownByMe = true;
|
||||
abstractC0158l0.getClass();
|
||||
C0135a c0135a = new C0135a(abstractC0158l0);
|
||||
c0135a.p = true;
|
||||
c0135a.c(0, this, str, 1);
|
||||
c0135a.e(false);
|
||||
}
|
||||
|
||||
public void showNow(AbstractC0158l0 abstractC0158l0, String str) {
|
||||
this.mDismissed = false;
|
||||
this.mShownByMe = true;
|
||||
abstractC0158l0.getClass();
|
||||
C0135a c0135a = new C0135a(abstractC0158l0);
|
||||
c0135a.p = true;
|
||||
c0135a.c(0, this, str, 1);
|
||||
if (c0135a.f3263g) {
|
||||
throw new IllegalStateException("This transaction is already being added to the back stack");
|
||||
}
|
||||
c0135a.h = false;
|
||||
c0135a.f3084q.B(c0135a, false);
|
||||
}
|
||||
|
||||
public int show(w0 w0Var, String str) {
|
||||
this.mDismissed = false;
|
||||
this.mShownByMe = true;
|
||||
w0Var.c(0, this, str, 1);
|
||||
this.mViewDestroyed = false;
|
||||
int e4 = ((C0135a) w0Var).e(false);
|
||||
this.mBackStackId = e4;
|
||||
return e4;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.app.Dialog;
|
||||
import android.content.DialogInterface;
|
||||
|
||||
/* renamed from: androidx.fragment.app.v, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class DialogInterfaceOnDismissListenerC0171v implements DialogInterface.OnDismissListener {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ DialogInterfaceOnCancelListenerC0174y f3248a;
|
||||
|
||||
public DialogInterfaceOnDismissListenerC0171v(DialogInterfaceOnCancelListenerC0174y dialogInterfaceOnCancelListenerC0174y) {
|
||||
this.f3248a = dialogInterfaceOnCancelListenerC0174y;
|
||||
}
|
||||
|
||||
@Override // android.content.DialogInterface.OnDismissListener
|
||||
public final void onDismiss(DialogInterface dialogInterface) {
|
||||
Dialog dialog;
|
||||
Dialog dialog2;
|
||||
DialogInterfaceOnCancelListenerC0174y dialogInterfaceOnCancelListenerC0174y = this.f3248a;
|
||||
dialog = dialogInterfaceOnCancelListenerC0174y.mDialog;
|
||||
if (dialog != null) {
|
||||
dialog2 = dialogInterfaceOnCancelListenerC0174y.mDialog;
|
||||
dialogInterfaceOnCancelListenerC0174y.onDismiss(dialog2);
|
||||
}
|
||||
}
|
||||
}
|
||||
23
apk_decompiled/sources/androidx/fragment/app/E.java
Normal file
23
apk_decompiled/sources/androidx/fragment/app/E.java
Normal file
@@ -0,0 +1,23 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.view.View;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class E implements androidx.lifecycle.H {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ K f2994a;
|
||||
|
||||
public E(K k4) {
|
||||
this.f2994a = k4;
|
||||
}
|
||||
|
||||
@Override // androidx.lifecycle.H
|
||||
public final void onStateChanged(androidx.lifecycle.J j4, androidx.lifecycle.A a2) {
|
||||
View view;
|
||||
if (a2 != androidx.lifecycle.A.ON_STOP || (view = this.f2994a.mView) == null) {
|
||||
return;
|
||||
}
|
||||
view.cancelPendingInputEvents();
|
||||
}
|
||||
}
|
||||
123
apk_decompiled/sources/androidx/fragment/app/E0.java
Normal file
123
apk_decompiled/sources/androidx/fragment/app/E0.java
Normal file
@@ -0,0 +1,123 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.graphics.Rect;
|
||||
import android.graphics.RectF;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.WeakHashMap;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class E0 {
|
||||
public static void f(View view, List list) {
|
||||
int size = list.size();
|
||||
for (int i = 0; i < size; i++) {
|
||||
if (list.get(i) == view) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
WeakHashMap weakHashMap = O.X.f1226a;
|
||||
if (O.L.k(view) != null) {
|
||||
list.add(view);
|
||||
}
|
||||
for (int i4 = size; i4 < list.size(); i4++) {
|
||||
View view2 = (View) list.get(i4);
|
||||
if (view2 instanceof ViewGroup) {
|
||||
ViewGroup viewGroup = (ViewGroup) view2;
|
||||
int childCount = viewGroup.getChildCount();
|
||||
for (int i5 = 0; i5 < childCount; i5++) {
|
||||
View childAt = viewGroup.getChildAt(i5);
|
||||
int i6 = 0;
|
||||
while (true) {
|
||||
if (i6 < size) {
|
||||
if (list.get(i6) == childAt) {
|
||||
break;
|
||||
} else {
|
||||
i6++;
|
||||
}
|
||||
} else if (O.L.k(childAt) != null) {
|
||||
list.add(childAt);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static void j(Rect rect, View view) {
|
||||
if (view.isAttachedToWindow()) {
|
||||
RectF rectF = new RectF();
|
||||
rectF.set(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, view.getWidth(), view.getHeight());
|
||||
view.getMatrix().mapRect(rectF);
|
||||
rectF.offset(view.getLeft(), view.getTop());
|
||||
Object parent = view.getParent();
|
||||
while (parent instanceof View) {
|
||||
View view2 = (View) parent;
|
||||
rectF.offset(-view2.getScrollX(), -view2.getScrollY());
|
||||
view2.getMatrix().mapRect(rectF);
|
||||
rectF.offset(view2.getLeft(), view2.getTop());
|
||||
parent = view2.getParent();
|
||||
}
|
||||
view.getRootView().getLocationOnScreen(new int[2]);
|
||||
rectF.offset(r1[0], r1[1]);
|
||||
rect.set(Math.round(rectF.left), Math.round(rectF.top), Math.round(rectF.right), Math.round(rectF.bottom));
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean k(List list) {
|
||||
return list == null || list.isEmpty();
|
||||
}
|
||||
|
||||
public abstract void a(View view, Object obj);
|
||||
|
||||
public abstract void b(Object obj, ArrayList arrayList);
|
||||
|
||||
public void c(Object obj) {
|
||||
}
|
||||
|
||||
public void d(Object obj, RunnableC0141d runnableC0141d) {
|
||||
}
|
||||
|
||||
public abstract void e(ViewGroup viewGroup, Object obj);
|
||||
|
||||
public abstract boolean g(Object obj);
|
||||
|
||||
public abstract Object h(Object obj);
|
||||
|
||||
public Object i(ViewGroup viewGroup, Object obj) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public abstract boolean l();
|
||||
|
||||
public abstract boolean m(Object obj);
|
||||
|
||||
public abstract Object n(Object obj, Object obj2, Object obj3);
|
||||
|
||||
public abstract Object o(Object obj, Object obj2);
|
||||
|
||||
public abstract void p(Object obj, View view, ArrayList arrayList);
|
||||
|
||||
public abstract void q(Object obj, Object obj2, ArrayList arrayList, Object obj3, ArrayList arrayList2);
|
||||
|
||||
public void r(Object obj, float f2) {
|
||||
}
|
||||
|
||||
public abstract void s(View view, Object obj);
|
||||
|
||||
public abstract void t(Object obj, Rect rect);
|
||||
|
||||
public abstract void u(K k4, Object obj, K.e eVar, RunnableC0161n runnableC0161n);
|
||||
|
||||
public void v(Object obj, K.e eVar, RunnableC0175z runnableC0175z, Runnable runnable) {
|
||||
((RunnableC0161n) runnable).run();
|
||||
}
|
||||
|
||||
public abstract void w(Object obj, View view, ArrayList arrayList);
|
||||
|
||||
public abstract void x(Object obj, ArrayList arrayList, ArrayList arrayList2);
|
||||
|
||||
public abstract Object y(Object obj);
|
||||
}
|
||||
16
apk_decompiled/sources/androidx/fragment/app/F.java
Normal file
16
apk_decompiled/sources/androidx/fragment/app/F.java
Normal file
@@ -0,0 +1,16 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class F {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f2995a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ Object f2996b;
|
||||
|
||||
public /* synthetic */ F(Object obj, int i) {
|
||||
this.f2995a = i;
|
||||
this.f2996b = obj;
|
||||
}
|
||||
}
|
||||
125
apk_decompiled/sources/androidx/fragment/app/F0.java
Normal file
125
apk_decompiled/sources/androidx/fragment/app/F0.java
Normal file
@@ -0,0 +1,125 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.app.Application;
|
||||
import android.content.Context;
|
||||
import android.content.ContextWrapper;
|
||||
import androidx.lifecycle.InterfaceC0200v;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import v0.C0639d;
|
||||
import v0.C0640e;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class F0 implements InterfaceC0200v, v0.f, androidx.lifecycle.D0 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final K f2997a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final androidx.lifecycle.C0 f2998b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final RunnableC0175z f2999c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public androidx.lifecycle.y0 f3000d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public androidx.lifecycle.L f3001e = null;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public C0640e f3002f = null;
|
||||
|
||||
public F0(K k4, androidx.lifecycle.C0 c02, RunnableC0175z runnableC0175z) {
|
||||
this.f2997a = k4;
|
||||
this.f2998b = c02;
|
||||
this.f2999c = runnableC0175z;
|
||||
}
|
||||
|
||||
public final void a(androidx.lifecycle.A a2) {
|
||||
this.f3001e.f(a2);
|
||||
}
|
||||
|
||||
public final void b() {
|
||||
if (this.f3001e == null) {
|
||||
this.f3001e = new androidx.lifecycle.L(this);
|
||||
Intrinsics.checkNotNullParameter(this, "owner");
|
||||
C0640e c0640e = new C0640e(this);
|
||||
this.f3002f = c0640e;
|
||||
c0640e.a();
|
||||
this.f2999c.run();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // androidx.lifecycle.InterfaceC0200v
|
||||
public final l0.c getDefaultViewModelCreationExtras() {
|
||||
Application application;
|
||||
K k4 = this.f2997a;
|
||||
Context applicationContext = k4.requireContext().getApplicationContext();
|
||||
while (true) {
|
||||
if (!(applicationContext instanceof ContextWrapper)) {
|
||||
application = null;
|
||||
break;
|
||||
}
|
||||
if (applicationContext instanceof Application) {
|
||||
application = (Application) applicationContext;
|
||||
break;
|
||||
}
|
||||
applicationContext = ((ContextWrapper) applicationContext).getBaseContext();
|
||||
}
|
||||
l0.d dVar = new l0.d(0);
|
||||
if (application != null) {
|
||||
dVar.b(androidx.lifecycle.x0.f3440d, application);
|
||||
}
|
||||
dVar.b(androidx.lifecycle.q0.f3417a, k4);
|
||||
dVar.b(androidx.lifecycle.q0.f3418b, this);
|
||||
if (k4.getArguments() != null) {
|
||||
dVar.b(androidx.lifecycle.q0.f3419c, k4.getArguments());
|
||||
}
|
||||
return dVar;
|
||||
}
|
||||
|
||||
@Override // androidx.lifecycle.InterfaceC0200v
|
||||
public final androidx.lifecycle.y0 getDefaultViewModelProviderFactory() {
|
||||
Application application;
|
||||
K k4 = this.f2997a;
|
||||
androidx.lifecycle.y0 defaultViewModelProviderFactory = k4.getDefaultViewModelProviderFactory();
|
||||
if (!defaultViewModelProviderFactory.equals(k4.mDefaultFactory)) {
|
||||
this.f3000d = defaultViewModelProviderFactory;
|
||||
return defaultViewModelProviderFactory;
|
||||
}
|
||||
if (this.f3000d == null) {
|
||||
Context applicationContext = k4.requireContext().getApplicationContext();
|
||||
while (true) {
|
||||
if (!(applicationContext instanceof ContextWrapper)) {
|
||||
application = null;
|
||||
break;
|
||||
}
|
||||
if (applicationContext instanceof Application) {
|
||||
application = (Application) applicationContext;
|
||||
break;
|
||||
}
|
||||
applicationContext = ((ContextWrapper) applicationContext).getBaseContext();
|
||||
}
|
||||
this.f3000d = new androidx.lifecycle.t0(application, k4, k4.getArguments());
|
||||
}
|
||||
return this.f3000d;
|
||||
}
|
||||
|
||||
@Override // androidx.lifecycle.J
|
||||
public final androidx.lifecycle.C getLifecycle() {
|
||||
b();
|
||||
return this.f3001e;
|
||||
}
|
||||
|
||||
@Override // v0.f
|
||||
public final C0639d getSavedStateRegistry() {
|
||||
b();
|
||||
return this.f3002f.f8636b;
|
||||
}
|
||||
|
||||
@Override // androidx.lifecycle.D0
|
||||
public final androidx.lifecycle.C0 getViewModelStore() {
|
||||
b();
|
||||
return this.f2998b;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,350 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.animation.LayoutTransition;
|
||||
import android.content.Context;
|
||||
import android.content.ContextWrapper;
|
||||
import android.content.res.TypedArray;
|
||||
import android.graphics.Canvas;
|
||||
import android.os.Bundle;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.WindowInsets;
|
||||
import android.widget.FrameLayout;
|
||||
import com.adif.elcanomovil.R;
|
||||
import com.google.android.gms.common.internal.ServiceSpecificExtraArgs;
|
||||
import h0.AbstractC0378a;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.JvmName;
|
||||
import kotlin.jvm.JvmOverloads;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.SourceDebugExtension;
|
||||
import kotlin.text.Typography;
|
||||
|
||||
@Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0004\u0018\u00002\u00020\u0001J\u0019\u0010\u0005\u001a\u00020\u00042\b\u0010\u0003\u001a\u0004\u0018\u00010\u0002H\u0016¢\u0006\u0004\b\u0005\u0010\u0006J\u0017\u0010\t\u001a\u00020\u00042\u0006\u0010\b\u001a\u00020\u0007H\u0016¢\u0006\u0004\b\t\u0010\nJ\u0017\u0010\r\u001a\u00020\u00042\u0006\u0010\f\u001a\u00020\u000bH\u0001¢\u0006\u0004\b\r\u0010\u000eJ\u0019\u0010\u0011\u001a\u00028\u0000\"\n\b\u0000\u0010\u0010*\u0004\u0018\u00010\u000f¢\u0006\u0004\b\u0011\u0010\u0012¨\u0006\u0013"}, d2 = {"Landroidx/fragment/app/FragmentContainerView;", "Landroid/widget/FrameLayout;", "Landroid/animation/LayoutTransition;", "transition", "", "setLayoutTransition", "(Landroid/animation/LayoutTransition;)V", "Landroid/view/View$OnApplyWindowInsetsListener;", ServiceSpecificExtraArgs.CastExtraArgs.LISTENER, "setOnApplyWindowInsetsListener", "(Landroid/view/View$OnApplyWindowInsetsListener;)V", "", "drawDisappearingViewsFirst", "setDrawDisappearingViewsLast", "(Z)V", "Landroidx/fragment/app/K;", "F", "getFragment", "()Landroidx/fragment/app/K;", "fragment_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||||
@SourceDebugExtension({"SMAP\nFragmentContainerView.kt\nKotlin\n*S Kotlin\n*F\n+ 1 FragmentContainerView.kt\nandroidx/fragment/app/FragmentContainerView\n+ 2 Context.kt\nandroidx/core/content/ContextKt\n+ 3 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,345:1\n55#2,6:346\n55#2,6:352\n1855#3,2:358\n*S KotlinDebug\n*F\n+ 1 FragmentContainerView.kt\nandroidx/fragment/app/FragmentContainerView\n*L\n112#1:346,6\n134#1:352,6\n218#1:358,2\n*E\n"})
|
||||
/* loaded from: classes.dex */
|
||||
public final class FragmentContainerView extends FrameLayout {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final ArrayList f3003a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final ArrayList f3004b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public View.OnApplyWindowInsetsListener f3005c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public boolean f3006d;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
@JvmOverloads
|
||||
public FragmentContainerView(Context context, AttributeSet attributeSet) {
|
||||
super(context, attributeSet, 0);
|
||||
String str;
|
||||
Intrinsics.checkNotNullParameter(context, "context");
|
||||
Intrinsics.checkNotNullParameter(context, "context");
|
||||
this.f3003a = new ArrayList();
|
||||
this.f3004b = new ArrayList();
|
||||
this.f3006d = true;
|
||||
if (attributeSet != null) {
|
||||
String classAttribute = attributeSet.getClassAttribute();
|
||||
int[] FragmentContainerView = AbstractC0378a.f6746b;
|
||||
Intrinsics.checkNotNullExpressionValue(FragmentContainerView, "FragmentContainerView");
|
||||
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, FragmentContainerView, 0, 0);
|
||||
if (classAttribute == null) {
|
||||
classAttribute = obtainStyledAttributes.getString(0);
|
||||
str = "android:name";
|
||||
} else {
|
||||
str = "class";
|
||||
}
|
||||
obtainStyledAttributes.recycle();
|
||||
if (classAttribute == null || isInEditMode()) {
|
||||
return;
|
||||
}
|
||||
throw new UnsupportedOperationException("FragmentContainerView must be within a FragmentActivity to use " + str + "=\"" + classAttribute + Typography.quote);
|
||||
}
|
||||
}
|
||||
|
||||
public final void a(View view) {
|
||||
if (this.f3004b.contains(view)) {
|
||||
this.f3003a.add(view);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.view.ViewGroup
|
||||
public final void addView(View child, int i, ViewGroup.LayoutParams layoutParams) {
|
||||
Intrinsics.checkNotNullParameter(child, "child");
|
||||
Object tag = child.getTag(R.id.fragment_container_view_tag);
|
||||
if ((tag instanceof K ? (K) tag : null) != null) {
|
||||
super.addView(child, i, layoutParams);
|
||||
return;
|
||||
}
|
||||
throw new IllegalStateException(("Views added to a FragmentContainerView must be associated with a Fragment. View " + child + " is not associated with a Fragment.").toString());
|
||||
}
|
||||
|
||||
@Override // android.view.ViewGroup, android.view.View
|
||||
public final WindowInsets dispatchApplyWindowInsets(WindowInsets insets) {
|
||||
O.D0 f2;
|
||||
Intrinsics.checkNotNullParameter(insets, "insets");
|
||||
O.D0 f4 = O.D0.f(null, insets);
|
||||
Intrinsics.checkNotNullExpressionValue(f4, "toWindowInsetsCompat(insets)");
|
||||
View.OnApplyWindowInsetsListener onApplyWindowInsetsListener = this.f3005c;
|
||||
if (onApplyWindowInsetsListener != null) {
|
||||
Intrinsics.checkNotNull(onApplyWindowInsetsListener);
|
||||
Intrinsics.checkNotNullParameter(onApplyWindowInsetsListener, "onApplyWindowInsetsListener");
|
||||
Intrinsics.checkNotNullParameter(this, "v");
|
||||
Intrinsics.checkNotNullParameter(insets, "insets");
|
||||
WindowInsets onApplyWindowInsets = onApplyWindowInsetsListener.onApplyWindowInsets(this, insets);
|
||||
Intrinsics.checkNotNullExpressionValue(onApplyWindowInsets, "onApplyWindowInsetsListe…lyWindowInsets(v, insets)");
|
||||
f2 = O.D0.f(null, onApplyWindowInsets);
|
||||
} else {
|
||||
f2 = O.X.f(this, f4);
|
||||
}
|
||||
Intrinsics.checkNotNullExpressionValue(f2, "if (applyWindowInsetsLis…, insetsCompat)\n }");
|
||||
if (!f2.f1207a.m()) {
|
||||
int childCount = getChildCount();
|
||||
for (int i = 0; i < childCount; i++) {
|
||||
O.X.b(getChildAt(i), f2);
|
||||
}
|
||||
}
|
||||
return insets;
|
||||
}
|
||||
|
||||
@Override // android.view.ViewGroup, android.view.View
|
||||
public final void dispatchDraw(Canvas canvas) {
|
||||
Intrinsics.checkNotNullParameter(canvas, "canvas");
|
||||
if (this.f3006d) {
|
||||
Iterator it = this.f3003a.iterator();
|
||||
while (it.hasNext()) {
|
||||
super.drawChild(canvas, (View) it.next(), getDrawingTime());
|
||||
}
|
||||
}
|
||||
super.dispatchDraw(canvas);
|
||||
}
|
||||
|
||||
@Override // android.view.ViewGroup
|
||||
public final boolean drawChild(Canvas canvas, View child, long j4) {
|
||||
Intrinsics.checkNotNullParameter(canvas, "canvas");
|
||||
Intrinsics.checkNotNullParameter(child, "child");
|
||||
if (this.f3006d) {
|
||||
ArrayList arrayList = this.f3003a;
|
||||
if (!arrayList.isEmpty() && arrayList.contains(child)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return super.drawChild(canvas, child, j4);
|
||||
}
|
||||
|
||||
@Override // android.view.ViewGroup
|
||||
public final void endViewTransition(View view) {
|
||||
Intrinsics.checkNotNullParameter(view, "view");
|
||||
this.f3004b.remove(view);
|
||||
if (this.f3003a.remove(view)) {
|
||||
this.f3006d = true;
|
||||
}
|
||||
super.endViewTransition(view);
|
||||
}
|
||||
|
||||
public final <F extends K> F getFragment() {
|
||||
P p;
|
||||
K k4;
|
||||
AbstractC0158l0 supportFragmentManager;
|
||||
View view = this;
|
||||
while (true) {
|
||||
p = null;
|
||||
if (view == null) {
|
||||
k4 = null;
|
||||
break;
|
||||
}
|
||||
Object tag = view.getTag(R.id.fragment_container_view_tag);
|
||||
k4 = tag instanceof K ? (K) tag : null;
|
||||
if (k4 != null) {
|
||||
break;
|
||||
}
|
||||
Object parent = view.getParent();
|
||||
view = parent instanceof View ? (View) parent : null;
|
||||
}
|
||||
if (k4 == null) {
|
||||
Context context = getContext();
|
||||
while (true) {
|
||||
if (!(context instanceof ContextWrapper)) {
|
||||
break;
|
||||
}
|
||||
if (context instanceof P) {
|
||||
p = (P) context;
|
||||
break;
|
||||
}
|
||||
context = ((ContextWrapper) context).getBaseContext();
|
||||
}
|
||||
if (p == null) {
|
||||
throw new IllegalStateException("View " + this + " is not within a subclass of FragmentActivity.");
|
||||
}
|
||||
supportFragmentManager = p.getSupportFragmentManager();
|
||||
} else {
|
||||
if (!k4.isAdded()) {
|
||||
throw new IllegalStateException("The Fragment " + k4 + " that owns View " + this + " has already been destroyed. Nested fragments should always use the child FragmentManager.");
|
||||
}
|
||||
supportFragmentManager = k4.getChildFragmentManager();
|
||||
}
|
||||
return (F) supportFragmentManager.E(getId());
|
||||
}
|
||||
|
||||
@Override // android.view.View
|
||||
public final WindowInsets onApplyWindowInsets(WindowInsets insets) {
|
||||
Intrinsics.checkNotNullParameter(insets, "insets");
|
||||
return insets;
|
||||
}
|
||||
|
||||
@Override // android.view.ViewGroup
|
||||
public final void removeAllViewsInLayout() {
|
||||
int childCount = getChildCount();
|
||||
while (true) {
|
||||
childCount--;
|
||||
if (-1 >= childCount) {
|
||||
super.removeAllViewsInLayout();
|
||||
return;
|
||||
} else {
|
||||
View view = getChildAt(childCount);
|
||||
Intrinsics.checkNotNullExpressionValue(view, "view");
|
||||
a(view);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.view.ViewGroup, android.view.ViewManager
|
||||
public final void removeView(View view) {
|
||||
Intrinsics.checkNotNullParameter(view, "view");
|
||||
a(view);
|
||||
super.removeView(view);
|
||||
}
|
||||
|
||||
@Override // android.view.ViewGroup
|
||||
public final void removeViewAt(int i) {
|
||||
View view = getChildAt(i);
|
||||
Intrinsics.checkNotNullExpressionValue(view, "view");
|
||||
a(view);
|
||||
super.removeViewAt(i);
|
||||
}
|
||||
|
||||
@Override // android.view.ViewGroup
|
||||
public final void removeViewInLayout(View view) {
|
||||
Intrinsics.checkNotNullParameter(view, "view");
|
||||
a(view);
|
||||
super.removeViewInLayout(view);
|
||||
}
|
||||
|
||||
@Override // android.view.ViewGroup
|
||||
public final void removeViews(int i, int i4) {
|
||||
int i5 = i + i4;
|
||||
for (int i6 = i; i6 < i5; i6++) {
|
||||
View view = getChildAt(i6);
|
||||
Intrinsics.checkNotNullExpressionValue(view, "view");
|
||||
a(view);
|
||||
}
|
||||
super.removeViews(i, i4);
|
||||
}
|
||||
|
||||
@Override // android.view.ViewGroup
|
||||
public final void removeViewsInLayout(int i, int i4) {
|
||||
int i5 = i + i4;
|
||||
for (int i6 = i; i6 < i5; i6++) {
|
||||
View view = getChildAt(i6);
|
||||
Intrinsics.checkNotNullExpressionValue(view, "view");
|
||||
a(view);
|
||||
}
|
||||
super.removeViewsInLayout(i, i4);
|
||||
}
|
||||
|
||||
@JvmName(name = "setDrawDisappearingViewsLast")
|
||||
public final void setDrawDisappearingViewsLast(boolean drawDisappearingViewsFirst) {
|
||||
this.f3006d = drawDisappearingViewsFirst;
|
||||
}
|
||||
|
||||
@Override // android.view.ViewGroup
|
||||
public void setLayoutTransition(LayoutTransition transition) {
|
||||
throw new UnsupportedOperationException("FragmentContainerView does not support Layout Transitions or animateLayoutChanges=\"true\".");
|
||||
}
|
||||
|
||||
@Override // android.view.View
|
||||
public void setOnApplyWindowInsetsListener(View.OnApplyWindowInsetsListener listener) {
|
||||
Intrinsics.checkNotNullParameter(listener, "listener");
|
||||
this.f3005c = listener;
|
||||
}
|
||||
|
||||
@Override // android.view.ViewGroup
|
||||
public final void startViewTransition(View view) {
|
||||
Intrinsics.checkNotNullParameter(view, "view");
|
||||
if (view.getParent() == this) {
|
||||
this.f3004b.add(view);
|
||||
}
|
||||
super.startViewTransition(view);
|
||||
}
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public FragmentContainerView(Context context) {
|
||||
super(context);
|
||||
Intrinsics.checkNotNullParameter(context, "context");
|
||||
this.f3003a = new ArrayList();
|
||||
this.f3004b = new ArrayList();
|
||||
this.f3006d = true;
|
||||
}
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public FragmentContainerView(Context context, AttributeSet attrs, AbstractC0158l0 fm) {
|
||||
super(context, attrs);
|
||||
View view;
|
||||
Intrinsics.checkNotNullParameter(context, "context");
|
||||
Intrinsics.checkNotNullParameter(attrs, "attrs");
|
||||
Intrinsics.checkNotNullParameter(fm, "fm");
|
||||
this.f3003a = new ArrayList();
|
||||
this.f3004b = new ArrayList();
|
||||
this.f3006d = true;
|
||||
String classAttribute = attrs.getClassAttribute();
|
||||
int[] FragmentContainerView = AbstractC0378a.f6746b;
|
||||
Intrinsics.checkNotNullExpressionValue(FragmentContainerView, "FragmentContainerView");
|
||||
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attrs, FragmentContainerView, 0, 0);
|
||||
classAttribute = classAttribute == null ? obtainStyledAttributes.getString(0) : classAttribute;
|
||||
String string = obtainStyledAttributes.getString(1);
|
||||
obtainStyledAttributes.recycle();
|
||||
int id = getId();
|
||||
K E3 = fm.E(id);
|
||||
if (classAttribute != null && E3 == null) {
|
||||
if (id == -1) {
|
||||
throw new IllegalStateException(C.w.o("FragmentContainerView must have an android:id to add Fragment ", classAttribute, string != null ? " with tag ".concat(string) : ""));
|
||||
}
|
||||
C0142d0 J = fm.J();
|
||||
context.getClassLoader();
|
||||
K a2 = J.a(classAttribute);
|
||||
Intrinsics.checkNotNullExpressionValue(a2, "fm.fragmentFactory.insta…ontext.classLoader, name)");
|
||||
a2.mFragmentId = id;
|
||||
a2.mContainerId = id;
|
||||
a2.mTag = string;
|
||||
a2.mFragmentManager = fm;
|
||||
a2.mHost = fm.f3177w;
|
||||
a2.onInflate(context, attrs, (Bundle) null);
|
||||
C0135a c0135a = new C0135a(fm);
|
||||
c0135a.p = true;
|
||||
a2.mContainer = this;
|
||||
c0135a.c(getId(), a2, string, 1);
|
||||
if (!c0135a.f3263g) {
|
||||
c0135a.h = false;
|
||||
c0135a.f3084q.B(c0135a, true);
|
||||
} else {
|
||||
throw new IllegalStateException("This transaction is already being added to the back stack");
|
||||
}
|
||||
}
|
||||
Iterator it = fm.f3160c.d().iterator();
|
||||
while (it.hasNext()) {
|
||||
t0 t0Var = (t0) it.next();
|
||||
K k4 = t0Var.f3240c;
|
||||
if (k4.mContainerId == getId() && (view = k4.mView) != null && view.getParent() == null) {
|
||||
k4.mContainer = this;
|
||||
t0Var.b();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
58
apk_decompiled/sources/androidx/fragment/app/G.java
Normal file
58
apk_decompiled/sources/androidx/fragment/app/G.java
Normal file
@@ -0,0 +1,58 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import d.AbstractC0300i;
|
||||
import d.InterfaceC0293b;
|
||||
import d.InterfaceC0301j;
|
||||
import e.AbstractC0311a;
|
||||
import java.util.concurrent.atomic.AtomicReference;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class G extends I {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ F f3007a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ AtomicReference f3008b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ AbstractC0311a f3009c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final /* synthetic */ InterfaceC0293b f3010d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public final /* synthetic */ K f3011e;
|
||||
|
||||
public G(K k4, F f2, AtomicReference atomicReference, AbstractC0311a abstractC0311a, InterfaceC0293b interfaceC0293b) {
|
||||
this.f3011e = k4;
|
||||
this.f3007a = f2;
|
||||
this.f3008b = atomicReference;
|
||||
this.f3009c = abstractC0311a;
|
||||
this.f3010d = interfaceC0293b;
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.I
|
||||
public final void a() {
|
||||
AbstractC0300i activityResultRegistry;
|
||||
K k4 = this.f3011e;
|
||||
String generateActivityResultKey = k4.generateActivityResultKey();
|
||||
F f2 = this.f3007a;
|
||||
switch (f2.f2995a) {
|
||||
case 0:
|
||||
K k5 = (K) f2.f2996b;
|
||||
Object obj = k5.mHost;
|
||||
if (!(obj instanceof InterfaceC0301j)) {
|
||||
activityResultRegistry = k5.requireActivity().getActivityResultRegistry();
|
||||
break;
|
||||
} else {
|
||||
activityResultRegistry = ((InterfaceC0301j) obj).getActivityResultRegistry();
|
||||
break;
|
||||
}
|
||||
default:
|
||||
activityResultRegistry = (AbstractC0300i) f2.f2996b;
|
||||
break;
|
||||
}
|
||||
this.f3008b.set(activityResultRegistry.c(generateActivityResultKey, k4, this.f3009c, this.f3010d));
|
||||
}
|
||||
}
|
||||
44
apk_decompiled/sources/androidx/fragment/app/G0.java
Normal file
44
apk_decompiled/sources/androidx/fragment/app/G0.java
Normal file
@@ -0,0 +1,44 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.util.Log;
|
||||
import java.io.Writer;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class G0 extends Writer {
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final StringBuilder f3013b = new StringBuilder(128);
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final String f3012a = "FragmentManager";
|
||||
|
||||
@Override // java.io.Writer, java.io.Closeable, java.lang.AutoCloseable
|
||||
public final void close() {
|
||||
d();
|
||||
}
|
||||
|
||||
public final void d() {
|
||||
StringBuilder sb = this.f3013b;
|
||||
if (sb.length() > 0) {
|
||||
Log.d(this.f3012a, sb.toString());
|
||||
sb.delete(0, sb.length());
|
||||
}
|
||||
}
|
||||
|
||||
@Override // java.io.Writer, java.io.Flushable
|
||||
public final void flush() {
|
||||
d();
|
||||
}
|
||||
|
||||
@Override // java.io.Writer
|
||||
public final void write(char[] cArr, int i, int i4) {
|
||||
for (int i5 = 0; i5 < i4; i5++) {
|
||||
char c4 = cArr[i + i5];
|
||||
if (c4 == '\n') {
|
||||
d();
|
||||
} else {
|
||||
this.f3013b.append(c4);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
59
apk_decompiled/sources/androidx/fragment/app/H.java
Normal file
59
apk_decompiled/sources/androidx/fragment/app/H.java
Normal file
@@ -0,0 +1,59 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.view.View;
|
||||
import java.util.ArrayList;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class H {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public boolean f3014a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public int f3015b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public int f3016c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public int f3017d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public int f3018e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public int f3019f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public ArrayList f3020g;
|
||||
public ArrayList h;
|
||||
public Object i;
|
||||
|
||||
/* renamed from: j, reason: collision with root package name */
|
||||
public Object f3021j;
|
||||
|
||||
/* renamed from: k, reason: collision with root package name */
|
||||
public Object f3022k;
|
||||
|
||||
/* renamed from: l, reason: collision with root package name */
|
||||
public Object f3023l;
|
||||
|
||||
/* renamed from: m, reason: collision with root package name */
|
||||
public Object f3024m;
|
||||
|
||||
/* renamed from: n, reason: collision with root package name */
|
||||
public Object f3025n;
|
||||
|
||||
/* renamed from: o, reason: collision with root package name */
|
||||
public Boolean f3026o;
|
||||
public Boolean p;
|
||||
|
||||
/* renamed from: q, reason: collision with root package name */
|
||||
public float f3027q;
|
||||
|
||||
/* renamed from: r, reason: collision with root package name */
|
||||
public View f3028r;
|
||||
|
||||
/* renamed from: s, reason: collision with root package name */
|
||||
public boolean f3029s;
|
||||
}
|
||||
6
apk_decompiled/sources/androidx/fragment/app/I.java
Normal file
6
apk_decompiled/sources/androidx/fragment/app/I.java
Normal file
@@ -0,0 +1,6 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class I {
|
||||
public abstract void a();
|
||||
}
|
||||
32
apk_decompiled/sources/androidx/fragment/app/I0.java
Normal file
32
apk_decompiled/sources/androidx/fragment/app/I0.java
Normal file
@@ -0,0 +1,32 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.view.ViewGroup;
|
||||
import b.C0253b;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class I0 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public boolean f3033a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public boolean f3034b;
|
||||
|
||||
public boolean a() {
|
||||
return this instanceof C0153j;
|
||||
}
|
||||
|
||||
public abstract void b(ViewGroup viewGroup);
|
||||
|
||||
public abstract void c(ViewGroup viewGroup);
|
||||
|
||||
public void d(C0253b backEvent, ViewGroup container) {
|
||||
Intrinsics.checkNotNullParameter(backEvent, "backEvent");
|
||||
Intrinsics.checkNotNullParameter(container, "container");
|
||||
}
|
||||
|
||||
public void e(ViewGroup container) {
|
||||
Intrinsics.checkNotNullParameter(container, "container");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
/* renamed from: androidx.fragment.app.h0, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public interface InterfaceC0150h0 {
|
||||
boolean a(ArrayList arrayList, ArrayList arrayList2);
|
||||
}
|
||||
36
apk_decompiled/sources/androidx/fragment/app/J.java
Normal file
36
apk_decompiled/sources/androidx/fragment/app/J.java
Normal file
@@ -0,0 +1,36 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class J implements Parcelable {
|
||||
public static final Parcelable.Creator<J> CREATOR = new A.g(6);
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final Bundle f3035a;
|
||||
|
||||
public J(Bundle bundle) {
|
||||
this.f3035a = bundle;
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable
|
||||
public final int describeContents() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable
|
||||
public final void writeToParcel(Parcel parcel, int i) {
|
||||
parcel.writeBundle(this.f3035a);
|
||||
}
|
||||
|
||||
public J(Parcel parcel, ClassLoader classLoader) {
|
||||
Bundle readBundle = parcel.readBundle();
|
||||
this.f3035a = readBundle;
|
||||
if (classLoader == null || readBundle == null) {
|
||||
return;
|
||||
}
|
||||
readBundle.setClassLoader(classLoader);
|
||||
}
|
||||
}
|
||||
159
apk_decompiled/sources/androidx/fragment/app/J0.java
Normal file
159
apk_decompiled/sources/androidx/fragment/app/J0.java
Normal file
@@ -0,0 +1,159 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.util.Log;
|
||||
import android.view.ViewGroup;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import kotlin.collections.CollectionsKt;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class J0 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public M0 f3036a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public K0 f3037b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final K f3038c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final ArrayList f3039d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public boolean f3040e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public boolean f3041f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public boolean f3042g;
|
||||
public boolean h;
|
||||
public boolean i;
|
||||
|
||||
/* renamed from: j, reason: collision with root package name */
|
||||
public final ArrayList f3043j;
|
||||
|
||||
/* renamed from: k, reason: collision with root package name */
|
||||
public final ArrayList f3044k;
|
||||
|
||||
/* renamed from: l, reason: collision with root package name */
|
||||
public final t0 f3045l;
|
||||
|
||||
public J0(M0 finalState, K0 lifecycleImpact, t0 fragmentStateManager) {
|
||||
Intrinsics.checkNotNullParameter(finalState, "finalState");
|
||||
Intrinsics.checkNotNullParameter(lifecycleImpact, "lifecycleImpact");
|
||||
Intrinsics.checkNotNullParameter(fragmentStateManager, "fragmentStateManager");
|
||||
K fragment = fragmentStateManager.f3240c;
|
||||
Intrinsics.checkNotNullExpressionValue(fragment, "fragmentStateManager.fragment");
|
||||
Intrinsics.checkNotNullParameter(finalState, "finalState");
|
||||
Intrinsics.checkNotNullParameter(lifecycleImpact, "lifecycleImpact");
|
||||
Intrinsics.checkNotNullParameter(fragment, "fragment");
|
||||
this.f3036a = finalState;
|
||||
this.f3037b = lifecycleImpact;
|
||||
this.f3038c = fragment;
|
||||
this.f3039d = new ArrayList();
|
||||
this.i = true;
|
||||
ArrayList arrayList = new ArrayList();
|
||||
this.f3043j = arrayList;
|
||||
this.f3044k = arrayList;
|
||||
this.f3045l = fragmentStateManager;
|
||||
}
|
||||
|
||||
public final void a(ViewGroup container) {
|
||||
Intrinsics.checkNotNullParameter(container, "container");
|
||||
this.h = false;
|
||||
if (this.f3040e) {
|
||||
return;
|
||||
}
|
||||
this.f3040e = true;
|
||||
if (this.f3043j.isEmpty()) {
|
||||
b();
|
||||
return;
|
||||
}
|
||||
for (I0 i02 : CollectionsKt.toList(this.f3044k)) {
|
||||
i02.getClass();
|
||||
Intrinsics.checkNotNullParameter(container, "container");
|
||||
if (!i02.f3034b) {
|
||||
i02.b(container);
|
||||
}
|
||||
i02.f3034b = true;
|
||||
}
|
||||
}
|
||||
|
||||
public final void b() {
|
||||
this.h = false;
|
||||
if (!this.f3041f) {
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "SpecialEffectsController: " + this + " has called complete.");
|
||||
}
|
||||
this.f3041f = true;
|
||||
Iterator it = this.f3039d.iterator();
|
||||
while (it.hasNext()) {
|
||||
((Runnable) it.next()).run();
|
||||
}
|
||||
}
|
||||
this.f3038c.mTransitioning = false;
|
||||
this.f3045l.k();
|
||||
}
|
||||
|
||||
public final void c(I0 effect) {
|
||||
Intrinsics.checkNotNullParameter(effect, "effect");
|
||||
ArrayList arrayList = this.f3043j;
|
||||
if (arrayList.remove(effect) && arrayList.isEmpty()) {
|
||||
b();
|
||||
}
|
||||
}
|
||||
|
||||
public final void d(M0 finalState, K0 lifecycleImpact) {
|
||||
Intrinsics.checkNotNullParameter(finalState, "finalState");
|
||||
Intrinsics.checkNotNullParameter(lifecycleImpact, "lifecycleImpact");
|
||||
int ordinal = lifecycleImpact.ordinal();
|
||||
M0 m02 = M0.f3054a;
|
||||
K k4 = this.f3038c;
|
||||
if (ordinal == 0) {
|
||||
if (this.f3036a != m02) {
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "SpecialEffectsController: For fragment " + k4 + " mFinalState = " + this.f3036a + " -> " + finalState + '.');
|
||||
}
|
||||
this.f3036a = finalState;
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (ordinal == 1) {
|
||||
if (this.f3036a == m02) {
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "SpecialEffectsController: For fragment " + k4 + " mFinalState = REMOVED -> VISIBLE. mLifecycleImpact = " + this.f3037b + " to ADDING.");
|
||||
}
|
||||
this.f3036a = M0.f3055b;
|
||||
this.f3037b = K0.f3047b;
|
||||
this.i = true;
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (ordinal != 2) {
|
||||
return;
|
||||
}
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "SpecialEffectsController: For fragment " + k4 + " mFinalState = " + this.f3036a + " -> REMOVED. mLifecycleImpact = " + this.f3037b + " to REMOVING.");
|
||||
}
|
||||
this.f3036a = m02;
|
||||
this.f3037b = K0.f3048c;
|
||||
this.i = true;
|
||||
}
|
||||
|
||||
public final String toString() {
|
||||
StringBuilder p = com.google.android.gms.measurement.internal.a.p("Operation {", Integer.toHexString(System.identityHashCode(this)), "} {finalState = ");
|
||||
p.append(this.f3036a);
|
||||
p.append(" lifecycleImpact = ");
|
||||
p.append(this.f3037b);
|
||||
p.append(" fragment = ");
|
||||
p.append(this.f3038c);
|
||||
p.append('}');
|
||||
return p.toString();
|
||||
}
|
||||
}
|
||||
1909
apk_decompiled/sources/androidx/fragment/app/K.java
Normal file
1909
apk_decompiled/sources/androidx/fragment/app/K.java
Normal file
File diff suppressed because it is too large
Load Diff
40
apk_decompiled/sources/androidx/fragment/app/K0.java
Normal file
40
apk_decompiled/sources/androidx/fragment/app/K0.java
Normal file
@@ -0,0 +1,40 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
|
||||
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
|
||||
/* loaded from: classes.dex */
|
||||
public final class K0 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public static final K0 f3046a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public static final K0 f3047b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public static final K0 f3048c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public static final /* synthetic */ K0[] f3049d;
|
||||
|
||||
/* JADX WARN: Type inference failed for: r0v0, types: [java.lang.Enum, androidx.fragment.app.K0] */
|
||||
/* JADX WARN: Type inference failed for: r1v1, types: [java.lang.Enum, androidx.fragment.app.K0] */
|
||||
/* JADX WARN: Type inference failed for: r2v2, types: [java.lang.Enum, androidx.fragment.app.K0] */
|
||||
static {
|
||||
?? r02 = new Enum("NONE", 0);
|
||||
f3046a = r02;
|
||||
?? r12 = new Enum("ADDING", 1);
|
||||
f3047b = r12;
|
||||
?? r22 = new Enum("REMOVING", 2);
|
||||
f3048c = r22;
|
||||
f3049d = new K0[]{r02, r12, r22};
|
||||
}
|
||||
|
||||
public static K0 valueOf(String str) {
|
||||
return (K0) Enum.valueOf(K0.class, str);
|
||||
}
|
||||
|
||||
public static K0[] values() {
|
||||
return (K0[]) f3049d.clone();
|
||||
}
|
||||
}
|
||||
32
apk_decompiled/sources/androidx/fragment/app/L.java
Normal file
32
apk_decompiled/sources/androidx/fragment/app/L.java
Normal file
@@ -0,0 +1,32 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.os.Bundle;
|
||||
import v0.InterfaceC0638c;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final /* synthetic */ class L implements InterfaceC0638c {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f3050a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ Object f3051b;
|
||||
|
||||
public /* synthetic */ L(Object obj, int i) {
|
||||
this.f3050a = i;
|
||||
this.f3051b = obj;
|
||||
}
|
||||
|
||||
@Override // v0.InterfaceC0638c
|
||||
public final Bundle a() {
|
||||
switch (this.f3050a) {
|
||||
case 0:
|
||||
P p = (P) this.f3051b;
|
||||
p.markFragmentsCreated();
|
||||
p.mFragmentLifecycleRegistry.f(androidx.lifecycle.A.ON_STOP);
|
||||
return new Bundle();
|
||||
default:
|
||||
return ((AbstractC0158l0) this.f3051b).a0();
|
||||
}
|
||||
}
|
||||
}
|
||||
27
apk_decompiled/sources/androidx/fragment/app/L0.java
Normal file
27
apk_decompiled/sources/androidx/fragment/app/L0.java
Normal file
@@ -0,0 +1,27 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract /* synthetic */ class L0 {
|
||||
public static final /* synthetic */ int[] $EnumSwitchMapping$0;
|
||||
|
||||
static {
|
||||
int[] iArr = new int[M0.values().length];
|
||||
try {
|
||||
iArr[0] = 1;
|
||||
} catch (NoSuchFieldError unused) {
|
||||
}
|
||||
try {
|
||||
iArr[1] = 2;
|
||||
} catch (NoSuchFieldError unused2) {
|
||||
}
|
||||
try {
|
||||
iArr[2] = 3;
|
||||
} catch (NoSuchFieldError unused3) {
|
||||
}
|
||||
try {
|
||||
iArr[3] = 4;
|
||||
} catch (NoSuchFieldError unused4) {
|
||||
}
|
||||
$EnumSwitchMapping$0 = iArr;
|
||||
}
|
||||
}
|
||||
98
apk_decompiled/sources/androidx/fragment/app/M0.java
Normal file
98
apk_decompiled/sources/androidx/fragment/app/M0.java
Normal file
@@ -0,0 +1,98 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.util.Log;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.ViewParent;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
|
||||
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
|
||||
/* loaded from: classes.dex */
|
||||
public final class M0 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public static final M0 f3054a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public static final M0 f3055b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public static final M0 f3056c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public static final M0 f3057d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public static final /* synthetic */ M0[] f3058e;
|
||||
|
||||
/* JADX WARN: Type inference failed for: r0v0, types: [java.lang.Enum, androidx.fragment.app.M0] */
|
||||
/* JADX WARN: Type inference failed for: r1v1, types: [java.lang.Enum, androidx.fragment.app.M0] */
|
||||
/* JADX WARN: Type inference failed for: r2v2, types: [java.lang.Enum, androidx.fragment.app.M0] */
|
||||
/* JADX WARN: Type inference failed for: r3v2, types: [java.lang.Enum, androidx.fragment.app.M0] */
|
||||
static {
|
||||
?? r02 = new Enum("REMOVED", 0);
|
||||
f3054a = r02;
|
||||
?? r12 = new Enum("VISIBLE", 1);
|
||||
f3055b = r12;
|
||||
?? r22 = new Enum("GONE", 2);
|
||||
f3056c = r22;
|
||||
?? r32 = new Enum("INVISIBLE", 3);
|
||||
f3057d = r32;
|
||||
f3058e = new M0[]{r02, r12, r22, r32};
|
||||
}
|
||||
|
||||
public static M0 valueOf(String str) {
|
||||
return (M0) Enum.valueOf(M0.class, str);
|
||||
}
|
||||
|
||||
public static M0[] values() {
|
||||
return (M0[]) f3058e.clone();
|
||||
}
|
||||
|
||||
public final void a(View view, ViewGroup container) {
|
||||
Intrinsics.checkNotNullParameter(view, "view");
|
||||
Intrinsics.checkNotNullParameter(container, "container");
|
||||
int i = L0.$EnumSwitchMapping$0[ordinal()];
|
||||
if (i == 1) {
|
||||
ViewParent parent = view.getParent();
|
||||
ViewGroup viewGroup = parent instanceof ViewGroup ? (ViewGroup) parent : null;
|
||||
if (viewGroup != null) {
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "SpecialEffectsController: Removing view " + view + " from container " + viewGroup);
|
||||
}
|
||||
viewGroup.removeView(view);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (i == 2) {
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "SpecialEffectsController: Setting view " + view + " to VISIBLE");
|
||||
}
|
||||
ViewParent parent2 = view.getParent();
|
||||
if ((parent2 instanceof ViewGroup ? (ViewGroup) parent2 : null) == null) {
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "SpecialEffectsController: Adding view " + view + " to Container " + container);
|
||||
}
|
||||
container.addView(view);
|
||||
}
|
||||
view.setVisibility(0);
|
||||
return;
|
||||
}
|
||||
if (i == 3) {
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "SpecialEffectsController: Setting view " + view + " to GONE");
|
||||
}
|
||||
view.setVisibility(8);
|
||||
return;
|
||||
}
|
||||
if (i != 4) {
|
||||
return;
|
||||
}
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "SpecialEffectsController: Setting view " + view + " to INVISIBLE");
|
||||
}
|
||||
view.setVisibility(4);
|
||||
}
|
||||
}
|
||||
15
apk_decompiled/sources/androidx/fragment/app/N0.java
Normal file
15
apk_decompiled/sources/androidx/fragment/app/N0.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract /* synthetic */ class N0 {
|
||||
public static final /* synthetic */ int[] $EnumSwitchMapping$0;
|
||||
|
||||
static {
|
||||
int[] iArr = new int[K0.values().length];
|
||||
try {
|
||||
iArr[0] = 1;
|
||||
} catch (NoSuchFieldError unused) {
|
||||
}
|
||||
$EnumSwitchMapping$0 = iArr;
|
||||
}
|
||||
}
|
||||
114
apk_decompiled/sources/androidx/fragment/app/O.java
Normal file
114
apk_decompiled/sources/androidx/fragment/app/O.java
Normal file
@@ -0,0 +1,114 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import O.InterfaceC0070k;
|
||||
import O.InterfaceC0076q;
|
||||
import android.view.View;
|
||||
import android.view.Window;
|
||||
import d.AbstractC0300i;
|
||||
import d.InterfaceC0301j;
|
||||
import g.AbstractActivityC0364k;
|
||||
import v0.C0639d;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class O extends V implements D.l, D.m, C.H, C.I, androidx.lifecycle.D0, b.D, InterfaceC0301j, v0.f, q0, InterfaceC0070k {
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public final /* synthetic */ AbstractActivityC0364k f3060e;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public O(AbstractActivityC0364k abstractActivityC0364k) {
|
||||
super(abstractActivityC0364k);
|
||||
this.f3060e = abstractActivityC0364k;
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.q0
|
||||
public final void a(AbstractC0158l0 abstractC0158l0, K k4) {
|
||||
this.f3060e.onAttachFragment(k4);
|
||||
}
|
||||
|
||||
@Override // O.InterfaceC0070k
|
||||
public final void addMenuProvider(InterfaceC0076q interfaceC0076q) {
|
||||
this.f3060e.addMenuProvider(interfaceC0076q);
|
||||
}
|
||||
|
||||
@Override // D.l
|
||||
public final void addOnConfigurationChangedListener(N.a aVar) {
|
||||
this.f3060e.addOnConfigurationChangedListener(aVar);
|
||||
}
|
||||
|
||||
@Override // C.H
|
||||
public final void addOnMultiWindowModeChangedListener(N.a aVar) {
|
||||
this.f3060e.addOnMultiWindowModeChangedListener(aVar);
|
||||
}
|
||||
|
||||
@Override // C.I
|
||||
public final void addOnPictureInPictureModeChangedListener(N.a aVar) {
|
||||
this.f3060e.addOnPictureInPictureModeChangedListener(aVar);
|
||||
}
|
||||
|
||||
@Override // D.m
|
||||
public final void addOnTrimMemoryListener(N.a aVar) {
|
||||
this.f3060e.addOnTrimMemoryListener(aVar);
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.T
|
||||
public final View b(int i) {
|
||||
return this.f3060e.findViewById(i);
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.T
|
||||
public final boolean c() {
|
||||
Window window = this.f3060e.getWindow();
|
||||
return (window == null || window.peekDecorView() == null) ? false : true;
|
||||
}
|
||||
|
||||
@Override // d.InterfaceC0301j
|
||||
public final AbstractC0300i getActivityResultRegistry() {
|
||||
return this.f3060e.getActivityResultRegistry();
|
||||
}
|
||||
|
||||
@Override // androidx.lifecycle.J
|
||||
public final androidx.lifecycle.C getLifecycle() {
|
||||
return this.f3060e.mFragmentLifecycleRegistry;
|
||||
}
|
||||
|
||||
@Override // b.D
|
||||
public final b.B getOnBackPressedDispatcher() {
|
||||
return this.f3060e.getOnBackPressedDispatcher();
|
||||
}
|
||||
|
||||
@Override // v0.f
|
||||
public final C0639d getSavedStateRegistry() {
|
||||
return this.f3060e.getSavedStateRegistry();
|
||||
}
|
||||
|
||||
@Override // androidx.lifecycle.D0
|
||||
public final androidx.lifecycle.C0 getViewModelStore() {
|
||||
return this.f3060e.getViewModelStore();
|
||||
}
|
||||
|
||||
@Override // O.InterfaceC0070k
|
||||
public final void removeMenuProvider(InterfaceC0076q interfaceC0076q) {
|
||||
this.f3060e.removeMenuProvider(interfaceC0076q);
|
||||
}
|
||||
|
||||
@Override // D.l
|
||||
public final void removeOnConfigurationChangedListener(N.a aVar) {
|
||||
this.f3060e.removeOnConfigurationChangedListener(aVar);
|
||||
}
|
||||
|
||||
@Override // C.H
|
||||
public final void removeOnMultiWindowModeChangedListener(N.a aVar) {
|
||||
this.f3060e.removeOnMultiWindowModeChangedListener(aVar);
|
||||
}
|
||||
|
||||
@Override // C.I
|
||||
public final void removeOnPictureInPictureModeChangedListener(N.a aVar) {
|
||||
this.f3060e.removeOnPictureInPictureModeChangedListener(aVar);
|
||||
}
|
||||
|
||||
@Override // D.m
|
||||
public final void removeOnTrimMemoryListener(N.a aVar) {
|
||||
this.f3060e.removeOnTrimMemoryListener(aVar);
|
||||
}
|
||||
}
|
||||
449
apk_decompiled/sources/androidx/fragment/app/O0.java
Normal file
449
apk_decompiled/sources/androidx/fragment/app/O0.java
Normal file
@@ -0,0 +1,449 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.util.Log;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import com.adif.elcanomovil.R;
|
||||
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.ListIterator;
|
||||
import kotlin.Unit;
|
||||
import kotlin.collections.CollectionsKt;
|
||||
import kotlin.collections.CollectionsKt__MutableCollectionsKt;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class O0 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final ViewGroup f3061a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final ArrayList f3062b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final ArrayList f3063c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public boolean f3064d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public boolean f3065e;
|
||||
|
||||
public O0(ViewGroup container) {
|
||||
Intrinsics.checkNotNullParameter(container, "container");
|
||||
this.f3061a = container;
|
||||
this.f3062b = new ArrayList();
|
||||
this.f3063c = new ArrayList();
|
||||
}
|
||||
|
||||
public static final O0 m(ViewGroup container, AbstractC0158l0 fragmentManager) {
|
||||
Intrinsics.checkNotNullParameter(container, "container");
|
||||
Intrinsics.checkNotNullParameter(fragmentManager, "fragmentManager");
|
||||
E2.e factory = fragmentManager.K();
|
||||
Intrinsics.checkNotNullExpressionValue(factory, "fragmentManager.specialEffectsControllerFactory");
|
||||
Intrinsics.checkNotNullParameter(container, "container");
|
||||
Intrinsics.checkNotNullParameter(factory, "factory");
|
||||
Object tag = container.getTag(R.id.special_effects_controller_view_tag);
|
||||
if (tag instanceof O0) {
|
||||
return (O0) tag;
|
||||
}
|
||||
factory.getClass();
|
||||
Intrinsics.checkNotNullParameter(container, "container");
|
||||
O0 o02 = new O0(container);
|
||||
Intrinsics.checkNotNullExpressionValue(o02, "factory.createController(container)");
|
||||
container.setTag(R.id.special_effects_controller_view_tag, o02);
|
||||
return o02;
|
||||
}
|
||||
|
||||
public final void a(J0 operation) {
|
||||
Intrinsics.checkNotNullParameter(operation, "operation");
|
||||
if (operation.i) {
|
||||
M0 m02 = operation.f3036a;
|
||||
View requireView = operation.f3038c.requireView();
|
||||
Intrinsics.checkNotNullExpressionValue(requireView, "operation.fragment.requireView()");
|
||||
m02.a(requireView, this.f3061a);
|
||||
operation.i = false;
|
||||
}
|
||||
}
|
||||
|
||||
public abstract void b(List list, boolean z3);
|
||||
|
||||
public final void c(List operations) {
|
||||
Intrinsics.checkNotNullParameter(operations, "operations");
|
||||
ArrayList arrayList = new ArrayList();
|
||||
Iterator it = operations.iterator();
|
||||
while (it.hasNext()) {
|
||||
CollectionsKt__MutableCollectionsKt.addAll(arrayList, ((J0) it.next()).f3044k);
|
||||
}
|
||||
List list = CollectionsKt.toList(CollectionsKt.toSet(arrayList));
|
||||
int size = list.size();
|
||||
for (int i = 0; i < size; i++) {
|
||||
((I0) list.get(i)).c(this.f3061a);
|
||||
}
|
||||
int size2 = operations.size();
|
||||
for (int i4 = 0; i4 < size2; i4++) {
|
||||
a((J0) operations.get(i4));
|
||||
}
|
||||
List list2 = CollectionsKt.toList(operations);
|
||||
int size3 = list2.size();
|
||||
for (int i5 = 0; i5 < size3; i5++) {
|
||||
J0 j02 = (J0) list2.get(i5);
|
||||
if (j02.f3044k.isEmpty()) {
|
||||
j02.b();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public final void d(M0 m02, K0 k02, t0 t0Var) {
|
||||
synchronized (this.f3062b) {
|
||||
try {
|
||||
K k4 = t0Var.f3240c;
|
||||
Intrinsics.checkNotNullExpressionValue(k4, "fragmentStateManager.fragment");
|
||||
J0 j4 = j(k4);
|
||||
if (j4 == null) {
|
||||
K k5 = t0Var.f3240c;
|
||||
if (k5.mTransitioning) {
|
||||
Intrinsics.checkNotNullExpressionValue(k5, "fragmentStateManager.fragment");
|
||||
j4 = k(k5);
|
||||
} else {
|
||||
j4 = null;
|
||||
}
|
||||
}
|
||||
if (j4 != null) {
|
||||
j4.d(m02, k02);
|
||||
return;
|
||||
}
|
||||
final J0 j02 = new J0(m02, k02, t0Var);
|
||||
this.f3062b.add(j02);
|
||||
final int i = 0;
|
||||
Runnable listener = new Runnable(this) { // from class: androidx.fragment.app.H0
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ O0 f3031b;
|
||||
|
||||
{
|
||||
this.f3031b = this;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
switch (i) {
|
||||
case 0:
|
||||
O0 this$0 = this.f3031b;
|
||||
Intrinsics.checkNotNullParameter(this$0, "this$0");
|
||||
J0 operation = j02;
|
||||
Intrinsics.checkNotNullParameter(operation, "$operation");
|
||||
if (this$0.f3062b.contains(operation)) {
|
||||
M0 m03 = operation.f3036a;
|
||||
View view = operation.f3038c.mView;
|
||||
Intrinsics.checkNotNullExpressionValue(view, "operation.fragment.mView");
|
||||
m03.a(view, this$0.f3061a);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
default:
|
||||
O0 this$02 = this.f3031b;
|
||||
Intrinsics.checkNotNullParameter(this$02, "this$0");
|
||||
J0 operation2 = j02;
|
||||
Intrinsics.checkNotNullParameter(operation2, "$operation");
|
||||
this$02.f3062b.remove(operation2);
|
||||
this$02.f3063c.remove(operation2);
|
||||
return;
|
||||
}
|
||||
}
|
||||
};
|
||||
Intrinsics.checkNotNullParameter(listener, "listener");
|
||||
j02.f3039d.add(listener);
|
||||
final int i4 = 1;
|
||||
Runnable listener2 = new Runnable(this) { // from class: androidx.fragment.app.H0
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ O0 f3031b;
|
||||
|
||||
{
|
||||
this.f3031b = this;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
switch (i4) {
|
||||
case 0:
|
||||
O0 this$0 = this.f3031b;
|
||||
Intrinsics.checkNotNullParameter(this$0, "this$0");
|
||||
J0 operation = j02;
|
||||
Intrinsics.checkNotNullParameter(operation, "$operation");
|
||||
if (this$0.f3062b.contains(operation)) {
|
||||
M0 m03 = operation.f3036a;
|
||||
View view = operation.f3038c.mView;
|
||||
Intrinsics.checkNotNullExpressionValue(view, "operation.fragment.mView");
|
||||
m03.a(view, this$0.f3061a);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
default:
|
||||
O0 this$02 = this.f3031b;
|
||||
Intrinsics.checkNotNullParameter(this$02, "this$0");
|
||||
J0 operation2 = j02;
|
||||
Intrinsics.checkNotNullParameter(operation2, "$operation");
|
||||
this$02.f3062b.remove(operation2);
|
||||
this$02.f3063c.remove(operation2);
|
||||
return;
|
||||
}
|
||||
}
|
||||
};
|
||||
Intrinsics.checkNotNullParameter(listener2, "listener");
|
||||
j02.f3039d.add(listener2);
|
||||
Unit unit = Unit.INSTANCE;
|
||||
} catch (Throwable th) {
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public final void e(M0 finalState, t0 fragmentStateManager) {
|
||||
Intrinsics.checkNotNullParameter(finalState, "finalState");
|
||||
Intrinsics.checkNotNullParameter(fragmentStateManager, "fragmentStateManager");
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "SpecialEffectsController: Enqueuing add operation for fragment " + fragmentStateManager.f3240c);
|
||||
}
|
||||
d(finalState, K0.f3047b, fragmentStateManager);
|
||||
}
|
||||
|
||||
public final void f(t0 fragmentStateManager) {
|
||||
Intrinsics.checkNotNullParameter(fragmentStateManager, "fragmentStateManager");
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "SpecialEffectsController: Enqueuing hide operation for fragment " + fragmentStateManager.f3240c);
|
||||
}
|
||||
d(M0.f3056c, K0.f3046a, fragmentStateManager);
|
||||
}
|
||||
|
||||
public final void g(t0 fragmentStateManager) {
|
||||
Intrinsics.checkNotNullParameter(fragmentStateManager, "fragmentStateManager");
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "SpecialEffectsController: Enqueuing remove operation for fragment " + fragmentStateManager.f3240c);
|
||||
}
|
||||
d(M0.f3054a, K0.f3048c, fragmentStateManager);
|
||||
}
|
||||
|
||||
public final void h(t0 fragmentStateManager) {
|
||||
Intrinsics.checkNotNullParameter(fragmentStateManager, "fragmentStateManager");
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "SpecialEffectsController: Enqueuing show operation for fragment " + fragmentStateManager.f3240c);
|
||||
}
|
||||
d(M0.f3055b, K0.f3046a, fragmentStateManager);
|
||||
}
|
||||
|
||||
/* JADX WARN: Removed duplicated region for block: B:100:0x017c A[Catch: all -> 0x005e, TryCatch #0 {all -> 0x005e, blocks: (B:12:0x0018, B:14:0x0021, B:15:0x0030, B:17:0x0036, B:19:0x0042, B:20:0x0061, B:23:0x0073, B:26:0x0077, B:30:0x0070, B:32:0x01a9, B:36:0x007d, B:37:0x008c, B:39:0x0092, B:41:0x009e, B:42:0x00b4, B:45:0x00cb, B:48:0x00cf, B:53:0x00c6, B:54:0x00c8, B:56:0x00d5, B:60:0x00e6, B:62:0x00f9, B:63:0x0100, B:64:0x0114, B:66:0x011a, B:68:0x0124, B:71:0x0143, B:78:0x012c, B:79:0x0130, B:81:0x0136, B:88:0x014d, B:90:0x0151, B:91:0x015d, B:93:0x0163, B:95:0x016f, B:98:0x0178, B:100:0x017c, B:101:0x019a, B:103:0x01a2, B:105:0x0185, B:107:0x018f), top: B:11:0x0018 }] */
|
||||
/* JADX WARN: Removed duplicated region for block: B:103:0x01a2 A[Catch: all -> 0x005e, TryCatch #0 {all -> 0x005e, blocks: (B:12:0x0018, B:14:0x0021, B:15:0x0030, B:17:0x0036, B:19:0x0042, B:20:0x0061, B:23:0x0073, B:26:0x0077, B:30:0x0070, B:32:0x01a9, B:36:0x007d, B:37:0x008c, B:39:0x0092, B:41:0x009e, B:42:0x00b4, B:45:0x00cb, B:48:0x00cf, B:53:0x00c6, B:54:0x00c8, B:56:0x00d5, B:60:0x00e6, B:62:0x00f9, B:63:0x0100, B:64:0x0114, B:66:0x011a, B:68:0x0124, B:71:0x0143, B:78:0x012c, B:79:0x0130, B:81:0x0136, B:88:0x014d, B:90:0x0151, B:91:0x015d, B:93:0x0163, B:95:0x016f, B:98:0x0178, B:100:0x017c, B:101:0x019a, B:103:0x01a2, B:105:0x0185, B:107:0x018f), top: B:11:0x0018 }] */
|
||||
/* JADX WARN: Removed duplicated region for block: B:104:0x0183 */
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public final void i() {
|
||||
/*
|
||||
Method dump skipped, instructions count: 431
|
||||
To view this dump add '--comments-level debug' option
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: androidx.fragment.app.O0.i():void");
|
||||
}
|
||||
|
||||
public final J0 j(K k4) {
|
||||
Object obj;
|
||||
Iterator it = this.f3062b.iterator();
|
||||
while (true) {
|
||||
if (!it.hasNext()) {
|
||||
obj = null;
|
||||
break;
|
||||
}
|
||||
obj = it.next();
|
||||
J0 j02 = (J0) obj;
|
||||
if (Intrinsics.areEqual(j02.f3038c, k4) && !j02.f3040e) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
return (J0) obj;
|
||||
}
|
||||
|
||||
public final J0 k(K k4) {
|
||||
Object obj;
|
||||
Iterator it = this.f3063c.iterator();
|
||||
while (true) {
|
||||
if (!it.hasNext()) {
|
||||
obj = null;
|
||||
break;
|
||||
}
|
||||
obj = it.next();
|
||||
J0 j02 = (J0) obj;
|
||||
if (Intrinsics.areEqual(j02.f3038c, k4) && !j02.f3040e) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
return (J0) obj;
|
||||
}
|
||||
|
||||
public final void l() {
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "SpecialEffectsController: Forcing all operations to complete");
|
||||
}
|
||||
boolean isAttachedToWindow = this.f3061a.isAttachedToWindow();
|
||||
synchronized (this.f3062b) {
|
||||
try {
|
||||
p();
|
||||
o(this.f3062b);
|
||||
for (J0 j02 : CollectionsKt.toMutableList((Collection) this.f3063c)) {
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "SpecialEffectsController: " + (isAttachedToWindow ? "" : "Container " + this.f3061a + " is not attached to window. ") + "Cancelling running operation " + j02);
|
||||
}
|
||||
j02.a(this.f3061a);
|
||||
}
|
||||
for (J0 j03 : CollectionsKt.toMutableList((Collection) this.f3062b)) {
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "SpecialEffectsController: " + (isAttachedToWindow ? "" : "Container " + this.f3061a + " is not attached to window. ") + "Cancelling pending operation " + j03);
|
||||
}
|
||||
j03.a(this.f3061a);
|
||||
}
|
||||
Unit unit = Unit.INSTANCE;
|
||||
} catch (Throwable th) {
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public final void n() {
|
||||
Object obj;
|
||||
M0 m02;
|
||||
synchronized (this.f3062b) {
|
||||
try {
|
||||
p();
|
||||
ArrayList arrayList = this.f3062b;
|
||||
ListIterator listIterator = arrayList.listIterator(arrayList.size());
|
||||
while (true) {
|
||||
if (!listIterator.hasPrevious()) {
|
||||
obj = null;
|
||||
break;
|
||||
}
|
||||
obj = listIterator.previous();
|
||||
J0 j02 = (J0) obj;
|
||||
View view = j02.f3038c.mView;
|
||||
Intrinsics.checkNotNullExpressionValue(view, "operation.fragment.mView");
|
||||
Intrinsics.checkNotNullParameter(view, "<this>");
|
||||
if (view.getAlpha() == BitmapDescriptorFactory.HUE_RED && view.getVisibility() == 0) {
|
||||
m02 = M0.f3057d;
|
||||
} else {
|
||||
int visibility = view.getVisibility();
|
||||
if (visibility == 0) {
|
||||
m02 = M0.f3055b;
|
||||
} else if (visibility == 4) {
|
||||
m02 = M0.f3057d;
|
||||
} else {
|
||||
if (visibility != 8) {
|
||||
throw new IllegalArgumentException("Unknown visibility " + visibility);
|
||||
}
|
||||
m02 = M0.f3056c;
|
||||
}
|
||||
}
|
||||
M0 m03 = j02.f3036a;
|
||||
M0 m04 = M0.f3055b;
|
||||
if (m03 == m04 && m02 != m04) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
J0 j03 = (J0) obj;
|
||||
K k4 = j03 != null ? j03.f3038c : null;
|
||||
this.f3065e = k4 != null ? k4.isPostponed() : false;
|
||||
Unit unit = Unit.INSTANCE;
|
||||
} catch (Throwable th) {
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public final void o(List list) {
|
||||
int size = list.size();
|
||||
for (int i = 0; i < size; i++) {
|
||||
J0 j02 = (J0) list.get(i);
|
||||
if (!j02.h) {
|
||||
j02.h = true;
|
||||
K0 k02 = j02.f3037b;
|
||||
K0 k03 = K0.f3047b;
|
||||
t0 t0Var = j02.f3045l;
|
||||
if (k02 == k03) {
|
||||
K k4 = t0Var.f3240c;
|
||||
Intrinsics.checkNotNullExpressionValue(k4, "fragmentStateManager.fragment");
|
||||
View findFocus = k4.mView.findFocus();
|
||||
if (findFocus != null) {
|
||||
k4.setFocusedView(findFocus);
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "requestFocus: Saved focused view " + findFocus + " for Fragment " + k4);
|
||||
}
|
||||
}
|
||||
View requireView = j02.f3038c.requireView();
|
||||
Intrinsics.checkNotNullExpressionValue(requireView, "this.fragment.requireView()");
|
||||
if (requireView.getParent() == null) {
|
||||
t0Var.b();
|
||||
requireView.setAlpha(BitmapDescriptorFactory.HUE_RED);
|
||||
}
|
||||
if (requireView.getAlpha() == BitmapDescriptorFactory.HUE_RED && requireView.getVisibility() == 0) {
|
||||
requireView.setVisibility(4);
|
||||
}
|
||||
requireView.setAlpha(k4.getPostOnViewCreatedAlpha());
|
||||
} else if (k02 == K0.f3048c) {
|
||||
K k5 = t0Var.f3240c;
|
||||
Intrinsics.checkNotNullExpressionValue(k5, "fragmentStateManager.fragment");
|
||||
View requireView2 = k5.requireView();
|
||||
Intrinsics.checkNotNullExpressionValue(requireView2, "fragment.requireView()");
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "Clearing focus " + requireView2.findFocus() + " on view " + requireView2 + " for Fragment " + k5);
|
||||
}
|
||||
requireView2.clearFocus();
|
||||
}
|
||||
}
|
||||
}
|
||||
ArrayList arrayList = new ArrayList();
|
||||
Iterator it = list.iterator();
|
||||
while (it.hasNext()) {
|
||||
CollectionsKt__MutableCollectionsKt.addAll(arrayList, ((J0) it.next()).f3044k);
|
||||
}
|
||||
List list2 = CollectionsKt.toList(CollectionsKt.toSet(arrayList));
|
||||
int size2 = list2.size();
|
||||
for (int i4 = 0; i4 < size2; i4++) {
|
||||
I0 i02 = (I0) list2.get(i4);
|
||||
i02.getClass();
|
||||
ViewGroup container = this.f3061a;
|
||||
Intrinsics.checkNotNullParameter(container, "container");
|
||||
if (!i02.f3033a) {
|
||||
i02.e(container);
|
||||
}
|
||||
i02.f3033a = true;
|
||||
}
|
||||
}
|
||||
|
||||
public final void p() {
|
||||
M0 m02;
|
||||
Iterator it = this.f3062b.iterator();
|
||||
while (it.hasNext()) {
|
||||
J0 j02 = (J0) it.next();
|
||||
if (j02.f3037b == K0.f3047b) {
|
||||
View requireView = j02.f3038c.requireView();
|
||||
Intrinsics.checkNotNullExpressionValue(requireView, "fragment.requireView()");
|
||||
int visibility = requireView.getVisibility();
|
||||
if (visibility == 0) {
|
||||
m02 = M0.f3055b;
|
||||
} else if (visibility == 4) {
|
||||
m02 = M0.f3057d;
|
||||
} else {
|
||||
if (visibility != 8) {
|
||||
throw new IllegalArgumentException(com.google.android.gms.measurement.internal.a.l(visibility, "Unknown visibility "));
|
||||
}
|
||||
m02 = M0.f3056c;
|
||||
}
|
||||
j02.d(m02, K0.f3046a);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
336
apk_decompiled/sources/androidx/fragment/app/P.java
Normal file
336
apk_decompiled/sources/androidx/fragment/app/P.java
Normal file
@@ -0,0 +1,336 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import C.AbstractC0037a;
|
||||
import C.InterfaceC0042f;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.IntentSender;
|
||||
import android.os.Bundle;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.MenuItem;
|
||||
import android.view.View;
|
||||
import c.InterfaceC0274b;
|
||||
import g.AbstractActivityC0364k;
|
||||
import java.io.FileDescriptor;
|
||||
import java.io.PrintWriter;
|
||||
import n0.AbstractC0511a;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class P extends b.o implements InterfaceC0042f {
|
||||
static final String LIFECYCLE_TAG = "android:support:lifecycle";
|
||||
boolean mCreated;
|
||||
final androidx.lifecycle.L mFragmentLifecycleRegistry;
|
||||
final U mFragments;
|
||||
boolean mResumed;
|
||||
boolean mStopped;
|
||||
|
||||
public P() {
|
||||
this.mFragments = new U(new O((AbstractActivityC0364k) this));
|
||||
this.mFragmentLifecycleRegistry = new androidx.lifecycle.L(this);
|
||||
this.mStopped = true;
|
||||
d();
|
||||
}
|
||||
|
||||
public static boolean e(AbstractC0158l0 abstractC0158l0) {
|
||||
androidx.lifecycle.B b4 = androidx.lifecycle.B.f3282c;
|
||||
boolean z3 = false;
|
||||
for (K k4 : abstractC0158l0.f3160c.f()) {
|
||||
if (k4 != null) {
|
||||
if (k4.getHost() != null) {
|
||||
z3 |= e(k4.getChildFragmentManager());
|
||||
}
|
||||
F0 f02 = k4.mViewLifecycleOwner;
|
||||
androidx.lifecycle.B b5 = androidx.lifecycle.B.f3283d;
|
||||
if (f02 != null) {
|
||||
f02.b();
|
||||
if (f02.f3001e.f3298d.a(b5)) {
|
||||
k4.mViewLifecycleOwner.f3001e.h(b4);
|
||||
z3 = true;
|
||||
}
|
||||
}
|
||||
if (k4.mLifecycleRegistry.f3298d.a(b5)) {
|
||||
k4.mLifecycleRegistry.h(b4);
|
||||
z3 = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return z3;
|
||||
}
|
||||
|
||||
public final void d() {
|
||||
getSavedStateRegistry().c(LIFECYCLE_TAG, new L(this, 0));
|
||||
final int i = 0;
|
||||
addOnConfigurationChangedListener(new N.a(this) { // from class: androidx.fragment.app.M
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ P f3053b;
|
||||
|
||||
{
|
||||
this.f3053b = this;
|
||||
}
|
||||
|
||||
@Override // N.a
|
||||
public final void a(Object obj) {
|
||||
switch (i) {
|
||||
case 0:
|
||||
this.f3053b.mFragments.a();
|
||||
return;
|
||||
default:
|
||||
this.f3053b.mFragments.a();
|
||||
return;
|
||||
}
|
||||
}
|
||||
});
|
||||
final int i4 = 1;
|
||||
addOnNewIntentListener(new N.a(this) { // from class: androidx.fragment.app.M
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ P f3053b;
|
||||
|
||||
{
|
||||
this.f3053b = this;
|
||||
}
|
||||
|
||||
@Override // N.a
|
||||
public final void a(Object obj) {
|
||||
switch (i4) {
|
||||
case 0:
|
||||
this.f3053b.mFragments.a();
|
||||
return;
|
||||
default:
|
||||
this.f3053b.mFragments.a();
|
||||
return;
|
||||
}
|
||||
}
|
||||
});
|
||||
addOnContextAvailableListener(new InterfaceC0274b() { // from class: androidx.fragment.app.N
|
||||
@Override // c.InterfaceC0274b
|
||||
public final void a(b.o oVar) {
|
||||
O o4 = P.this.mFragments.f3073a;
|
||||
o4.f3077d.b(o4, o4, null);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public final View dispatchFragmentsOnCreateView(View view, String str, Context context, AttributeSet attributeSet) {
|
||||
return this.mFragments.f3073a.f3077d.f3163f.onCreateView(view, str, context, attributeSet);
|
||||
}
|
||||
|
||||
@Override // android.app.Activity
|
||||
public void dump(String str, FileDescriptor fileDescriptor, PrintWriter printWriter, String[] strArr) {
|
||||
super.dump(str, fileDescriptor, printWriter, strArr);
|
||||
if (shouldDumpInternalState(strArr)) {
|
||||
printWriter.print(str);
|
||||
printWriter.print("Local FragmentActivity ");
|
||||
printWriter.print(Integer.toHexString(System.identityHashCode(this)));
|
||||
printWriter.println(" State:");
|
||||
String str2 = str + " ";
|
||||
printWriter.print(str2);
|
||||
printWriter.print("mCreated=");
|
||||
printWriter.print(this.mCreated);
|
||||
printWriter.print(" mResumed=");
|
||||
printWriter.print(this.mResumed);
|
||||
printWriter.print(" mStopped=");
|
||||
printWriter.print(this.mStopped);
|
||||
if (getApplication() != null) {
|
||||
AbstractC0511a.a(this).b(str2, printWriter);
|
||||
}
|
||||
this.mFragments.f3073a.f3077d.w(str, fileDescriptor, printWriter, strArr);
|
||||
}
|
||||
}
|
||||
|
||||
public AbstractC0158l0 getSupportFragmentManager() {
|
||||
return this.mFragments.f3073a.f3077d;
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public AbstractC0511a getSupportLoaderManager() {
|
||||
return AbstractC0511a.a(this);
|
||||
}
|
||||
|
||||
public void markFragmentsCreated() {
|
||||
do {
|
||||
} while (e(getSupportFragmentManager()));
|
||||
}
|
||||
|
||||
@Override // b.o, android.app.Activity
|
||||
public void onActivityResult(int i, int i4, Intent intent) {
|
||||
this.mFragments.a();
|
||||
super.onActivityResult(i, i4, intent);
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public void onAttachFragment(K k4) {
|
||||
}
|
||||
|
||||
@Override // b.o, C.AbstractActivityC0048l, android.app.Activity
|
||||
public void onCreate(Bundle bundle) {
|
||||
super.onCreate(bundle);
|
||||
this.mFragmentLifecycleRegistry.f(androidx.lifecycle.A.ON_CREATE);
|
||||
C0160m0 c0160m0 = this.mFragments.f3073a.f3077d;
|
||||
c0160m0.f3150H = false;
|
||||
c0160m0.f3151I = false;
|
||||
c0160m0.f3156O.f3207f = false;
|
||||
c0160m0.u(1);
|
||||
}
|
||||
|
||||
@Override // android.app.Activity, android.view.LayoutInflater.Factory2
|
||||
public View onCreateView(View view, String str, Context context, AttributeSet attributeSet) {
|
||||
View dispatchFragmentsOnCreateView = dispatchFragmentsOnCreateView(view, str, context, attributeSet);
|
||||
return dispatchFragmentsOnCreateView == null ? super.onCreateView(view, str, context, attributeSet) : dispatchFragmentsOnCreateView;
|
||||
}
|
||||
|
||||
@Override // android.app.Activity
|
||||
public void onDestroy() {
|
||||
super.onDestroy();
|
||||
this.mFragments.f3073a.f3077d.l();
|
||||
this.mFragmentLifecycleRegistry.f(androidx.lifecycle.A.ON_DESTROY);
|
||||
}
|
||||
|
||||
@Override // b.o, android.app.Activity, android.view.Window.Callback
|
||||
public boolean onMenuItemSelected(int i, MenuItem menuItem) {
|
||||
if (super.onMenuItemSelected(i, menuItem)) {
|
||||
return true;
|
||||
}
|
||||
if (i == 6) {
|
||||
return this.mFragments.f3073a.f3077d.j(menuItem);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // android.app.Activity
|
||||
public void onPause() {
|
||||
super.onPause();
|
||||
this.mResumed = false;
|
||||
this.mFragments.f3073a.f3077d.u(5);
|
||||
this.mFragmentLifecycleRegistry.f(androidx.lifecycle.A.ON_PAUSE);
|
||||
}
|
||||
|
||||
@Override // android.app.Activity
|
||||
public void onPostResume() {
|
||||
super.onPostResume();
|
||||
onResumeFragments();
|
||||
}
|
||||
|
||||
@Override // b.o, android.app.Activity
|
||||
public void onRequestPermissionsResult(int i, String[] strArr, int[] iArr) {
|
||||
this.mFragments.a();
|
||||
super.onRequestPermissionsResult(i, strArr, iArr);
|
||||
}
|
||||
|
||||
@Override // android.app.Activity
|
||||
public void onResume() {
|
||||
this.mFragments.a();
|
||||
super.onResume();
|
||||
this.mResumed = true;
|
||||
this.mFragments.f3073a.f3077d.A(true);
|
||||
}
|
||||
|
||||
public void onResumeFragments() {
|
||||
this.mFragmentLifecycleRegistry.f(androidx.lifecycle.A.ON_RESUME);
|
||||
C0160m0 c0160m0 = this.mFragments.f3073a.f3077d;
|
||||
c0160m0.f3150H = false;
|
||||
c0160m0.f3151I = false;
|
||||
c0160m0.f3156O.f3207f = false;
|
||||
c0160m0.u(7);
|
||||
}
|
||||
|
||||
@Override // android.app.Activity
|
||||
public void onStart() {
|
||||
this.mFragments.a();
|
||||
super.onStart();
|
||||
this.mStopped = false;
|
||||
if (!this.mCreated) {
|
||||
this.mCreated = true;
|
||||
C0160m0 c0160m0 = this.mFragments.f3073a.f3077d;
|
||||
c0160m0.f3150H = false;
|
||||
c0160m0.f3151I = false;
|
||||
c0160m0.f3156O.f3207f = false;
|
||||
c0160m0.u(4);
|
||||
}
|
||||
this.mFragments.f3073a.f3077d.A(true);
|
||||
this.mFragmentLifecycleRegistry.f(androidx.lifecycle.A.ON_START);
|
||||
C0160m0 c0160m02 = this.mFragments.f3073a.f3077d;
|
||||
c0160m02.f3150H = false;
|
||||
c0160m02.f3151I = false;
|
||||
c0160m02.f3156O.f3207f = false;
|
||||
c0160m02.u(5);
|
||||
}
|
||||
|
||||
@Override // android.app.Activity
|
||||
public void onStateNotSaved() {
|
||||
this.mFragments.a();
|
||||
}
|
||||
|
||||
@Override // android.app.Activity
|
||||
public void onStop() {
|
||||
super.onStop();
|
||||
this.mStopped = true;
|
||||
markFragmentsCreated();
|
||||
C0160m0 c0160m0 = this.mFragments.f3073a.f3077d;
|
||||
c0160m0.f3151I = true;
|
||||
c0160m0.f3156O.f3207f = true;
|
||||
c0160m0.u(4);
|
||||
this.mFragmentLifecycleRegistry.f(androidx.lifecycle.A.ON_STOP);
|
||||
}
|
||||
|
||||
public void setEnterSharedElementCallback(C.K k4) {
|
||||
AbstractC0037a.c(this, null);
|
||||
}
|
||||
|
||||
public void setExitSharedElementCallback(C.K k4) {
|
||||
AbstractC0037a.d(this, null);
|
||||
}
|
||||
|
||||
public void startActivityFromFragment(K k4, Intent intent, int i, Bundle bundle) {
|
||||
if (i == -1) {
|
||||
startActivityForResult(intent, -1, bundle);
|
||||
} else {
|
||||
k4.startActivityForResult(intent, i, bundle);
|
||||
}
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public void startIntentSenderFromFragment(K k4, IntentSender intentSender, int i, Intent intent, int i4, int i5, int i6, Bundle bundle) throws IntentSender.SendIntentException {
|
||||
if (i == -1) {
|
||||
startIntentSenderForResult(intentSender, i, intent, i4, i5, i6, bundle);
|
||||
} else {
|
||||
k4.startIntentSenderForResult(intentSender, i, intent, i4, i5, i6, bundle);
|
||||
}
|
||||
}
|
||||
|
||||
public void supportFinishAfterTransition() {
|
||||
AbstractC0037a.a(this);
|
||||
}
|
||||
|
||||
public void supportPostponeEnterTransition() {
|
||||
AbstractC0037a.b(this);
|
||||
}
|
||||
|
||||
public void supportStartPostponedEnterTransition() {
|
||||
AbstractC0037a.e(this);
|
||||
}
|
||||
|
||||
@Override // C.InterfaceC0042f
|
||||
@Deprecated
|
||||
public final void validateRequestPermissionsRequestCode(int i) {
|
||||
}
|
||||
|
||||
@Override // android.app.Activity, android.view.LayoutInflater.Factory
|
||||
public View onCreateView(String str, Context context, AttributeSet attributeSet) {
|
||||
View dispatchFragmentsOnCreateView = dispatchFragmentsOnCreateView(null, str, context, attributeSet);
|
||||
return dispatchFragmentsOnCreateView == null ? super.onCreateView(str, context, attributeSet) : dispatchFragmentsOnCreateView;
|
||||
}
|
||||
|
||||
public void startActivityFromFragment(K k4, Intent intent, int i) {
|
||||
startActivityFromFragment(k4, intent, i, (Bundle) null);
|
||||
}
|
||||
|
||||
public P(int i) {
|
||||
super(i);
|
||||
this.mFragments = new U(new O((AbstractActivityC0364k) this));
|
||||
this.mFragmentLifecycleRegistry = new androidx.lifecycle.L(this);
|
||||
this.mStopped = true;
|
||||
d();
|
||||
}
|
||||
}
|
||||
7
apk_decompiled/sources/androidx/fragment/app/P0.java
Normal file
7
apk_decompiled/sources/androidx/fragment/app/P0.java
Normal file
@@ -0,0 +1,7 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.util.AndroidRuntimeException;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class P0 extends AndroidRuntimeException {
|
||||
}
|
||||
340
apk_decompiled/sources/androidx/fragment/app/Q.java
Normal file
340
apk_decompiled/sources/androidx/fragment/app/Q.java
Normal file
@@ -0,0 +1,340 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.animation.Animator;
|
||||
import android.animation.AnimatorSet;
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.view.animation.Animation;
|
||||
import android.widget.FrameLayout;
|
||||
import java.util.Iterator;
|
||||
import java.util.concurrent.CopyOnWriteArrayList;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class Q {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final Object f3066a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final Cloneable f3067b;
|
||||
|
||||
public Q(AbstractC0158l0 fragmentManager) {
|
||||
Intrinsics.checkNotNullParameter(fragmentManager, "fragmentManager");
|
||||
this.f3066a = fragmentManager;
|
||||
this.f3067b = new CopyOnWriteArrayList();
|
||||
}
|
||||
|
||||
public void a(K f2, boolean z3) {
|
||||
Intrinsics.checkNotNullParameter(f2, "f");
|
||||
K k4 = ((AbstractC0158l0) this.f3066a).f3179y;
|
||||
if (k4 != null) {
|
||||
AbstractC0158l0 parentFragmentManager = k4.getParentFragmentManager();
|
||||
Intrinsics.checkNotNullExpressionValue(parentFragmentManager, "parent.getParentFragmentManager()");
|
||||
parentFragmentManager.f3170o.a(f2, true);
|
||||
}
|
||||
Iterator it = ((CopyOnWriteArrayList) this.f3067b).iterator();
|
||||
while (it.hasNext()) {
|
||||
Y y3 = (Y) it.next();
|
||||
if (z3) {
|
||||
y3.getClass();
|
||||
} else {
|
||||
R0.h hVar = y3.f3081a;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void b(K f2, boolean z3) {
|
||||
Intrinsics.checkNotNullParameter(f2, "f");
|
||||
AbstractC0158l0 abstractC0158l0 = (AbstractC0158l0) this.f3066a;
|
||||
P p = abstractC0158l0.f3177w.f3075b;
|
||||
K k4 = abstractC0158l0.f3179y;
|
||||
if (k4 != null) {
|
||||
AbstractC0158l0 parentFragmentManager = k4.getParentFragmentManager();
|
||||
Intrinsics.checkNotNullExpressionValue(parentFragmentManager, "parent.getParentFragmentManager()");
|
||||
parentFragmentManager.f3170o.b(f2, true);
|
||||
}
|
||||
Iterator it = ((CopyOnWriteArrayList) this.f3067b).iterator();
|
||||
while (it.hasNext()) {
|
||||
Y y3 = (Y) it.next();
|
||||
if (z3) {
|
||||
y3.getClass();
|
||||
} else {
|
||||
R0.h hVar = y3.f3081a;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void c(K f2, boolean z3) {
|
||||
Intrinsics.checkNotNullParameter(f2, "f");
|
||||
K k4 = ((AbstractC0158l0) this.f3066a).f3179y;
|
||||
if (k4 != null) {
|
||||
AbstractC0158l0 parentFragmentManager = k4.getParentFragmentManager();
|
||||
Intrinsics.checkNotNullExpressionValue(parentFragmentManager, "parent.getParentFragmentManager()");
|
||||
parentFragmentManager.f3170o.c(f2, true);
|
||||
}
|
||||
Iterator it = ((CopyOnWriteArrayList) this.f3067b).iterator();
|
||||
while (it.hasNext()) {
|
||||
Y y3 = (Y) it.next();
|
||||
if (z3) {
|
||||
y3.getClass();
|
||||
} else {
|
||||
R0.h hVar = y3.f3081a;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void d(K f2, boolean z3) {
|
||||
Intrinsics.checkNotNullParameter(f2, "f");
|
||||
K k4 = ((AbstractC0158l0) this.f3066a).f3179y;
|
||||
if (k4 != null) {
|
||||
AbstractC0158l0 parentFragmentManager = k4.getParentFragmentManager();
|
||||
Intrinsics.checkNotNullExpressionValue(parentFragmentManager, "parent.getParentFragmentManager()");
|
||||
parentFragmentManager.f3170o.d(f2, true);
|
||||
}
|
||||
Iterator it = ((CopyOnWriteArrayList) this.f3067b).iterator();
|
||||
while (it.hasNext()) {
|
||||
Y y3 = (Y) it.next();
|
||||
if (z3) {
|
||||
y3.getClass();
|
||||
} else {
|
||||
R0.h hVar = y3.f3081a;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void e(K f2, boolean z3) {
|
||||
Intrinsics.checkNotNullParameter(f2, "f");
|
||||
K k4 = ((AbstractC0158l0) this.f3066a).f3179y;
|
||||
if (k4 != null) {
|
||||
AbstractC0158l0 parentFragmentManager = k4.getParentFragmentManager();
|
||||
Intrinsics.checkNotNullExpressionValue(parentFragmentManager, "parent.getParentFragmentManager()");
|
||||
parentFragmentManager.f3170o.e(f2, true);
|
||||
}
|
||||
Iterator it = ((CopyOnWriteArrayList) this.f3067b).iterator();
|
||||
while (it.hasNext()) {
|
||||
Y y3 = (Y) it.next();
|
||||
if (z3) {
|
||||
y3.getClass();
|
||||
} else {
|
||||
R0.h hVar = y3.f3081a;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void f(K f2, boolean z3) {
|
||||
Intrinsics.checkNotNullParameter(f2, "f");
|
||||
K k4 = ((AbstractC0158l0) this.f3066a).f3179y;
|
||||
if (k4 != null) {
|
||||
AbstractC0158l0 parentFragmentManager = k4.getParentFragmentManager();
|
||||
Intrinsics.checkNotNullExpressionValue(parentFragmentManager, "parent.getParentFragmentManager()");
|
||||
parentFragmentManager.f3170o.f(f2, true);
|
||||
}
|
||||
Iterator it = ((CopyOnWriteArrayList) this.f3067b).iterator();
|
||||
while (it.hasNext()) {
|
||||
Y y3 = (Y) it.next();
|
||||
if (z3) {
|
||||
y3.getClass();
|
||||
} else {
|
||||
R0.h hVar = y3.f3081a;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void g(K f2, boolean z3) {
|
||||
Intrinsics.checkNotNullParameter(f2, "f");
|
||||
AbstractC0158l0 abstractC0158l0 = (AbstractC0158l0) this.f3066a;
|
||||
P p = abstractC0158l0.f3177w.f3075b;
|
||||
K k4 = abstractC0158l0.f3179y;
|
||||
if (k4 != null) {
|
||||
AbstractC0158l0 parentFragmentManager = k4.getParentFragmentManager();
|
||||
Intrinsics.checkNotNullExpressionValue(parentFragmentManager, "parent.getParentFragmentManager()");
|
||||
parentFragmentManager.f3170o.g(f2, true);
|
||||
}
|
||||
Iterator it = ((CopyOnWriteArrayList) this.f3067b).iterator();
|
||||
while (it.hasNext()) {
|
||||
Y y3 = (Y) it.next();
|
||||
if (z3) {
|
||||
y3.getClass();
|
||||
} else {
|
||||
R0.h hVar = y3.f3081a;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void h(K f2, boolean z3) {
|
||||
Intrinsics.checkNotNullParameter(f2, "f");
|
||||
K k4 = ((AbstractC0158l0) this.f3066a).f3179y;
|
||||
if (k4 != null) {
|
||||
AbstractC0158l0 parentFragmentManager = k4.getParentFragmentManager();
|
||||
Intrinsics.checkNotNullExpressionValue(parentFragmentManager, "parent.getParentFragmentManager()");
|
||||
parentFragmentManager.f3170o.h(f2, true);
|
||||
}
|
||||
Iterator it = ((CopyOnWriteArrayList) this.f3067b).iterator();
|
||||
while (it.hasNext()) {
|
||||
Y y3 = (Y) it.next();
|
||||
if (z3) {
|
||||
y3.getClass();
|
||||
} else {
|
||||
R0.h hVar = y3.f3081a;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void i(K f2, boolean z3) {
|
||||
Intrinsics.checkNotNullParameter(f2, "f");
|
||||
K k4 = ((AbstractC0158l0) this.f3066a).f3179y;
|
||||
if (k4 != null) {
|
||||
AbstractC0158l0 parentFragmentManager = k4.getParentFragmentManager();
|
||||
Intrinsics.checkNotNullExpressionValue(parentFragmentManager, "parent.getParentFragmentManager()");
|
||||
parentFragmentManager.f3170o.i(f2, true);
|
||||
}
|
||||
Iterator it = ((CopyOnWriteArrayList) this.f3067b).iterator();
|
||||
while (it.hasNext()) {
|
||||
Y y3 = (Y) it.next();
|
||||
if (z3) {
|
||||
y3.getClass();
|
||||
} else {
|
||||
R0.h hVar = y3.f3081a;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void j(K f2, Bundle outState, boolean z3) {
|
||||
Intrinsics.checkNotNullParameter(f2, "f");
|
||||
Intrinsics.checkNotNullParameter(outState, "outState");
|
||||
K k4 = ((AbstractC0158l0) this.f3066a).f3179y;
|
||||
if (k4 != null) {
|
||||
AbstractC0158l0 parentFragmentManager = k4.getParentFragmentManager();
|
||||
Intrinsics.checkNotNullExpressionValue(parentFragmentManager, "parent.getParentFragmentManager()");
|
||||
parentFragmentManager.f3170o.j(f2, outState, true);
|
||||
}
|
||||
Iterator it = ((CopyOnWriteArrayList) this.f3067b).iterator();
|
||||
while (it.hasNext()) {
|
||||
Y y3 = (Y) it.next();
|
||||
if (z3) {
|
||||
y3.getClass();
|
||||
} else {
|
||||
R0.h hVar = y3.f3081a;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void k(K f2, boolean z3) {
|
||||
Intrinsics.checkNotNullParameter(f2, "f");
|
||||
K k4 = ((AbstractC0158l0) this.f3066a).f3179y;
|
||||
if (k4 != null) {
|
||||
AbstractC0158l0 parentFragmentManager = k4.getParentFragmentManager();
|
||||
Intrinsics.checkNotNullExpressionValue(parentFragmentManager, "parent.getParentFragmentManager()");
|
||||
parentFragmentManager.f3170o.k(f2, true);
|
||||
}
|
||||
Iterator it = ((CopyOnWriteArrayList) this.f3067b).iterator();
|
||||
while (it.hasNext()) {
|
||||
Y y3 = (Y) it.next();
|
||||
if (z3) {
|
||||
y3.getClass();
|
||||
} else {
|
||||
R0.h hVar = y3.f3081a;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void l(K f2, boolean z3) {
|
||||
Intrinsics.checkNotNullParameter(f2, "f");
|
||||
K k4 = ((AbstractC0158l0) this.f3066a).f3179y;
|
||||
if (k4 != null) {
|
||||
AbstractC0158l0 parentFragmentManager = k4.getParentFragmentManager();
|
||||
Intrinsics.checkNotNullExpressionValue(parentFragmentManager, "parent.getParentFragmentManager()");
|
||||
parentFragmentManager.f3170o.l(f2, true);
|
||||
}
|
||||
Iterator it = ((CopyOnWriteArrayList) this.f3067b).iterator();
|
||||
while (it.hasNext()) {
|
||||
Y y3 = (Y) it.next();
|
||||
if (z3) {
|
||||
y3.getClass();
|
||||
} else {
|
||||
R0.h hVar = y3.f3081a;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void m(K f2, View v3, boolean z3) {
|
||||
Intrinsics.checkNotNullParameter(f2, "f");
|
||||
Intrinsics.checkNotNullParameter(v3, "v");
|
||||
K k4 = ((AbstractC0158l0) this.f3066a).f3179y;
|
||||
if (k4 != null) {
|
||||
AbstractC0158l0 parentFragmentManager = k4.getParentFragmentManager();
|
||||
Intrinsics.checkNotNullExpressionValue(parentFragmentManager, "parent.getParentFragmentManager()");
|
||||
parentFragmentManager.f3170o.m(f2, v3, true);
|
||||
}
|
||||
Iterator it = ((CopyOnWriteArrayList) this.f3067b).iterator();
|
||||
while (it.hasNext()) {
|
||||
Y y3 = (Y) it.next();
|
||||
if (z3) {
|
||||
y3.getClass();
|
||||
} else {
|
||||
R0.h cb = y3.f3081a;
|
||||
AbstractC0158l0 abstractC0158l0 = (AbstractC0158l0) this.f3066a;
|
||||
if (f2 == ((K) cb.f1413a)) {
|
||||
Q q4 = abstractC0158l0.f3170o;
|
||||
q4.getClass();
|
||||
Intrinsics.checkNotNullParameter(cb, "cb");
|
||||
synchronized (((CopyOnWriteArrayList) q4.f3067b)) {
|
||||
try {
|
||||
int size = ((CopyOnWriteArrayList) q4.f3067b).size();
|
||||
int i = 0;
|
||||
while (true) {
|
||||
if (i >= size) {
|
||||
break;
|
||||
}
|
||||
if (((Y) ((CopyOnWriteArrayList) q4.f3067b).get(i)).f3081a == cb) {
|
||||
((CopyOnWriteArrayList) q4.f3067b).remove(i);
|
||||
break;
|
||||
}
|
||||
i++;
|
||||
}
|
||||
Unit unit = Unit.INSTANCE;
|
||||
} catch (Throwable th) {
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
((androidx.viewpager2.adapter.f) cb.f1415c).addViewToContainer(v3, (FrameLayout) cb.f1414b);
|
||||
} else {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void n(K f2, boolean z3) {
|
||||
Intrinsics.checkNotNullParameter(f2, "f");
|
||||
K k4 = ((AbstractC0158l0) this.f3066a).f3179y;
|
||||
if (k4 != null) {
|
||||
AbstractC0158l0 parentFragmentManager = k4.getParentFragmentManager();
|
||||
Intrinsics.checkNotNullExpressionValue(parentFragmentManager, "parent.getParentFragmentManager()");
|
||||
parentFragmentManager.f3170o.n(f2, true);
|
||||
}
|
||||
Iterator it = ((CopyOnWriteArrayList) this.f3067b).iterator();
|
||||
while (it.hasNext()) {
|
||||
Y y3 = (Y) it.next();
|
||||
if (z3) {
|
||||
y3.getClass();
|
||||
} else {
|
||||
R0.h hVar = y3.f3081a;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public Q(Animation animation) {
|
||||
this.f3066a = animation;
|
||||
this.f3067b = null;
|
||||
}
|
||||
|
||||
public Q(Animator animator) {
|
||||
this.f3066a = null;
|
||||
AnimatorSet animatorSet = new AnimatorSet();
|
||||
this.f3067b = animatorSet;
|
||||
animatorSet.play(animator);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import java.util.Iterator;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* renamed from: androidx.fragment.app.d, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final /* synthetic */ class RunnableC0141d implements Runnable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f3106a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ Object f3107b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ Object f3108c;
|
||||
|
||||
public /* synthetic */ RunnableC0141d(int i, Object obj, Object obj2) {
|
||||
this.f3106a = i;
|
||||
this.f3107b = obj;
|
||||
this.f3108c = obj2;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
switch (this.f3106a) {
|
||||
case 0:
|
||||
C0168s this$0 = (C0168s) this.f3107b;
|
||||
Intrinsics.checkNotNullParameter(this$0, "this$0");
|
||||
J0 operation = (J0) this.f3108c;
|
||||
Intrinsics.checkNotNullParameter(operation, "$operation");
|
||||
this$0.a(operation);
|
||||
return;
|
||||
default:
|
||||
C0167q this$02 = (C0167q) this.f3107b;
|
||||
Intrinsics.checkNotNullParameter(this$02, "this$0");
|
||||
ViewGroup container = (ViewGroup) this.f3108c;
|
||||
Intrinsics.checkNotNullParameter(container, "$container");
|
||||
Iterator it = this$02.f3208c.iterator();
|
||||
while (it.hasNext()) {
|
||||
J0 j02 = ((r) it.next()).f3181a;
|
||||
View view = j02.f3038c.getView();
|
||||
if (view != null) {
|
||||
j02.f3036a.a(view, container);
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
104
apk_decompiled/sources/androidx/fragment/app/RunnableC0143e.java
Normal file
104
apk_decompiled/sources/androidx/fragment/app/RunnableC0143e.java
Normal file
@@ -0,0 +1,104 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.graphics.Rect;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import com.google.android.gms.common.util.BiConsumer;
|
||||
import com.google.android.gms.tasks.TaskCompletionSource;
|
||||
import com.google.firebase.crashlytics.internal.common.Utils;
|
||||
import com.google.firebase.remoteconfig.internal.ConfigContainer;
|
||||
import com.google.firebase.remoteconfig.internal.ConfigGetParameterHandler;
|
||||
import java.util.concurrent.Callable;
|
||||
import java.util.concurrent.Executor;
|
||||
import java.util.concurrent.ThreadPoolExecutor;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* renamed from: androidx.fragment.app.e, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final /* synthetic */ class RunnableC0143e implements Runnable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f3111a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ Object f3112b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ Object f3113c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final /* synthetic */ Object f3114d;
|
||||
|
||||
public /* synthetic */ RunnableC0143e(Object obj, Object obj2, Object obj3, int i) {
|
||||
this.f3111a = i;
|
||||
this.f3112b = obj;
|
||||
this.f3113c = obj2;
|
||||
this.f3114d = obj3;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
switch (this.f3111a) {
|
||||
case 0:
|
||||
ViewGroup container = (ViewGroup) this.f3112b;
|
||||
Intrinsics.checkNotNullParameter(container, "$container");
|
||||
C0147g this$0 = (C0147g) this.f3114d;
|
||||
Intrinsics.checkNotNullParameter(this$0, "this$0");
|
||||
container.endViewTransition((View) this.f3113c);
|
||||
this$0.f3121c.f3181a.c(this$0);
|
||||
return;
|
||||
case 1:
|
||||
C0167q this$02 = (C0167q) this.f3114d;
|
||||
Intrinsics.checkNotNullParameter(this$02, "this$0");
|
||||
K inFragment = ((J0) this.f3112b).f3038c;
|
||||
K outFragment = ((J0) this.f3113c).f3038c;
|
||||
boolean z3 = this$02.f3218o;
|
||||
s.e sharedElements = this$02.f3217n;
|
||||
C0 c02 = x0.f3272a;
|
||||
Intrinsics.checkNotNullParameter(inFragment, "inFragment");
|
||||
Intrinsics.checkNotNullParameter(outFragment, "outFragment");
|
||||
Intrinsics.checkNotNullParameter(sharedElements, "sharedElements");
|
||||
if (z3) {
|
||||
outFragment.getEnterTransitionCallback();
|
||||
return;
|
||||
} else {
|
||||
inFragment.getEnterTransitionCallback();
|
||||
return;
|
||||
}
|
||||
case 2:
|
||||
E0 impl = (E0) this.f3112b;
|
||||
Intrinsics.checkNotNullParameter(impl, "$impl");
|
||||
Rect lastInEpicenterRect = (Rect) this.f3114d;
|
||||
Intrinsics.checkNotNullParameter(lastInEpicenterRect, "$lastInEpicenterRect");
|
||||
E0.j(lastInEpicenterRect, (View) this.f3113c);
|
||||
return;
|
||||
case 3:
|
||||
Utils.lambda$callTask$3((Callable) this.f3112b, (Executor) this.f3113c, (TaskCompletionSource) this.f3114d);
|
||||
return;
|
||||
case 4:
|
||||
ConfigGetParameterHandler.a((BiConsumer) this.f3112b, (String) this.f3113c, (ConfigContainer) this.f3114d);
|
||||
return;
|
||||
default:
|
||||
W1.k kVar = (W1.k) this.f3112b;
|
||||
m3.l lVar = (m3.l) this.f3113c;
|
||||
ThreadPoolExecutor threadPoolExecutor = (ThreadPoolExecutor) this.f3114d;
|
||||
kVar.getClass();
|
||||
try {
|
||||
d0.p l4 = m3.d.l(kVar.f1936a);
|
||||
if (l4 == null) {
|
||||
throw new RuntimeException("EmojiCompat font provider not available on this device.");
|
||||
}
|
||||
d0.o oVar = (d0.o) ((d0.g) l4.f3794b);
|
||||
synchronized (oVar.f6143d) {
|
||||
oVar.f6145f = threadPoolExecutor;
|
||||
}
|
||||
((d0.g) l4.f3794b).a(new d0.j(lVar, threadPoolExecutor));
|
||||
return;
|
||||
} catch (Throwable th) {
|
||||
lVar.L(th);
|
||||
threadPoolExecutor.shutdown();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.util.Log;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* renamed from: androidx.fragment.app.n, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final /* synthetic */ class RunnableC0161n implements Runnable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f3182a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ J0 f3183b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ C0167q f3184c;
|
||||
|
||||
public /* synthetic */ RunnableC0161n(J0 j02, C0167q c0167q, int i) {
|
||||
this.f3182a = i;
|
||||
this.f3183b = j02;
|
||||
this.f3184c = c0167q;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
switch (this.f3182a) {
|
||||
case 0:
|
||||
J0 operation = this.f3183b;
|
||||
Intrinsics.checkNotNullParameter(operation, "$operation");
|
||||
C0167q this$0 = this.f3184c;
|
||||
Intrinsics.checkNotNullParameter(this$0, "this$0");
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "Transition for operation " + operation + " has completed");
|
||||
}
|
||||
operation.c(this$0);
|
||||
return;
|
||||
default:
|
||||
J0 operation2 = this.f3183b;
|
||||
Intrinsics.checkNotNullParameter(operation2, "$operation");
|
||||
C0167q this$02 = this.f3184c;
|
||||
Intrinsics.checkNotNullParameter(this$02, "this$0");
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "Transition for operation " + operation2 + " has completed");
|
||||
}
|
||||
operation2.c(this$02);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
/* renamed from: androidx.fragment.app.t, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class RunnableC0169t implements Runnable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f3236a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ Object f3237b;
|
||||
|
||||
public /* synthetic */ RunnableC0169t(Object obj, int i) {
|
||||
this.f3236a = i;
|
||||
this.f3237b = obj;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
switch (this.f3236a) {
|
||||
case 0:
|
||||
DialogInterfaceOnCancelListenerC0174y dialogInterfaceOnCancelListenerC0174y = (DialogInterfaceOnCancelListenerC0174y) this.f3237b;
|
||||
DialogInterfaceOnCancelListenerC0174y.access$100(dialogInterfaceOnCancelListenerC0174y).onDismiss(DialogInterfaceOnCancelListenerC0174y.access$000(dialogInterfaceOnCancelListenerC0174y));
|
||||
return;
|
||||
case 1:
|
||||
O0 o02 = (O0) this.f3237b;
|
||||
if (o02.f3062b.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
o02.i();
|
||||
return;
|
||||
default:
|
||||
((AbstractC0158l0) this.f3237b).A(true);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import kotlin.jvm.functions.Function0;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.Ref;
|
||||
|
||||
/* renamed from: androidx.fragment.app.z, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final /* synthetic */ class RunnableC0175z implements Runnable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f3276a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ Object f3277b;
|
||||
|
||||
public /* synthetic */ RunnableC0175z(Object obj, int i) {
|
||||
this.f3276a = i;
|
||||
this.f3277b = obj;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
switch (this.f3276a) {
|
||||
case 0:
|
||||
K k4 = (K) this.f3277b;
|
||||
F0 f02 = k4.mViewLifecycleOwner;
|
||||
f02.f3002f.b(k4.mSavedViewRegistryState);
|
||||
k4.mSavedViewRegistryState = null;
|
||||
return;
|
||||
case 1:
|
||||
Ref.ObjectRef seekCancelLambda = (Ref.ObjectRef) this.f3277b;
|
||||
Intrinsics.checkNotNullParameter(seekCancelLambda, "$seekCancelLambda");
|
||||
Function0 function0 = (Function0) seekCancelLambda.element;
|
||||
if (function0 != null) {
|
||||
function0.invoke();
|
||||
return;
|
||||
}
|
||||
return;
|
||||
default:
|
||||
ArrayList transitioningViews = (ArrayList) this.f3277b;
|
||||
Intrinsics.checkNotNullParameter(transitioningViews, "$transitioningViews");
|
||||
x0.a(4, transitioningViews);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
75
apk_decompiled/sources/androidx/fragment/app/S.java
Normal file
75
apk_decompiled/sources/androidx/fragment/app/S.java
Normal file
@@ -0,0 +1,75 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import O.ViewTreeObserverOnPreDrawListenerC0083y;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.animation.Animation;
|
||||
import android.view.animation.AnimationSet;
|
||||
import android.view.animation.Transformation;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class S extends AnimationSet implements Runnable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final ViewGroup f3068a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final View f3069b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public boolean f3070c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public boolean f3071d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public boolean f3072e;
|
||||
|
||||
public S(Animation animation, ViewGroup viewGroup, View view) {
|
||||
super(false);
|
||||
this.f3072e = true;
|
||||
this.f3068a = viewGroup;
|
||||
this.f3069b = view;
|
||||
addAnimation(animation);
|
||||
viewGroup.post(this);
|
||||
}
|
||||
|
||||
@Override // android.view.animation.AnimationSet, android.view.animation.Animation
|
||||
public final boolean getTransformation(long j4, Transformation transformation) {
|
||||
this.f3072e = true;
|
||||
if (this.f3070c) {
|
||||
return !this.f3071d;
|
||||
}
|
||||
if (!super.getTransformation(j4, transformation)) {
|
||||
this.f3070c = true;
|
||||
ViewTreeObserverOnPreDrawListenerC0083y.a(this.f3068a, this);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
boolean z3 = this.f3070c;
|
||||
ViewGroup viewGroup = this.f3068a;
|
||||
if (z3 || !this.f3072e) {
|
||||
viewGroup.endViewTransition(this.f3069b);
|
||||
this.f3071d = true;
|
||||
} else {
|
||||
this.f3072e = false;
|
||||
viewGroup.post(this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.view.animation.Animation
|
||||
public final boolean getTransformation(long j4, Transformation transformation, float f2) {
|
||||
this.f3072e = true;
|
||||
if (this.f3070c) {
|
||||
return !this.f3071d;
|
||||
}
|
||||
if (!super.getTransformation(j4, transformation, f2)) {
|
||||
this.f3070c = true;
|
||||
ViewTreeObserverOnPreDrawListenerC0083y.a(this.f3068a, this);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
10
apk_decompiled/sources/androidx/fragment/app/T.java
Normal file
10
apk_decompiled/sources/androidx/fragment/app/T.java
Normal file
@@ -0,0 +1,10 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.view.View;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class T {
|
||||
public abstract View b(int i);
|
||||
|
||||
public abstract boolean c();
|
||||
}
|
||||
16
apk_decompiled/sources/androidx/fragment/app/U.java
Normal file
16
apk_decompiled/sources/androidx/fragment/app/U.java
Normal file
@@ -0,0 +1,16 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class U {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final O f3073a;
|
||||
|
||||
public U(O o4) {
|
||||
this.f3073a = o4;
|
||||
}
|
||||
|
||||
public final void a() {
|
||||
this.f3073a.f3077d.S();
|
||||
}
|
||||
}
|
||||
33
apk_decompiled/sources/androidx/fragment/app/V.java
Normal file
33
apk_decompiled/sources/androidx/fragment/app/V.java
Normal file
@@ -0,0 +1,33 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.os.Handler;
|
||||
import g.AbstractActivityC0364k;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class V extends T {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final P f3074a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final P f3075b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final Handler f3076c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final C0160m0 f3077d;
|
||||
|
||||
/* JADX WARN: Type inference failed for: r3v1, types: [androidx.fragment.app.m0, androidx.fragment.app.l0] */
|
||||
public V(AbstractActivityC0364k context) {
|
||||
Intrinsics.checkNotNullParameter(context, "activity");
|
||||
Handler handler = new Handler();
|
||||
Intrinsics.checkNotNullParameter(context, "context");
|
||||
Intrinsics.checkNotNullParameter(handler, "handler");
|
||||
this.f3074a = context;
|
||||
this.f3075b = context;
|
||||
this.f3076c = handler;
|
||||
this.f3077d = new AbstractC0158l0();
|
||||
}
|
||||
}
|
||||
30
apk_decompiled/sources/androidx/fragment/app/W.java
Normal file
30
apk_decompiled/sources/androidx/fragment/app/W.java
Normal file
@@ -0,0 +1,30 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class W implements View.OnAttachStateChangeListener {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ t0 f3078a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ X f3079b;
|
||||
|
||||
public W(X x3, t0 t0Var) {
|
||||
this.f3079b = x3;
|
||||
this.f3078a = t0Var;
|
||||
}
|
||||
|
||||
@Override // android.view.View.OnAttachStateChangeListener
|
||||
public final void onViewAttachedToWindow(View view) {
|
||||
t0 t0Var = this.f3078a;
|
||||
t0Var.k();
|
||||
O0.m((ViewGroup) t0Var.f3240c.mView.getParent(), this.f3079b.f3080a).l();
|
||||
}
|
||||
|
||||
@Override // android.view.View.OnAttachStateChangeListener
|
||||
public final void onViewDetachedFromWindow(View view) {
|
||||
}
|
||||
}
|
||||
129
apk_decompiled/sources/androidx/fragment/app/X.java
Normal file
129
apk_decompiled/sources/androidx/fragment/app/X.java
Normal file
@@ -0,0 +1,129 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.TypedArray;
|
||||
import android.util.AttributeSet;
|
||||
import android.util.Log;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import h0.AbstractC0378a;
|
||||
import i0.AbstractC0383d;
|
||||
import i0.AbstractC0392m;
|
||||
import i0.C0382c;
|
||||
import i0.C0384e;
|
||||
import i0.EnumC0381b;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class X implements LayoutInflater.Factory2 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final AbstractC0158l0 f3080a;
|
||||
|
||||
public X(AbstractC0158l0 abstractC0158l0) {
|
||||
this.f3080a = abstractC0158l0;
|
||||
}
|
||||
|
||||
@Override // android.view.LayoutInflater.Factory
|
||||
public final View onCreateView(String str, Context context, AttributeSet attributeSet) {
|
||||
return onCreateView(null, str, context, attributeSet);
|
||||
}
|
||||
|
||||
@Override // android.view.LayoutInflater.Factory2
|
||||
public final View onCreateView(View view, String str, Context context, AttributeSet attributeSet) {
|
||||
boolean z3;
|
||||
t0 g4;
|
||||
boolean equals = FragmentContainerView.class.getName().equals(str);
|
||||
AbstractC0158l0 abstractC0158l0 = this.f3080a;
|
||||
if (equals) {
|
||||
return new FragmentContainerView(context, attributeSet, abstractC0158l0);
|
||||
}
|
||||
if ("fragment".equals(str)) {
|
||||
String attributeValue = attributeSet.getAttributeValue(null, "class");
|
||||
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, AbstractC0378a.f6745a);
|
||||
if (attributeValue == null) {
|
||||
attributeValue = obtainStyledAttributes.getString(0);
|
||||
}
|
||||
int resourceId = obtainStyledAttributes.getResourceId(1, -1);
|
||||
String string = obtainStyledAttributes.getString(2);
|
||||
obtainStyledAttributes.recycle();
|
||||
if (attributeValue != null) {
|
||||
try {
|
||||
z3 = K.class.isAssignableFrom(C0142d0.b(context.getClassLoader(), attributeValue));
|
||||
} catch (ClassNotFoundException unused) {
|
||||
z3 = false;
|
||||
}
|
||||
if (z3) {
|
||||
int id = view != null ? view.getId() : 0;
|
||||
if (id == -1 && resourceId == -1 && string == null) {
|
||||
throw new IllegalArgumentException(attributeSet.getPositionDescription() + ": Must specify unique android:id, android:tag, or have a parent with an id for " + attributeValue);
|
||||
}
|
||||
K fragment = resourceId != -1 ? abstractC0158l0.E(resourceId) : null;
|
||||
if (fragment == null && string != null) {
|
||||
fragment = abstractC0158l0.F(string);
|
||||
}
|
||||
if (fragment == null && id != -1) {
|
||||
fragment = abstractC0158l0.E(id);
|
||||
}
|
||||
if (fragment == null) {
|
||||
C0142d0 J = abstractC0158l0.J();
|
||||
context.getClassLoader();
|
||||
fragment = J.a(attributeValue);
|
||||
fragment.mFromLayout = true;
|
||||
fragment.mFragmentId = resourceId != 0 ? resourceId : id;
|
||||
fragment.mContainerId = id;
|
||||
fragment.mTag = string;
|
||||
fragment.mInLayout = true;
|
||||
fragment.mFragmentManager = abstractC0158l0;
|
||||
V v3 = abstractC0158l0.f3177w;
|
||||
fragment.mHost = v3;
|
||||
fragment.onInflate((Context) v3.f3075b, attributeSet, fragment.mSavedFragmentState);
|
||||
g4 = abstractC0158l0.a(fragment);
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "Fragment " + fragment + " has been inflated via the <fragment> tag: id=0x" + Integer.toHexString(resourceId));
|
||||
}
|
||||
} else if (!fragment.mInLayout) {
|
||||
fragment.mInLayout = true;
|
||||
fragment.mFragmentManager = abstractC0158l0;
|
||||
V v4 = abstractC0158l0.f3177w;
|
||||
fragment.mHost = v4;
|
||||
fragment.onInflate((Context) v4.f3075b, attributeSet, fragment.mSavedFragmentState);
|
||||
g4 = abstractC0158l0.g(fragment);
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "Retained Fragment " + fragment + " has been re-attached via the <fragment> tag: id=0x" + Integer.toHexString(resourceId));
|
||||
}
|
||||
} else {
|
||||
throw new IllegalArgumentException(attributeSet.getPositionDescription() + ": Duplicate id 0x" + Integer.toHexString(resourceId) + ", tag " + string + ", or parent id 0x" + Integer.toHexString(id) + " with another fragment for " + attributeValue);
|
||||
}
|
||||
ViewGroup viewGroup = (ViewGroup) view;
|
||||
C0382c c0382c = AbstractC0383d.f6811a;
|
||||
Intrinsics.checkNotNullParameter(fragment, "fragment");
|
||||
Intrinsics.checkNotNullParameter(fragment, "fragment");
|
||||
AbstractC0392m abstractC0392m = new AbstractC0392m(fragment, "Attempting to use <fragment> tag to add fragment " + fragment + " to container " + viewGroup);
|
||||
AbstractC0383d.c(abstractC0392m);
|
||||
C0382c a2 = AbstractC0383d.a(fragment);
|
||||
if (a2.f6809a.contains(EnumC0381b.f6803d) && AbstractC0383d.e(a2, fragment.getClass(), C0384e.class)) {
|
||||
AbstractC0383d.b(a2, abstractC0392m);
|
||||
}
|
||||
fragment.mContainer = viewGroup;
|
||||
g4.k();
|
||||
g4.j();
|
||||
View view2 = fragment.mView;
|
||||
if (view2 != null) {
|
||||
if (resourceId != 0) {
|
||||
view2.setId(resourceId);
|
||||
}
|
||||
if (fragment.mView.getTag() == null) {
|
||||
fragment.mView.setTag(string);
|
||||
}
|
||||
fragment.mView.addOnAttachStateChangeListener(new W(this, g4));
|
||||
return fragment.mView;
|
||||
}
|
||||
throw new IllegalStateException(C.w.o("Fragment ", attributeValue, " did not create a view."));
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
15
apk_decompiled/sources/androidx/fragment/app/Y.java
Normal file
15
apk_decompiled/sources/androidx/fragment/app/Y.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class Y {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final R0.h f3081a;
|
||||
|
||||
public Y(R0.h callback) {
|
||||
Intrinsics.checkNotNullParameter(callback, "callback");
|
||||
this.f3081a = callback;
|
||||
}
|
||||
}
|
||||
6
apk_decompiled/sources/androidx/fragment/app/q0.java
Normal file
6
apk_decompiled/sources/androidx/fragment/app/q0.java
Normal file
@@ -0,0 +1,6 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public interface q0 {
|
||||
void a(AbstractC0158l0 abstractC0158l0, K k4);
|
||||
}
|
||||
55
apk_decompiled/sources/androidx/fragment/app/r.java
Normal file
55
apk_decompiled/sources/androidx/fragment/app/r.java
Normal file
@@ -0,0 +1,55 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.transition.Transition;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class r extends AbstractC0159m {
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final Object f3220b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final boolean f3221c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final Object f3222d;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public r(J0 operation, boolean z3, boolean z4) {
|
||||
super(operation);
|
||||
Intrinsics.checkNotNullParameter(operation, "operation");
|
||||
M0 m02 = operation.f3036a;
|
||||
M0 m03 = M0.f3055b;
|
||||
K k4 = operation.f3038c;
|
||||
this.f3220b = m02 == m03 ? z3 ? k4.getReenterTransition() : k4.getEnterTransition() : z3 ? k4.getReturnTransition() : k4.getExitTransition();
|
||||
this.f3221c = operation.f3036a == m03 ? z3 ? k4.getAllowReturnTransitionOverlap() : k4.getAllowEnterTransitionOverlap() : true;
|
||||
this.f3222d = z4 ? z3 ? k4.getSharedElementReturnTransition() : k4.getSharedElementEnterTransition() : null;
|
||||
}
|
||||
|
||||
public final E0 b() {
|
||||
Object obj = this.f3220b;
|
||||
E0 c4 = c(obj);
|
||||
Object obj2 = this.f3222d;
|
||||
E0 c5 = c(obj2);
|
||||
if (c4 == null || c5 == null || c4 == c5) {
|
||||
return c4 == null ? c5 : c4;
|
||||
}
|
||||
throw new IllegalArgumentException(("Mixing framework transitions and AndroidX transitions is not allowed. Fragment " + this.f3181a.f3038c + " returned Transition " + obj + " which uses a different Transition type than its shared element transition " + obj2).toString());
|
||||
}
|
||||
|
||||
public final E0 c(Object obj) {
|
||||
if (obj == null) {
|
||||
return null;
|
||||
}
|
||||
C0 c02 = x0.f3272a;
|
||||
if (obj instanceof Transition) {
|
||||
return c02;
|
||||
}
|
||||
E0 e02 = x0.f3273b;
|
||||
if (e02 != null && e02.g(obj)) {
|
||||
return e02;
|
||||
}
|
||||
throw new IllegalArgumentException("Transition " + obj + " for fragment " + this.f3181a.f3038c + " is not a valid framework Transition or AndroidX Transition");
|
||||
}
|
||||
}
|
||||
168
apk_decompiled/sources/androidx/fragment/app/r0.java
Normal file
168
apk_decompiled/sources/androidx/fragment/app/r0.java
Normal file
@@ -0,0 +1,168 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class r0 implements Parcelable {
|
||||
public static final Parcelable.Creator<r0> CREATOR = new D0.a(7);
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final String f3223a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final String f3224b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final boolean f3225c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final int f3226d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public final int f3227e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public final String f3228f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public final boolean f3229g;
|
||||
public final boolean h;
|
||||
public final boolean i;
|
||||
|
||||
/* renamed from: j, reason: collision with root package name */
|
||||
public final boolean f3230j;
|
||||
|
||||
/* renamed from: k, reason: collision with root package name */
|
||||
public final int f3231k;
|
||||
|
||||
/* renamed from: l, reason: collision with root package name */
|
||||
public final String f3232l;
|
||||
|
||||
/* renamed from: m, reason: collision with root package name */
|
||||
public final int f3233m;
|
||||
|
||||
/* renamed from: n, reason: collision with root package name */
|
||||
public final boolean f3234n;
|
||||
|
||||
public r0(K k4) {
|
||||
this.f3223a = k4.getClass().getName();
|
||||
this.f3224b = k4.mWho;
|
||||
this.f3225c = k4.mFromLayout;
|
||||
this.f3226d = k4.mFragmentId;
|
||||
this.f3227e = k4.mContainerId;
|
||||
this.f3228f = k4.mTag;
|
||||
this.f3229g = k4.mRetainInstance;
|
||||
this.h = k4.mRemoving;
|
||||
this.i = k4.mDetached;
|
||||
this.f3230j = k4.mHidden;
|
||||
this.f3231k = k4.mMaxState.ordinal();
|
||||
this.f3232l = k4.mTargetWho;
|
||||
this.f3233m = k4.mTargetRequestCode;
|
||||
this.f3234n = k4.mUserVisibleHint;
|
||||
}
|
||||
|
||||
public final K a(C0142d0 c0142d0) {
|
||||
K a2 = c0142d0.a(this.f3223a);
|
||||
a2.mWho = this.f3224b;
|
||||
a2.mFromLayout = this.f3225c;
|
||||
a2.mRestored = true;
|
||||
a2.mFragmentId = this.f3226d;
|
||||
a2.mContainerId = this.f3227e;
|
||||
a2.mTag = this.f3228f;
|
||||
a2.mRetainInstance = this.f3229g;
|
||||
a2.mRemoving = this.h;
|
||||
a2.mDetached = this.i;
|
||||
a2.mHidden = this.f3230j;
|
||||
a2.mMaxState = androidx.lifecycle.B.values()[this.f3231k];
|
||||
a2.mTargetWho = this.f3232l;
|
||||
a2.mTargetRequestCode = this.f3233m;
|
||||
a2.mUserVisibleHint = this.f3234n;
|
||||
return a2;
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable
|
||||
public final int describeContents() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public final String toString() {
|
||||
StringBuilder sb = new StringBuilder(128);
|
||||
sb.append("FragmentState{");
|
||||
sb.append(this.f3223a);
|
||||
sb.append(" (");
|
||||
sb.append(this.f3224b);
|
||||
sb.append(")}:");
|
||||
if (this.f3225c) {
|
||||
sb.append(" fromLayout");
|
||||
}
|
||||
int i = this.f3227e;
|
||||
if (i != 0) {
|
||||
sb.append(" id=0x");
|
||||
sb.append(Integer.toHexString(i));
|
||||
}
|
||||
String str = this.f3228f;
|
||||
if (str != null && !str.isEmpty()) {
|
||||
sb.append(" tag=");
|
||||
sb.append(str);
|
||||
}
|
||||
if (this.f3229g) {
|
||||
sb.append(" retainInstance");
|
||||
}
|
||||
if (this.h) {
|
||||
sb.append(" removing");
|
||||
}
|
||||
if (this.i) {
|
||||
sb.append(" detached");
|
||||
}
|
||||
if (this.f3230j) {
|
||||
sb.append(" hidden");
|
||||
}
|
||||
String str2 = this.f3232l;
|
||||
if (str2 != null) {
|
||||
sb.append(" targetWho=");
|
||||
sb.append(str2);
|
||||
sb.append(" targetRequestCode=");
|
||||
sb.append(this.f3233m);
|
||||
}
|
||||
if (this.f3234n) {
|
||||
sb.append(" userVisibleHint");
|
||||
}
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable
|
||||
public final void writeToParcel(Parcel parcel, int i) {
|
||||
parcel.writeString(this.f3223a);
|
||||
parcel.writeString(this.f3224b);
|
||||
parcel.writeInt(this.f3225c ? 1 : 0);
|
||||
parcel.writeInt(this.f3226d);
|
||||
parcel.writeInt(this.f3227e);
|
||||
parcel.writeString(this.f3228f);
|
||||
parcel.writeInt(this.f3229g ? 1 : 0);
|
||||
parcel.writeInt(this.h ? 1 : 0);
|
||||
parcel.writeInt(this.i ? 1 : 0);
|
||||
parcel.writeInt(this.f3230j ? 1 : 0);
|
||||
parcel.writeInt(this.f3231k);
|
||||
parcel.writeString(this.f3232l);
|
||||
parcel.writeInt(this.f3233m);
|
||||
parcel.writeInt(this.f3234n ? 1 : 0);
|
||||
}
|
||||
|
||||
public r0(Parcel parcel) {
|
||||
this.f3223a = parcel.readString();
|
||||
this.f3224b = parcel.readString();
|
||||
this.f3225c = parcel.readInt() != 0;
|
||||
this.f3226d = parcel.readInt();
|
||||
this.f3227e = parcel.readInt();
|
||||
this.f3228f = parcel.readString();
|
||||
this.f3229g = parcel.readInt() != 0;
|
||||
this.h = parcel.readInt() != 0;
|
||||
this.i = parcel.readInt() != 0;
|
||||
this.f3230j = parcel.readInt() != 0;
|
||||
this.f3231k = parcel.readInt();
|
||||
this.f3232l = parcel.readString();
|
||||
this.f3233m = parcel.readInt();
|
||||
this.f3234n = parcel.readInt() != 0;
|
||||
}
|
||||
}
|
||||
27
apk_decompiled/sources/androidx/fragment/app/s0.java
Normal file
27
apk_decompiled/sources/androidx/fragment/app/s0.java
Normal file
@@ -0,0 +1,27 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.view.View;
|
||||
import java.util.WeakHashMap;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class s0 implements View.OnAttachStateChangeListener {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ View f3235a;
|
||||
|
||||
public s0(View view) {
|
||||
this.f3235a = view;
|
||||
}
|
||||
|
||||
@Override // android.view.View.OnAttachStateChangeListener
|
||||
public final void onViewAttachedToWindow(View view) {
|
||||
View view2 = this.f3235a;
|
||||
view2.removeOnAttachStateChangeListener(this);
|
||||
WeakHashMap weakHashMap = O.X.f1226a;
|
||||
O.J.c(view2);
|
||||
}
|
||||
|
||||
@Override // android.view.View.OnAttachStateChangeListener
|
||||
public final void onViewDetachedFromWindow(View view) {
|
||||
}
|
||||
}
|
||||
650
apk_decompiled/sources/androidx/fragment/app/t0.java
Normal file
650
apk_decompiled/sources/androidx/fragment/app/t0.java
Normal file
@@ -0,0 +1,650 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.content.res.Resources;
|
||||
import android.os.BadParcelableException;
|
||||
import android.os.Bundle;
|
||||
import android.os.Parcelable;
|
||||
import android.util.Log;
|
||||
import android.util.SparseArray;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.ViewParent;
|
||||
import com.adif.elcanomovil.R;
|
||||
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||||
import com.google.firebase.remoteconfig.RemoteConfigConstants;
|
||||
import i0.AbstractC0383d;
|
||||
import i0.AbstractC0392m;
|
||||
import i0.C0382c;
|
||||
import i0.C0393n;
|
||||
import i0.C0394o;
|
||||
import i0.EnumC0381b;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import java.util.WeakHashMap;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class t0 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final Q f3238a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final u0 f3239b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final K f3240c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public boolean f3241d = false;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public int f3242e = -1;
|
||||
|
||||
public t0(Q q4, u0 u0Var, K k4) {
|
||||
this.f3238a = q4;
|
||||
this.f3239b = u0Var;
|
||||
this.f3240c = k4;
|
||||
}
|
||||
|
||||
public final void a() {
|
||||
boolean M3 = AbstractC0158l0.M(3);
|
||||
K k4 = this.f3240c;
|
||||
if (M3) {
|
||||
Log.d("FragmentManager", "moveto ACTIVITY_CREATED: " + k4);
|
||||
}
|
||||
Bundle bundle = k4.mSavedFragmentState;
|
||||
k4.performActivityCreated(bundle != null ? bundle.getBundle("savedInstanceState") : null);
|
||||
this.f3238a.a(k4, false);
|
||||
}
|
||||
|
||||
public final void b() {
|
||||
K expectedParentFragment;
|
||||
View view;
|
||||
View view2;
|
||||
int i = -1;
|
||||
K fragment = this.f3240c;
|
||||
View view3 = fragment.mContainer;
|
||||
while (true) {
|
||||
expectedParentFragment = null;
|
||||
if (view3 == null) {
|
||||
break;
|
||||
}
|
||||
Object tag = view3.getTag(R.id.fragment_container_view_tag);
|
||||
K k4 = tag instanceof K ? (K) tag : null;
|
||||
if (k4 != null) {
|
||||
expectedParentFragment = k4;
|
||||
break;
|
||||
} else {
|
||||
Object parent = view3.getParent();
|
||||
view3 = parent instanceof View ? (View) parent : null;
|
||||
}
|
||||
}
|
||||
K parentFragment = fragment.getParentFragment();
|
||||
if (expectedParentFragment != null && !expectedParentFragment.equals(parentFragment)) {
|
||||
int i4 = fragment.mContainerId;
|
||||
C0382c c0382c = AbstractC0383d.f6811a;
|
||||
Intrinsics.checkNotNullParameter(fragment, "fragment");
|
||||
Intrinsics.checkNotNullParameter(expectedParentFragment, "expectedParentFragment");
|
||||
Intrinsics.checkNotNullParameter(fragment, "fragment");
|
||||
Intrinsics.checkNotNullParameter(expectedParentFragment, "expectedParentFragment");
|
||||
StringBuilder sb = new StringBuilder("Attempting to nest fragment ");
|
||||
sb.append(fragment);
|
||||
sb.append(" within the view of parent fragment ");
|
||||
sb.append(expectedParentFragment);
|
||||
sb.append(" via container with ID ");
|
||||
AbstractC0392m abstractC0392m = new AbstractC0392m(fragment, com.google.android.gms.measurement.internal.a.m(sb, i4, " without using parent's childFragmentManager"));
|
||||
AbstractC0383d.c(abstractC0392m);
|
||||
C0382c a2 = AbstractC0383d.a(fragment);
|
||||
if (a2.f6809a.contains(EnumC0381b.f6804e) && AbstractC0383d.e(a2, fragment.getClass(), C0394o.class)) {
|
||||
AbstractC0383d.b(a2, abstractC0392m);
|
||||
}
|
||||
}
|
||||
u0 u0Var = this.f3239b;
|
||||
u0Var.getClass();
|
||||
ViewGroup viewGroup = fragment.mContainer;
|
||||
if (viewGroup != null) {
|
||||
ArrayList arrayList = u0Var.f3244a;
|
||||
int indexOf = arrayList.indexOf(fragment);
|
||||
int i5 = indexOf - 1;
|
||||
while (true) {
|
||||
if (i5 < 0) {
|
||||
while (true) {
|
||||
indexOf++;
|
||||
if (indexOf >= arrayList.size()) {
|
||||
break;
|
||||
}
|
||||
K k5 = (K) arrayList.get(indexOf);
|
||||
if (k5.mContainer == viewGroup && (view = k5.mView) != null) {
|
||||
i = viewGroup.indexOfChild(view);
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
K k6 = (K) arrayList.get(i5);
|
||||
if (k6.mContainer == viewGroup && (view2 = k6.mView) != null) {
|
||||
i = viewGroup.indexOfChild(view2) + 1;
|
||||
break;
|
||||
}
|
||||
i5--;
|
||||
}
|
||||
}
|
||||
}
|
||||
fragment.mContainer.addView(fragment.mView, i);
|
||||
}
|
||||
|
||||
public final void c() {
|
||||
boolean M3 = AbstractC0158l0.M(3);
|
||||
K k4 = this.f3240c;
|
||||
if (M3) {
|
||||
Log.d("FragmentManager", "moveto ATTACHED: " + k4);
|
||||
}
|
||||
K k5 = k4.mTarget;
|
||||
t0 t0Var = null;
|
||||
u0 u0Var = this.f3239b;
|
||||
if (k5 != null) {
|
||||
t0 t0Var2 = (t0) u0Var.f3245b.get(k5.mWho);
|
||||
if (t0Var2 == null) {
|
||||
throw new IllegalStateException("Fragment " + k4 + " declared target fragment " + k4.mTarget + " that does not belong to this FragmentManager!");
|
||||
}
|
||||
k4.mTargetWho = k4.mTarget.mWho;
|
||||
k4.mTarget = null;
|
||||
t0Var = t0Var2;
|
||||
} else {
|
||||
String str = k4.mTargetWho;
|
||||
if (str != null && (t0Var = (t0) u0Var.f3245b.get(str)) == null) {
|
||||
StringBuilder sb = new StringBuilder("Fragment ");
|
||||
sb.append(k4);
|
||||
sb.append(" declared target fragment ");
|
||||
throw new IllegalStateException(C.w.r(sb, k4.mTargetWho, " that does not belong to this FragmentManager!"));
|
||||
}
|
||||
}
|
||||
if (t0Var != null) {
|
||||
t0Var.k();
|
||||
}
|
||||
AbstractC0158l0 abstractC0158l0 = k4.mFragmentManager;
|
||||
k4.mHost = abstractC0158l0.f3177w;
|
||||
k4.mParentFragment = abstractC0158l0.f3179y;
|
||||
Q q4 = this.f3238a;
|
||||
q4.g(k4, false);
|
||||
k4.performAttach();
|
||||
q4.b(k4, false);
|
||||
}
|
||||
|
||||
public final int d() {
|
||||
K k4 = this.f3240c;
|
||||
if (k4.mFragmentManager == null) {
|
||||
return k4.mState;
|
||||
}
|
||||
int i = this.f3242e;
|
||||
int ordinal = k4.mMaxState.ordinal();
|
||||
if (ordinal == 1) {
|
||||
i = Math.min(i, 0);
|
||||
} else if (ordinal == 2) {
|
||||
i = Math.min(i, 1);
|
||||
} else if (ordinal == 3) {
|
||||
i = Math.min(i, 5);
|
||||
} else if (ordinal != 4) {
|
||||
i = Math.min(i, -1);
|
||||
}
|
||||
if (k4.mFromLayout) {
|
||||
if (k4.mInLayout) {
|
||||
i = Math.max(this.f3242e, 2);
|
||||
View view = k4.mView;
|
||||
if (view != null && view.getParent() == null) {
|
||||
i = Math.min(i, 2);
|
||||
}
|
||||
} else {
|
||||
i = this.f3242e < 4 ? Math.min(i, k4.mState) : Math.min(i, 1);
|
||||
}
|
||||
}
|
||||
if (!k4.mAdded) {
|
||||
i = Math.min(i, 1);
|
||||
}
|
||||
ViewGroup viewGroup = k4.mContainer;
|
||||
if (viewGroup != null) {
|
||||
O0 m4 = O0.m(viewGroup, k4.getParentFragmentManager());
|
||||
m4.getClass();
|
||||
Intrinsics.checkNotNullParameter(this, "fragmentStateManager");
|
||||
Intrinsics.checkNotNullExpressionValue(k4, "fragmentStateManager.fragment");
|
||||
J0 j4 = m4.j(k4);
|
||||
K0 k02 = j4 != null ? j4.f3037b : null;
|
||||
J0 k5 = m4.k(k4);
|
||||
r9 = k5 != null ? k5.f3037b : null;
|
||||
int i4 = k02 == null ? -1 : N0.$EnumSwitchMapping$0[k02.ordinal()];
|
||||
if (i4 != -1 && i4 != 1) {
|
||||
r9 = k02;
|
||||
}
|
||||
}
|
||||
if (r9 == K0.f3047b) {
|
||||
i = Math.min(i, 6);
|
||||
} else if (r9 == K0.f3048c) {
|
||||
i = Math.max(i, 3);
|
||||
} else if (k4.mRemoving) {
|
||||
i = k4.isInBackStack() ? Math.min(i, 1) : Math.min(i, -1);
|
||||
}
|
||||
if (k4.mDeferStart && k4.mState < 5) {
|
||||
i = Math.min(i, 4);
|
||||
}
|
||||
if (k4.mTransitioning && k4.mContainer != null) {
|
||||
i = Math.max(i, 3);
|
||||
}
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "computeExpectedState() of " + i + " for " + k4);
|
||||
}
|
||||
return i;
|
||||
}
|
||||
|
||||
public final void e() {
|
||||
boolean M3 = AbstractC0158l0.M(3);
|
||||
K k4 = this.f3240c;
|
||||
if (M3) {
|
||||
Log.d("FragmentManager", "moveto CREATED: " + k4);
|
||||
}
|
||||
Bundle bundle = k4.mSavedFragmentState;
|
||||
Bundle bundle2 = bundle != null ? bundle.getBundle("savedInstanceState") : null;
|
||||
if (k4.mIsCreated) {
|
||||
k4.mState = 1;
|
||||
k4.restoreChildFragmentState();
|
||||
} else {
|
||||
Q q4 = this.f3238a;
|
||||
q4.h(k4, false);
|
||||
k4.performCreate(bundle2);
|
||||
q4.c(k4, false);
|
||||
}
|
||||
}
|
||||
|
||||
public final void f() {
|
||||
String str;
|
||||
K fragment = this.f3240c;
|
||||
if (fragment.mFromLayout) {
|
||||
return;
|
||||
}
|
||||
if (AbstractC0158l0.M(3)) {
|
||||
Log.d("FragmentManager", "moveto CREATE_VIEW: " + fragment);
|
||||
}
|
||||
Bundle bundle = fragment.mSavedFragmentState;
|
||||
ViewGroup container = null;
|
||||
Bundle bundle2 = bundle != null ? bundle.getBundle("savedInstanceState") : null;
|
||||
LayoutInflater performGetLayoutInflater = fragment.performGetLayoutInflater(bundle2);
|
||||
ViewGroup viewGroup = fragment.mContainer;
|
||||
if (viewGroup != null) {
|
||||
container = viewGroup;
|
||||
} else {
|
||||
int i = fragment.mContainerId;
|
||||
if (i != 0) {
|
||||
if (i == -1) {
|
||||
throw new IllegalArgumentException(C.w.m("Cannot create fragment ", fragment, " for a container view with no id"));
|
||||
}
|
||||
container = (ViewGroup) fragment.mFragmentManager.f3178x.b(i);
|
||||
if (container == null) {
|
||||
if (!fragment.mRestored) {
|
||||
try {
|
||||
str = fragment.getResources().getResourceName(fragment.mContainerId);
|
||||
} catch (Resources.NotFoundException unused) {
|
||||
str = "unknown";
|
||||
}
|
||||
throw new IllegalArgumentException("No view found for id 0x" + Integer.toHexString(fragment.mContainerId) + " (" + str + ") for fragment " + fragment);
|
||||
}
|
||||
} else if (!(container instanceof FragmentContainerView)) {
|
||||
C0382c c0382c = AbstractC0383d.f6811a;
|
||||
Intrinsics.checkNotNullParameter(fragment, "fragment");
|
||||
Intrinsics.checkNotNullParameter(container, "container");
|
||||
Intrinsics.checkNotNullParameter(fragment, "fragment");
|
||||
Intrinsics.checkNotNullParameter(container, "container");
|
||||
AbstractC0392m abstractC0392m = new AbstractC0392m(fragment, "Attempting to add fragment " + fragment + " to container " + container + " which is not a FragmentContainerView");
|
||||
AbstractC0383d.c(abstractC0392m);
|
||||
C0382c a2 = AbstractC0383d.a(fragment);
|
||||
if (a2.f6809a.contains(EnumC0381b.i) && AbstractC0383d.e(a2, fragment.getClass(), C0393n.class)) {
|
||||
AbstractC0383d.b(a2, abstractC0392m);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
fragment.mContainer = container;
|
||||
fragment.performCreateView(performGetLayoutInflater, container, bundle2);
|
||||
if (fragment.mView != null) {
|
||||
if (AbstractC0158l0.M(3)) {
|
||||
Log.d("FragmentManager", "moveto VIEW_CREATED: " + fragment);
|
||||
}
|
||||
fragment.mView.setSaveFromParentEnabled(false);
|
||||
fragment.mView.setTag(R.id.fragment_container_view_tag, fragment);
|
||||
if (container != null) {
|
||||
b();
|
||||
}
|
||||
if (fragment.mHidden) {
|
||||
fragment.mView.setVisibility(8);
|
||||
}
|
||||
if (fragment.mView.isAttachedToWindow()) {
|
||||
View view = fragment.mView;
|
||||
WeakHashMap weakHashMap = O.X.f1226a;
|
||||
O.J.c(view);
|
||||
} else {
|
||||
View view2 = fragment.mView;
|
||||
view2.addOnAttachStateChangeListener(new s0(view2));
|
||||
}
|
||||
fragment.performViewCreated();
|
||||
this.f3238a.m(fragment, fragment.mView, false);
|
||||
int visibility = fragment.mView.getVisibility();
|
||||
fragment.setPostOnViewCreatedAlpha(fragment.mView.getAlpha());
|
||||
if (fragment.mContainer != null && visibility == 0) {
|
||||
View findFocus = fragment.mView.findFocus();
|
||||
if (findFocus != null) {
|
||||
fragment.setFocusedView(findFocus);
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "requestFocus: Saved focused view " + findFocus + " for Fragment " + fragment);
|
||||
}
|
||||
}
|
||||
fragment.mView.setAlpha(BitmapDescriptorFactory.HUE_RED);
|
||||
}
|
||||
}
|
||||
fragment.mState = 2;
|
||||
}
|
||||
|
||||
public final void g() {
|
||||
K b4;
|
||||
boolean M3 = AbstractC0158l0.M(3);
|
||||
K k4 = this.f3240c;
|
||||
if (M3) {
|
||||
Log.d("FragmentManager", "movefrom CREATED: " + k4);
|
||||
}
|
||||
boolean z3 = true;
|
||||
boolean z4 = k4.mRemoving && !k4.isInBackStack();
|
||||
u0 u0Var = this.f3239b;
|
||||
if (z4 && !k4.mBeingSaved) {
|
||||
u0Var.i(null, k4.mWho);
|
||||
}
|
||||
if (!z4) {
|
||||
C0166p0 c0166p0 = u0Var.f3247d;
|
||||
if (!((c0166p0.f3202a.containsKey(k4.mWho) && c0166p0.f3205d) ? c0166p0.f3206e : true)) {
|
||||
String str = k4.mTargetWho;
|
||||
if (str != null && (b4 = u0Var.b(str)) != null && b4.mRetainInstance) {
|
||||
k4.mTarget = b4;
|
||||
}
|
||||
k4.mState = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
V v3 = k4.mHost;
|
||||
if (v3 instanceof androidx.lifecycle.D0) {
|
||||
z3 = u0Var.f3247d.f3206e;
|
||||
} else {
|
||||
P p = v3.f3075b;
|
||||
if (p != null) {
|
||||
z3 = true ^ p.isChangingConfigurations();
|
||||
}
|
||||
}
|
||||
if ((z4 && !k4.mBeingSaved) || z3) {
|
||||
u0Var.f3247d.b(k4, false);
|
||||
}
|
||||
k4.performDestroy();
|
||||
this.f3238a.d(k4, false);
|
||||
Iterator it = u0Var.d().iterator();
|
||||
while (it.hasNext()) {
|
||||
t0 t0Var = (t0) it.next();
|
||||
if (t0Var != null) {
|
||||
String str2 = k4.mWho;
|
||||
K k5 = t0Var.f3240c;
|
||||
if (str2.equals(k5.mTargetWho)) {
|
||||
k5.mTarget = k4;
|
||||
k5.mTargetWho = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
String str3 = k4.mTargetWho;
|
||||
if (str3 != null) {
|
||||
k4.mTarget = u0Var.b(str3);
|
||||
}
|
||||
u0Var.h(this);
|
||||
}
|
||||
|
||||
public final void h() {
|
||||
View view;
|
||||
boolean M3 = AbstractC0158l0.M(3);
|
||||
K k4 = this.f3240c;
|
||||
if (M3) {
|
||||
Log.d("FragmentManager", "movefrom CREATE_VIEW: " + k4);
|
||||
}
|
||||
ViewGroup viewGroup = k4.mContainer;
|
||||
if (viewGroup != null && (view = k4.mView) != null) {
|
||||
viewGroup.removeView(view);
|
||||
}
|
||||
k4.performDestroyView();
|
||||
this.f3238a.n(k4, false);
|
||||
k4.mContainer = null;
|
||||
k4.mView = null;
|
||||
k4.mViewLifecycleOwner = null;
|
||||
k4.mViewLifecycleOwnerLiveData.j(null);
|
||||
k4.mInLayout = false;
|
||||
}
|
||||
|
||||
public final void i() {
|
||||
boolean M3 = AbstractC0158l0.M(3);
|
||||
K k4 = this.f3240c;
|
||||
if (M3) {
|
||||
Log.d("FragmentManager", "movefrom ATTACHED: " + k4);
|
||||
}
|
||||
k4.performDetach();
|
||||
this.f3238a.e(k4, false);
|
||||
k4.mState = -1;
|
||||
k4.mHost = null;
|
||||
k4.mParentFragment = null;
|
||||
k4.mFragmentManager = null;
|
||||
if (!k4.mRemoving || k4.isInBackStack()) {
|
||||
C0166p0 c0166p0 = this.f3239b.f3247d;
|
||||
if (!((c0166p0.f3202a.containsKey(k4.mWho) && c0166p0.f3205d) ? c0166p0.f3206e : true)) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (AbstractC0158l0.M(3)) {
|
||||
Log.d("FragmentManager", "initState called for fragment: " + k4);
|
||||
}
|
||||
k4.initState();
|
||||
}
|
||||
|
||||
public final void j() {
|
||||
K k4 = this.f3240c;
|
||||
if (k4.mFromLayout && k4.mInLayout && !k4.mPerformedCreateView) {
|
||||
if (AbstractC0158l0.M(3)) {
|
||||
Log.d("FragmentManager", "moveto CREATE_VIEW: " + k4);
|
||||
}
|
||||
Bundle bundle = k4.mSavedFragmentState;
|
||||
Bundle bundle2 = bundle != null ? bundle.getBundle("savedInstanceState") : null;
|
||||
k4.performCreateView(k4.performGetLayoutInflater(bundle2), null, bundle2);
|
||||
View view = k4.mView;
|
||||
if (view != null) {
|
||||
view.setSaveFromParentEnabled(false);
|
||||
k4.mView.setTag(R.id.fragment_container_view_tag, k4);
|
||||
if (k4.mHidden) {
|
||||
k4.mView.setVisibility(8);
|
||||
}
|
||||
k4.performViewCreated();
|
||||
this.f3238a.m(k4, k4.mView, false);
|
||||
k4.mState = 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* JADX WARN: Code restructure failed: missing block: B:55:0x017f, code lost:
|
||||
|
||||
continue;
|
||||
*/
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public final void k() {
|
||||
/*
|
||||
Method dump skipped, instructions count: 574
|
||||
To view this dump add '--comments-level debug' option
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: androidx.fragment.app.t0.k():void");
|
||||
}
|
||||
|
||||
public final void l(ClassLoader classLoader) {
|
||||
K k4 = this.f3240c;
|
||||
Bundle bundle = k4.mSavedFragmentState;
|
||||
if (bundle == null) {
|
||||
return;
|
||||
}
|
||||
bundle.setClassLoader(classLoader);
|
||||
if (k4.mSavedFragmentState.getBundle("savedInstanceState") == null) {
|
||||
k4.mSavedFragmentState.putBundle("savedInstanceState", new Bundle());
|
||||
}
|
||||
try {
|
||||
k4.mSavedViewState = k4.mSavedFragmentState.getSparseParcelableArray("viewState");
|
||||
k4.mSavedViewRegistryState = k4.mSavedFragmentState.getBundle("viewRegistryState");
|
||||
r0 r0Var = (r0) k4.mSavedFragmentState.getParcelable(RemoteConfigConstants.ResponseFieldKey.STATE);
|
||||
if (r0Var != null) {
|
||||
k4.mTargetWho = r0Var.f3232l;
|
||||
k4.mTargetRequestCode = r0Var.f3233m;
|
||||
Boolean bool = k4.mSavedUserVisibleHint;
|
||||
if (bool != null) {
|
||||
k4.mUserVisibleHint = bool.booleanValue();
|
||||
k4.mSavedUserVisibleHint = null;
|
||||
} else {
|
||||
k4.mUserVisibleHint = r0Var.f3234n;
|
||||
}
|
||||
}
|
||||
if (k4.mUserVisibleHint) {
|
||||
return;
|
||||
}
|
||||
k4.mDeferStart = true;
|
||||
} catch (BadParcelableException e4) {
|
||||
throw new IllegalStateException("Failed to restore view hierarchy state for fragment " + k4, e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void m() {
|
||||
boolean M3 = AbstractC0158l0.M(3);
|
||||
K k4 = this.f3240c;
|
||||
if (M3) {
|
||||
Log.d("FragmentManager", "moveto RESUMED: " + k4);
|
||||
}
|
||||
View focusedView = k4.getFocusedView();
|
||||
if (focusedView != null) {
|
||||
if (focusedView != k4.mView) {
|
||||
for (ViewParent parent = focusedView.getParent(); parent != null; parent = parent.getParent()) {
|
||||
if (parent != k4.mView) {
|
||||
}
|
||||
}
|
||||
}
|
||||
boolean requestFocus = focusedView.requestFocus();
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
StringBuilder sb = new StringBuilder("requestFocus: Restoring focused view ");
|
||||
sb.append(focusedView);
|
||||
sb.append(" ");
|
||||
sb.append(requestFocus ? "succeeded" : "failed");
|
||||
sb.append(" on Fragment ");
|
||||
sb.append(k4);
|
||||
sb.append(" resulting in focused view ");
|
||||
sb.append(k4.mView.findFocus());
|
||||
Log.v("FragmentManager", sb.toString());
|
||||
}
|
||||
}
|
||||
k4.setFocusedView(null);
|
||||
k4.performResume();
|
||||
this.f3238a.i(k4, false);
|
||||
this.f3239b.i(null, k4.mWho);
|
||||
k4.mSavedFragmentState = null;
|
||||
k4.mSavedViewState = null;
|
||||
k4.mSavedViewRegistryState = null;
|
||||
}
|
||||
|
||||
public final Bundle n() {
|
||||
Bundle bundle;
|
||||
Bundle bundle2 = new Bundle();
|
||||
K k4 = this.f3240c;
|
||||
if (k4.mState == -1 && (bundle = k4.mSavedFragmentState) != null) {
|
||||
bundle2.putAll(bundle);
|
||||
}
|
||||
bundle2.putParcelable(RemoteConfigConstants.ResponseFieldKey.STATE, new r0(k4));
|
||||
if (k4.mState > -1) {
|
||||
Bundle bundle3 = new Bundle();
|
||||
k4.performSaveInstanceState(bundle3);
|
||||
if (!bundle3.isEmpty()) {
|
||||
bundle2.putBundle("savedInstanceState", bundle3);
|
||||
}
|
||||
this.f3238a.j(k4, bundle3, false);
|
||||
Bundle bundle4 = new Bundle();
|
||||
k4.mSavedStateRegistryController.c(bundle4);
|
||||
if (!bundle4.isEmpty()) {
|
||||
bundle2.putBundle("registryState", bundle4);
|
||||
}
|
||||
Bundle a02 = k4.mChildFragmentManager.a0();
|
||||
if (!a02.isEmpty()) {
|
||||
bundle2.putBundle("childFragmentManager", a02);
|
||||
}
|
||||
if (k4.mView != null) {
|
||||
o();
|
||||
}
|
||||
SparseArray<Parcelable> sparseArray = k4.mSavedViewState;
|
||||
if (sparseArray != null) {
|
||||
bundle2.putSparseParcelableArray("viewState", sparseArray);
|
||||
}
|
||||
Bundle bundle5 = k4.mSavedViewRegistryState;
|
||||
if (bundle5 != null) {
|
||||
bundle2.putBundle("viewRegistryState", bundle5);
|
||||
}
|
||||
}
|
||||
Bundle bundle6 = k4.mArguments;
|
||||
if (bundle6 != null) {
|
||||
bundle2.putBundle("arguments", bundle6);
|
||||
}
|
||||
return bundle2;
|
||||
}
|
||||
|
||||
public final void o() {
|
||||
K k4 = this.f3240c;
|
||||
if (k4.mView == null) {
|
||||
return;
|
||||
}
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "Saving view state for fragment " + k4 + " with view " + k4.mView);
|
||||
}
|
||||
SparseArray<Parcelable> sparseArray = new SparseArray<>();
|
||||
k4.mView.saveHierarchyState(sparseArray);
|
||||
if (sparseArray.size() > 0) {
|
||||
k4.mSavedViewState = sparseArray;
|
||||
}
|
||||
Bundle bundle = new Bundle();
|
||||
k4.mViewLifecycleOwner.f3002f.c(bundle);
|
||||
if (bundle.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
k4.mSavedViewRegistryState = bundle;
|
||||
}
|
||||
|
||||
public t0(Q q4, u0 u0Var, ClassLoader classLoader, C0142d0 c0142d0, Bundle bundle) {
|
||||
this.f3238a = q4;
|
||||
this.f3239b = u0Var;
|
||||
K a2 = ((r0) bundle.getParcelable(RemoteConfigConstants.ResponseFieldKey.STATE)).a(c0142d0);
|
||||
this.f3240c = a2;
|
||||
a2.mSavedFragmentState = bundle;
|
||||
Bundle bundle2 = bundle.getBundle("arguments");
|
||||
if (bundle2 != null) {
|
||||
bundle2.setClassLoader(classLoader);
|
||||
}
|
||||
a2.setArguments(bundle2);
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "Instantiated fragment " + a2);
|
||||
}
|
||||
}
|
||||
|
||||
public t0(Q q4, u0 u0Var, K k4, Bundle bundle) {
|
||||
this.f3238a = q4;
|
||||
this.f3239b = u0Var;
|
||||
this.f3240c = k4;
|
||||
k4.mSavedViewState = null;
|
||||
k4.mSavedViewRegistryState = null;
|
||||
k4.mBackStackNesting = 0;
|
||||
k4.mInLayout = false;
|
||||
k4.mAdded = false;
|
||||
K k5 = k4.mTarget;
|
||||
k4.mTargetWho = k5 != null ? k5.mWho : null;
|
||||
k4.mTarget = null;
|
||||
k4.mSavedFragmentState = bundle;
|
||||
k4.mArguments = bundle.getBundle("arguments");
|
||||
}
|
||||
}
|
||||
122
apk_decompiled/sources/androidx/fragment/app/u0.java
Normal file
122
apk_decompiled/sources/androidx/fragment/app/u0.java
Normal file
@@ -0,0 +1,122 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.util.Log;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class u0 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final ArrayList f3244a = new ArrayList();
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final HashMap f3245b = new HashMap();
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final HashMap f3246c = new HashMap();
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public C0166p0 f3247d;
|
||||
|
||||
public final void a(K k4) {
|
||||
if (this.f3244a.contains(k4)) {
|
||||
throw new IllegalStateException("Fragment already added: " + k4);
|
||||
}
|
||||
synchronized (this.f3244a) {
|
||||
this.f3244a.add(k4);
|
||||
}
|
||||
k4.mAdded = true;
|
||||
}
|
||||
|
||||
public final K b(String str) {
|
||||
t0 t0Var = (t0) this.f3245b.get(str);
|
||||
if (t0Var != null) {
|
||||
return t0Var.f3240c;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public final K c(String str) {
|
||||
K findFragmentByWho;
|
||||
for (t0 t0Var : this.f3245b.values()) {
|
||||
if (t0Var != null && (findFragmentByWho = t0Var.f3240c.findFragmentByWho(str)) != null) {
|
||||
return findFragmentByWho;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public final ArrayList d() {
|
||||
ArrayList arrayList = new ArrayList();
|
||||
for (t0 t0Var : this.f3245b.values()) {
|
||||
if (t0Var != null) {
|
||||
arrayList.add(t0Var);
|
||||
}
|
||||
}
|
||||
return arrayList;
|
||||
}
|
||||
|
||||
public final ArrayList e() {
|
||||
ArrayList arrayList = new ArrayList();
|
||||
for (t0 t0Var : this.f3245b.values()) {
|
||||
if (t0Var != null) {
|
||||
arrayList.add(t0Var.f3240c);
|
||||
} else {
|
||||
arrayList.add(null);
|
||||
}
|
||||
}
|
||||
return arrayList;
|
||||
}
|
||||
|
||||
public final List f() {
|
||||
ArrayList arrayList;
|
||||
if (this.f3244a.isEmpty()) {
|
||||
return Collections.EMPTY_LIST;
|
||||
}
|
||||
synchronized (this.f3244a) {
|
||||
arrayList = new ArrayList(this.f3244a);
|
||||
}
|
||||
return arrayList;
|
||||
}
|
||||
|
||||
public final void g(t0 t0Var) {
|
||||
K k4 = t0Var.f3240c;
|
||||
String str = k4.mWho;
|
||||
HashMap hashMap = this.f3245b;
|
||||
if (hashMap.get(str) != null) {
|
||||
return;
|
||||
}
|
||||
hashMap.put(k4.mWho, t0Var);
|
||||
if (k4.mRetainInstanceChangedWhileDetached) {
|
||||
if (k4.mRetainInstance) {
|
||||
this.f3247d.a(k4);
|
||||
} else {
|
||||
this.f3247d.g(k4);
|
||||
}
|
||||
k4.mRetainInstanceChangedWhileDetached = false;
|
||||
}
|
||||
if (AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "Added fragment to active set " + k4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void h(t0 t0Var) {
|
||||
K k4 = t0Var.f3240c;
|
||||
if (k4.mRetainInstance) {
|
||||
this.f3247d.g(k4);
|
||||
}
|
||||
HashMap hashMap = this.f3245b;
|
||||
if (hashMap.get(k4.mWho) == t0Var && ((t0) hashMap.put(k4.mWho, null)) != null && AbstractC0158l0.M(2)) {
|
||||
Log.v("FragmentManager", "Removed fragment from active set " + k4);
|
||||
}
|
||||
}
|
||||
|
||||
public final Bundle i(Bundle bundle, String str) {
|
||||
HashMap hashMap = this.f3246c;
|
||||
return bundle != null ? (Bundle) hashMap.put(str, bundle) : (Bundle) hashMap.remove(str);
|
||||
}
|
||||
}
|
||||
44
apk_decompiled/sources/androidx/fragment/app/v0.java
Normal file
44
apk_decompiled/sources/androidx/fragment/app/v0.java
Normal file
@@ -0,0 +1,44 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class v0 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public int f3249a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public K f3250b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public boolean f3251c = false;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public int f3252d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public int f3253e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public int f3254f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public int f3255g;
|
||||
public androidx.lifecycle.B h;
|
||||
public androidx.lifecycle.B i;
|
||||
|
||||
public v0(K k4, int i) {
|
||||
this.f3249a = i;
|
||||
this.f3250b = k4;
|
||||
androidx.lifecycle.B b4 = androidx.lifecycle.B.f3284e;
|
||||
this.h = b4;
|
||||
this.i = b4;
|
||||
}
|
||||
|
||||
public v0(K k4, int i, int i4) {
|
||||
this.f3249a = i;
|
||||
this.f3250b = k4;
|
||||
androidx.lifecycle.B b4 = androidx.lifecycle.B.f3284e;
|
||||
this.h = b4;
|
||||
this.i = b4;
|
||||
}
|
||||
}
|
||||
59
apk_decompiled/sources/androidx/fragment/app/w0.java
Normal file
59
apk_decompiled/sources/androidx/fragment/app/w0.java
Normal file
@@ -0,0 +1,59 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class w0 {
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public int f3258b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public int f3259c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public int f3260d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public int f3261e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public int f3262f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public boolean f3263g;
|
||||
public String i;
|
||||
|
||||
/* renamed from: j, reason: collision with root package name */
|
||||
public int f3264j;
|
||||
|
||||
/* renamed from: k, reason: collision with root package name */
|
||||
public CharSequence f3265k;
|
||||
|
||||
/* renamed from: l, reason: collision with root package name */
|
||||
public int f3266l;
|
||||
|
||||
/* renamed from: m, reason: collision with root package name */
|
||||
public CharSequence f3267m;
|
||||
|
||||
/* renamed from: n, reason: collision with root package name */
|
||||
public ArrayList f3268n;
|
||||
|
||||
/* renamed from: o, reason: collision with root package name */
|
||||
public ArrayList f3269o;
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final ArrayList f3257a = new ArrayList();
|
||||
public boolean h = true;
|
||||
public boolean p = false;
|
||||
|
||||
public final void b(v0 v0Var) {
|
||||
this.f3257a.add(v0Var);
|
||||
v0Var.f3252d = this.f3258b;
|
||||
v0Var.f3253e = this.f3259c;
|
||||
v0Var.f3254f = this.f3260d;
|
||||
v0Var.f3255g = this.f3261e;
|
||||
}
|
||||
|
||||
public abstract void c(int i, K k4, String str, int i4);
|
||||
}
|
||||
37
apk_decompiled/sources/androidx/fragment/app/x0.java
Normal file
37
apk_decompiled/sources/androidx/fragment/app/x0.java
Normal file
@@ -0,0 +1,37 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import B0.C0036n;
|
||||
import android.view.View;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class x0 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public static final C0 f3272a = new Object();
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public static final E0 f3273b;
|
||||
|
||||
/* JADX WARN: Type inference failed for: r0v0, types: [java.lang.Object, androidx.fragment.app.C0] */
|
||||
static {
|
||||
E0 e02;
|
||||
try {
|
||||
Intrinsics.checkNotNull(C0036n.class, "null cannot be cast to non-null type java.lang.Class<androidx.fragment.app.FragmentTransitionImpl>");
|
||||
e02 = (E0) C0036n.class.getDeclaredConstructor(new Class[0]).newInstance(new Object[0]);
|
||||
} catch (Exception unused) {
|
||||
e02 = null;
|
||||
}
|
||||
f3273b = e02;
|
||||
}
|
||||
|
||||
public static final void a(int i, ArrayList views) {
|
||||
Intrinsics.checkNotNullParameter(views, "views");
|
||||
Iterator it = views.iterator();
|
||||
while (it.hasNext()) {
|
||||
((View) it.next()).setVisibility(i);
|
||||
}
|
||||
}
|
||||
}
|
||||
33
apk_decompiled/sources/androidx/fragment/app/y0.java
Normal file
33
apk_decompiled/sources/androidx/fragment/app/y0.java
Normal file
@@ -0,0 +1,33 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.graphics.Rect;
|
||||
import android.transition.Transition;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class y0 extends Transition.EpicenterCallback {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f3274a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ Rect f3275b;
|
||||
|
||||
public /* synthetic */ y0(int i, Rect rect) {
|
||||
this.f3274a = i;
|
||||
this.f3275b = rect;
|
||||
}
|
||||
|
||||
@Override // android.transition.Transition.EpicenterCallback
|
||||
public final Rect onGetEpicenter(Transition transition) {
|
||||
switch (this.f3274a) {
|
||||
case 0:
|
||||
return this.f3275b;
|
||||
default:
|
||||
Rect rect = this.f3275b;
|
||||
if (rect == null || rect.isEmpty()) {
|
||||
return null;
|
||||
}
|
||||
return rect;
|
||||
}
|
||||
}
|
||||
}
|
||||
49
apk_decompiled/sources/androidx/fragment/app/z0.java
Normal file
49
apk_decompiled/sources/androidx/fragment/app/z0.java
Normal file
@@ -0,0 +1,49 @@
|
||||
package androidx.fragment.app;
|
||||
|
||||
import android.transition.Transition;
|
||||
import android.view.View;
|
||||
import java.util.ArrayList;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class z0 implements Transition.TransitionListener {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ View f3278a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ ArrayList f3279b;
|
||||
|
||||
public z0(View view, ArrayList arrayList) {
|
||||
this.f3278a = view;
|
||||
this.f3279b = arrayList;
|
||||
}
|
||||
|
||||
@Override // android.transition.Transition.TransitionListener
|
||||
public final void onTransitionCancel(Transition transition) {
|
||||
}
|
||||
|
||||
@Override // android.transition.Transition.TransitionListener
|
||||
public final void onTransitionEnd(Transition transition) {
|
||||
transition.removeListener(this);
|
||||
this.f3278a.setVisibility(8);
|
||||
ArrayList arrayList = this.f3279b;
|
||||
int size = arrayList.size();
|
||||
for (int i = 0; i < size; i++) {
|
||||
((View) arrayList.get(i)).setVisibility(0);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.transition.Transition.TransitionListener
|
||||
public final void onTransitionPause(Transition transition) {
|
||||
}
|
||||
|
||||
@Override // android.transition.Transition.TransitionListener
|
||||
public final void onTransitionResume(Transition transition) {
|
||||
}
|
||||
|
||||
@Override // android.transition.Transition.TransitionListener
|
||||
public final void onTransitionStart(Transition transition) {
|
||||
transition.removeListener(this);
|
||||
transition.addListener(this);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user