52 lines
2.0 KiB
Java
52 lines
2.0 KiB
Java
package com.google.android.gms.maps.model;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class CustomCap extends Cap {
|
|
public final BitmapDescriptor bitmapDescriptor;
|
|
public final float refWidth;
|
|
|
|
/* JADX WARN: Illegal instructions before constructor call */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public CustomCap(com.google.android.gms.maps.model.BitmapDescriptor r3, float r4) {
|
|
/*
|
|
r2 = this;
|
|
java.lang.String r0 = "bitmapDescriptor must not be null"
|
|
java.lang.Object r0 = com.google.android.gms.common.internal.Preconditions.checkNotNull(r3, r0)
|
|
com.google.android.gms.maps.model.BitmapDescriptor r0 = (com.google.android.gms.maps.model.BitmapDescriptor) r0
|
|
r1 = 0
|
|
int r1 = (r4 > r1 ? 1 : (r4 == r1 ? 0 : -1))
|
|
if (r1 <= 0) goto L15
|
|
r2.<init>(r0, r4)
|
|
r2.bitmapDescriptor = r3
|
|
r2.refWidth = r4
|
|
return
|
|
L15:
|
|
java.lang.IllegalArgumentException r3 = new java.lang.IllegalArgumentException
|
|
java.lang.String r4 = "refWidth must be positive"
|
|
r3.<init>(r4)
|
|
throw r3
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.maps.model.CustomCap.<init>(com.google.android.gms.maps.model.BitmapDescriptor, float):void");
|
|
}
|
|
|
|
public CustomCap(BitmapDescriptor bitmapDescriptor) {
|
|
this(bitmapDescriptor, 10.0f);
|
|
}
|
|
|
|
@Override // com.google.android.gms.maps.model.Cap
|
|
public final String toString() {
|
|
String valueOf = String.valueOf(this.bitmapDescriptor);
|
|
float f = this.refWidth;
|
|
StringBuilder sb = new StringBuilder(String.valueOf(valueOf).length() + 55);
|
|
sb.append("[CustomCap: bitmapDescriptor=");
|
|
sb.append(valueOf);
|
|
sb.append(" refWidth=");
|
|
sb.append(f);
|
|
sb.append("]");
|
|
return sb.toString();
|
|
}
|
|
}
|