List of usage examples for android.os Parcel writeInt
public final void writeInt(int val)
From source file:com.brotherpowers.cameraview.AspectRatio.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(mX); dest.writeInt(mY); }
From source file:com.datastore_android_sdk.rxvolley.http.URLHttpResponse.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeSerializable(this.headers); dest.writeInt(this.responseCode); dest.writeString(this.responseMessage); dest.writeString(this.contentEncoding); dest.writeString(this.contentType); dest.writeLong(this.contentLength); }
From source file:net.issarlk.androbunny.inkbunny.User.java
public void writeToParcel(Parcel out, int flag) { out.writeInt(this.id); out.writeString(this.name); if (this.icon_file_name != null) { out.writeInt(1);// ww w.j a va 2 s .c o m out.writeString(this.icon_file_name); this.icons[0].writeToParcel(out, 0); this.icons[1].writeToParcel(out, 0); this.icons[2].writeToParcel(out, 0); } else { out.writeInt(0); } if (this.profile != null) { out.writeInt(1); out.writeString(this.profile); } else { out.writeInt(0); } }
From source file:com.tigerpenguin.places.model.Photo.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(photoReference);/* w w w. j a v a2 s.c om*/ dest.writeInt(height); dest.writeInt(width); dest.writeStringList(htmlAttributions); }
From source file:com.cas.model.Course.java
public void writeToParcel(Parcel dest, int flags) { dest.writeInt(id); dest.writeString(shortname);//w w w .java 2 s. c o m dest.writeString(fullname); dest.writeInt(enrolledusercount); dest.writeString(idnumber); dest.writeInt(visible); dest.writeTypedList(coursecontents); }
From source file:com.vk.sdk.api.model.VKApiSchool.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(this.id); dest.writeInt(this.country_id); dest.writeInt(this.city_id); dest.writeString(this.name); dest.writeInt(this.year_from); dest.writeInt(this.year_to); dest.writeInt(this.year_graduated); dest.writeString(this.clazz); dest.writeString(this.speciality); }
From source file:com.lugia.timetable.Schedule.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(mSection); dest.writeInt(mDay);//from w w w. j a va 2 s .com dest.writeInt(mTime); dest.writeInt(mLength); dest.writeString(mRoom); }
From source file:org.solovyev.android.calculator.onscreen.CalculatorOnscreenViewState.java
@Override public void writeToParcel(@Nonnull Parcel out, int flags) { out.writeInt(width); out.writeInt(height);//from w ww .j ava2 s. c o m out.writeInt(x); out.writeInt(y); }
From source file:br.ufrj.ppgi.jemf.mobile.bean.Location.java
/** * Write Location data to Parcelable. //w w w .java 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()); }
From source file:com.vk.sdk.api.model.VKApiUniversity.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(this.id); dest.writeInt(this.country_id); dest.writeInt(this.city_id); dest.writeString(this.name); dest.writeString(this.faculty); dest.writeString(this.faculty_name); dest.writeInt(this.chair); dest.writeString(this.chair_name); dest.writeInt(this.graduation); dest.writeString(this.education_form); dest.writeString(this.education_status); }