Searched refs:getInCalories (Results 1 – 13 of 13) sorted by relevance
43 public double getInCalories() { in getInCalories() method in Energy76 return this.getInCalories() == other.getInCalories(); in equals()88 return Objects.hash(this.getInCalories()); in hashCode()
174 ValidationUtils.requireInRange(energy.getInCalories(), 0.0, 1000000000.0, "energy"); in ActiveCaloriesBurnedRecord()230 recordInternal.setEnergy(mEnergy.getInCalories()); in toRecordInternal()
85 ValidationUtils.requireInRange(energy.getInCalories(), 0.0, 1000000000.0, "energy"); in TotalCaloriesBurnedRecord()237 recordInternal.setEnergy(mEnergy.getInCalories()); in toRecordInternal()
2017 recordInternal.setEnergyFromFat(getEnergyFromFat().getInCalories()); in toRecordInternal()2056 recordInternal.setEnergy(getEnergy().getInCalories()); in toRecordInternal()
28 assertThat(energy.getInCalories()).isWithin(1).of(expected); in assertEnergyWithTolerance()
461 assertThat(oldEnergy.getInCalories() / 1000).isWithin(1).of(13118); in testAggregation_BasalCaloriesBurntTotal()462 assertThat(newEnergy.getInCalories() / 1000).isGreaterThan(13118); in testAggregation_BasalCaloriesBurntTotal()463 assertThat((double) Math.round(newEnergy.getInCalories() - oldEnergy.getInCalories())) in testAggregation_BasalCaloriesBurntTotal()
35 assertThat(Energy.fromCalories(10.0).getInCalories()).isEqualTo(10.0); in testCreate()
268 parcel.writeDouble(this.mTotalCalories.getInCalories()); in writeFieldsToParcel()305 parcel.writeDouble(this.mActiveCalories.getInCalories()); in writeFieldsToParcel()
591 assertThat(newEnergy.getInCalories() - oldEnergy.getInCalories()).isEqualTo(0.1); in testAggregation_NutritionEnergyValuesTotal()592 assertThat(newFatEnergy.getInCalories() - oldFatEnergy.getInCalories()).isEqualTo(0.1); in testAggregation_NutritionEnergyValuesTotal()
480 .getInCalories())); in getCompletionGoalUpsert()487 .getInCalories())); in getCompletionGoalUpsert()
503 ((ActiveCaloriesBurnedRecord) record).getEnergy().getInCalories()); in recordToString()
777 values.putDouble(ENERGY_IN_CALORIES, record.getEnergy().getInCalories()); in getTotalCaloriesBurnedRecord()
1723 method public double getInCalories();