List of usage examples for android.os Parcel createLongArray
public final long[] createLongArray()
From source file:io.github.hidroh.materialistic.data.HackerNewsItem.java
@Synthetic HackerNewsItem(Parcel source) { id = source.readLong();// www. j a va 2 s .c o m title = source.readString(); time = source.readLong(); by = source.readString(); kids = source.createLongArray(); url = source.readString(); text = source.readString(); type = source.readString(); favorite = source.readInt() != 0; descendants = source.readInt(); score = source.readInt(); favorite = source.readInt() == 1; viewed = source.readInt() == 1; localRevision = source.readInt(); level = source.readInt(); dead = source.readInt() == 1; deleted = source.readInt() == 1; collapsed = source.readInt() == 1; contentExpanded = source.readInt() == 1; rank = source.readInt(); lastKidCount = source.readInt(); hasNewDescendants = source.readInt() == 1; parent = source.readLong(); voted = source.readInt() == 1; pendingVoted = source.readInt() == 1; next = source.readLong(); previous = source.readLong(); }
From source file:com.rc.droid_stalker.components.NetworkStats.java
public NetworkStats(Parcel parcel) { elapsedRealtime = parcel.readLong(); size = parcel.readInt();//ww w. j a v a2s .c om 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.Notification.java
/** * Unflatten the notification from a parcel. *//*from w ww . j av a 2s . c o m*/ public Notification(Parcel parcel) { int version = parcel.readInt(); when = parcel.readLong(); icon = parcel.readInt(); number = parcel.readInt(); if (parcel.readInt() != 0) { contentIntent = PendingIntent.CREATOR.createFromParcel(parcel); } if (parcel.readInt() != 0) { deleteIntent = PendingIntent.CREATOR.createFromParcel(parcel); } if (parcel.readInt() != 0) { tickerText = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(parcel); } if (parcel.readInt() != 0) { tickerView = RemoteViews.CREATOR.createFromParcel(parcel); } if (parcel.readInt() != 0) { contentView = RemoteViews.CREATOR.createFromParcel(parcel); } if (parcel.readInt() != 0) { largeIcon = Bitmap.CREATOR.createFromParcel(parcel); } defaults = parcel.readInt(); flags = parcel.readInt(); if (parcel.readInt() != 0) { sound = Uri.CREATOR.createFromParcel(parcel); } audioStreamType = parcel.readInt(); vibrate = parcel.createLongArray(); ledARGB = parcel.readInt(); ledOnMS = parcel.readInt(); ledOffMS = parcel.readInt(); iconLevel = parcel.readInt(); if (parcel.readInt() != 0) { fullScreenIntent = PendingIntent.CREATOR.createFromParcel(parcel); } priority = parcel.readInt(); kind = parcel.createStringArray(); // may set kind to null if (parcel.readInt() != 0) { extras = parcel.readBundle(); } actions = parcel.createTypedArray(Action.CREATOR); if (parcel.readInt() != 0) { bigContentView = RemoteViews.CREATOR.createFromParcel(parcel); } }