Home
last modified time | relevance | path

Searched refs:minSpeed (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsConfigurationXmlParser.java339 float minSpeed = 0; in mapDrivingStateToRestrictions() local
341 minSpeed = Float in mapDrivingStateToRestrictions()
344 minSpeed = INVALID_SPEED; in mapDrivingStateToRestrictions()
363 minSpeed, maxSpeed); in mapDrivingStateToRestrictions()
545 private CarUxRestrictionsConfiguration.Builder.SpeedRange parseSpeedRange(float minSpeed, in parseSpeedRange() argument
547 if (Float.compare(minSpeed, 0) < 0 || Float.compare(maxSpeed, 0) < 0) { in parseSpeedRange()
550 return new CarUxRestrictionsConfiguration.Builder.SpeedRange(minSpeed, maxSpeed); in parseSpeedRange()
/packages/services/Car/car-lib/src/android/car/drivingstate/
DCarUxRestrictionsConfiguration.java631 float minSpeed = Builder.SpeedRange.MAX_SPEED; in readRestrictions() local
637 minSpeed = Double.valueOf(reader.nextDouble()).floatValue(); in readRestrictions()
645 speedRange = new Builder.SpeedRange(minSpeed, maxSpeed); in readRestrictions()
1245 public SpeedRange(@FloatRange(from = 0.0) float minSpeed) { in SpeedRange()
1246 this(minSpeed, MAX_SPEED); in SpeedRange()
1249 public SpeedRange(@FloatRange(from = 0.0) float minSpeed, in SpeedRange()
1251 if (Float.compare(minSpeed, 0) < 0 || Float.compare(maxSpeed, 0) < 0) { in SpeedRange()
1254 if (minSpeed == MAX_SPEED) { in SpeedRange()
1257 if (minSpeed > maxSpeed) { in SpeedRange()
1258 throw new IllegalArgumentException("Min speed " + minSpeed in SpeedRange()
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/
DExercisePerformanceGoalFormatter.kt102 performanceGoal.minSpeed, unitPreferences, exerciseSegmentType)) in formatPerformanceGoal()
107 performanceGoal.minSpeed, unitPreferences, exerciseSegmentType), in formatPerformanceGoal()
176 performanceGoal.minSpeed, unitPreferences, exerciseSegmentType)) in formatPerformanceGoalA11y()
181 performanceGoal.minSpeed, unitPreferences, exerciseSegmentType), in formatPerformanceGoalA11y()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DExercisePerformanceGoal.java95 public SpeedGoal(@NonNull Velocity minSpeed, @NonNull Velocity maxSpeed) { in SpeedGoal() argument
96 Objects.requireNonNull(minSpeed); in SpeedGoal()
98 this.mMinSpeed = minSpeed; in SpeedGoal()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DExercisePerformanceGoalInternal.java218 public SpeedGoalInternal(Velocity minSpeed, Velocity maxSpeed) { in SpeedGoalInternal() argument
219 this.mMinSpeed = minSpeed; in SpeedGoalInternal()