当前位置: 首页>>代码示例>>Java>>正文


Java Parcel.createFloatArray方法代码示例

本文整理汇总了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();
}
 
开发者ID:idisfkj,项目名称:AndroidShareElement,代码行数:21,代码来源:ShareElementInfo.java

示例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();
}
 
开发者ID:nyris,项目名称:Nyris.IMX.Android,代码行数:21,代码来源:Offer.java

示例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());
}
 
开发者ID:chuch0805,项目名称:Android-Demo_ImageCroper,代码行数:9,代码来源:CropImage.java

示例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;
}
 
开发者ID:JackChan1999,项目名称:boohee_v5.6,代码行数:37,代码来源:StatusUser.java

示例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());
}
 
开发者ID:prashantsaini1,项目名称:android-titanium-imagecropper,代码行数:14,代码来源:CropImage.java

示例6: KeyValueTemp

import android.os.Parcel; //导入方法依赖的package包/类
protected KeyValueTemp(Parcel in) {
    values = in.createFloatArray();
    keys = in.createStringArray();
}
 
开发者ID:wax911,项目名称:anitrend-app,代码行数:5,代码来源:KeyValueTemp.java


注:本文中的android.os.Parcel.createFloatArray方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。