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,67 @@
package androidx.core.widget;
import android.view.View;
import android.widget.PopupWindow;
import androidx.annotation.NonNull;
import androidx.annotation.ReplaceWith;
import androidx.annotation.RequiresApi;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
/* loaded from: classes.dex */
public final class PopupWindowCompat {
private static final String TAG = "PopupWindowCompatApi21";
private static Method sGetWindowLayoutTypeMethod;
private static boolean sGetWindowLayoutTypeMethodAttempted;
private static Field sOverlapAnchorField;
private static boolean sOverlapAnchorFieldAttempted;
private static Method sSetWindowLayoutTypeMethod;
private static boolean sSetWindowLayoutTypeMethodAttempted;
private PopupWindowCompat() {
}
@ReplaceWith(expression = "popup.showAsDropDown(anchor, xoff, yoff, gravity)")
@Deprecated
public static void showAsDropDown(@NonNull PopupWindow popupWindow, @NonNull View view, int i, int i2, int i3) {
popupWindow.showAsDropDown(view, i, i2, i3);
}
public static void setOverlapAnchor(@NonNull PopupWindow popupWindow, boolean z) {
Api23Impl.setOverlapAnchor(popupWindow, z);
}
public static boolean getOverlapAnchor(@NonNull PopupWindow popupWindow) {
return Api23Impl.getOverlapAnchor(popupWindow);
}
public static void setWindowLayoutType(@NonNull PopupWindow popupWindow, int i) {
Api23Impl.setWindowLayoutType(popupWindow, i);
}
public static int getWindowLayoutType(@NonNull PopupWindow popupWindow) {
return Api23Impl.getWindowLayoutType(popupWindow);
}
@RequiresApi(23)
public static class Api23Impl {
private Api23Impl() {
}
public static void setOverlapAnchor(PopupWindow popupWindow, boolean z) {
popupWindow.setOverlapAnchor(z);
}
public static boolean getOverlapAnchor(PopupWindow popupWindow) {
return popupWindow.getOverlapAnchor();
}
public static void setWindowLayoutType(PopupWindow popupWindow, int i) {
popupWindow.setWindowLayoutType(i);
}
public static int getWindowLayoutType(PopupWindow popupWindow) {
return popupWindow.getWindowLayoutType();
}
}
}