當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。