List of usage examples for android.os Parcel writeInt
public final void writeInt(int val)
From source file:com.cas.model.CourseContent.java
public void writeToParcel(Parcel dest, int flags) { dest.writeInt(id); dest.writeString(name);/* w w w .ja v a 2s . com*/ dest.writeInt(visible); dest.writeString(summary); dest.writeTypedList(modules); }
From source file:com.github.michalbednarski.intentslab.browser.PermissionsFetcher.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(mGrouped ? 1 : 0); dest.writeString(mNameSubstring);/* w w w . j a v a 2 s . c o m*/ dest.writeInt(mProtectionFilter); }
From source file:com.vk.sdk.api.model.VKApiPlace.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(this.id); dest.writeString(this.title); dest.writeDouble(this.latitude); dest.writeDouble(this.longitude); dest.writeLong(this.created); dest.writeInt(this.checkins); dest.writeLong(this.updated); dest.writeInt(this.country_id); dest.writeInt(this.city_id); dest.writeString(address);// ww w .j a va 2s .c o m }
From source file:com.sawyer.advadapters.app.data.MovieItem.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(title);/*from ww w. ja va 2 s . c o m*/ dest.writeInt(year); dest.writeInt(mBarcode); dest.writeString(Boolean.toString(isRecommended)); }
From source file:com.vk.sdk.api.model.VKApiComment.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(this.id); dest.writeInt(this.from_id); dest.writeLong(this.date); dest.writeString(this.text); dest.writeInt(this.reply_to_user); dest.writeInt(this.reply_to_comment); dest.writeInt(this.likes); dest.writeByte(user_likes ? (byte) 1 : (byte) 0); dest.writeByte(can_like ? (byte) 1 : (byte) 0); dest.writeParcelable(this.attachments, flags); }
From source file:br.ufrj.ppgi.jemf.mobile.bean.Equipment.java
/** * Write Equipment data to Parcelable. //from w w w . ja va 2s .c o m */ @Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(getId()); dest.writeString(getName()); dest.writeString(getStatusString()); dest.writeString(getDescription()); }
From source file:ua.setcom.developertools.Onscreen.DevToolsViewState.java
@Override public void writeToParcel(Parcel out, int flags) { out.writeInt(width); out.writeInt(height);// w ww. j a va 2 s. c o m out.writeInt(x); out.writeInt(y); }
From source file:com.gmail.taneza.ronald.carbs.common.FoodItem.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(mTableName);//from ww w .ja va 2 s . co m dest.writeInt(mId); dest.writeInt(mQuantity); dest.writeLong(mTimeAddedMsec); }
From source file:com.vk.sdk.api.model.VKApiMessage.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(this.id); dest.writeInt(this.user_id); dest.writeLong(this.date); dest.writeByte(read_state ? (byte) 1 : (byte) 0); dest.writeByte(out ? (byte) 1 : (byte) 0); dest.writeString(this.title); dest.writeString(this.body); dest.writeParcelable(attachments, flags); dest.writeParcelable(this.fwd_messages, flags); dest.writeByte(emoji ? (byte) 1 : (byte) 0); dest.writeByte(deleted ? (byte) 1 : (byte) 0); }
From source file:org.imaginationforpeople.android2.model.Picture.java
public void writeToParcel(Parcel dest, int flags) { dest.writeInt(id); dest.writeStringArray(new String[] { author, created, desc, license, source, thumbUrl, imageUrl }); }