73 lines
2.0 KiB
Java
73 lines
2.0 KiB
Java
|
package o;
|
||
|
|
||
|
import android.os.Parcel;
|
||
|
import android.os.ParcelFormatException;
|
||
|
import android.os.Parcelable;
|
||
|
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public class Lhm extends Uoq implements Parcelable {
|
||
|
public static final Parcelable.Creator<Lhm> CREATOR = new Parcelable.Creator<Lhm>() { // from class: o.Lhm.5
|
||
|
@Override // android.os.Parcelable.Creator
|
||
|
public final /* synthetic */ Lhm createFromParcel(Parcel parcel) {
|
||
|
return new Lhm(parcel);
|
||
|
}
|
||
|
|
||
|
@Override // android.os.Parcelable.Creator
|
||
|
public final /* bridge */ /* synthetic */ Lhm[] newArray(int i) {
|
||
|
return new Lhm[i];
|
||
|
}
|
||
|
};
|
||
|
private float b;
|
||
|
|
||
|
@Override // android.os.Parcelable
|
||
|
public int describeContents() {
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
public Lhm() {
|
||
|
this.b = BitmapDescriptorFactory.HUE_RED;
|
||
|
}
|
||
|
|
||
|
public Lhm(float f, Object obj) {
|
||
|
super(f, obj);
|
||
|
this.b = BitmapDescriptorFactory.HUE_RED;
|
||
|
}
|
||
|
|
||
|
public String toString() {
|
||
|
StringBuilder sb = new StringBuilder("Entry, x: ");
|
||
|
sb.append(this.b);
|
||
|
sb.append(" y: ");
|
||
|
sb.append(this.e);
|
||
|
return sb.toString();
|
||
|
}
|
||
|
|
||
|
@Override // android.os.Parcelable
|
||
|
public void writeToParcel(Parcel parcel, int i) {
|
||
|
parcel.writeFloat(this.b);
|
||
|
parcel.writeFloat(this.e);
|
||
|
if (a() != null) {
|
||
|
if (a() instanceof Parcelable) {
|
||
|
parcel.writeInt(1);
|
||
|
parcel.writeParcelable((Parcelable) a(), i);
|
||
|
return;
|
||
|
}
|
||
|
throw new ParcelFormatException("Cannot parcel an Entry with non-parcelable data");
|
||
|
}
|
||
|
parcel.writeInt(0);
|
||
|
}
|
||
|
|
||
|
protected Lhm(Parcel parcel) {
|
||
|
this.b = BitmapDescriptorFactory.HUE_RED;
|
||
|
this.b = parcel.readFloat();
|
||
|
this.e = parcel.readFloat();
|
||
|
if (parcel.readInt() == 1) {
|
||
|
a(parcel.readParcelable(Object.class.getClassLoader()));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public float b() {
|
||
|
return this.b;
|
||
|
}
|
||
|
}
|