public virtual void setIcon(int index, [email protected] icon) { android.os.Parcel _data = android.os.Parcel.obtain(); try { _data.writeInterfaceToken(DESCRIPTOR); _data.writeInt(index); if ((icon != null)) { _data.writeInt(1); icon.writeToParcel(_data, 0); } else { _data.writeInt(0); } mRemote.transact([email protected]_setIcon , _data, null, android.os.IBinderClass.FLAG_ONEWAY); } finally { _data.recycle(); } }
public virtual void writeToParcel(android.os.Parcel @out, int flags) { @out.writeStringArray(mSlots); if (mIcons == null) { @out.writeInt(-1); } else { int N = mIcons.Length; @out.writeInt(N); { for (int i = 0; i < N; i++) { [email protected] ic = mIcons[i]; if (ic == null) { @out.writeInt(0); } else { @out.writeInt(1); ic.writeToParcel(@out, flags); } } } } }
public virtual [email protected] clone() { [email protected] that = new [email protected] (this.iconPackage, this.iconId, this.iconLevel, this.number, this.contentDescription ); that.visible = this.visible; return(that); }
public virtual void readFromParcel(android.os.Parcel @in) { this.mSlots = @in.readStringArray(); int N = @in.readInt(); if (N < 0) { mIcons = null; } else { mIcons = new [email protected][N]; { for (int i = 0; i < N; i++) { if (@in.readInt() != 0) { mIcons[i] = new [email protected](@in); } } } } }
public abstract void setIcon(int arg1, [email protected] arg2);
public virtual void setIcon(int index, [email protected] icon) { mIcons[index] = icon.clone(); }