本文整理汇总了Java中android.os.Parcel.createFloatArray方法的典型用法代码示例。如果您正苦于以下问题:Java Parcel.createFloatArray方法的具体用法?Java Parcel.createFloatArray怎么用?Java Parcel.createFloatArray使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类android.os.Parcel
的用法示例。
在下文中一共展示了Parcel.createFloatArray方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: ShareElementInfo
import android.os.Parcel; //导入方法依赖的package包/类
protected ShareElementInfo(Parcel in) {
mOriginalLocation = in.createIntArray();
mTargetLocation = in.createIntArray();
mOriginalValues = in.createFloatArray();
mTargetValues = in.createFloatArray();
mOriginalWidth = in.readInt();
mOriginalHeight = in.readInt();
mTargetWidth = in.readInt();
mTargetHeight = in.readInt();
mOriginalViewWidth = in.readInt();
mOriginalViewHeight = in.readInt();
mTargetViewWidth = in.readInt();
mTargetViewHeight = in.readInt();
mCenterOffsetX = in.readInt();
mCenterOffsetY = in.readInt();
mScaleX = in.readFloat();
mScaleY = in.readFloat();
mPivotX = in.readFloat();
mPivotY = in.readFloat();
}
示例2: Offer
import android.os.Parcel; //导入方法依赖的package包/类
protected Offer(Parcel in) {
title = in.readString();
description = in.readString();
descriptionLong = in.readString();
language = in.readString();
brand = in.readString();
catalogNumbers = in.createFloatArray();
customIds = in.readParcelable(CustomIds.class.getClassLoader());
keywords = in.createStringArray();
categories = in.createStringArray();
availability = in.readString();
groupId = in.readString();
price = in.readString();
salePrice = in.readString();
links = in.readParcelable(Links.class.getClassLoader());
images = in.createStringArray();
metadata = in.readString();
sku = in.readString();
score = in.readFloat();
}
示例3: ActivityResult
import android.os.Parcel; //导入方法依赖的package包/类
protected ActivityResult(Parcel in) {
super(null,
(Uri) in.readParcelable(Uri.class.getClassLoader()),
(Exception) in.readSerializable(),
in.createFloatArray(),
(Rect) in.readParcelable(Rect.class.getClassLoader()),
in.readInt(), in.readInt());
}
示例4: StatusUser
import android.os.Parcel; //导入方法依赖的package包/类
private StatusUser(Parcel in) {
boolean z;
boolean z2 = true;
this.id = in.readInt();
this.nickname = in.readString();
this.realname = in.readString();
this.location = in.createFloatArray();
this.address = in.readString();
this.bmi = in.readFloat();
this.description = in.readString();
this.avatar_url = in.readString();
this.gender = in.readString();
this.follower_count = in.readInt();
this.following_count = in.readInt();
this.post_count = in.readInt();
this.envious_count = in.readInt();
this.jealous_count = in.readInt();
this.hateful_count = in.readInt();
if (in.readByte() != (byte) 0) {
z = true;
} else {
z = false;
}
this.following = z;
if (in.readByte() != (byte) 0) {
z = true;
} else {
z = false;
}
this.invited = z;
this.title = in.readString();
if (in.readByte() == (byte) 0) {
z2 = false;
}
this.light = z2;
}
示例5: ActivityResult
import android.os.Parcel; //导入方法依赖的package包/类
protected ActivityResult(Parcel in) {
super(
null,
(Uri) in.readParcelable(Uri.class.getClassLoader()),
null,
(Uri) in.readParcelable(Uri.class.getClassLoader()),
(Exception) in.readSerializable(),
in.createFloatArray(),
(Rect) in.readParcelable(Rect.class.getClassLoader()),
(Rect) in.readParcelable(Rect.class.getClassLoader()),
in.readInt(),
in.readInt());
}
示例6: KeyValueTemp
import android.os.Parcel; //导入方法依赖的package包/类
protected KeyValueTemp(Parcel in) {
values = in.createFloatArray();
keys = in.createStringArray();
}