Add decompiled APK source code (JADX)

- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,75 @@
package com.iab.omid.library.vungle.utils;
import android.app.Activity;
import android.content.Context;
import android.content.ContextWrapper;
import android.view.View;
/* loaded from: classes2.dex */
public final class h {
public static String a(View view) {
if (!view.isAttachedToWindow()) {
return "notAttached";
}
int visibility = view.getVisibility();
if (visibility == 8) {
return "viewGone";
}
if (visibility == 4) {
return "viewInvisible";
}
if (visibility != 0) {
return "viewNotVisible";
}
if (view.getAlpha() == 0.0f) {
return "viewAlphaZero";
}
return null;
}
public static Activity b(View view) {
for (Context context = view.getContext(); context instanceof ContextWrapper; context = ((ContextWrapper) context).getBaseContext()) {
if (context instanceof Activity) {
return (Activity) context;
}
}
return null;
}
public static View c(View view) {
Object parent = view.getParent();
if (parent instanceof View) {
return (View) parent;
}
return null;
}
public static float d(View view) {
return view.getZ();
}
public static boolean e(View view) {
Activity b = b(view);
if (b != null) {
return b.isInPictureInPictureMode();
}
return false;
}
public static boolean f(View view) {
return a(view) == null;
}
public static boolean g(View view) {
if (!view.isAttachedToWindow() || !view.isShown()) {
return false;
}
while (view != null) {
if (view.getAlpha() == 0.0f) {
return false;
}
view = c(view);
}
return true;
}
}