Files
rr3-apk/decompiled-community/sources/androidx/core/widget/PopupWindowCompat.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- Added realracing3-community.apk (71.57 MB)
- Removed 32-bit support (armeabi-v7a)
- Only includes arm64-v8a libraries
- Decompiled source code included
- Added README-community.md with analysis
2026-02-18 15:48:36 -08:00

68 lines
2.2 KiB
Java

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();
}
}
}