List of usage examples for android.os Parcel writeDouble
public final void writeDouble(double val)
From source file:vandy.mooc.model.provider.Video.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeLong(id);// ww w. j av a2 s. co m dest.writeString(title); dest.writeLong(duration); dest.writeString(location); dest.writeString(subject); dest.writeString(contentType); dest.writeDouble(rating); dest.writeInt(count); }
From source file:vandy.mooc.model.provider.VideoClient.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeLong(id);/*from w w w . ja v a2 s .co m*/ dest.writeString(title); dest.writeLong(duration); dest.writeString(location); dest.writeString(subject); dest.writeString(contentType); dest.writeDouble(rating); dest.writeInt(count); dest.writeString(filepath); }
From source file:com.llc.bumpr.sdk.models.Driver.java
@Override public void writeToParcel(Parcel dest, int flags) { // TODO Auto-generated method stub dest.writeInt(id);/*from ww w. j ava 2 s . c om*/ dest.writeDouble(fee); dest.writeString(licenseId); dest.writeString(insuranceId); dest.writeDouble(balance); dest.writeByte((byte) (active ? 1 : 0)); dest.writeList(requests); }
From source file:com.tdispatch.passenger.model.ApiSearchLocationData.java
@Override public void writeToParcel(Parcel out, int flags) { out.writeString(getTown());/*from ww w.j av a2s. co m*/ out.writeString(getCountry()); out.writeString(getPostCode()); out.writeString(getAddress()); out.writeString(getCounty()); out.writeDouble(getLatitude()); out.writeDouble(getLongitude()); }
From source file:id.satusatudua.sigap.data.model.ImportantContact.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(contactId);//from w w w . j a v a 2 s . c o m dest.writeString(name); dest.writeString(phoneNumber); dest.writeString(userId); dest.writeString(address); dest.writeLong(createdAt.getTime()); dest.writeDouble(avgRate); dest.writeDouble(totalRate); dest.writeLong(totalUserRate); dest.writeInt(myRate); dest.writeByte((byte) (bookmarked ? 1 : 0)); dest.writeParcelable(user, flags); }
From source file:com.nextgis.firereporter.ScanexNotificationItem.java
public void writeToParcel(Parcel out, int flags) { out.writeSerializable(dt); // private Date dt; out.writeDouble(X); out.writeDouble(Y); // private double X,Y; out.writeInt(nIconId); // private nIconId; out.writeLong(nID); // private long nFid; out.writeInt(nConfidence); // private int nConfidence; out.writeInt(nPower); // private int nPower; out.writeString(sURL1); // private String sURL1 out.writeString(sURL2); // private String sURL2 out.writeString(sType); // private String sType out.writeString(sPlace); // private String sPlace out.writeString(sMap); // private String sMap out.writeInt(mbWatched == true ? 1 : 0); // private boolean mbWatched ////www. jav a 2 s . c o m out.writeInt(nFormat); out.writeString(sCoordLat); out.writeString(sCoordLon); out.writeString(sN); out.writeString(sS); out.writeString(sW); out.writeString(sE); }
From source file:org.immopoly.android.model.Flat.java
public void writeToParcel(Parcel dest, int flags) { dest.writeInt(uid);/*from w w w. j av a 2s . c o m*/ dest.writeString(name); dest.writeString(description); dest.writeString(city); dest.writeString(titlePictureSmall); dest.writeString(priceValue); dest.writeString(currency); dest.writeString(priceIntervaleType); dest.writeDouble(lat); dest.writeDouble(lng); dest.writeLong(creationDate); }
From source file:com.codebutler.farebot.transit.OrcaTransitData.java
public void writeToParcel(Parcel parcel, int flags) { parcel.writeInt(mSerialNumber);/*from www . jav a 2s. co m*/ parcel.writeDouble(mBalance); if (mTrips != null) { parcel.writeInt(mTrips.length); parcel.writeParcelableArray(mTrips, flags); } else { parcel.writeInt(0); } }
From source file:com.google.sample.beaconservice.Beacon.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(type);/*from w w w. ja v a 2 s. c om*/ dest.writeByteArray(id); dest.writeString(status); if (placeId != null) { dest.writeInt(1); dest.writeString(placeId); } else { dest.writeInt(0); } if (latitude != null) { dest.writeInt(1); dest.writeDouble(latitude); } else { dest.writeInt(0); } if (longitude != null) { dest.writeInt(1); dest.writeDouble(longitude); } else { dest.writeInt(0); } if (expectedStability != null) { dest.writeInt(1); dest.writeString(expectedStability); } else { dest.writeInt(0); } if (description != null) { dest.writeInt(1); dest.writeString(description); } else { dest.writeInt(0); } }
From source file:com.eTilbudsavis.etasdk.model.Store.java
public void writeToParcel(Parcel dest, int flags) { dest.writeString(this.mErn); dest.writeString(this.mStreet); dest.writeString(this.mCity); dest.writeString(this.mZipcode); dest.writeParcelable(this.mCountry, flags); dest.writeDouble(this.mLatitude); dest.writeDouble(this.mLongitude); dest.writeString(this.mDealerUrl); dest.writeString(this.mDealerId); dest.writeParcelable(this.mBranding, flags); dest.writeString(this.mContact); dest.writeParcelable(this.mDealer, flags); }