Home
last modified time | relevance | path

Searched refs:mMaxSpeed (Results 1 – 3 of 3) sorted by relevance

/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DExercisePerformanceGoal.java89 private final Velocity mMaxSpeed; field in ExercisePerformanceGoal.SpeedGoal
99 this.mMaxSpeed = maxSpeed; in SpeedGoal()
115 return mMaxSpeed; in getMaxSpeed()
129 return Objects.hash(mMinSpeed, mMaxSpeed); in hashCode()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DExercisePerformanceGoalInternal.java201 parcel.writeDouble(this.mMaxSpeed.getInMetersPerSecond()); in writeFieldsToParcel()
216 private final Velocity mMaxSpeed; field in ExercisePerformanceGoalInternal.SpeedGoalInternal
220 this.mMaxSpeed = maxSpeed; in SpeedGoalInternal()
228 return mMaxSpeed; in getMaxSpeed()
233 return new ExercisePerformanceGoal.SpeedGoal(mMinSpeed, mMaxSpeed); in toExternalObject()
/packages/services/Car/car-lib/src/android/car/drivingstate/
DCarUxRestrictionsConfiguration.java419 writer.name(JSON_NAME_MAX_SPEED).value(restrictions.mSpeedRange.mMaxSpeed); in writeRestrictions()
730 : (r.mSpeedRange.mMinSpeed + " - " + r.mSpeedRange.mMaxSpeed))); in dumpRestrictions()
1200 float lastMaxSpeed = restrictions.get(restrictions.size() - 1).mSpeedRange.mMaxSpeed; in validateRangeOfSpeed()
1225 if (Float.compare(curr.mSpeedRange.mMinSpeed, prev.mSpeedRange.mMaxSpeed) != 0) { in validateContinuousSpeedRange()
1240 private float mMaxSpeed; field in CarUxRestrictionsConfiguration.Builder.SpeedRange
1262 mMaxSpeed = maxSpeed; in SpeedRange()
1272 return mMinSpeed <= speed && speed < mMaxSpeed; in includes()
1283 return Float.compare(mMaxSpeed, other.mMaxSpeed); in compareTo()
1288 return Objects.hash(mMinSpeed, mMaxSpeed); in hashCode()
1308 .append("; max: ").append(mMaxSpeed == MAX_SPEED ? "max_speed" : mMaxSpeed) in toString()
[all …]