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


Java Parcel.readDouble方法代码示例

本文整理汇总了Java中android.os.Parcel.readDouble方法的典型用法代码示例。如果您正苦于以下问题:Java Parcel.readDouble方法的具体用法?Java Parcel.readDouble怎么用?Java Parcel.readDouble使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在android.os.Parcel的用法示例。


在下文中一共展示了Parcel.readDouble方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: Fields

import android.os.Parcel; //导入方法依赖的package包/类
protected Fields(Parcel in) {
    this.itemId = in.readString();
    this.itemName = in.readString();
    this.brandName = in.readString();
    this.nfCalories = in.readDouble();
    this.nfCaloriesFromFat = in.readDouble();
    this.nfTotalFat = in.readDouble();
    this.nfSaturatedFat = in.readDouble();
    this.nfTransFattyAcid = in.readInt();
    this.nfPolyunsaturatedFat = in.readDouble();
    this.nfMonounsaturatedFat = in.readDouble();
    this.nfCholesterol = in.readInt();
    this.nfSodium = in.readDouble();
    this.nfTotalCarbohydrate = in.readDouble();
    this.nfDietaryFiber = in.readDouble();
    this.nfSugars = in.readDouble();
    this.nfProtein = in.readDouble();
    this.nfVitaminADv = in.readDouble();
    this.nfVitaminCDv = in.readDouble();
    this.nfCalciumDv = in.readDouble();
    this.nfIronDv = in.readDouble();
    this.nfServingSizeQty = in.readInt();
    this.nfServingSizeUnit = in.readString();
}
 
开发者ID:CatalystCode,项目名称:Custom-Vison-Service,代码行数:25,代码来源:Fields.java

示例2: Event

import android.os.Parcel; //导入方法依赖的package包/类
protected Event(Parcel in) {
    eventId = in.readString();
    userId = in.readString();
    title = in.readString();
    description = in.readString();
    fromDate = in.readLong();
    toDate = in.readLong();
    participants = in.readInt();
    locationName = in.readString();
    imageUrl = in.readString();
    latitude = in.readDouble();
    longitude = in.readDouble();
    iso3Country = in.readString();
    isAdmin = in.readByte() != 0;
    isSubscribed = in.readByte() != 0;
}
 
开发者ID:GrenderG,项目名称:Protestr,代码行数:17,代码来源:Event.java

示例3: TVShowDetail

import android.os.Parcel; //导入方法依赖的package包/类
protected TVShowDetail(Parcel in) {
    backdropPath = in.readString();
    firstAirDate = in.readString();
    homepage = in.readString();
    id = in.readLong();
    inProduction = in.readByte() != 0;
    lastAirDate = in.readString();
    name = in.readString();
    numberOfEpisodes = in.readLong();
    numberOfSeasons = in.readLong();
    overview = in.readString();
    popularity = in.readDouble();
    posterPath = in.readString();
    status = in.readString();
    voteAverage = in.readDouble();
    voteCount = in.readLong();
}
 
开发者ID:scaffeinate,项目名称:Inflix,代码行数:18,代码来源:TVShowDetail.java

示例4: Movie

import android.os.Parcel; //导入方法依赖的package包/类
private Movie(Parcel in) {
    id = in.readInt();
    title = in.readString();
    description = in.readString();
    cardImage = in.readString();
    backgroundImage = in.readString();
    videoUrl = in.readString();
    contentType = in.readString();
    live = in.readInt() == 1;
    width = in.readInt();
    height = in.readInt();
    audioChannelConfig = in.readString();
    purchasePrice = in.readString();
    rentalPrice = in.readString();
    ratingStyle = in.readInt();
    ratingScore = in.readDouble();
    productionYear = in.readInt();
    duration = in.readInt();
}
 
开发者ID:googlesamples,项目名称:leanback-assistant,代码行数:20,代码来源:Movie.java

示例5: Artist

import android.os.Parcel; //导入方法依赖的package包/类
protected Artist(Parcel in) {
  this.artistId = in.readLong();
  this.artistName = in.readString();
  this.trackName = in.readString();
  this.artworkUrl100 = in.readString();
  this.trackPrice = in.readDouble();
  this.isFavourite = in.readByte() != 0;
  long tmpCreateDate = in.readLong();
  this.createDate = tmpCreateDate == -1 ? null : new Date(tmpCreateDate);
}
 
开发者ID:charlesng,项目名称:SampleAppArch,代码行数:11,代码来源:Artist.java

示例6: ClaimItem

import android.os.Parcel; //导入方法依赖的package包/类
@Ignore
protected ClaimItem(final Parcel in) {
    id = in.readLong();
    description = in.readString();
    amount = in.readDouble();
    final long time = in.readLong();
    timestamp = time != -1 ? new Date(time) : null;
    final int categoryOrd = in.readInt();
    category = categoryOrd != -1 ? Category.values()[categoryOrd] : null;
    in.readTypedList(attachments, Attachment.CREATOR);
}
 
开发者ID:PacktPublishing,项目名称:Hands-On-Android-UI-Development,代码行数:12,代码来源:ClaimItem.java

示例7: Relations

import android.os.Parcel; //导入方法依赖的package包/类
protected Relations(Parcel in) {
    id = in.readInt();
    series_type = in.readString();
    title_romaji = in.readString();
    title_english = in.readString();
    title_japanese = in.readString();
    type = in.readString();
    start_date_fuzzy = in.readInt();
    end_date_fuzzy = in.readInt();
    synonyms = in.createStringArray();
    genres = in.createStringArray();
    adult = in.readByte() != 0;
    average_score = in.readDouble();
    popularity = in.readInt();
    image_url_sml = in.readString();
    image_url_med = in.readString();
    image_url_lge = in.readString();
    image_url_banner = in.readString();
    updated_at = in.readLong();
    total_chapters = in.readInt();
    total_episodes = in.readInt();
    total_volumes = in.readInt();
    airing_status = in.readString();
    publishing_status = in.readString();
    relation_type = in.readString();
    link_id = in.readInt();
}
 
开发者ID:wax911,项目名称:anitrend-app,代码行数:28,代码来源:Relations.java

示例8: ListBean

import android.os.Parcel; //导入方法依赖的package包/类
protected ListBean(Parcel in) {
    amountTotal = in.readDouble();
    endUnloadDatetime = in.readString();
    driver = in.readString();
    estimatedDate = in.readString();
    isTwoUnit = in.readByte() != 0;
    hasReturn = in.readInt();
    loadingTime = in.readString();
    estimatedTime = in.readString();
    createDate = in.readString();
    startUnloadDatetime = in.readString();
    state = in.readString();
    receiveUserName = in.readString();
    tallyingUserName = in.readString();
    isDoubleReceive = in.readByte() != 0;
    unApplyService = in.readByte() != 0;
    settleAmountTotal = in.readDouble();
    waybill = in.readParcelable(WaybillBean.class.getClassLoader());
    hasAttachment = in.readInt();
    isFinishTallying = in.readByte() != 0;
    createUserName = in.readString();
    orderSettleName = in.readString();
    publicAmountTotal = in.readDouble();
    deliveredQty = in.readDouble();
    confirmationDate = in.readString();
    orderID = in.readInt();
    name = in.readString();
    appraisalUserName = in.readString();
    amount = in.readDouble();
    isToday = in.readByte() != 0;
    doneDatetime = in.readString();
    deliveryType = in.readString();
    lines = in.createTypedArrayList(LinesBean.CREATOR);
    stateTracker = in.createStringArrayList();
    returnOrders = in.createStringArrayList();
}
 
开发者ID:ebridfighter,项目名称:GongXianSheng,代码行数:37,代码来源:OrderListResponse.java

示例9: SeriesSmall

import android.os.Parcel; //导入方法依赖的package包/类
protected SeriesSmall(Parcel in) {
    id = in.readInt();
    series_type = in.readString();
    title_romaji = in.readString();
    title_english = in.readString();
    title_japanese = in.readString();
    type = in.readString();
    start_date_fuzzy = in.readInt();
    end_date_fuzzy = in.readInt();
    season = in.readInt();
    synonyms = in.createStringArray();
    genres = in.createStringArray();
    adult = in.readByte() != 0;
    average_score = in.readDouble();
    popularity = in.readInt();
    role = in.readString();
    image_url_sml = in.readString();
    image_url_med = in.readString();
    image_url_lge = in.readString();
    image_url_banner = in.readString();
    updated_at = in.readInt();
    actors = in.createTypedArrayList(StaffSmall.CREATOR);
    characters = in.createTypedArrayList(CharacterSmall.CREATOR);
    total_episodes = in.readInt();
    duration = in.readInt();
    airing_status = in.readString();
    youtube_id = in.readString();
    hashtag = in.readString();
    source = in.readString();
    airing = in.readParcelable(Airing.class.getClassLoader());
    total_chapters = in.readInt();
    total_volumes = in.readInt();
    publishing_status = in.readString();
}
 
开发者ID:wax911,项目名称:anitrend-app,代码行数:35,代码来源:SeriesSmall.java

示例10: Crisis

import android.os.Parcel; //导入方法依赖的package包/类
protected Crisis(Parcel in) {
    crisisID = in.readString();
    crisisAddress = in.readString();
    timeDispatchReceivedCall = in.readString();
    dispatcherComments = in.readString();
    callBackNumber = in.readString();
    timeTeamDispatched = in.readString();
    teamName = in.readString();
    timeArrivedOnScene = in.readString();
    timeResponseComplete = in.readString();
    status = in.readString();
    latitude = in.readDouble();
    longitude = in.readDouble();
}
 
开发者ID:panzerama,项目名称:Dispatch,代码行数:15,代码来源:Crisis.java

示例11: LotListBean

import android.os.Parcel; //导入方法依赖的package包/类
protected LotListBean(Parcel in) {
    this.lotPk = in.readString();
    this.lotID = in.readInt();
    this.name = in.readString();
    this.qty = in.readDouble();
    this.height = in.readDouble();
    this.produce_datetime = in.readString();
    this.life_datetime = in.readString();
}
 
开发者ID:ebridfighter,项目名称:GongXianSheng,代码行数:10,代码来源:OrderListResponse.java

示例12: Draft

import android.os.Parcel; //导入方法依赖的package包/类
protected Draft(Parcel in) {
    this.id = in.readInt();
    this.uid = in.readString();
    this.content = in.readString();
    this.photoList = new ArrayList<Photo>();
    in.readList(this.photoList, Photo.class.getClassLoader());
    this.latitude = in.readDouble();
    this.longitude = in.readDouble();
    this.isEnableGeo = in.readByte() != 0;
    this.isLocation = in.readByte() != 0;
    this.addrStr = in.readString();
    this.menuId = in.readInt();
    this.groupId = in.readString();
    this.groupName = in.readString();
}
 
开发者ID:liying2008,项目名称:Simpler,代码行数:16,代码来源:Draft.java

示例13: BoundingBox

import android.os.Parcel; //导入方法依赖的package包/类
protected BoundingBox(Parcel in) {
    minLatitude = in.readDouble();
    maxLatitude = in.readDouble();
    minLongitude = in.readDouble();
    maxLongitude = in.readDouble();
}
 
开发者ID:drfonfon,项目名称:android-geohash,代码行数:7,代码来源:BoundingBox.java

示例14: Friend

import android.os.Parcel; //导入方法依赖的package包/类
protected Friend(Parcel in) {
    this.realName = in.readString();
    this.avater = in.readString();
    this.sex = in.readString();
    this.status = in.readString();
    this.mood = in.readString();
    this.nickName = in.readString();
    this.createTime = in.readString();
    this.birthday = in.readString();
    this.phone = in.readString();
    this.sort = in.readString();
    this.invitationUserId = in.readString();
    this.phoneMac = in.readString();
    this.workspace = in.readString();
    this.endTime = in.readString();
    this.password = in.readString();
    this.phoneModel = in.readString();
    this.livespace = in.readString();
    this.city = in.readString();
    this.isCoutier = in.readString();
    this.isfriend = in.readString();
    this.startTime = in.readString();
    this.id = in.readString();
    this.vocation = in.readString();
    this.qualification = in.readString();
    this.flagMsg = in.readString();
    this.fStatus = in.readString();
    this.rownum_ = in.readInt();
    this.order = in.readString();
    this.totalCount = in.readInt();
    this.page = in.readInt();
    this.toNumber = in.readInt();
    this.age = in.readString();
    this.signature = in.readString();
    this.roleId = in.readInt();
    this.icon = in.readString();
    this.hometown = in.readString();
    this.tradePassword = in.readString();
    this.fromNumber = in.readInt();
    this.avocation = in.readString();
    this.whetherPushMsg = in.readString();
    this.rows = in.readInt();
    this.picture = in.readString();
    this.roleTypeId = in.readInt();
    this.flag = in.readInt();
    this.source = in.readString();
    this.account = in.readString();
    this.constellatory = in.readString();
    this.totalPage = in.readInt();
    this.clevel = in.readString();
    this.latitude = in.readDouble();
    this.longitude = in.readDouble();
    this.totalStars = in.readInt();
    this.totalTimes = in.readInt();
    this.userId = in.readString();
    this.distance = in.readString();
    this.friendName = in.readString();
    this.groupId = in.readString();
    this.applyStatus = in.readString();
}
 
开发者ID:wp521,项目名称:MyFire,代码行数:61,代码来源:Friend.java

示例15: DeviceLocationData

import android.os.Parcel; //导入方法依赖的package包/类
protected DeviceLocationData(Parcel in) {
    latitude = in.readDouble();
    longitude = in.readDouble();
    locality = in.readString();
    countryName = in.readString();
}
 
开发者ID:CityZenApp,项目名称:Android-Development,代码行数:7,代码来源:DeviceLocationData.java


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