Code examples for Parcel

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
27:	serverId = in.readLong(); 
28:	name = in.readString(); 
29:	manufacturer = in.readString(); 
30:	androidVersion = in.readString(); 
31:	screenSize = in.readDouble(); 
32:	price = in.readInt(); 
Full Snippet Info
8
CodeRank
120:	dest.writeString(title); 
121:	dest.writeString(link); 
122:	dest.writeString(description); 
-
124:	dest.writeLong(pubDate); 
125:	dest.writeLong(lastBuildDate); 
-
127:	dest.writeString(language); 
128:	dest.writeString(copyright); 
129:	dest.writeString(generator); 
-
131:	dest.writeString(imageWebsiteLink); 
132:	dest.writeString(imageTitle); 
133:	dest.writeString(imageUrl); 
134:	dest.writeInt(imageWidth); 
135:	dest.writeInt(imageHeight); 
136:	dest.writeString(imageDescription); 
-
138:	dest.writeString(managingEditor); 
139:	dest.writeString(webmaster); 
-
141:	dest.writeIntArray(skipDayArray); 
142:	dest.writeIntArray(skipHourArray); 
-
144:	dest.writeInt(ttl); 
-
146:	dest.writeStringList(categoryList); 
-
148:	dest.writeTypedList(rssItemList); 
Full Snippet Info
8
CodeRank
43:	super.writeToParcel(dest, flags); 
44:	dest.writeInt(isDialogShowing ? 1 : 0); 
45:	dest.writeBundle(dialogBundle); 
Full Snippet Info
8
CodeRank
40:	dest.writeLong(serverId); 
41:	dest.writeString(name); 
42:	dest.writeString(manufacturer); 
43:	dest.writeString(androidVersion); 
44:	dest.writeDouble(screenSize); 
45:	dest.writeInt(price); 
Full Snippet Info
8
CodeRank
92:	config.user = in.readString(); 
93:	config.interfaze = in.readString(); 
94:	config.session = in.readString(); 
95:	config.mtu = in.readInt(); 
96:	config.addresses = in.readString(); 
97:	config.routes = in.readString(); 
98:	config.dnsServers = in.createStringArrayList(); 
99:	config.searchDomains = in.createStringArrayList(); 
100:	config.configureIntent = in.readParcelable(null); 
101:	config.startTime = in.readLong(); 
Full Snippet Info
8
CodeRank
688:	dest.writeString(mFragmentClass == null ? null : mFragmentClass.getName()); 
689:	dest.writeParcelable(mSaveState ? mSavedState : null, flags); 
690:	dest.writeInt(mSaveState ? 1 : 0); 
691:	dest.writeInt(mCustomLayout); 
692:	dest.writeInt(mBackgroundColor); 
693:	dest.writeInt(mSelectionHandlerColor); 
694:	dest.writeInt(mTextAppereance); 
695:	dest.writeInt(mTextAppereanceInverse); 
696:	dest.writeTypedList(mSubItems); 
697:	TextUtils.writeToParcel(mLabel, dest, flags); 
Full Snippet Info
8
CodeRank
47:	this.relayPort  = in.readInt(); 
48:	this.sessionId  = in.readLong(); 
49:	this.serverName = in.readString(); 
Full Snippet Info
8
CodeRank
192:	super.readFromParcel(source); 
193:	title = source.readString(); 
194:	sqlQuery = source.readString(); 
195:	valuesForNewTasks = source.readParcelable(ContentValues.class.getClassLoader()); 
Full Snippet Info
8
CodeRank
184:	super.writeToParcel(dest, flags); 
185:	dest.writeString(title); 
186:	dest.writeString(sqlQuery); 
187:	dest.writeParcelable(valuesForNewTasks, 0); 
Full Snippet Info
8
CodeRank
258:	id = source.readString(); 
259:	transactionId = source.readLong(); 
Full Snippet Info
8
CodeRank
21:	super(source); 
22:	text = source.readString(); 
Full Snippet Info
8
CodeRank
53:	mParcel.setDataPosition(0); 
-
55:	assertEquals(0, mParcel.dataPosition()); 
-
73:	final int pos = mParcel.dataPosition(); 
-
75:	mParcel.setDataPosition(offset); 
76:	mParcel.writeInt(pos - offset); 
77:	mParcel.setDataPosition(pos); 
-
130:	mParcel.writeInt(13); // record length 
Full Snippet Info
8
CodeRank