List of usage examples for android.os Parcel readDouble
public final double readDouble()
From source file:com.eTilbudsavis.etasdk.model.Si.java
private Si(Parcel in) { this.mSymbol = in.readString(); this.mFactor = in.readDouble(); }
From source file:org.mariotaku.twidere.model.ParcelableLocation.java
public ParcelableLocation(final Parcel in) { latitude = in.readDouble(); longitude = in.readDouble(); }
From source file:io.github.data4all.model.data.TransformationParamBean.java
/** * Constructor to create a TransformationParamBean from a parcel. * //from w w w.ja v a2 s . co m * @param in * The parcel to read from */ private TransformationParamBean(Parcel in) { height = in.readDouble(); verticalViewAngle = in.readDouble(); horizontalViewAngle = in.readDouble(); photoWidth = in.readInt(); photoHeight = in.readInt(); if (in.readInt() != 0) { location = new Location(in.readString()); location.setLatitude(in.readDouble()); location.setLongitude(in.readDouble()); } }
From source file:com.vk.sdk.api.model.VKApiPlace.java
/** * Creates a Place instance from Parcel. *///from w ww. j a va 2 s .c om public VKApiPlace(Parcel in) { this.id = in.readInt(); this.title = in.readString(); this.latitude = in.readDouble(); this.longitude = in.readDouble(); this.created = in.readLong(); this.checkins = in.readInt(); this.updated = in.readLong(); this.country_id = in.readInt(); this.city_id = in.readInt(); this.address = in.readString(); }
From source file:com.codebutler.farebot.transit.orca.OrcaTransitData.java
private OrcaTransitData(Parcel parcel) { mSerialNumber = parcel.readInt();// w w w . j a va2 s . c o m mBalance = parcel.readDouble(); parcel.readInt(); mTrips = (Trip[]) parcel.readParcelableArray(Trip.class.getClassLoader()); }
From source file:com.tdispatch.passenger.model.LocationData.java
private LocationData(Parcel in) { setAddress(in.readString()); setPostCode(in.readString()); setLatitude(in.readDouble()); setLongitude(in.readDouble()); }
From source file:edu.pdx.its.portal.routelandia.entities.TrafficStat.java
public TrafficStat(Parcel parcel) { this.hour = parcel.readInt(); this.minutes = parcel.readInt(); this.speed = parcel.readDouble(); this.travelTime = parcel.readDouble(); this.accuracy = parcel.readDouble(); this.distance = parcel.readDouble(); }
From source file:ir.aarani.bazaar.billing.SkuDetails.java
protected SkuDetails(Parcel in) { this.productId = in.readString(); this.title = in.readString(); this.description = in.readString(); this.isSubscription = in.readByte() != 0; this.currency = in.readString(); this.priceValue = in.readDouble(); this.priceLong = in.readLong(); this.priceText = in.readString(); }
From source file:fr.cph.chicago.entity.BikeStation.java
private void readFromParcel(@NonNull final Parcel in) { id = in.readInt();/*from ww w .j a v a2 s. c o m*/ name = in.readString(); availableDocks = in.readInt(); totalDocks = in.readInt(); latitude = in.readDouble(); longitude = in.readDouble(); statusValue = in.readString(); statusKey = in.readString(); availableBikes = in.readInt(); stAddress1 = in.readString(); stAddress2 = in.readString(); city = in.readString(); postalCode = in.readString(); location = in.readString(); altitude = in.readString(); testStation = Boolean.valueOf(in.readString()); lastCommunicationTime = in.readString(); landMark = in.readString(); }
From source file:vandy.mooc.model.provider.Video.java
public Video(Parcel in) { id = in.readLong();/* ww w.jav a 2 s . c o m*/ title = in.readString(); duration = in.readLong(); location = in.readString(); subject = in.readString(); contentType = in.readString(); rating = in.readDouble(); count = in.readInt(); }