本文整理匯總了Java中android.os.Parcel.writeFloatArray方法的典型用法代碼示例。如果您正苦於以下問題:Java Parcel.writeFloatArray方法的具體用法?Java Parcel.writeFloatArray怎麽用?Java Parcel.writeFloatArray使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類android.os.Parcel
的用法示例。
在下文中一共展示了Parcel.writeFloatArray方法的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: writeToParcel
import android.os.Parcel; //導入方法依賴的package包/類
@Override
public void writeToParcel(Parcel dest, int flags) {
dest.writeIntArray(mOriginalLocation);
dest.writeIntArray(mTargetLocation);
dest.writeFloatArray(mOriginalValues);
dest.writeFloatArray(mTargetValues);
dest.writeInt(mOriginalWidth);
dest.writeInt(mOriginalHeight);
dest.writeInt(mTargetWidth);
dest.writeInt(mTargetHeight);
dest.writeInt(mOriginalViewWidth);
dest.writeInt(mOriginalViewHeight);
dest.writeInt(mTargetViewWidth);
dest.writeInt(mTargetViewHeight);
dest.writeInt(mCenterOffsetX);
dest.writeInt(mCenterOffsetY);
dest.writeFloat(mScaleX);
dest.writeFloat(mScaleY);
dest.writeFloat(mPivotX);
dest.writeFloat(mPivotY);
}
示例2: writeToParcel
import android.os.Parcel; //導入方法依賴的package包/類
@Override
public void writeToParcel(Parcel parcel, int i) {
parcel.writeString(title);
parcel.writeString(description);
parcel.writeString(descriptionLong);
parcel.writeString(language);
parcel.writeString(brand);
parcel.writeFloatArray(catalogNumbers);
parcel.writeParcelable(customIds, i);
parcel.writeStringArray(keywords);
parcel.writeStringArray(categories);
parcel.writeString(availability);
parcel.writeString(groupId);
parcel.writeString(price);
parcel.writeString(salePrice);
parcel.writeParcelable(links, i);
parcel.writeStringArray(images);
parcel.writeString(metadata);
parcel.writeString(sku);
parcel.writeFloat(score);
}
示例3: writeToParcel
import android.os.Parcel; //導入方法依賴的package包/類
@Override
public void writeToParcel(Parcel dest, int flags) {
dest.writeParcelable(getUri(), flags);
dest.writeSerializable(getError());
dest.writeFloatArray(getCropPoints());
dest.writeParcelable(getCropRect(), flags);
dest.writeInt(getRotation());
dest.writeInt(getSampleSize());
}
示例4: writeToParcel
import android.os.Parcel; //導入方法依賴的package包/類
public void writeToParcel(Parcel dest, int flags) {
byte b;
byte b2 = (byte) 1;
dest.writeInt(this.id);
dest.writeString(this.nickname);
dest.writeString(this.realname);
dest.writeFloatArray(this.location);
dest.writeString(this.address);
dest.writeFloat(this.bmi);
dest.writeString(this.description);
dest.writeString(this.avatar_url);
dest.writeString(this.gender);
dest.writeInt(this.follower_count);
dest.writeInt(this.following_count);
dest.writeInt(this.post_count);
dest.writeInt(this.envious_count);
dest.writeInt(this.jealous_count);
dest.writeInt(this.hateful_count);
if (this.following) {
b = (byte) 1;
} else {
b = (byte) 0;
}
dest.writeByte(b);
if (this.invited) {
b = (byte) 1;
} else {
b = (byte) 0;
}
dest.writeByte(b);
dest.writeString(this.title);
if (!this.light) {
b2 = (byte) 0;
}
dest.writeByte(b2);
}
示例5: writeToParcel
import android.os.Parcel; //導入方法依賴的package包/類
@Override
public void writeToParcel(Parcel dest, int flags) {
dest.writeParcelable(getOriginalUri(), flags);
dest.writeParcelable(getUri(), flags);
dest.writeSerializable(getError());
dest.writeFloatArray(getCropPoints());
dest.writeParcelable(getCropRect(), flags);
dest.writeParcelable(getWholeImageRect(), flags);
dest.writeInt(getRotation());
dest.writeInt(getSampleSize());
}
示例6: writeToParcel
import android.os.Parcel; //導入方法依賴的package包/類
@Override
public void writeToParcel(Parcel parcel, int i) {
parcel.writeFloatArray(values);
parcel.writeStringArray(keys);
}
示例7: writeToParcel
import android.os.Parcel; //導入方法依賴的package包/類
@Override
public void writeToParcel(Parcel out, int flags) {
super.writeToParcel(out, flags);
out.writeFloatArray(saveColor);
out.writeInt(saveAlpha);
}