Home
last modified time | relevance | path

Searched refs:Annotated (Results 1 – 17 of 17) sorted by relevance

/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/primers/
DElevationPrimerTest.java25 import com.android.server.uwb.correction.math.SphericalVector.Annotated;
41 Annotated input = SphericalVector.fromDegrees(35, 0, 10).toAnnotated(); in hasElevationTest()
42 Annotated result = primer.prime(input, null, nps, 0); in hasElevationTest()
54 Annotated input = SphericalVector.fromDegrees(35, 0, 10) in noPoseTest()
57 Annotated result = primer.prime(input, null, nps, 0); in noPoseTest()
74 Annotated input = SphericalVector.fromDegrees(35, 0, 10) in noElevationTest()
77 Annotated result = primer.prime(input, prediction, nps, 0); in noElevationTest()
94 Annotated input = SphericalVector.fromDegrees(35, 0, 10) in replaceElevationTest()
97 Annotated result = primer.prime(input, prediction, nps, 0); in replaceElevationTest()
DNullPrimer.java22 import com.android.server.uwb.correction.math.SphericalVector.Annotated;
38 public Annotated prime(@NonNull Annotated input, @Nullable SphericalVector prediction, in prime()
54 return new Annotated(SphericalVector.fromRadians(Math.abs(azimuth), elevation, distance)); in prime()
DAoaPrimerTest.java22 import com.android.server.uwb.correction.math.SphericalVector.Annotated;
32 Annotated sv = SphericalVector.fromDegrees(35, 0, 10) in conversionTest()
34 Annotated result = primer.prime(sv, null, null, 0); in conversionTest()
55 Annotated result = primer.prime(sv.toAnnotated(false, true, true), null, null, 0); in missingDataTest()
DFoVPrimerTest.java24 import com.android.server.uwb.correction.math.SphericalVector.Annotated;
33 Annotated input, result; in conversionTest()
62 Annotated input, result; in edgeCases()
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/math/
DSphericalVector.java221 public Annotated toAnnotated() { in toAnnotated()
222 return new Annotated(this, true, true, true); in toAnnotated()
234 public Annotated toAnnotated(boolean hasAzimuth, boolean hasElevation, boolean hasDistance) { in toAnnotated()
235 return new Annotated( in toAnnotated()
248 public static class Annotated extends SphericalVector { class in SphericalVector
261 public Annotated( in Annotated() method in SphericalVector.Annotated
279 public Annotated( in Annotated() method in SphericalVector.Annotated
307 public Annotated copyFomFrom(Annotated basis) { in copyFomFrom()
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/primers/
DFovPrimer.java27 import com.android.server.uwb.correction.math.SphericalVector.Annotated;
65 public SphericalVector.Annotated prime( in prime()
66 @NonNull SphericalVector.Annotated input, in prime()
83 Annotated result = new Annotated(SphericalVector.fromRadians( in prime()
DAoaPrimer.java23 import com.android.server.uwb.correction.math.SphericalVector.Annotated;
45 public SphericalVector.Annotated prime( in prime()
46 @NonNull SphericalVector.Annotated input, in prime()
53 return new Annotated( in prime()
DElevationPrimer.java51 public SphericalVector.Annotated prime( in prime()
52 @NonNull SphericalVector.Annotated input, in prime()
56 SphericalVector.Annotated position = input; in prime()
66 position = new SphericalVector.Annotated( in prime()
DBackAzimuthPrimer.java39 import com.android.server.uwb.correction.math.SphericalVector.Annotated;
136 public SphericalVector.Annotated prime( in prime()
137 @NonNull SphericalVector.Annotated input, in prime()
267 Annotated annotatedResult = new Annotated( in prime()
287 private void updateFom(Annotated annotatedResult, float normalAccuracy, float mirrorAccuracy) { in updateFom()
DIPrimer.java43 SphericalVector.Annotated prime( in prime()
44 @NonNull SphericalVector.Annotated input, in prime()
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/filtering/
DIPositionFilter.java18 import static com.android.server.uwb.correction.math.SphericalVector.Annotated;
36 void add(@NonNull Annotated value, long timeMs); in add()
42 Annotated compute(long timeMs); in compute()
DPositionFilterImpl.java23 import com.android.server.uwb.correction.math.SphericalVector.Annotated;
62 public void add(@NonNull SphericalVector.Annotated value, long timeMs) { in add()
81 public SphericalVector.Annotated compute(long timeMs) { in compute()
89 Annotated result = SphericalVector.fromRadians( in compute()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/
DUwbFilterEngineTest.java29 import com.android.server.uwb.correction.math.SphericalVector.Annotated;
53 Annotated annotated = SphericalVector.fromRadians(0, 0, 0) in testBadReading()
56 Annotated currentVector = engine.compute(0); in testBadReading()
68 Annotated annotated = SphericalVector.fromRadians(0, 0, 0) in testIntermittentReading()
72 Annotated currentVector = engine.compute(0); in testIntermittentReading()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/filtering/
DNullPositionFilter.java33 private SphericalVector.Annotated mValue;
44 public void add(@NonNull SphericalVector.Annotated value, long timeMs) { in add()
57 public SphericalVector.Annotated compute(long timeMs) { in compute()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbControlee.java134 SphericalVector.Annotated sv = SphericalVector.fromRadians(azimuth, elevation, distance) in filterMeasurement()
144 SphericalVector.Annotated engineResult = mEngine.compute(nowMs); in filterMeasurement()
169 SphericalVector.Annotated replacement) { in updateBuilder()
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/
DUwbFilterEngine.java56 @Nullable private SphericalVector.Annotated mLastInputState;
78 public void add(@NonNull SphericalVector.Annotated position, long timeMs) { in add()
129 public SphericalVector.Annotated compute(long timeMs) { in compute()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/math/
DSphericalVectorTest.java127 SphericalVector.Annotated sparse = vec.toAnnotated(); in annotated()