List of usage examples for android.os Parcel writeInt
public final void writeInt(int val)
From source file:br.ufrj.ppgi.jemf.mobile.bean.Contact.java
/** * Write Contact data to Parcelable. //from ww w . j a v a2 s .c o m */ @Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(getId()); dest.writeString(getPhone()); dest.writeString(getEmail()); dest.writeString(getRadio()); dest.writeString(getLanguageString()); }
From source file:br.ufrj.ppgi.jemf.mobile.bean.InterestPoint.java
/** * Write InterestPoint data to Parcelable. *//*from ww w .j a va 2 s . c o m*/ @Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(getId()); dest.writeString(getStatusString()); dest.writeString(getTimeStampString()); dest.writeInt(getInterval()); dest.writeString(getName()); }
From source file:com.kevinquan.google.activityrecoginition.model.Motion.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(mType.getGoogleActivityId()); dest.writeInt(mConfidence);// w w w . jav a2s. com dest.writeLong(mTimestamp); dest.writeLong(mMillisSinceBoot); }
From source file:com.nextgis.maplib.datasource.ngw.LayerWithStyles.java
@Override public void writeToParcel(Parcel parcel, int i) { super.writeToParcel(parcel, i); if (null == mStyles) parcel.writeInt(0); else {/*from w w w .j av a 2 s. c om*/ parcel.writeInt(mStyles.size()); for (Long style : mStyles) { parcel.writeLong(style); } } }
From source file:com.facebook.notifications.internal.content.TextContent.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(text);/*from www . j a v a 2s . co m*/ dest.writeInt(textColor); dest.writeString(typeface); dest.writeFloat(typefaceSize); dest.writeParcelable(textAlignment, flags); }
From source file:br.ufrj.ppgi.jemf.mobile.bean.Witness.java
/** * Write Witness data to Parcelable. // w w w. j a v a2s .c o m */ @Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(getId()); dest.writeString(getName()); dest.writeInt(getGender()); dest.writeString(getBirthDateString()); dest.writeInt(getAge()); }
From source file:ca.frozen.rpicameraviewer.classes.Settings.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(cameraName);/*from w w w . j a v a 2 s. c om*/ dest.writeInt(showAllCameras ? 1 : 0); dest.writeParcelable(rawTcpIpSource, flags); dest.writeParcelable(rawHttpSource, flags); dest.writeParcelable(rawMulticastSource, flags); }
From source file:com.artemchep.horario.database.models.Absence.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(key);//from ww w. jav a2s .c om dest.writeString(subject); dest.writeString(reason); dest.writeInt(date); dest.writeInt(time); }
From source file:com.google.android.apps.flexbox.FlexItem.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(this.index); dest.writeInt(this.width); dest.writeInt(this.height); dest.writeInt(this.topMargin); dest.writeInt(this.startMargin); dest.writeInt(this.endMargin); dest.writeInt(this.bottomMargin); dest.writeInt(this.paddingTop); dest.writeInt(this.paddingStart); dest.writeInt(this.paddingEnd); dest.writeInt(this.paddingBottom); dest.writeInt(this.order); dest.writeFloat(this.flexGrow); dest.writeFloat(this.flexShrink); dest.writeInt(this.alignSelf); dest.writeFloat(this.flexBasisPercent); dest.writeInt(this.minWidth); dest.writeInt(this.minHeight); dest.writeInt(this.maxWidth); dest.writeInt(this.maxHeight); dest.writeByte((byte) (wrapBefore ? 1 : 0)); }
From source file:de.lebenshilfe_muenster.uk_gebaerden_muensterland.database.Sign.java
@Override public void writeToParcel(Parcel out, int flags) { out.writeInt(this.id); out.writeString(this.name); out.writeString(this.nameLocaleDe); out.writeString(this.mnemonic); out.writeValue(this.starred); out.writeInt(this.learningProgress); }