Searched refs:weightKg (Results 1 – 2 of 2) sorted by relevance
111 double weightKg = 85; in totalCaloriesBurned_derivedFromWeightAndHeight() local115 getBaseWeightRecord(EPOCH, weightKg))); in totalCaloriesBurned_derivedFromWeightAndHeight()124 response.get(ENERGY_TOTAL), getBasalCaloriesPerDay(weightKg, heightCm)); in totalCaloriesBurned_derivedFromWeightAndHeight()395 private static double getBasalCaloriesPerDay(double weightKg, double heightCm) { in getBasalCaloriesPerDay() argument401 return (10 * weightKg + 6.25 * heightCm - 5 * defaultAge - 78) * 1000; in getBasalCaloriesPerDay()
117 static WeightRecord getBaseWeightRecord(Instant time, double weightKg) { in getBaseWeightRecord() argument118 return new WeightRecord.Builder(getEmptyMetadata(), time, Mass.fromGrams(weightKg * 1000)) in getBaseWeightRecord()