package o; import android.view.View; import androidx.core.app.SharedElementCallback; import androidx.fragment.app.Fragment; import java.util.ArrayList; /* renamed from: o.oNE, reason: case insensitive filesystem */ /* loaded from: classes.dex */ final class C16432oNE { static final AbstractC12179etN d = new Amf(); static final AbstractC12179etN b = d(); private static AbstractC12179etN d() { try { return (AbstractC12179etN) Class.forName("o.ffz").getDeclaredConstructor(new Class[0]).newInstance(new Object[0]); } catch (Exception unused) { return null; } } /* JADX INFO: Access modifiers changed from: package-private */ public static String a(nyh nyhVar, String str) { int size = nyhVar.size(); for (int i = 0; i < size; i++) { int i2 = i << 1; if (str.equals(nyhVar.e[i2 + 1])) { return (String) nyhVar.e[i2]; } } return null; } /* JADX INFO: Access modifiers changed from: package-private */ public static void e(nyh nyhVar, nyh nyhVar2) { for (int size = nyhVar.size() - 1; size >= 0; size--) { if (!nyhVar2.containsKey((String) nyhVar.e[(size << 1) + 1])) { nyhVar.c(size); } } } /* JADX INFO: Access modifiers changed from: package-private */ public static void c(Fragment fragment, Fragment fragment2, boolean z, nyh nyhVar) { SharedElementCallback enterTransitionCallback; if (z) { enterTransitionCallback = fragment2.getEnterTransitionCallback(); } else { enterTransitionCallback = fragment.getEnterTransitionCallback(); } if (enterTransitionCallback != null) { ArrayList arrayList = new ArrayList(); ArrayList arrayList2 = new ArrayList(); int size = nyhVar == null ? 0 : nyhVar.size(); for (int i = 0; i < size; i++) { int i2 = i << 1; arrayList2.add((String) nyhVar.e[i2]); arrayList.add((View) nyhVar.e[i2 + 1]); } } } /* JADX INFO: Access modifiers changed from: package-private */ public static void b(ArrayList arrayList, int i) { if (arrayList == null) { return; } for (int size = arrayList.size() - 1; size >= 0; size--) { arrayList.get(size).setVisibility(i); } } }