Searched refs:performanceGoal (Results 1 – 5 of 5) sorted by relevance
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/ |
D | ExercisePerformanceGoalFormatter.kt | 58 performanceGoal: ExercisePerformanceGoal, in formatPerformanceGoal() 62 return when (performanceGoal) { in formatPerformanceGoal() 68 mapOf("value" to performanceGoal.minPower.inWatts)), in formatPerformanceGoal() 71 mapOf("value" to performanceGoal.maxPower.inWatts))) in formatPerformanceGoal() 80 mapOf("count" to performanceGoal.minRpm)), in formatPerformanceGoal() 83 mapOf("count" to performanceGoal.maxRpm))) in formatPerformanceGoal() 89 mapOf("value" to performanceGoal.minRpm)), in formatPerformanceGoal() 92 mapOf("value" to performanceGoal.maxRpm))) in formatPerformanceGoal() 100 performanceGoal.maxSpeed, unitPreferences, exerciseSegmentType), in formatPerformanceGoal() 102 performanceGoal.minSpeed, unitPreferences, exerciseSegmentType)) in formatPerformanceGoal() [all …]
|
D | PlannedExerciseStepFormatter.kt | 57 performanceGoals.forEach { performanceGoal -> in <lambda>() method 60 performanceGoal, unitPreferences, step.exerciseType)) in <lambda>()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/ |
D | PlannedExerciseSessionRecordHelper.java | 443 for (ExercisePerformanceGoalInternal performanceGoal : exerciseStep.getPerformanceGoals()) { in getStepUpsert() 444 goalUpsertRequests.add(getPerformanceGoalUpsert(performanceGoal)); in getStepUpsert() 499 ExercisePerformanceGoalInternal performanceGoal) { in getPerformanceGoalUpsert() argument 501 performanceGoalContentValues.put(GOAL_TYPE_ID_COLUMN_NAME, performanceGoal.getTypeId()); in getPerformanceGoalUpsert() 502 if (performanceGoal instanceof PowerGoalInternal) { in getPerformanceGoalUpsert() 506 ((PowerGoalInternal) performanceGoal).getMinPower().getInWatts())); in getPerformanceGoalUpsert() 510 ((PowerGoalInternal) performanceGoal).getMaxPower().getInWatts())); in getPerformanceGoalUpsert() 511 } else if (performanceGoal instanceof SpeedGoalInternal) { in getPerformanceGoalUpsert() 515 ((SpeedGoalInternal) performanceGoal) in getPerformanceGoalUpsert() 521 ((SpeedGoalInternal) performanceGoal) in getPerformanceGoalUpsert() [all …]
|
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/ |
D | PlannedExerciseStep.java | 170 public Builder addPerformanceGoal(@NonNull ExercisePerformanceGoal performanceGoal) { in addPerformanceGoal() argument 171 Objects.requireNonNull(performanceGoal); in addPerformanceGoal() 172 this.mPerformanceGoals.add(performanceGoal); in addPerformanceGoal()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/ |
D | ExercisePerformanceGoalInternal.java | 46 for (ExercisePerformanceGoalInternal performanceGoal : performanceGoals) { in writeToParcel() 47 parcel.writeInt(performanceGoal.getTypeId()); in writeToParcel() 48 performanceGoal.writeFieldsToParcel(parcel); in writeToParcel()
|