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,319 @@
package com.google.android.gms.ads.search;
import android.content.Context;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.ads.mediation.admob.AdMobAdapter;
import com.google.android.gms.ads.internal.client.zzei;
import com.google.android.gms.ads.mediation.MediationAdapter;
import com.google.android.gms.ads.mediation.NetworkExtras;
import com.google.android.gms.ads.mediation.customevent.CustomEvent;
import com.tapjoy.TJAdUnitConstants;
/* loaded from: classes2.dex */
public final class DynamicHeightSearchAdRequest {
private final SearchAdRequest zza;
public static final class Builder {
private final zzb zza = new zzb();
private final Bundle zzb = new Bundle();
@NonNull
public Builder addCustomEventExtrasBundle(@NonNull Class<? extends CustomEvent> cls, @NonNull Bundle bundle) {
this.zza.zzb(cls, bundle);
return this;
}
@NonNull
public Builder addNetworkExtras(@NonNull NetworkExtras networkExtras) {
this.zza.zzc(networkExtras);
return this;
}
@NonNull
public Builder addNetworkExtrasBundle(@NonNull Class<? extends MediationAdapter> cls, @NonNull Bundle bundle) {
this.zza.zzd(cls, bundle);
return this;
}
@NonNull
public DynamicHeightSearchAdRequest build() {
this.zza.zzd(AdMobAdapter.class, this.zzb);
return new DynamicHeightSearchAdRequest(this, null);
}
@NonNull
public Builder setAdBorderSelectors(@NonNull String str) {
this.zzb.putString("csa_adBorderSelectors", str);
return this;
}
@NonNull
public Builder setAdTest(boolean z) {
this.zzb.putString("csa_adtest", true != z ? "off" : TJAdUnitConstants.String.SPLIT_VIEW_TRIGGER_ON);
return this;
}
@NonNull
public Builder setAdjustableLineHeight(int i) {
this.zzb.putString("csa_adjustableLineHeight", Integer.toString(i));
return this;
}
@NonNull
public Builder setAdvancedOptionValue(@NonNull String str, @NonNull String str2) {
this.zzb.putString(str, str2);
return this;
}
@NonNull
public Builder setAttributionSpacingBelow(int i) {
this.zzb.putString("csa_attributionSpacingBelow", Integer.toString(i));
return this;
}
@NonNull
public Builder setBorderSelections(@NonNull String str) {
this.zzb.putString("csa_borderSelections", str);
return this;
}
@NonNull
public Builder setChannel(@NonNull String str) {
this.zzb.putString("csa_channel", str);
return this;
}
@NonNull
public Builder setColorAdBorder(@NonNull String str) {
this.zzb.putString("csa_colorAdBorder", str);
return this;
}
@NonNull
public Builder setColorAdSeparator(@NonNull String str) {
this.zzb.putString("csa_colorAdSeparator", str);
return this;
}
@NonNull
public Builder setColorAnnotation(@NonNull String str) {
this.zzb.putString("csa_colorAnnotation", str);
return this;
}
@NonNull
public Builder setColorAttribution(@NonNull String str) {
this.zzb.putString("csa_colorAttribution", str);
return this;
}
@NonNull
public Builder setColorBackground(@NonNull String str) {
this.zzb.putString("csa_colorBackground", str);
return this;
}
@NonNull
public Builder setColorBorder(@NonNull String str) {
this.zzb.putString("csa_colorBorder", str);
return this;
}
@NonNull
public Builder setColorDomainLink(@NonNull String str) {
this.zzb.putString("csa_colorDomainLink", str);
return this;
}
@NonNull
public Builder setColorText(@NonNull String str) {
this.zzb.putString("csa_colorText", str);
return this;
}
@NonNull
public Builder setColorTitleLink(@NonNull String str) {
this.zzb.putString("csa_colorTitleLink", str);
return this;
}
@NonNull
public Builder setCssWidth(int i) {
this.zzb.putString("csa_width", Integer.toString(i));
return this;
}
@NonNull
public Builder setDetailedAttribution(boolean z) {
this.zzb.putString("csa_detailedAttribution", Boolean.toString(z));
return this;
}
@NonNull
public Builder setFontFamily(@NonNull String str) {
this.zzb.putString("csa_fontFamily", str);
return this;
}
@NonNull
public Builder setFontFamilyAttribution(@NonNull String str) {
this.zzb.putString("csa_fontFamilyAttribution", str);
return this;
}
@NonNull
public Builder setFontSizeAnnotation(int i) {
this.zzb.putString("csa_fontSizeAnnotation", Integer.toString(i));
return this;
}
@NonNull
public Builder setFontSizeAttribution(int i) {
this.zzb.putString("csa_fontSizeAttribution", Integer.toString(i));
return this;
}
@NonNull
public Builder setFontSizeDescription(int i) {
this.zzb.putString("csa_fontSizeDescription", Integer.toString(i));
return this;
}
@NonNull
public Builder setFontSizeDomainLink(int i) {
this.zzb.putString("csa_fontSizeDomainLink", Integer.toString(i));
return this;
}
@NonNull
public Builder setFontSizeTitle(int i) {
this.zzb.putString("csa_fontSizeTitle", Integer.toString(i));
return this;
}
@NonNull
public Builder setHostLanguage(@NonNull String str) {
this.zzb.putString("csa_hl", str);
return this;
}
@NonNull
public Builder setIsClickToCallEnabled(boolean z) {
this.zzb.putString("csa_clickToCall", Boolean.toString(z));
return this;
}
@NonNull
public Builder setIsLocationEnabled(boolean z) {
this.zzb.putString("csa_location", Boolean.toString(z));
return this;
}
@NonNull
public Builder setIsPlusOnesEnabled(boolean z) {
this.zzb.putString("csa_plusOnes", Boolean.toString(z));
return this;
}
@NonNull
public Builder setIsSellerRatingsEnabled(boolean z) {
this.zzb.putString("csa_sellerRatings", Boolean.toString(z));
return this;
}
@NonNull
public Builder setIsSiteLinksEnabled(boolean z) {
this.zzb.putString("csa_siteLinks", Boolean.toString(z));
return this;
}
@NonNull
public Builder setIsTitleBold(boolean z) {
this.zzb.putString("csa_titleBold", Boolean.toString(z));
return this;
}
@NonNull
public Builder setIsTitleUnderlined(boolean z) {
this.zzb.putString("csa_noTitleUnderline", Boolean.toString(!z));
return this;
}
@NonNull
public Builder setLocationColor(@NonNull String str) {
this.zzb.putString("csa_colorLocation", str);
return this;
}
@NonNull
public Builder setLocationFontSize(int i) {
this.zzb.putString("csa_fontSizeLocation", Integer.toString(i));
return this;
}
@NonNull
public Builder setLongerHeadlines(boolean z) {
this.zzb.putString("csa_longerHeadlines", Boolean.toString(z));
return this;
}
@NonNull
public Builder setNumber(int i) {
this.zzb.putString("csa_number", Integer.toString(i));
return this;
}
@NonNull
public Builder setPage(int i) {
this.zzb.putString("csa_adPage", Integer.toString(i));
return this;
}
@NonNull
public Builder setQuery(@NonNull String str) {
this.zza.zze(str);
return this;
}
@NonNull
public Builder setStyleId(@NonNull String str) {
this.zzb.putString("csa_styleId", str);
return this;
}
@NonNull
public Builder setVerticalSpacing(int i) {
this.zzb.putString("csa_verticalSpacing", Integer.toString(i));
return this;
}
}
public /* synthetic */ DynamicHeightSearchAdRequest(Builder builder, zza zzaVar) {
this.zza = new SearchAdRequest(builder.zza, null);
}
@Nullable
public <T extends CustomEvent> Bundle getCustomEventExtrasBundle(@NonNull Class<T> cls) {
return this.zza.getCustomEventExtrasBundle(cls);
}
@Nullable
public <T extends MediationAdapter> Bundle getNetworkExtrasBundle(@NonNull Class<T> cls) {
return this.zza.getNetworkExtrasBundle(cls);
}
@NonNull
public String getQuery() {
return this.zza.getQuery();
}
public boolean isTestDevice(@NonNull Context context) {
return this.zza.isTestDevice(context);
}
public final zzei zza() {
return this.zza.zza();
}
}

View File

@@ -0,0 +1,143 @@
package com.google.android.gms.ads.search;
import android.content.Context;
import android.location.Location;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.gms.ads.internal.client.zzeh;
import com.google.android.gms.ads.internal.client.zzei;
import com.google.android.gms.ads.mediation.MediationAdapter;
import com.google.android.gms.ads.mediation.NetworkExtras;
import com.google.android.gms.ads.mediation.customevent.CustomEvent;
@Deprecated
/* loaded from: classes2.dex */
public final class SearchAdRequest {
public static final int BORDER_TYPE_DASHED = 1;
public static final int BORDER_TYPE_DOTTED = 2;
public static final int BORDER_TYPE_NONE = 0;
public static final int BORDER_TYPE_SOLID = 3;
public static final int CALL_BUTTON_COLOR_DARK = 2;
public static final int CALL_BUTTON_COLOR_LIGHT = 0;
public static final int CALL_BUTTON_COLOR_MEDIUM = 1;
@NonNull
public static final String DEVICE_ID_EMULATOR = "B3EEABB8EE11C2BE770B684D95219ECB";
public static final int ERROR_CODE_INTERNAL_ERROR = 0;
public static final int ERROR_CODE_INVALID_REQUEST = 1;
public static final int ERROR_CODE_NETWORK_ERROR = 2;
public static final int ERROR_CODE_NO_FILL = 3;
private final zzei zza;
private final String zzb;
public /* synthetic */ SearchAdRequest(zzb zzbVar, zzc zzcVar) {
String str;
zzeh zzehVar;
str = zzbVar.zzb;
this.zzb = str;
zzehVar = zzbVar.zza;
this.zza = new zzei(zzehVar, this);
}
@Deprecated
public int getAnchorTextColor() {
return 0;
}
@Deprecated
public int getBackgroundColor() {
return 0;
}
@Deprecated
public int getBackgroundGradientBottom() {
return 0;
}
@Deprecated
public int getBackgroundGradientTop() {
return 0;
}
@Deprecated
public int getBorderColor() {
return 0;
}
@Deprecated
public int getBorderThickness() {
return 0;
}
@Deprecated
public int getBorderType() {
return 0;
}
@Deprecated
public int getCallButtonColor() {
return 0;
}
@Nullable
@Deprecated
public String getCustomChannels() {
return null;
}
@Nullable
public <T extends CustomEvent> Bundle getCustomEventExtrasBundle(@NonNull Class<T> cls) {
return this.zza.zzd(cls);
}
@Deprecated
public int getDescriptionTextColor() {
return 0;
}
@Nullable
@Deprecated
public String getFontFace() {
return null;
}
@Deprecated
public int getHeaderTextColor() {
return 0;
}
@Deprecated
public int getHeaderTextSize() {
return 0;
}
@NonNull
public Location getLocation() {
return null;
}
@Nullable
@Deprecated
public <T extends NetworkExtras> T getNetworkExtras(@NonNull Class<T> cls) {
return (T) this.zza.zzh(cls);
}
@Nullable
public <T extends MediationAdapter> Bundle getNetworkExtrasBundle(@NonNull Class<T> cls) {
return this.zza.zzf(cls);
}
@NonNull
public String getQuery() {
return this.zzb;
}
public boolean isTestDevice(@NonNull Context context) {
return this.zza.zzs(context);
}
public final zzei zza() {
return this.zza;
}
}

View File

@@ -0,0 +1,127 @@
package com.google.android.gms.ads.search;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.RequiresPermission;
import com.google.android.gms.ads.AdListener;
import com.google.android.gms.ads.AdSize;
import com.google.android.gms.ads.internal.client.zzel;
import com.google.android.gms.ads.internal.util.client.zzo;
/* loaded from: classes2.dex */
public final class SearchAdView extends ViewGroup {
private final zzel zza;
public SearchAdView(@NonNull Context context) {
super(context);
this.zza = new zzel(this);
}
public void destroy() {
this.zza.zzk();
}
@NonNull
public AdListener getAdListener() {
return this.zza.zza();
}
@Nullable
public AdSize getAdSize() {
return this.zza.zzb();
}
@NonNull
public String getAdUnitId() {
return this.zza.zzj();
}
@RequiresPermission("android.permission.INTERNET")
public void loadAd(@NonNull DynamicHeightSearchAdRequest dynamicHeightSearchAdRequest) {
if (!AdSize.SEARCH.equals(getAdSize())) {
throw new IllegalStateException("You must use AdSize.SEARCH for a DynamicHeightSearchAdRequest");
}
this.zza.zzm(dynamicHeightSearchAdRequest.zza());
}
@Override // android.view.ViewGroup, android.view.View
public void onLayout(boolean z, int i, int i2, int i3, int i4) {
View childAt = getChildAt(0);
if (childAt == null || childAt.getVisibility() == 8) {
return;
}
int measuredWidth = childAt.getMeasuredWidth();
int measuredHeight = childAt.getMeasuredHeight();
int i5 = ((i3 - i) - measuredWidth) / 2;
int i6 = ((i4 - i2) - measuredHeight) / 2;
childAt.layout(i5, i6, measuredWidth + i5, measuredHeight + i6);
}
@Override // android.view.View
public void onMeasure(int i, int i2) {
AdSize adSize;
int i3;
int i4 = 0;
View childAt = getChildAt(0);
if (childAt == null || childAt.getVisibility() == 8) {
try {
adSize = getAdSize();
} catch (NullPointerException e) {
zzo.zzh("Unable to retrieve ad size.", e);
adSize = null;
}
if (adSize != null) {
Context context = getContext();
int widthInPixels = adSize.getWidthInPixels(context);
i3 = adSize.getHeightInPixels(context);
i4 = widthInPixels;
} else {
i3 = 0;
}
} else {
measureChild(childAt, i, i2);
i4 = childAt.getMeasuredWidth();
i3 = childAt.getMeasuredHeight();
}
setMeasuredDimension(View.resolveSize(Math.max(i4, getSuggestedMinimumWidth()), i), View.resolveSize(Math.max(i3, getSuggestedMinimumHeight()), i2));
}
public void pause() {
this.zza.zzn();
}
public void resume() {
this.zza.zzp();
}
public void setAdListener(@NonNull AdListener adListener) {
this.zza.zzr(adListener);
}
public void setAdSize(@NonNull AdSize adSize) {
this.zza.zzs(adSize);
}
public void setAdUnitId(@NonNull String str) {
this.zza.zzu(str);
}
public SearchAdView(@NonNull Context context, @NonNull AttributeSet attributeSet) {
super(context, attributeSet);
this.zza = new zzel(this, attributeSet, false);
}
@RequiresPermission("android.permission.INTERNET")
public void loadAd(@NonNull SearchAdRequest searchAdRequest) {
this.zza.zzm(searchAdRequest.zza());
}
public SearchAdView(@NonNull Context context, @NonNull AttributeSet attributeSet, int i) {
super(context, attributeSet, i);
this.zza = new zzel(this, attributeSet, false);
}
}

View File

@@ -0,0 +1,31 @@
package com.google.android.gms.ads.search;
import android.os.Bundle;
import com.google.android.gms.ads.internal.client.zzeh;
import com.google.android.gms.ads.mediation.NetworkExtras;
/* loaded from: classes2.dex */
public final class zzb {
private final zzeh zza = new zzeh();
private String zzb;
public final zzb zzb(Class cls, Bundle bundle) {
this.zza.zzo(cls, bundle);
return this;
}
public final zzb zzc(NetworkExtras networkExtras) {
this.zza.zzs(networkExtras);
return this;
}
public final zzb zzd(Class cls, Bundle bundle) {
this.zza.zzr(cls, bundle);
return this;
}
public final zzb zze(String str) {
this.zzb = str;
return this;
}
}