Home
last modified time | relevance | path

Searched refs:AoaVector (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/math/
DAoaVectorTest.java37 AoaVector vec = AoaVector.fromDegrees(90, 90, 1); in testCtorScaleDown()
41 vec = AoaVector.fromDegrees(180 - 45, 90, 1); in testCtorScaleDown()
48 AoaVector vec = AoaVector.fromDegrees(185, 10, 10); in testCtorNormalization()
54 vec = AoaVector.fromRadians((float) toRadians(5), (float) toRadians(110), 10); in testCtorNormalization()
65 SphericalVector sv = AoaVector.fromRadians(0, 1.4373895f, 1) in testRoundingRegression()
69 sv = AoaVector.fromRadians(0, -1.4373895f, 1) in testRoundingRegression()
76 AoaVector aoav = AoaVector.fromDegrees(0, 18, 10); in testToSphericalVector()
84 aoav = AoaVector.fromDegrees(-12, 0, 10); in testToSphericalVector()
97 AoaVector avec = AoaVector.fromDegrees(15, 25, 6); in testToSphericalVector()
101 avec = AoaVector.fromDegrees(95, 25, 6); in testToSphericalVector()
[all …]
DSphericalVectorTest.java51 AoaVector av = sv.toAoAVector(); in testToAoAVector()
72 AoaVector avec = svec.toAoAVector(); in testToAoAVector()
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/math/
DAoaVector.java59 public final class AoaVector { class
77 private AoaVector(float azimuth, float elevation, float distance) { in AoaVector() method in AoaVector
143 public static AoaVector fromRadians(float azimuth, float elevation, float distance) { in fromRadians()
144 return new AoaVector(azimuth, elevation, distance); in fromRadians()
156 public static AoaVector fromDegrees(float azimuth, float elevation, float distance) { in fromDegrees()
157 return new AoaVector( in fromDegrees()
171 public static AoaVector fromCartesian(@NonNull Vector3 position) { in fromCartesian()
186 public static AoaVector fromCartesian(float x, float y, float z) { in fromCartesian()
189 return new AoaVector(0, 0, 0); in fromCartesian()
197 return new AoaVector(azimuth, elevation, d); in fromCartesian()
[all …]
DSphericalVector.java155 public static SphericalVector fromAoAVector(AoaVector vec) { in fromAoAVector()
177 public AoaVector toAoAVector() { in toAoAVector()
178 return AoaVector.fromSphericalVector(this); in toAoAVector()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/
DTestHelpers.java21 import com.android.server.uwb.correction.math.AoaVector;
41 public static void assertClose(AoaVector v, AoaVector c) {
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/primers/
DAoaPrimer.java21 import com.android.server.uwb.correction.math.AoaVector;
54 AoaVector.fromRadians( in prime()