package com.google.android.gms.internal.ads; import android.util.JsonReader; import java.io.IOException; import java.util.ArrayList; import java.util.List; /* loaded from: classes3.dex */ public final class zzfbp { public final int zza; public final int zzb; public final boolean zzc; public zzfbp(int i, int i2, boolean z) { this.zza = i; this.zzb = i2; this.zzc = z; } public static List zza(JsonReader jsonReader) throws IllegalStateException, IOException, NumberFormatException { ArrayList arrayList = new ArrayList(); jsonReader.beginArray(); while (jsonReader.hasNext()) { jsonReader.beginObject(); int i = 0; int i2 = 0; boolean z = false; while (jsonReader.hasNext()) { String nextName = jsonReader.nextName(); if ("width".equals(nextName)) { i = jsonReader.nextInt(); } else if ("height".equals(nextName)) { i2 = jsonReader.nextInt(); } else if ("is_fluid_height".equals(nextName)) { z = jsonReader.nextBoolean(); } else { jsonReader.skipValue(); } } jsonReader.endObject(); arrayList.add(new zzfbp(i, i2, z)); } jsonReader.endArray(); return arrayList; } }