Example usage for android.os Parcel writeInt

List of usage examples for android.os Parcel writeInt

Introduction

In this page you can find the example usage for android.os Parcel writeInt.

Prototype

public final void writeInt(int val) 

Source Link

Document

Write an integer value into the parcel at the current dataPosition(), growing dataCapacity() if needed.

Usage

From source file:com.vk.sdk.api.model.VKApiCity.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(this.id);
    dest.writeString(this.title);
}

From source file:com.vk.sdk.api.model.VKApiOwner.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(this.id);
}

From source file:ca.frozen.curlingtv.classes.Settings.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(port);
}

From source file:com.codebutler.farebot.transit.MensacardTransitData.java

public void writeToParcel(Parcel parcel, int flags) {
    parcel.writeInt(mBalance);
    parcel.writeInt(lastTransaction);
}

From source file:com.tigerpenguin.places.model.AspectRating.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeSerializable(aspectType);
    dest.writeInt(rating);
}

From source file:com.facebook.notifications.internal.configuration.ActionConfiguration.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(backgroundColor);
    dest.writeInt(borderColor);//from   w  w  w .j ava  2 s .  co  m

    dest.writeFloat(borderWidth);
    dest.writeParcelable(content, flags);

    dest.writeParcelable(actionUri, flags);
}

From source file:edu.umich.flowfence.common.ParamInfo.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(typeName);//w  ww.j a  va 2 s .  c  om
    dest.writeInt(paramIndex);
    direction.writeToParcel(dest, flags);
}

From source file:com.nttec.everychan.ui.gallery.GalleryInitResult.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(initPosition);
    dest.writeInt(shouldWaitForPageLoaded ? 1 : 0);
    dest.writeInt(attachments.size());//from w  w w.  j av a2s .c om
    for (Triple<AttachmentModel, String, String> tuple : attachments) {
        AttachmentModel attachment = tuple.getLeft();
        dest.writeInt(attachment.type);
        dest.writeInt(attachment.size);
        dest.writeString(attachment.thumbnail);
        dest.writeString(attachment.path);
        dest.writeInt(attachment.width);
        dest.writeInt(attachment.height);
        dest.writeString(attachment.originalName);
        dest.writeInt(attachment.isSpoiler ? 1 : 0);
        dest.writeString(tuple.getMiddle());
        dest.writeString(tuple.getRight());
    }
}

From source file:com.eTilbudsavis.etasdk.model.Pieces.java

public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(this.mFrom);
    dest.writeInt(this.mTo);
}

From source file:com.vk.sdk.api.model.VKApiChat.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(this.id);
    dest.writeString(this.type);
    dest.writeString(this.title);
    dest.writeInt(this.admin_id);
    dest.writeIntArray(this.users);
}