Java Code Examples for android.os.Parcel.readDouble()

The following are Jave code examples for showing how to use readDouble() of the android.os.Parcel class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
+ Save this method
Example 1
Project: Custom-Vison-Service   File: Fields.java   View Source Code Vote up 6 votes
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();
}
 
Example 2
Project: Protestr   File: Event.java   View Source Code Vote up 6 votes
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;
}
 
Example 3
Project: Inflix   File: TVShowDetail.java   View Source Code Vote up 6 votes
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();
}
 
Example 4
Project: leanback-assistant   File: Movie.java   View Source Code Vote up 6 votes
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();
}
 
Example 5
Project: SampleAppArch   File: Artist.java   View Source Code Vote up 5 votes
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);
}
 
Example 6
Project: Hands-On-Android-UI-Development   File: ClaimItem.java   View Source Code Vote up 5 votes
@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);
}
 
Example 7
Project: anitrend-app   File: Relations.java   View Source Code Vote up 5 votes
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();
}
 
Example 8
Project: GongXianSheng   File: OrderListResponse.java   View Source Code Vote up 5 votes
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();
}
 
Example 9
Project: anitrend-app   File: SeriesSmall.java   View Source Code Vote up 5 votes
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();
}
 
Example 10
Project: Dispatch   File: Crisis.java   View Source Code Vote up 5 votes
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();
}
 
Example 11
Project: GongXianSheng   File: OrderListResponse.java   View Source Code Vote up 5 votes
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();
}
 
Example 12
Project: Hands-On-Android-UI-Development   File: ClaimItem.java   View Source Code Vote up 5 votes
@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);
}
 
Example 13
Project: Hands-On-Android-UI-Development   File: ClaimItem.java   View Source Code Vote up 5 votes
@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);
}
 
Example 14
Project: Simpler   File: Draft.java   View Source Code Vote up 5 votes
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();
}
 
Example 15
Project: android-geohash   File: BoundingBox.java   View Source Code Vote up 4 votes
protected BoundingBox(Parcel in) {
    minLatitude = in.readDouble();
    maxLatitude = in.readDouble();
    minLongitude = in.readDouble();
    maxLongitude = in.readDouble();
}
 
Example 16
Project: MyFire   File: Friend.java   View Source Code Vote up 4 votes
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();
}
 
Example 17
Project: Android-Development   File: DeviceLocationData.java   View Source Code Vote up 4 votes
protected DeviceLocationData(Parcel in) {
    latitude = in.readDouble();
    longitude = in.readDouble();
    locality = in.readString();
    countryName = in.readString();
}
 
Example 18
Project: Phoenix-for-VK   File: ParcelUtils.java   View Source Code Vote up 4 votes
public static Double readObjectDouble(Parcel in){
    boolean isNull = in.readByte() == (byte) 1;
    if(!isNull){
        return in.readDouble();
    } else return null;
}
 
Example 19
Project: CircleMenu   File: PathPoint.java   View Source Code Vote up 4 votes
public PathPoint(Parcel parcel) {
    x = parcel.readFloat();
    y = parcel.readFloat();
    fraction = parcel.readFloat();
    radian = parcel.readDouble();
}
 
Example 20
Project: xmrwallet   File: TxDataBtc.java   View Source Code Vote up 4 votes
protected TxDataBtc(Parcel in) {
    super(in);
    xmrtoUuid = in.readString();
    btcAddress = in.readString();
    btcAmount = in.readDouble();
}