Example usage for android.os Parcel createIntArray

List of usage examples for android.os Parcel createIntArray

Introduction

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

Prototype

public final int[] createIntArray() 

Source Link

Usage

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

/**
 * Creates a Chat instance from Parcel.//from   w  ww  .j av a  2  s  .c om
 */
public VKApiChat(Parcel in) {
    this.id = in.readInt();
    this.type = in.readString();
    this.title = in.readString();
    this.admin_id = in.readInt();
    this.users = in.createIntArray();
}

From source file:com.chuhan.privatecalc.fragment.os.BackStackState.java

public BackStackState(Parcel in) {
    mOps = in.createIntArray();
    mTransition = in.readInt();//from   w w  w.ja v  a2  s.c  o m
    mTransitionStyle = in.readInt();
    mName = in.readString();
    mIndex = in.readInt();
    mBreadCrumbTitleRes = in.readInt();
    mBreadCrumbTitleText = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(in);
    mBreadCrumbShortTitleRes = in.readInt();
    mBreadCrumbShortTitleText = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(in);
}

From source file:com.rc.droid_stalker.components.NetworkStats.java

public NetworkStats(Parcel parcel) {
    elapsedRealtime = parcel.readLong();
    size = parcel.readInt();/*  w ww.jav  a  2 s  .  c  o  m*/
    iface = parcel.createStringArray();
    uid = parcel.createIntArray();
    set = parcel.createIntArray();
    tag = parcel.createIntArray();
    rxBytes = parcel.createLongArray();
    rxPackets = parcel.createLongArray();
    txBytes = parcel.createLongArray();
    txPackets = parcel.createLongArray();
    operations = parcel.createLongArray();
}

From source file:android.app.FragmentManager.java

public FragmentManagerState(Parcel in) {
    mActive = in.createTypedArray(FragmentState.CREATOR);
    mAdded = in.createIntArray();
    mBackStack = in.createTypedArray(BackStackState.CREATOR);
}