Home
last modified time | relevance | path

Searched refs:prediction (Results 1 – 25 of 48) sorted by relevance

12

/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/primers/
DFoVPrimerTest.java34 SphericalVector prediction = SphericalVector.fromDegrees(0, 0, 0); in conversionTest() local
45 result = primer.prime(input, prediction, null, 0); in conversionTest()
52 result = primer.prime(input, prediction, null, 0); in conversionTest()
63 SphericalVector prediction = SphericalVector.fromDegrees(0, 0, 0); in edgeCases() local
67 result = primer.prime(input, prediction, null, 0); in edgeCases()
73 result = primer.prime(input, prediction, null, 0); in edgeCases()
81 result = primer.prime(input, prediction, null, 0); in edgeCases()
88 result = primer.prime(input, prediction, null, 0); in edgeCases()
97 result = primer.prime(input, prediction, null, 0); in edgeCases()
DNullPrimer.java38 public Annotated prime(@NonNull Annotated input, @Nullable SphericalVector prediction, in prime() argument
46 azimuth = prediction.azimuth; in prime()
49 elevation = prediction.elevation; in prime()
52 distance = prediction.distance; in prime()
DElevationPrimerTest.java76 SphericalVector prediction = SphericalVector.fromDegrees(5, 6, 7); in noElevationTest() local
77 Annotated result = primer.prime(input, prediction, nps, 0); in noElevationTest()
96 SphericalVector prediction = SphericalVector.fromDegrees(5, 6, 7); in replaceElevationTest() local
97 Annotated result = primer.prime(input, prediction, nps, 0); in replaceElevationTest()
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/primers/
DFovPrimer.java67 @Nullable SphericalVector prediction, in prime() argument
70 if (prediction == null) { in prime()
74 float azimuth = input.hasAzimuth ? input.azimuth : prediction.azimuth; in prime()
75 float elevation = input.hasElevation ? input.elevation : prediction.elevation; in prime()
84 prediction.azimuth, in prime()
85 prediction.elevation, in prime()
DBackAzimuthPrimer.java138 @Nullable SphericalVector prediction, in prime() argument
141 if (!input.hasAzimuth || poseSource == null || prediction == null) { in prime()
152 if (abs(prediction.azimuth) > F_HALF_PI in prime()
157 } else if (abs(prediction.azimuth) <= F_HALF_PI in prime()
163 mLastAzimuthPrediction = prediction.azimuth; in prime()
260 prediction.azimuth, in prime()
261 prediction.elevation, in prime()
DIPrimer.java45 @Nullable SphericalVector prediction, in prime() argument
DAoaPrimer.java47 @Nullable SphericalVector prediction, in prime() argument
DElevationPrimer.java53 @Nullable SphericalVector prediction, in prime() argument
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/
DWidgetPredictionsRequester.java24 import android.app.prediction.AppPredictionContext;
25 import android.app.prediction.AppPredictionManager;
26 import android.app.prediction.AppPredictor;
27 import android.app.prediction.AppTarget;
28 import android.app.prediction.AppTargetEvent;
29 import android.app.prediction.AppTargetId;
179 for (AppTarget prediction : predictions) { in filterPredictions()
181 new PackageUserKey(prediction.getPackageName(), prediction.getUser())); in filterPredictions()
185 String className = prediction.getClassName(); in filterPredictions()
DAppEventProducer.java18 import static android.app.prediction.AppTargetEvent.ACTION_DISMISS;
19 import static android.app.prediction.AppTargetEvent.ACTION_LAUNCH;
20 import static android.app.prediction.AppTargetEvent.ACTION_PIN;
21 import static android.app.prediction.AppTargetEvent.ACTION_UNDISMISS;
22 import static android.app.prediction.AppTargetEvent.ACTION_UNPIN;
49 import android.app.prediction.AppTarget;
50 import android.app.prediction.AppTargetEvent;
51 import android.app.prediction.AppTargetId;
DPredictionHelper.java20 import android.app.prediction.AppTarget;
21 import android.app.prediction.AppTargetEvent;
22 import android.app.prediction.AppTargetId;
DQuickstepModelDelegate.java36 import android.app.prediction.AppPredictionContext;
37 import android.app.prediction.AppPredictionManager;
38 import android.app.prediction.AppPredictor;
39 import android.app.prediction.AppTarget;
40 import android.app.prediction.AppTargetEvent;
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/
DUwbFilterEngine.java82 SphericalVector prediction = compute(timeMs); in add() local
86 bigLog.append(prediction); in add()
91 position = primer.prime(position, prediction, mPoseSource, timeMs); in add()
98 if (position.isComplete() || prediction == null) { in add()
105 position.hasAzimuth ? position.azimuth : prediction.azimuth, in add()
106 position.hasElevation ? position.elevation : prediction.elevation, in add()
107 position.hasDistance ? position.distance : prediction.distance in add()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/shortcuts/
DAppPredictorFactory.kt18 import android.app.prediction.AppPredictionContext
19 import android.app.prediction.AppPredictionManager
20 import android.app.prediction.AppPredictor
DScopedAppTargetListCallback.kt19 import android.app.prediction.AppPredictor
20 import android.app.prediction.AppTarget
DShortcutLoader.kt19 import android.app.prediction.AppPredictor in <lambda>()
20 import android.app.prediction.AppTarget in <lambda>()
/packages/apps/OnDeviceAppPrediction/src/com/android/apppredictionservice/
DPredictionService.java23 import android.app.prediction.AppPredictionContext;
24 import android.app.prediction.AppPredictionSessionId;
25 import android.app.prediction.AppTarget;
26 import android.app.prediction.AppTargetEvent;
27 import android.app.prediction.AppTargetId;
/packages/modules/IntentResolver/java/src/com/android/intentresolver/model/
DAppPredictionServiceResolverComparator.java19 import static android.app.prediction.AppTargetEvent.ACTION_LAUNCH;
21 import android.app.prediction.AppPredictor;
22 import android.app.prediction.AppTarget;
23 import android.app.prediction.AppTargetEvent;
24 import android.app.prediction.AppTargetId;
/packages/apps/Launcher3/quickstep/tests/src/com/android/launcher3/model/
DQuickstepModelDelegateTest.kt3 import android.app.prediction.AppPredictor
4 import android.app.prediction.AppTarget
5 import android.app.prediction.AppTargetEvent
DWidgetsPredictionsRequesterTest.kt19 import android.app.prediction.AppTarget
20 import android.app.prediction.AppTargetEvent
21 import android.app.prediction.AppTargetId
DWidgetsPredicationUpdateTaskTest.java37 import android.app.prediction.AppTarget;
38 import android.app.prediction.AppTargetId;
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/
DTestHelpers.kt19 import android.app.prediction.AppTarget
20 import android.app.prediction.AppTargetId
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
DHotseatPredictionModel.java23 import android.app.prediction.AppTarget;
24 import android.app.prediction.AppTargetEvent;
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/chooser/
DTargetInfoTest.kt19 import android.app.prediction.AppTarget
20 import android.app.prediction.AppTargetId
/packages/apps/Launcher3/protos/
Dlauncher_atom.proto166 ALLAPPS_PREDICTION = 7; // from prediction bar in all apps container
167 HOTSEAT_PREDICTION = 8; // from prediction bar in hotseat container
305 // Represents hotseat container with prediction feature enabled.

12