/packages/modules/Uwb/service/java/com/android/server/uwb/correction/math/ |
D | Vector3.java | 75 float norm = MathHelper.rsqrt(normSquared); in normalized() 159 float clampedX = MathHelper.clamp(x, min.x, max.x); in clamp() 160 float clampedY = MathHelper.clamp(y, min.y, max.y); in clamp() 161 float clampedZ = MathHelper.clamp(z, min.z, max.z); in clamp() 184 cos = MathHelper.clamp(cos, -1.0f, 1.0f); in angleBetweenVectors() 202 /*x=*/ MathHelper.lerp(start.x, end.x, ratio), in lerp() 203 /*y=*/ MathHelper.lerp(start.y, end.y, ratio), in lerp() 204 /*z=*/ MathHelper.lerp(start.z, end.z, ratio)); in lerp()
|
D | AoaVector.java | 18 import static com.android.server.uwb.correction.math.MathHelper.F_HALF_PI; 19 import static com.android.server.uwb.correction.math.MathHelper.F_PI; 78 elevation = MathHelper.normalizeRadians(elevation); in AoaVector() 92 azimuth = MathHelper.normalizeRadians(azimuth); in AoaVector()
|
D | SphericalVector.java | 18 import static com.android.server.uwb.correction.math.MathHelper.F_HALF_PI; 19 import static com.android.server.uwb.correction.math.MathHelper.F_PI; 66 elevation = MathHelper.normalizeRadians(elevation); in SphericalVector() 80 azimuth = MathHelper.normalizeRadians(azimuth); in SphericalVector()
|
D | MathHelper.java | 26 public final class MathHelper { class 75 private MathHelper() {} in MathHelper() method in MathHelper
|
D | Quaternion.java | 18 import static com.android.server.uwb.correction.math.MathHelper.F_HALF_PI; 19 import static com.android.server.uwb.correction.math.MathHelper.F_PI; 279 MathHelper.lerp(x, q.x, t), in lerp() 280 MathHelper.lerp(y, q.y, t), in lerp() 281 MathHelper.lerp(z, q.z, t), in lerp() 282 MathHelper.lerp(w, q.w, t) in lerp()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/filtering/ |
D | MedAvgRotationFilter.java | 18 import static com.android.server.uwb.correction.math.MathHelper.F_PI; 19 import static com.android.server.uwb.correction.math.MathHelper.normalizeRadians; 25 import com.android.server.uwb.correction.math.MathHelper; 56 result.value = MathHelper.normalizeRadians(result.value); in averageSamples() 66 super.remap(v -> MathHelper.normalizeRadians(selector.run(v))); in remap()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/math/ |
D | MathHelperTest.java | 20 import static com.android.server.uwb.correction.math.MathHelper.clamp; 21 import static com.android.server.uwb.correction.math.MathHelper.lerp; 22 import static com.android.server.uwb.correction.math.MathHelper.normalizeDegrees; 23 import static com.android.server.uwb.correction.math.MathHelper.normalizeRadians; 24 import static com.android.server.uwb.correction.math.MathHelper.rsqrt;
|
D | Vector3Test.java | 19 import static com.android.server.uwb.correction.math.MathHelper.F_HALF_PI; 20 import static com.android.server.uwb.correction.math.MathHelper.F_PI;
|
D | QuaternionTest.java | 20 import static com.android.server.uwb.correction.math.MathHelper.F_HALF_PI;
|
D | MatrixTest.java | 18 import static com.android.server.uwb.correction.math.MathHelper.F_PI;
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/primers/ |
D | BackAzimuthPrimerTest.java | 18 import static com.android.server.uwb.correction.math.MathHelper.F_HALF_PI; 19 import static com.android.server.uwb.correction.math.MathHelper.F_PI; 20 import static com.android.server.uwb.correction.math.MathHelper.normalizeRadians; 30 import com.android.server.uwb.correction.math.MathHelper; 85 float azimuth = MathHelper.normalizeRadians(poseAngle - (float) toRadians(mTagAngle)); in simulateRotation()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/pose/ |
D | GyroPoseSource.java | 26 import com.android.server.uwb.correction.math.MathHelper; 123 mAbsoluteYaw = MathHelper.normalizeRadians(mAbsoluteYaw + yaw); in onSensorChanged() 124 mAbsolutePitch = MathHelper.normalizeRadians(mAbsolutePitch + pitch); in onSensorChanged() 125 mAbsoluteRoll = MathHelper.normalizeRadians(mAbsoluteRoll + roll); in onSensorChanged()
|
D | SixDofPoseSource.java | 18 import static com.android.server.uwb.correction.math.MathHelper.F_HALF_PI;
|
D | RotationPoseSource.java | 18 import static com.android.server.uwb.correction.math.MathHelper.F_HALF_PI;
|
D | IntegPoseSource.java | 18 import static com.android.server.uwb.correction.math.MathHelper.F_HALF_PI;
|
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/primers/ |
D | BackAzimuthPrimer.java | 18 import static com.android.server.uwb.correction.math.MathHelper.F_HALF_PI; 19 import static com.android.server.uwb.correction.math.MathHelper.F_PI; 20 import static com.android.server.uwb.correction.math.MathHelper.MS_PER_SEC; 21 import static com.android.server.uwb.correction.math.MathHelper.normalizeRadians; 36 import com.android.server.uwb.correction.math.MathHelper; 148 float timeScale = (float) MathHelper.MS_PER_SEC / timeDeltaMs; in prime()
|
D | FovPrimer.java | 18 import static com.android.server.uwb.correction.math.MathHelper.F_PI;
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/filtering/ |
D | MedAvgRotationFilterFilterTest.java | 19 import static com.android.server.uwb.correction.math.MathHelper.F_HALF_PI; 20 import static com.android.server.uwb.correction.math.MathHelper.F_PI;
|