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,81 @@
package com.facebook.ads;
import android.content.Context;
import android.view.View;
import androidx.annotation.Keep;
import androidx.annotation.Nullable;
import com.facebook.ads.internal.api.NativeAdViewTypeApi;
import com.facebook.ads.internal.dynamicloading.DynamicLoaderFactory;
import com.facebook.ads.internal.util.common.Preconditions;
@Keep
/* loaded from: classes2.dex */
public class NativeAdView {
public static View render(Context context, NativeAd nativeAd) {
Preconditions.checkNotNull(context, "context must be not null");
Preconditions.checkNotNull(nativeAd, "nativeAd must be not null");
return DynamicLoaderFactory.makeLoader(context).createNativeAdViewApi().render(context, nativeAd);
}
public static View render(Context context, NativeAd nativeAd, @Nullable NativeAdViewAttributes nativeAdViewAttributes) {
Preconditions.checkNotNull(context, "context must be not null");
Preconditions.checkNotNull(nativeAd, "nativeAd must be not null");
return DynamicLoaderFactory.makeLoader(context).createNativeAdViewApi().render(context, nativeAd, nativeAdViewAttributes);
}
@Deprecated
public static View render(Context context, NativeAd nativeAd, Type type) {
Preconditions.checkNotNull(context, "context must be not null");
Preconditions.checkNotNull(nativeAd, "nativeAd must be not null");
return DynamicLoaderFactory.makeLoader(context).createNativeAdViewApi().render(context, nativeAd, type);
}
@Deprecated
public static View render(Context context, NativeAd nativeAd, Type type, @Nullable NativeAdViewAttributes nativeAdViewAttributes) {
Preconditions.checkNotNull(context, "context must be not null");
Preconditions.checkNotNull(nativeAd, "nativeAd must be not null");
Preconditions.checkNotNull(type, "type must be not null");
return DynamicLoaderFactory.makeLoader(context).createNativeAdViewApi().render(context, nativeAd, type, nativeAdViewAttributes);
}
@Keep
@Deprecated
public enum Type {
HEIGHT_300(2),
HEIGHT_400(3);
private final int mEnumCode;
private NativeAdViewTypeApi mNativeAdViewTypeApi;
public int getEnumCode() {
return this.mEnumCode;
}
@Deprecated
Type(int i) {
this.mEnumCode = i;
}
@Deprecated
public int getWidth() {
return getNativeAdViewTypeApi(this.mEnumCode).getWidth();
}
@Deprecated
public int getHeight() {
return getNativeAdViewTypeApi(this.mEnumCode).getHeight();
}
@Deprecated
public int getValue() {
return getNativeAdViewTypeApi(this.mEnumCode).getValue();
}
private NativeAdViewTypeApi getNativeAdViewTypeApi(int i) {
if (this.mNativeAdViewTypeApi == null) {
this.mNativeAdViewTypeApi = DynamicLoaderFactory.makeLoaderUnsafe().createNativeAdViewTypeApi(i);
}
return this.mNativeAdViewTypeApi;
}
}
}