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,428 @@
package com.facebook.ads.internal.api;
import android.annotation.SuppressLint;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.view.ViewGroup;
import android.widget.FrameLayout;
import androidx.annotation.Keep;
import androidx.annotation.Nullable;
import androidx.annotation.RequiresApi;
import androidx.annotation.UiThread;
import com.facebook.ads.internal.dynamicloading.DynamicLoaderFactory;
@Keep
@UiThread
/* loaded from: classes2.dex */
public abstract class AdComponentFrameLayout extends FrameLayout implements AdComponentView {
@Nullable
private AdComponentViewApi mAdComponentViewApi;
private final AdComponentViewParentApi mAdComponentViewParentApi;
public AdComponentFrameLayout(Context context) {
super(context);
this.mAdComponentViewParentApi = new AdComponentViewParentApi() { // from class: com.facebook.ads.internal.api.AdComponentFrameLayout.1
@Override // com.facebook.ads.internal.api.AdComponentView
public void setLayoutParams(ViewGroup.LayoutParams layoutParams) {
AdComponentFrameLayout.super.setLayoutParams(layoutParams);
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void onMeasure(int i, int i2) {
AdComponentFrameLayout.super.onMeasure(i, i2);
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void onAttachedToWindow() {
AdComponentFrameLayout.super.onAttachedToWindow();
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void onDetachedFromWindow() {
AdComponentFrameLayout.super.onDetachedFromWindow();
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void setMeasuredDimension(int i, int i2) {
AdComponentFrameLayout.super.setMeasuredDimension(i, i2);
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void bringChildToFront(View view) {
AdComponentFrameLayout.super.bringChildToFront(view);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void onWindowFocusChanged(boolean z) {
AdComponentFrameLayout.super.onWindowFocusChanged(z);
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void onVisibilityChanged(View view, int i) {
AdComponentFrameLayout.super.onVisibilityChanged(view, i);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void addView(View view, int i, ViewGroup.LayoutParams layoutParams) {
AdComponentFrameLayout.super.addView(view, i, layoutParams);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void addView(View view) {
AdComponentFrameLayout.super.addView(view);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void addView(View view, int i) {
AdComponentFrameLayout.super.addView(view, i);
}
@Override // com.facebook.ads.internal.api.AdComponentView, android.view.ViewManager
public void addView(View view, ViewGroup.LayoutParams layoutParams) {
AdComponentFrameLayout.super.addView(view, layoutParams);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void addView(View view, int i, int i2) {
AdComponentFrameLayout.super.addView(view, i, i2);
}
};
}
public AdComponentFrameLayout(Context context, @Nullable AttributeSet attributeSet) {
super(context, attributeSet);
this.mAdComponentViewParentApi = new AdComponentViewParentApi() { // from class: com.facebook.ads.internal.api.AdComponentFrameLayout.1
@Override // com.facebook.ads.internal.api.AdComponentView
public void setLayoutParams(ViewGroup.LayoutParams layoutParams) {
AdComponentFrameLayout.super.setLayoutParams(layoutParams);
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void onMeasure(int i, int i2) {
AdComponentFrameLayout.super.onMeasure(i, i2);
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void onAttachedToWindow() {
AdComponentFrameLayout.super.onAttachedToWindow();
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void onDetachedFromWindow() {
AdComponentFrameLayout.super.onDetachedFromWindow();
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void setMeasuredDimension(int i, int i2) {
AdComponentFrameLayout.super.setMeasuredDimension(i, i2);
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void bringChildToFront(View view) {
AdComponentFrameLayout.super.bringChildToFront(view);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void onWindowFocusChanged(boolean z) {
AdComponentFrameLayout.super.onWindowFocusChanged(z);
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void onVisibilityChanged(View view, int i) {
AdComponentFrameLayout.super.onVisibilityChanged(view, i);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void addView(View view, int i, ViewGroup.LayoutParams layoutParams) {
AdComponentFrameLayout.super.addView(view, i, layoutParams);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void addView(View view) {
AdComponentFrameLayout.super.addView(view);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void addView(View view, int i) {
AdComponentFrameLayout.super.addView(view, i);
}
@Override // com.facebook.ads.internal.api.AdComponentView, android.view.ViewManager
public void addView(View view, ViewGroup.LayoutParams layoutParams) {
AdComponentFrameLayout.super.addView(view, layoutParams);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void addView(View view, int i, int i2) {
AdComponentFrameLayout.super.addView(view, i, i2);
}
};
}
public AdComponentFrameLayout(Context context, @Nullable AttributeSet attributeSet, int i) {
super(context, attributeSet, i);
this.mAdComponentViewParentApi = new AdComponentViewParentApi() { // from class: com.facebook.ads.internal.api.AdComponentFrameLayout.1
@Override // com.facebook.ads.internal.api.AdComponentView
public void setLayoutParams(ViewGroup.LayoutParams layoutParams) {
AdComponentFrameLayout.super.setLayoutParams(layoutParams);
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void onMeasure(int i2, int i22) {
AdComponentFrameLayout.super.onMeasure(i2, i22);
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void onAttachedToWindow() {
AdComponentFrameLayout.super.onAttachedToWindow();
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void onDetachedFromWindow() {
AdComponentFrameLayout.super.onDetachedFromWindow();
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void setMeasuredDimension(int i2, int i22) {
AdComponentFrameLayout.super.setMeasuredDimension(i2, i22);
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void bringChildToFront(View view) {
AdComponentFrameLayout.super.bringChildToFront(view);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void onWindowFocusChanged(boolean z) {
AdComponentFrameLayout.super.onWindowFocusChanged(z);
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void onVisibilityChanged(View view, int i2) {
AdComponentFrameLayout.super.onVisibilityChanged(view, i2);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void addView(View view, int i2, ViewGroup.LayoutParams layoutParams) {
AdComponentFrameLayout.super.addView(view, i2, layoutParams);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void addView(View view) {
AdComponentFrameLayout.super.addView(view);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void addView(View view, int i2) {
AdComponentFrameLayout.super.addView(view, i2);
}
@Override // com.facebook.ads.internal.api.AdComponentView, android.view.ViewManager
public void addView(View view, ViewGroup.LayoutParams layoutParams) {
AdComponentFrameLayout.super.addView(view, layoutParams);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void addView(View view, int i2, int i22) {
AdComponentFrameLayout.super.addView(view, i2, i22);
}
};
}
@RequiresApi(api = 21)
public AdComponentFrameLayout(Context context, @Nullable AttributeSet attributeSet, int i, int i2) {
super(context, attributeSet, i, i2);
this.mAdComponentViewParentApi = new AdComponentViewParentApi() { // from class: com.facebook.ads.internal.api.AdComponentFrameLayout.1
@Override // com.facebook.ads.internal.api.AdComponentView
public void setLayoutParams(ViewGroup.LayoutParams layoutParams) {
AdComponentFrameLayout.super.setLayoutParams(layoutParams);
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void onMeasure(int i22, int i222) {
AdComponentFrameLayout.super.onMeasure(i22, i222);
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void onAttachedToWindow() {
AdComponentFrameLayout.super.onAttachedToWindow();
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void onDetachedFromWindow() {
AdComponentFrameLayout.super.onDetachedFromWindow();
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void setMeasuredDimension(int i22, int i222) {
AdComponentFrameLayout.super.setMeasuredDimension(i22, i222);
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void bringChildToFront(View view) {
AdComponentFrameLayout.super.bringChildToFront(view);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void onWindowFocusChanged(boolean z) {
AdComponentFrameLayout.super.onWindowFocusChanged(z);
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void onVisibilityChanged(View view, int i22) {
AdComponentFrameLayout.super.onVisibilityChanged(view, i22);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void addView(View view, int i22, ViewGroup.LayoutParams layoutParams) {
AdComponentFrameLayout.super.addView(view, i22, layoutParams);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void addView(View view) {
AdComponentFrameLayout.super.addView(view);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void addView(View view, int i22) {
AdComponentFrameLayout.super.addView(view, i22);
}
@Override // com.facebook.ads.internal.api.AdComponentView, android.view.ViewManager
public void addView(View view, ViewGroup.LayoutParams layoutParams) {
AdComponentFrameLayout.super.addView(view, layoutParams);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void addView(View view, int i22, int i222) {
AdComponentFrameLayout.super.addView(view, i22, i222);
}
};
}
public void attachAdComponentViewApi(AdComponentViewApiProvider adComponentViewApiProvider) {
if (DynamicLoaderFactory.isFallbackMode()) {
return;
}
if (this.mAdComponentViewApi == null) {
adComponentViewApiProvider.getAdComponentViewApi().onAttachedToView(this, this.mAdComponentViewParentApi);
this.mAdComponentViewApi = adComponentViewApiProvider.getAdComponentViewApi();
return;
}
throw new IllegalStateException("AdComponentViewApi can't be attached more then once.");
}
@Override // android.view.ViewGroup, com.facebook.ads.internal.api.AdComponentView
public void addView(View view) {
AdComponentViewApi adComponentViewApi = this.mAdComponentViewApi;
if (adComponentViewApi != null) {
adComponentViewApi.addView(view);
} else {
super.addView(view);
}
}
@Override // android.view.ViewGroup, com.facebook.ads.internal.api.AdComponentView
public void addView(View view, int i) {
AdComponentViewApi adComponentViewApi = this.mAdComponentViewApi;
if (adComponentViewApi != null) {
adComponentViewApi.addView(view, i);
} else {
super.addView(view, i);
}
}
@Override // android.view.ViewGroup, android.view.ViewManager, com.facebook.ads.internal.api.AdComponentView
public void addView(View view, ViewGroup.LayoutParams layoutParams) {
AdComponentViewApi adComponentViewApi = this.mAdComponentViewApi;
if (adComponentViewApi != null) {
adComponentViewApi.addView(view, layoutParams);
} else {
super.addView(view, layoutParams);
}
}
@Override // android.view.ViewGroup, com.facebook.ads.internal.api.AdComponentView
public void addView(View view, int i, int i2) {
AdComponentViewApi adComponentViewApi = this.mAdComponentViewApi;
if (adComponentViewApi != null) {
adComponentViewApi.addView(view, i, i2);
} else {
super.addView(view, i, i2);
}
}
@Override // android.view.ViewGroup, com.facebook.ads.internal.api.AdComponentView
public void addView(View view, int i, ViewGroup.LayoutParams layoutParams) {
AdComponentViewApi adComponentViewApi = this.mAdComponentViewApi;
if (adComponentViewApi != null) {
adComponentViewApi.addView(view, i, layoutParams);
} else {
super.addView(view, i, layoutParams);
}
}
@Override // android.view.View, com.facebook.ads.internal.api.AdComponentView
public void setLayoutParams(ViewGroup.LayoutParams layoutParams) {
AdComponentViewApi adComponentViewApi = this.mAdComponentViewApi;
if (adComponentViewApi != null) {
adComponentViewApi.setLayoutParams(layoutParams);
} else {
super.setLayoutParams(layoutParams);
}
}
@Override // android.widget.FrameLayout, android.view.View
public void onMeasure(int i, int i2) {
AdComponentViewApi adComponentViewApi = this.mAdComponentViewApi;
if (adComponentViewApi != null) {
adComponentViewApi.onMeasure(i, i2);
} else {
super.onMeasure(i, i2);
}
}
@Override // android.view.View
public void onVisibilityChanged(View view, int i) {
AdComponentViewApi adComponentViewApi = this.mAdComponentViewApi;
if (adComponentViewApi != null) {
adComponentViewApi.onVisibilityChanged(view, i);
} else {
super.onVisibilityChanged(view, i);
}
}
@Override // android.view.View, com.facebook.ads.internal.api.AdComponentView
public void onWindowFocusChanged(boolean z) {
AdComponentViewApi adComponentViewApi = this.mAdComponentViewApi;
if (adComponentViewApi != null) {
adComponentViewApi.onWindowFocusChanged(z);
} else {
super.onWindowFocusChanged(z);
}
}
@Override // android.view.ViewGroup, android.view.View
@SuppressLint({"MissingSuperCall"})
public void onAttachedToWindow() {
AdComponentViewApi adComponentViewApi = this.mAdComponentViewApi;
if (adComponentViewApi != null) {
adComponentViewApi.onAttachedToWindow();
} else {
super.onAttachedToWindow();
}
}
@Override // android.view.ViewGroup, android.view.View
@SuppressLint({"MissingSuperCall"})
public void onDetachedFromWindow() {
AdComponentViewApi adComponentViewApi = this.mAdComponentViewApi;
if (adComponentViewApi != null) {
adComponentViewApi.onDetachedFromWindow();
} else {
super.onDetachedFromWindow();
}
}
}

View File

@@ -0,0 +1,25 @@
package com.facebook.ads.internal.api;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.Keep;
import androidx.annotation.UiThread;
@Keep
@UiThread
/* loaded from: classes2.dex */
public interface AdComponentView {
void addView(View view);
void addView(View view, int i);
void addView(View view, int i, int i2);
void addView(View view, int i, ViewGroup.LayoutParams layoutParams);
void addView(View view, ViewGroup.LayoutParams layoutParams);
void onWindowFocusChanged(boolean z);
void setLayoutParams(ViewGroup.LayoutParams layoutParams);
}

View File

@@ -0,0 +1,11 @@
package com.facebook.ads.internal.api;
import androidx.annotation.Keep;
import androidx.annotation.UiThread;
@Keep
@UiThread
/* loaded from: classes2.dex */
public interface AdComponentViewApi extends AdComponentViewParentApi {
void onAttachedToView(AdComponentView adComponentView, AdComponentViewParentApi adComponentViewParentApi);
}

View File

@@ -0,0 +1,11 @@
package com.facebook.ads.internal.api;
import androidx.annotation.Keep;
import androidx.annotation.UiThread;
@Keep
@UiThread
/* loaded from: classes2.dex */
public interface AdComponentViewApiProvider {
AdComponentViewApi getAdComponentViewApi();
}

View File

@@ -0,0 +1,22 @@
package com.facebook.ads.internal.api;
import android.view.View;
import androidx.annotation.Keep;
import androidx.annotation.UiThread;
@Keep
@UiThread
/* loaded from: classes2.dex */
public interface AdComponentViewParentApi extends AdComponentView {
void bringChildToFront(View view);
void onAttachedToWindow();
void onDetachedFromWindow();
void onMeasure(int i, int i2);
void onVisibilityChanged(View view, int i);
void setMeasuredDimension(int i, int i2);
}

View File

@@ -0,0 +1,438 @@
package com.facebook.ads.internal.api;
import android.annotation.SuppressLint;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.view.ViewGroup;
import android.widget.RelativeLayout;
import androidx.annotation.Keep;
import androidx.annotation.Nullable;
import androidx.annotation.RequiresApi;
import com.facebook.ads.internal.dynamicloading.DynamicLoaderFactory;
@Keep
/* loaded from: classes2.dex */
public abstract class AdNativeComponentView extends RelativeLayout implements AdComponentView {
@Nullable
protected AdComponentViewApi mAdComponentViewApi;
private final AdComponentViewParentApi mAdComponentViewParentApi;
public abstract View getAdContentsView();
public AdNativeComponentView(Context context) {
super(context);
this.mAdComponentViewParentApi = new AdComponentViewParentApi() { // from class: com.facebook.ads.internal.api.AdNativeComponentView.1
@Override // com.facebook.ads.internal.api.AdComponentView
public void setLayoutParams(ViewGroup.LayoutParams layoutParams) {
AdNativeComponentView.super.setLayoutParams(layoutParams);
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void onMeasure(int i, int i2) {
AdNativeComponentView.super.onMeasure(i, i2);
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void setMeasuredDimension(int i, int i2) {
AdNativeComponentView.super.setMeasuredDimension(i, i2);
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void onAttachedToWindow() {
AdNativeComponentView.super.onAttachedToWindow();
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void onDetachedFromWindow() {
AdNativeComponentView.super.onDetachedFromWindow();
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void bringChildToFront(View view) {
AdNativeComponentView.super.bringChildToFront(view);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void onWindowFocusChanged(boolean z) {
AdNativeComponentView.super.onWindowFocusChanged(z);
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void onVisibilityChanged(View view, int i) {
AdNativeComponentView.super.onVisibilityChanged(view, i);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void addView(View view, int i, ViewGroup.LayoutParams layoutParams) {
AdNativeComponentView.super.addView(view, i, layoutParams);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void addView(View view) {
AdNativeComponentView.super.addView(view);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void addView(View view, int i) {
AdNativeComponentView.super.addView(view, i);
}
@Override // com.facebook.ads.internal.api.AdComponentView, android.view.ViewManager
public void addView(View view, ViewGroup.LayoutParams layoutParams) {
AdNativeComponentView.super.addView(view, layoutParams);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void addView(View view, int i, int i2) {
AdNativeComponentView.super.addView(view, i, i2);
}
};
}
public AdNativeComponentView(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
this.mAdComponentViewParentApi = new AdComponentViewParentApi() { // from class: com.facebook.ads.internal.api.AdNativeComponentView.1
@Override // com.facebook.ads.internal.api.AdComponentView
public void setLayoutParams(ViewGroup.LayoutParams layoutParams) {
AdNativeComponentView.super.setLayoutParams(layoutParams);
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void onMeasure(int i, int i2) {
AdNativeComponentView.super.onMeasure(i, i2);
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void setMeasuredDimension(int i, int i2) {
AdNativeComponentView.super.setMeasuredDimension(i, i2);
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void onAttachedToWindow() {
AdNativeComponentView.super.onAttachedToWindow();
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void onDetachedFromWindow() {
AdNativeComponentView.super.onDetachedFromWindow();
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void bringChildToFront(View view) {
AdNativeComponentView.super.bringChildToFront(view);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void onWindowFocusChanged(boolean z) {
AdNativeComponentView.super.onWindowFocusChanged(z);
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void onVisibilityChanged(View view, int i) {
AdNativeComponentView.super.onVisibilityChanged(view, i);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void addView(View view, int i, ViewGroup.LayoutParams layoutParams) {
AdNativeComponentView.super.addView(view, i, layoutParams);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void addView(View view) {
AdNativeComponentView.super.addView(view);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void addView(View view, int i) {
AdNativeComponentView.super.addView(view, i);
}
@Override // com.facebook.ads.internal.api.AdComponentView, android.view.ViewManager
public void addView(View view, ViewGroup.LayoutParams layoutParams) {
AdNativeComponentView.super.addView(view, layoutParams);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void addView(View view, int i, int i2) {
AdNativeComponentView.super.addView(view, i, i2);
}
};
}
public AdNativeComponentView(Context context, AttributeSet attributeSet, int i) {
super(context, attributeSet, i);
this.mAdComponentViewParentApi = new AdComponentViewParentApi() { // from class: com.facebook.ads.internal.api.AdNativeComponentView.1
@Override // com.facebook.ads.internal.api.AdComponentView
public void setLayoutParams(ViewGroup.LayoutParams layoutParams) {
AdNativeComponentView.super.setLayoutParams(layoutParams);
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void onMeasure(int i2, int i22) {
AdNativeComponentView.super.onMeasure(i2, i22);
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void setMeasuredDimension(int i2, int i22) {
AdNativeComponentView.super.setMeasuredDimension(i2, i22);
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void onAttachedToWindow() {
AdNativeComponentView.super.onAttachedToWindow();
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void onDetachedFromWindow() {
AdNativeComponentView.super.onDetachedFromWindow();
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void bringChildToFront(View view) {
AdNativeComponentView.super.bringChildToFront(view);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void onWindowFocusChanged(boolean z) {
AdNativeComponentView.super.onWindowFocusChanged(z);
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void onVisibilityChanged(View view, int i2) {
AdNativeComponentView.super.onVisibilityChanged(view, i2);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void addView(View view, int i2, ViewGroup.LayoutParams layoutParams) {
AdNativeComponentView.super.addView(view, i2, layoutParams);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void addView(View view) {
AdNativeComponentView.super.addView(view);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void addView(View view, int i2) {
AdNativeComponentView.super.addView(view, i2);
}
@Override // com.facebook.ads.internal.api.AdComponentView, android.view.ViewManager
public void addView(View view, ViewGroup.LayoutParams layoutParams) {
AdNativeComponentView.super.addView(view, layoutParams);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void addView(View view, int i2, int i22) {
AdNativeComponentView.super.addView(view, i2, i22);
}
};
}
@RequiresApi(api = 21)
public AdNativeComponentView(Context context, AttributeSet attributeSet, int i, int i2) {
super(context, attributeSet, i, i2);
this.mAdComponentViewParentApi = new AdComponentViewParentApi() { // from class: com.facebook.ads.internal.api.AdNativeComponentView.1
@Override // com.facebook.ads.internal.api.AdComponentView
public void setLayoutParams(ViewGroup.LayoutParams layoutParams) {
AdNativeComponentView.super.setLayoutParams(layoutParams);
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void onMeasure(int i22, int i222) {
AdNativeComponentView.super.onMeasure(i22, i222);
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void setMeasuredDimension(int i22, int i222) {
AdNativeComponentView.super.setMeasuredDimension(i22, i222);
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void onAttachedToWindow() {
AdNativeComponentView.super.onAttachedToWindow();
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void onDetachedFromWindow() {
AdNativeComponentView.super.onDetachedFromWindow();
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void bringChildToFront(View view) {
AdNativeComponentView.super.bringChildToFront(view);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void onWindowFocusChanged(boolean z) {
AdNativeComponentView.super.onWindowFocusChanged(z);
}
@Override // com.facebook.ads.internal.api.AdComponentViewParentApi
public void onVisibilityChanged(View view, int i22) {
AdNativeComponentView.super.onVisibilityChanged(view, i22);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void addView(View view, int i22, ViewGroup.LayoutParams layoutParams) {
AdNativeComponentView.super.addView(view, i22, layoutParams);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void addView(View view) {
AdNativeComponentView.super.addView(view);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void addView(View view, int i22) {
AdNativeComponentView.super.addView(view, i22);
}
@Override // com.facebook.ads.internal.api.AdComponentView, android.view.ViewManager
public void addView(View view, ViewGroup.LayoutParams layoutParams) {
AdNativeComponentView.super.addView(view, layoutParams);
}
@Override // com.facebook.ads.internal.api.AdComponentView
public void addView(View view, int i22, int i222) {
AdNativeComponentView.super.addView(view, i22, i222);
}
};
}
public void attachAdComponentViewApi(AdComponentViewApiProvider adComponentViewApiProvider) {
if (DynamicLoaderFactory.isFallbackMode()) {
return;
}
if (this.mAdComponentViewApi == null) {
adComponentViewApiProvider.getAdComponentViewApi().onAttachedToView(this, this.mAdComponentViewParentApi);
this.mAdComponentViewApi = adComponentViewApiProvider.getAdComponentViewApi();
return;
}
throw new IllegalStateException("AdComponentViewApi can't be attached more then once.");
}
@Override // android.view.ViewGroup, com.facebook.ads.internal.api.AdComponentView
public void addView(View view) {
AdComponentViewApi adComponentViewApi = this.mAdComponentViewApi;
if (adComponentViewApi != null) {
adComponentViewApi.addView(view);
} else {
super.addView(view);
}
}
@Override // android.view.ViewGroup, com.facebook.ads.internal.api.AdComponentView
public void addView(View view, int i) {
AdComponentViewApi adComponentViewApi = this.mAdComponentViewApi;
if (adComponentViewApi != null) {
adComponentViewApi.addView(view, i);
} else {
super.addView(view, i);
}
}
@Override // android.view.ViewGroup, android.view.ViewManager, com.facebook.ads.internal.api.AdComponentView
public void addView(View view, ViewGroup.LayoutParams layoutParams) {
AdComponentViewApi adComponentViewApi = this.mAdComponentViewApi;
if (adComponentViewApi != null) {
adComponentViewApi.addView(view, layoutParams);
} else {
super.addView(view, layoutParams);
}
}
@Override // android.view.ViewGroup, com.facebook.ads.internal.api.AdComponentView
public void addView(View view, int i, int i2) {
AdComponentViewApi adComponentViewApi = this.mAdComponentViewApi;
if (adComponentViewApi != null) {
adComponentViewApi.addView(view, i, i2);
} else {
super.addView(view, i, i2);
}
}
@Override // android.view.ViewGroup, com.facebook.ads.internal.api.AdComponentView
public void addView(View view, int i, ViewGroup.LayoutParams layoutParams) {
AdComponentViewApi adComponentViewApi = this.mAdComponentViewApi;
if (adComponentViewApi != null) {
adComponentViewApi.addView(view, i, layoutParams);
} else {
super.addView(view, i, layoutParams);
}
}
@Override // android.view.View, com.facebook.ads.internal.api.AdComponentView
public void setLayoutParams(ViewGroup.LayoutParams layoutParams) {
AdComponentViewApi adComponentViewApi = this.mAdComponentViewApi;
if (adComponentViewApi != null) {
adComponentViewApi.setLayoutParams(layoutParams);
} else {
super.setLayoutParams(layoutParams);
}
}
@Override // android.widget.RelativeLayout, android.view.View
public void onMeasure(int i, int i2) {
AdComponentViewApi adComponentViewApi = this.mAdComponentViewApi;
if (adComponentViewApi != null) {
adComponentViewApi.onMeasure(i, i2);
} else {
super.onMeasure(i, i2);
}
}
@Override // android.view.View
public void onVisibilityChanged(View view, int i) {
AdComponentViewApi adComponentViewApi = this.mAdComponentViewApi;
if (adComponentViewApi != null) {
adComponentViewApi.onVisibilityChanged(view, i);
} else {
super.onVisibilityChanged(view, i);
}
}
@Override // android.view.View, com.facebook.ads.internal.api.AdComponentView
public void onWindowFocusChanged(boolean z) {
AdComponentViewApi adComponentViewApi = this.mAdComponentViewApi;
if (adComponentViewApi != null) {
adComponentViewApi.onWindowFocusChanged(z);
} else {
super.onWindowFocusChanged(z);
}
}
@Override // android.view.ViewGroup, android.view.View
@SuppressLint({"MissingSuperCall"})
public void onAttachedToWindow() {
AdComponentViewApi adComponentViewApi = this.mAdComponentViewApi;
if (adComponentViewApi != null) {
adComponentViewApi.onAttachedToWindow();
} else {
super.onAttachedToWindow();
}
}
@Override // android.view.ViewGroup, android.view.View
@SuppressLint({"MissingSuperCall"})
public void onDetachedFromWindow() {
AdComponentViewApi adComponentViewApi = this.mAdComponentViewApi;
if (adComponentViewApi != null) {
adComponentViewApi.onDetachedFromWindow();
} else {
super.onDetachedFromWindow();
}
}
@Override // android.view.ViewGroup, android.view.ViewParent
public void bringChildToFront(View view) {
AdComponentViewApi adComponentViewApi = this.mAdComponentViewApi;
if (adComponentViewApi != null) {
adComponentViewApi.bringChildToFront(view);
} else {
super.bringChildToFront(view);
}
}
}

View File

@@ -0,0 +1,15 @@
package com.facebook.ads.internal.api;
import androidx.annotation.Keep;
import androidx.annotation.UiThread;
@Keep
@UiThread
/* loaded from: classes2.dex */
public interface AdOptionsViewApi extends AdComponentViewApiProvider {
void setIconColor(int i);
void setIconSizeDp(int i);
void setSingleIcon(boolean z);
}

View File

@@ -0,0 +1,12 @@
package com.facebook.ads.internal.api;
import android.content.Context;
import androidx.annotation.Keep;
@Keep
/* loaded from: classes2.dex */
public interface AdSettingsApi {
boolean isTestMode(Context context);
void turnOnDebugger();
}

View File

@@ -0,0 +1,23 @@
package com.facebook.ads.internal.api;
import androidx.annotation.Keep;
import androidx.annotation.UiThread;
import com.facebook.infer.annotation.Nullsafe;
@Keep
@UiThread
@Nullsafe(Nullsafe.Mode.LOCAL)
/* loaded from: classes2.dex */
public interface AdSizeApi {
@Deprecated
public static final int BANNER_320_50 = 4;
public static final int BANNER_HEIGHT_50 = 5;
public static final int BANNER_HEIGHT_90 = 6;
public static final int INTERSTITIAL = 100;
public static final int RECTANGLE_HEIGHT_250 = 7;
int getHeight();
int getWidth();
}

View File

@@ -0,0 +1,26 @@
package com.facebook.ads.internal.api;
import android.content.res.Configuration;
import androidx.annotation.Keep;
import androidx.annotation.UiThread;
import com.facebook.ads.Ad;
import com.facebook.ads.AdView;
import com.facebook.ads.ExtraHints;
import com.facebook.proguard.annotations.DoNotStripAny;
@Keep
@DoNotStripAny
@UiThread
/* loaded from: classes2.dex */
public interface AdViewApi extends AdViewParentApi, Ad {
AdView.AdViewLoadConfigBuilder buildLoadAdConfig();
void loadAd(AdView.AdViewLoadConfig adViewLoadConfig);
@Override // com.facebook.ads.internal.api.AdViewParentApi
void onConfigurationChanged(Configuration configuration);
@Override // com.facebook.ads.Ad
@Deprecated
void setExtraHints(ExtraHints extraHints);
}

View File

@@ -0,0 +1,73 @@
package com.facebook.ads.internal.api;
import android.content.Context;
import android.util.AttributeSet;
import androidx.annotation.Keep;
import androidx.annotation.UiThread;
@Keep
@UiThread
/* loaded from: classes2.dex */
public class AdViewConstructorParams {
public static final int CONTEXT = 0;
public static final int CONTEXT_ATTRS = 1;
public static final int CONTEXT_ATTRS_STYLE_ATTR = 2;
public static final int CONTEXT_ATTRS_STYLE_ATTR_STYLE_RES = 3;
private final AttributeSet mAttributeSet;
private final Context mContext;
private final int mDefStyleAttr;
private final int mDefStyleRes;
private final int mInitializationType;
public AttributeSet getAttributeSet() {
return this.mAttributeSet;
}
public Context getContext() {
return this.mContext;
}
public int getDefStyleAttr() {
return this.mDefStyleAttr;
}
public int getDefStyleRes() {
return this.mDefStyleRes;
}
public int getInitializationType() {
return this.mInitializationType;
}
public AdViewConstructorParams(Context context) {
this.mInitializationType = 0;
this.mContext = context;
this.mAttributeSet = null;
this.mDefStyleAttr = 0;
this.mDefStyleRes = 0;
}
public AdViewConstructorParams(Context context, AttributeSet attributeSet) {
this.mInitializationType = 1;
this.mContext = context;
this.mAttributeSet = attributeSet;
this.mDefStyleAttr = 0;
this.mDefStyleRes = 0;
}
public AdViewConstructorParams(Context context, AttributeSet attributeSet, int i) {
this.mInitializationType = 2;
this.mContext = context;
this.mAttributeSet = attributeSet;
this.mDefStyleAttr = i;
this.mDefStyleRes = 0;
}
public AdViewConstructorParams(Context context, AttributeSet attributeSet, int i, int i2) {
this.mInitializationType = 3;
this.mContext = context;
this.mAttributeSet = attributeSet;
this.mDefStyleAttr = i;
this.mDefStyleRes = i2;
}
}

View File

@@ -0,0 +1,12 @@
package com.facebook.ads.internal.api;
import android.content.res.Configuration;
import androidx.annotation.Keep;
import androidx.annotation.UiThread;
@Keep
@UiThread
/* loaded from: classes2.dex */
public interface AdViewParentApi {
void onConfigurationChanged(Configuration configuration);
}

View File

@@ -0,0 +1,48 @@
package com.facebook.ads.internal.api;
import android.content.Intent;
import android.content.res.Configuration;
import android.os.Bundle;
import android.view.MotionEvent;
import androidx.annotation.Keep;
import androidx.annotation.Nullable;
import androidx.annotation.UiThread;
import com.facebook.infer.annotation.Nullsafe;
import com.facebook.proguard.annotations.DoNotStripAny;
import java.io.FileDescriptor;
import java.io.PrintWriter;
@Keep
@DoNotStripAny
@UiThread
@Nullsafe(Nullsafe.Mode.LOCAL)
/* loaded from: classes2.dex */
public interface AudienceNetworkActivityApi {
public static final int EXTERNAL_FINISH_REASON = 0;
void dump(String str, @Nullable FileDescriptor fileDescriptor, PrintWriter printWriter, @Nullable String[] strArr);
void finish(int i);
void onActivityResult(int i, int i2, Intent intent);
void onBackPressed();
void onConfigurationChanged(Configuration configuration);
void onCreate(Bundle bundle);
void onDestroy();
void onPause();
void onResume();
void onSaveInstanceState(Bundle bundle);
void onStart();
void onStop();
boolean onTouchEvent(MotionEvent motionEvent);
}

View File

@@ -0,0 +1,28 @@
package com.facebook.ads.internal.api;
import android.content.Context;
import androidx.annotation.Keep;
import androidx.annotation.Nullable;
import com.facebook.ads.AudienceNetworkAds;
import com.facebook.ads.internal.settings.MultithreadedBundleWrapper;
import com.facebook.infer.annotation.Nullsafe;
@Keep
@Nullsafe(Nullsafe.Mode.LOCAL)
/* loaded from: classes2.dex */
public interface AudienceNetworkAdsApi {
public static final int BANNER = 1;
public static final int INTERSTITIAL = 2;
public static final int NATIVE = 4;
public static final int NATIVE_BANNER = 5;
public static final int REWARDED_VIDEO = 6;
public static final int UNKNOWN = 0;
int getAdFormatForPlacement(String str);
void initialize(Context context, @Nullable MultithreadedBundleWrapper multithreadedBundleWrapper, @Nullable AudienceNetworkAds.InitListener initListener);
boolean isInitialized();
void onContentProviderCreated(Context context);
}

View File

@@ -0,0 +1,15 @@
package com.facebook.ads.internal.api;
import android.os.Bundle;
import androidx.annotation.Keep;
import androidx.annotation.Nullable;
import androidx.annotation.UiThread;
import com.facebook.proguard.annotations.DoNotStripAny;
@Keep
@DoNotStripAny
@UiThread
/* loaded from: classes2.dex */
public interface AudienceNetworkExportedActivityApi {
void onCreate(@Nullable Bundle bundle);
}

View File

@@ -0,0 +1,29 @@
package com.facebook.ads.internal.api;
import android.content.Intent;
import android.os.IBinder;
import android.os.Message;
import androidx.annotation.Keep;
import androidx.annotation.Nullable;
import androidx.annotation.UiThread;
import com.facebook.proguard.annotations.DoNotStripAny;
@Keep
@DoNotStripAny
@UiThread
/* loaded from: classes2.dex */
public interface AudienceNetworkRemoteServiceApi {
public interface MessageHandler {
boolean handleMessage(Message message);
}
@Nullable
IBinder onBind(Intent intent);
void onCreate();
void onDestroy();
void setMessageHandler(MessageHandler messageHandler);
}

View File

@@ -0,0 +1,12 @@
package com.facebook.ads.internal.api;
import android.content.Context;
import androidx.annotation.Keep;
import androidx.annotation.WorkerThread;
@Keep
/* loaded from: classes2.dex */
public interface BidderTokenProviderApi {
@WorkerThread
String getBidderToken(Context context);
}

View File

@@ -0,0 +1,33 @@
package com.facebook.ads.internal.api;
import android.content.Context;
import androidx.annotation.Keep;
import com.facebook.ads.BuildConfig;
import com.facebook.infer.annotation.Nullsafe;
@Keep
@Nullsafe(Nullsafe.Mode.LOCAL)
/* loaded from: classes2.dex */
public class BuildConfigApi {
static final String UNITY_SHARED_PREFERENCES_SUFIX = ".v2.playerprefs";
static final String UNITY_TAG = "an_isUnitySDK";
static final String UNITY_VERSION_SUFIX = "-unity";
public static String getVersionName(Context context) {
if (isUnity(context)) {
return BuildConfig.VERSION_NAME + UNITY_VERSION_SUFIX;
}
return BuildConfig.VERSION_NAME;
}
private static boolean isUnity(Context context) {
StringBuilder sb = new StringBuilder();
sb.append(context.getPackageName());
sb.append(UNITY_SHARED_PREFERENCES_SUFIX);
return context.getSharedPreferences(sb.toString(), 0).contains(UNITY_TAG) || context.getSharedPreferences(context.getPackageName(), 0).contains(UNITY_TAG);
}
public static boolean isDebug() {
return BuildConfig.DEBUG;
}
}

View File

@@ -0,0 +1,18 @@
package com.facebook.ads.internal.api;
import android.content.Context;
import androidx.annotation.Keep;
import com.facebook.ads.MediaViewVideoRenderer;
import com.facebook.infer.annotation.Nullsafe;
@Keep
@Nullsafe(Nullsafe.Mode.LOCAL)
/* loaded from: classes2.dex */
public interface DefaultMediaViewVideoRendererApi {
public static final int MEDIA_VIEW_RENDERER_CHILD_TYPE_BACKGROUND_PLAYBACK = 1;
public static final int MEDIA_VIEW_RENDERER_CHILD_TYPE_DEFAULT = 0;
void initialize(Context context, MediaViewVideoRenderer mediaViewVideoRenderer, MediaViewVideoRendererApi mediaViewVideoRendererApi, int i);
void onPrepared();
}

View File

@@ -0,0 +1,26 @@
package com.facebook.ads.internal.api;
import android.content.Context;
import androidx.annotation.Keep;
import androidx.annotation.Nullable;
import com.facebook.ads.AudienceNetworkAds;
import com.facebook.ads.internal.settings.MultithreadedBundleWrapper;
import com.facebook.infer.annotation.Nullsafe;
@Keep
@Nullsafe(Nullsafe.Mode.LOCAL)
/* loaded from: classes2.dex */
public interface InitApi {
public static final int INIT_TYPE_CONTENT_PROVIDER = 0;
public static final int INIT_TYPE_INTERNAL_API = 3;
public static final int INIT_TYPE_PUBLIC_API = 1;
public static final int INIT_TYPE_REMOTE_PROCESS = 2;
void initialize(Context context, @Nullable MultithreadedBundleWrapper multithreadedBundleWrapper, @Nullable AudienceNetworkAds.InitListener initListener, int i);
boolean isInitialized();
void onAdLoadInvoked(Context context);
void onContentProviderCreated(Context context);
}

View File

@@ -0,0 +1,51 @@
package com.facebook.ads.internal.api;
import android.content.Context;
import androidx.annotation.Keep;
import com.facebook.ads.AdSettings;
import com.facebook.ads.AudienceNetworkAds;
import com.facebook.ads.internal.dynamicloading.DynamicLoaderFactory;
import com.facebook.ads.internal.settings.MultithreadedBundleWrapper;
import java.util.ArrayList;
import java.util.List;
@Keep
/* loaded from: classes2.dex */
public class InitSettingsBuilder implements AudienceNetworkAds.InitSettingsBuilder {
public static final String PLACEMENTS_KEY = "PLACEMENTS_KEY";
private final Context mContext;
private final MultithreadedBundleWrapper mInitSettings = new MultithreadedBundleWrapper();
private AudienceNetworkAds.InitListener mInitializationListener;
@Override // com.facebook.ads.AudienceNetworkAds.InitSettingsBuilder
public InitSettingsBuilder withInitListener(AudienceNetworkAds.InitListener initListener) {
this.mInitializationListener = initListener;
return this;
}
@Override // com.facebook.ads.AudienceNetworkAds.InitSettingsBuilder
public /* bridge */ /* synthetic */ AudienceNetworkAds.InitSettingsBuilder withPlacementIds(List list) {
return withPlacementIds((List<String>) list);
}
public InitSettingsBuilder(Context context) {
this.mContext = context;
}
@Override // com.facebook.ads.AudienceNetworkAds.InitSettingsBuilder
public InitSettingsBuilder withPlacementIds(List<String> list) {
this.mInitSettings.putStringArrayList(PLACEMENTS_KEY, new ArrayList<>(list));
return this;
}
@Override // com.facebook.ads.AudienceNetworkAds.InitSettingsBuilder
public InitSettingsBuilder withMediationService(String str) {
AdSettings.setMediationService(str);
return this;
}
@Override // com.facebook.ads.AudienceNetworkAds.InitSettingsBuilder
public void initialize() {
DynamicLoaderFactory.initialize(this.mContext, this.mInitSettings, this.mInitializationListener, false);
}
}

View File

@@ -0,0 +1,33 @@
package com.facebook.ads.internal.api;
import androidx.annotation.Keep;
import androidx.annotation.UiThread;
import com.facebook.ads.ExtraHints;
import com.facebook.ads.FullScreenAd;
import com.facebook.ads.InterstitialAd;
import com.facebook.proguard.annotations.DoNotStripAny;
@Keep
@DoNotStripAny
@UiThread
/* loaded from: classes2.dex */
public interface InterstitialAdApi extends FullScreenAd {
@Override // com.facebook.ads.FullScreenAd
InterstitialAd.InterstitialAdLoadConfigBuilder buildLoadAdConfig();
@Override // com.facebook.ads.FullScreenAd
InterstitialAd.InterstitialAdShowConfigBuilder buildShowAdConfig();
boolean isAdLoaded();
void loadAd(InterstitialAd.InterstitialLoadAdConfig interstitialLoadAdConfig);
@Override // com.facebook.ads.Ad
@Deprecated
void setExtraHints(ExtraHints extraHints);
@Override // com.facebook.ads.FullScreenAd
boolean show();
boolean show(InterstitialAd.InterstitialShowAdConfig interstitialShowAdConfig);
}

View File

@@ -0,0 +1,25 @@
package com.facebook.ads.internal.api;
import android.view.View;
import androidx.annotation.Keep;
import com.facebook.ads.MediaView;
import com.facebook.ads.MediaViewListener;
import com.facebook.ads.MediaViewVideoRenderer;
@Keep
/* loaded from: classes2.dex */
public interface MediaViewApi extends AdComponentViewApiProvider {
void destroy();
View getAdContentsView();
int getMediaHeight();
int getMediaWidth();
void initialize(AdViewConstructorParams adViewConstructorParams, MediaView mediaView);
void setListener(MediaViewListener mediaViewListener);
void setVideoRenderer(MediaViewVideoRenderer mediaViewVideoRenderer);
}

View File

@@ -0,0 +1,41 @@
package com.facebook.ads.internal.api;
import android.view.View;
import androidx.annotation.FloatRange;
import androidx.annotation.IntRange;
import androidx.annotation.Keep;
import com.facebook.ads.MediaViewVideoRenderer;
import com.facebook.ads.VideoStartReason;
@Keep
/* loaded from: classes2.dex */
public interface MediaViewVideoRendererApi extends AdComponentViewApiProvider {
void destroy();
void disengageSeek(VideoStartReason videoStartReason);
void engageSeek();
@IntRange(from = 0)
int getCurrentTimeMs();
@IntRange(from = 0)
int getDuration();
View getVideoView();
@FloatRange(from = 0.0d, to = 1.0d)
float getVolume();
void initialize(AdViewConstructorParams adViewConstructorParams, MediaViewVideoRenderer mediaViewVideoRenderer);
void pause(boolean z);
void play(VideoStartReason videoStartReason);
void seekTo(@IntRange(from = 0) int i);
void setVolume(@FloatRange(from = 0.0d, to = 1.0d) float f);
boolean shouldAutoplay();
}

View File

@@ -0,0 +1,30 @@
package com.facebook.ads.internal.api;
import android.view.View;
import android.widget.ImageView;
import androidx.annotation.Keep;
import androidx.annotation.Nullable;
import com.facebook.ads.MediaView;
import com.facebook.ads.NativeAd;
import com.facebook.ads.VideoAutoplayBehavior;
import java.util.List;
@Keep
/* loaded from: classes2.dex */
public interface NativeAdApi {
NativeAd.AdCreativeType getAdCreativeType();
VideoAutoplayBehavior getVideoAutoplayBehavior();
void registerViewForInteraction(View view, MediaView mediaView);
void registerViewForInteraction(View view, MediaView mediaView, @Nullable ImageView imageView);
void registerViewForInteraction(View view, MediaView mediaView, @Nullable ImageView imageView, @Nullable List<View> list);
void registerViewForInteraction(View view, MediaView mediaView, @Nullable MediaView mediaView2);
void registerViewForInteraction(View view, MediaView mediaView, @Nullable MediaView mediaView2, @Nullable List<View> list);
void registerViewForInteraction(View view, MediaView mediaView, @Nullable List<View> list);
}

View File

@@ -0,0 +1,98 @@
package com.facebook.ads.internal.api;
import android.graphics.drawable.Drawable;
import android.view.View;
import androidx.annotation.Keep;
import androidx.annotation.Nullable;
import com.facebook.ads.ExtraHints;
import com.facebook.ads.NativeAdBase;
@Keep
/* loaded from: classes2.dex */
public interface NativeAdBaseApi {
NativeAdBase.NativeAdLoadConfigBuilder buildLoadAdConfig(NativeAdBase nativeAdBase);
void destroy();
void downloadMedia();
@Nullable
String getAdBodyText();
@Nullable
String getAdCallToAction();
@Nullable
NativeAdImageApi getAdChoicesIcon();
@Nullable
String getAdChoicesImageUrl();
@Nullable
String getAdChoicesLinkUrl();
@Nullable
String getAdChoicesText();
@Nullable
NativeAdImageApi getAdCoverImage();
@Nullable
String getAdHeadline();
@Nullable
NativeAdImageApi getAdIcon();
@Nullable
String getAdLinkDescription();
@Nullable
String getAdSocialContext();
@Nullable
@Deprecated
NativeAdRatingApi getAdStarRating();
@Nullable
String getAdTranslation();
@Nullable
String getAdUntrimmedBodyText();
@Nullable
String getAdvertiserName();
float getAspectRatio();
@Nullable
String getId();
String getPlacementId();
@Nullable
Drawable getPreloadedIconViewDrawable();
@Nullable
String getPromotedTranslation();
@Nullable
String getSponsoredTranslation();
boolean hasCallToAction();
boolean isAdInvalidated();
boolean isAdLoaded();
void loadAd();
void loadAd(NativeAdBase.NativeLoadAdConfig nativeLoadAdConfig);
void onCtaBroadcast();
void setExtraHints(ExtraHints extraHints);
void setOnTouchListener(View.OnTouchListener onTouchListener);
void unregisterView();
}

View File

@@ -0,0 +1,13 @@
package com.facebook.ads.internal.api;
import androidx.annotation.Keep;
@Keep
/* loaded from: classes2.dex */
public interface NativeAdImageApi {
int getHeight();
String getUrl();
int getWidth();
}

View File

@@ -0,0 +1,14 @@
package com.facebook.ads.internal.api;
import androidx.annotation.Keep;
import com.facebook.ads.NativeAdLayout;
@Keep
/* loaded from: classes2.dex */
public interface NativeAdLayoutApi extends AdComponentViewApiProvider {
void initialize(NativeAdLayout nativeAdLayout);
void setMaxWidth(int i);
void setMinWidth(int i);
}

View File

@@ -0,0 +1,11 @@
package com.facebook.ads.internal.api;
import androidx.annotation.Keep;
@Keep
/* loaded from: classes2.dex */
public interface NativeAdRatingApi {
double getScale();
double getValue();
}

View File

@@ -0,0 +1,9 @@
package com.facebook.ads.internal.api;
import androidx.annotation.Keep;
@Keep
/* loaded from: classes2.dex */
public interface NativeAdScrollViewApi {
void setInset(int i);
}

View File

@@ -0,0 +1,23 @@
package com.facebook.ads.internal.api;
import android.content.Context;
import android.view.View;
import androidx.annotation.Keep;
import androidx.annotation.Nullable;
import com.facebook.ads.NativeAd;
import com.facebook.ads.NativeAdView;
import com.facebook.ads.NativeAdViewAttributes;
@Keep
/* loaded from: classes2.dex */
public interface NativeAdViewApi {
View render(Context context, NativeAd nativeAd);
@Deprecated
View render(Context context, NativeAd nativeAd, NativeAdView.Type type);
@Deprecated
View render(Context context, NativeAd nativeAd, NativeAdView.Type type, @Nullable NativeAdViewAttributes nativeAdViewAttributes);
View render(Context context, NativeAd nativeAd, @Nullable NativeAdViewAttributes nativeAdViewAttributes);
}

View File

@@ -0,0 +1,22 @@
package com.facebook.ads.internal.api;
import android.graphics.Typeface;
import androidx.annotation.Keep;
@Keep
/* loaded from: classes2.dex */
public interface NativeAdViewAttributesApi {
void setBackgroundColor(int i);
void setCTABackgroundColor(int i);
void setCTABorderColor(int i);
void setCTATextColor(int i);
void setPrimaryTextColor(int i);
void setSecondaryTextColor(int i);
void setTypeface(Typeface typeface);
}

View File

@@ -0,0 +1,26 @@
package com.facebook.ads.internal.api;
import androidx.annotation.Keep;
import com.facebook.infer.annotation.Nullsafe;
@Keep
@Nullsafe(Nullsafe.Mode.LOCAL)
/* loaded from: classes2.dex */
public interface NativeAdViewTypeApi {
public static final int HEIGHT_100 = 0;
public static final int HEIGHT_120 = 1;
@Deprecated
public static final int HEIGHT_300 = 2;
@Deprecated
public static final int HEIGHT_400 = 3;
public static final int HEIGHT_50 = 4;
public static final int RECT_DYNAMIC = 5;
int getHeight();
int getValue();
int getWidth();
}

View File

@@ -0,0 +1,34 @@
package com.facebook.ads.internal.api;
import androidx.annotation.Keep;
import androidx.annotation.Nullable;
import com.facebook.ads.NativeAd;
import com.facebook.ads.NativeAdBase;
import com.facebook.ads.NativeAdListener;
import com.facebook.ads.NativeAdsManager;
import com.facebook.proguard.annotations.DoNotStripAny;
@Keep
@DoNotStripAny
/* loaded from: classes2.dex */
public interface NativeAdsManagerApi {
void disableAutoRefresh();
int getUniqueNativeAdCount();
boolean isLoaded();
void loadAds();
void loadAds(NativeAdBase.MediaCacheFlag mediaCacheFlag);
@Nullable
NativeAd nextNativeAd();
@Nullable
NativeAd nextNativeAd(NativeAdListener nativeAdListener);
void setExtraHints(String str);
void setListener(NativeAdsManager.Listener listener);
}

View File

@@ -0,0 +1,20 @@
package com.facebook.ads.internal.api;
import android.view.View;
import android.widget.ImageView;
import androidx.annotation.Keep;
import androidx.annotation.Nullable;
import com.facebook.ads.MediaView;
import java.util.List;
@Keep
/* loaded from: classes2.dex */
public interface NativeBannerAdApi {
void registerViewForInteraction(View view, ImageView imageView);
void registerViewForInteraction(View view, ImageView imageView, @Nullable List<View> list);
void registerViewForInteraction(View view, MediaView mediaView);
void registerViewForInteraction(View view, MediaView mediaView, @Nullable List<View> list);
}

View File

@@ -0,0 +1,17 @@
package com.facebook.ads.internal.api;
import android.content.Context;
import android.view.View;
import androidx.annotation.Keep;
import androidx.annotation.Nullable;
import com.facebook.ads.NativeAdViewAttributes;
import com.facebook.ads.NativeBannerAd;
import com.facebook.ads.NativeBannerAdView;
@Keep
/* loaded from: classes2.dex */
public interface NativeBannerAdViewApi {
View render(Context context, NativeBannerAd nativeBannerAd, NativeBannerAdView.Type type);
View render(Context context, NativeBannerAd nativeBannerAd, NativeBannerAdView.Type type, @Nullable NativeAdViewAttributes nativeAdViewAttributes);
}

View File

@@ -0,0 +1,11 @@
package com.facebook.ads.internal.api;
import android.view.View;
import androidx.annotation.Keep;
import com.facebook.ads.NativeAdBase;
@Keep
/* loaded from: classes2.dex */
public interface NativeComponentTagApi {
void tagView(View view, NativeAdBase.NativeComponentTag nativeComponentTag);
}

View File

@@ -0,0 +1,44 @@
package com.facebook.ads.internal.api;
import androidx.annotation.Keep;
import androidx.annotation.UiThread;
import com.facebook.ads.ExtraHints;
import com.facebook.ads.FullScreenAd;
import com.facebook.ads.RewardedInterstitialAd;
import com.facebook.proguard.annotations.DoNotStripAny;
@Keep
@DoNotStripAny
@UiThread
/* loaded from: classes2.dex */
public interface RewardedInterstitialAdApi extends FullScreenAd {
@Override // com.facebook.ads.FullScreenAd
RewardedInterstitialAd.RewardedInterstitialAdLoadConfigBuilder buildLoadAdConfig();
@Override // com.facebook.ads.FullScreenAd
RewardedInterstitialAd.RewardedInterstitialAdShowConfigBuilder buildShowAdConfig();
@Override // com.facebook.ads.Ad
void destroy();
@Override // com.facebook.ads.Ad
String getPlacementId();
int getVideoDuration();
boolean isAdLoaded();
@Override // com.facebook.ads.Ad
void loadAd();
void loadAd(RewardedInterstitialAd.RewardedInterstitialLoadAdConfig rewardedInterstitialLoadAdConfig);
@Override // com.facebook.ads.Ad
@Deprecated
void setExtraHints(ExtraHints extraHints);
@Override // com.facebook.ads.FullScreenAd
boolean show();
boolean show(RewardedInterstitialAd.RewardedInterstitialShowAdConfig rewardedInterstitialShowAdConfig);
}

View File

@@ -0,0 +1,44 @@
package com.facebook.ads.internal.api;
import androidx.annotation.Keep;
import androidx.annotation.UiThread;
import com.facebook.ads.ExtraHints;
import com.facebook.ads.FullScreenAd;
import com.facebook.ads.RewardedVideoAd;
import com.facebook.proguard.annotations.DoNotStripAny;
@Keep
@DoNotStripAny
@UiThread
/* loaded from: classes2.dex */
public interface RewardedVideoAdApi extends FullScreenAd {
@Override // com.facebook.ads.FullScreenAd
RewardedVideoAd.RewardedVideoAdLoadConfigBuilder buildLoadAdConfig();
@Override // com.facebook.ads.FullScreenAd
RewardedVideoAd.RewardedVideoAdShowConfigBuilder buildShowAdConfig();
@Override // com.facebook.ads.Ad
void destroy();
@Override // com.facebook.ads.Ad
String getPlacementId();
int getVideoDuration();
boolean isAdLoaded();
@Override // com.facebook.ads.Ad
void loadAd();
void loadAd(RewardedVideoAd.RewardedVideoLoadAdConfig rewardedVideoLoadAdConfig);
@Override // com.facebook.ads.Ad
@Deprecated
void setExtraHints(ExtraHints extraHints);
@Override // com.facebook.ads.FullScreenAd
boolean show();
boolean show(RewardedVideoAd.RewardedVideoShowAdConfig rewardedVideoShowAdConfig);
}