Home
last modified time | relevance | path

Searched refs:targets (Results 1 – 25 of 44) sorted by relevance

12

/packages/modules/ExtServices/tests/src/android/ext/services/resolver/
DLRResolverRankerServiceTest.java137 final List<ResolverTarget> targets = in testOnPredictSharingProbabilitiesWhileServiceIsNotReady() local
145 () -> service.onPredictSharingProbabilities(targets)); in testOnPredictSharingProbabilitiesWhileServiceIsNotReady()
155 final List<ResolverTarget> targets = in testOnPredictSharingProbabilitiesAfterUserUnlock() local
162 service.onPredictSharingProbabilities(targets); in testOnPredictSharingProbabilitiesAfterUserUnlock()
164 assertThat(targets.get(0).getSelectProbability()).isIn(Range.closed(0f, 1.0f)); in testOnPredictSharingProbabilitiesAfterUserUnlock()
165 assertThat(targets.get(1).getSelectProbability()).isIn(Range.closed(0f, 1.0f)); in testOnPredictSharingProbabilitiesAfterUserUnlock()
174 final List<ResolverTarget> targets = in testOnPredictSharingProbabilities() local
181 service.onPredictSharingProbabilities(targets); in testOnPredictSharingProbabilities()
183 assertThat(targets.get(0).getSelectProbability()).isIn(Range.closed(0f, 1.0f)); in testOnPredictSharingProbabilities()
184 assertThat(targets.get(1).getSelectProbability()).isIn(Range.closed(0f, 1.0f)); in testOnPredictSharingProbabilities()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/logging/
DUserEventDispatcher.java105 @Nullable ArrayList<Target> targets) { in fillLogContainer() argument
111 firstParent.fillInLogContainerData(itemInfo, child, targets); in fillLogContainer()
116 @NonNull ArrayList<Target> targets) { in onFillInLogContainerData() argument
139 ArrayList<Target> targets = makeTargetsList(itemTarget); in logAppLaunch() local
140 if (fillLogContainer(v, itemTarget, targets)) { in logAppLaunch()
141 onFillInLogContainerData((ItemInfo) v.getTag(), itemTarget, targets); in logAppLaunch() local
144 LauncherEvent event = newLauncherEvent(action, targets); in logAppLaunch()
188 ArrayList<Target> targets = makeTargetsList(itemTarget); in logNotificationLaunch() local
190 if (fillLogContainer(v, itemTarget, targets)) { in logNotificationLaunch()
238 ArrayList<Target> targets = makeTargetsList(itemTarget); in logActionCommand() local
[all …]
DLoggerUtils.java172 public static LauncherEvent newLauncherEvent(Action action, ArrayList<Target> targets) { in newLauncherEvent() argument
173 Target[] targetsArray = new Target[targets.size()]; in newLauncherEvent()
174 targets.toArray(targetsArray); in newLauncherEvent()
/packages/modules/ExtServices/src/android/ext/services/resolver/
DLRResolverRankerService.java77 public void onPredictSharingProbabilities(List<ResolverTarget> targets) { in onPredictSharingProbabilities() argument
80 final int size = targets.size(); in onPredictSharingProbabilities()
82 ResolverTarget target = targets.get(i); in onPredictSharingProbabilities()
89 public void onTrainRankingModel(List<ResolverTarget> targets, int selectedPosition) { in onTrainRankingModel() argument
92 final int size = targets.size(); in onTrainRankingModel()
99 final ArrayMap<String, Float> positive = getFeatures(targets.get(selectedPosition)); in onTrainRankingModel()
100 final float positiveProbability = targets.get(selectedPosition).getSelectProbability(); in onTrainRankingModel()
101 final int targetSize = targets.size(); in onTrainRankingModel()
106 final ArrayMap<String, Float> negative = getFeatures(targets.get(i)); in onTrainRankingModel()
107 final float negativeProbability = targets.get(i).getSelectProbability(); in onTrainRankingModel()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DTaskViewUtils.java70 BaseDraggingActivity activity, View v, RemoteAnimationTargetCompat[] targets) { in findTaskViewToLaunch() argument
96 if (targets == null) { in findTaskViewToLaunch()
101 for (RemoteAnimationTargetCompat target : targets) { in findTaskViewToLaunch()
132 final RemoteAnimationTargets targets = in createRecentsWindowAnimator() local
134 targets.addReleaseCheck(applier); in createRecentsWindowAnimator()
138 .setTargetSet(targets); in createRecentsWindowAnimator()
152 if (targets.apps.length > 0) { in createRecentsWindowAnimator()
156 tsv.setPreview(targets.apps[targets.apps.length - 1]); in createRecentsWindowAnimator()
229 targets.release(); in createRecentsWindowAnimator()
DBaseSwipeUpHandler.java204 RecentsAnimationTargets targets) { in onRecentsAnimationStart() argument
206 mRecentsAnimationTargets = targets; in onRecentsAnimationStart()
208 RemoteAnimationTargetCompat runningTaskTarget = targets.findTask( in onRecentsAnimationStart()
219 if (targets.minimizedHomeBounds != null && runningTaskTarget != null) { in onRecentsAnimationStart()
221 .getOverviewWindowBounds(targets.minimizedHomeBounds, runningTaskTarget); in onRecentsAnimationStart()
223 new WindowBounds(overviewStackBounds, targets.homeContentInsets)); in onRecentsAnimationStart()
228 dp.updateInsets(targets.homeContentInsets); in onRecentsAnimationStart()
DAppToOverviewAnimationProvider.java121 RemoteAnimationTargets targets = new RemoteAnimationTargets(appTargets, in createWindowAnimation() local
125 RemoteAnimationTargetCompat runningTaskTarget = targets.findTask(mTargetTaskId); in createWindowAnimation()
138 .setTargetSet(targets) in createWindowAnimation()
146 if (targets.isAnimatingHome()) { in createWindowAnimation()
DFallbackSwipeHandler.java192 RemoteAnimationTargets targets = new RemoteAnimationTargets( in handleHomeTaskAppeared() local
195 mHomeAlphaParams.setTargetSet(targets); in handleHomeTaskAppeared()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DTransformParams.java139 RemoteAnimationTargets targets = mTargetSet; in createSurfaceParams() local
140 SurfaceParams[] surfaceParams = new SurfaceParams[targets.unfilteredApps.length]; in createSurfaceParams()
141 for (int i = 0; i < targets.unfilteredApps.length; i++) { in createSurfaceParams()
142 RemoteAnimationTargetCompat app = targets.unfilteredApps[i]; in createSurfaceParams()
145 if (app.mode == targets.targetMode) { in createSurfaceParams()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DRecentsAnimationCallbacks.java92 RecentsAnimationTargets targets = new RecentsAnimationTargets(appTargets, in onAnimationStart() local
103 listener.onRecentsAnimationStart(mController, targets); in onAnimationStart()
146 RecentsAnimationTargets targets) {} in onRecentsAnimationStart() argument
DTaskUtils.java67 public static boolean taskIsATargetWithMode(RemoteAnimationTargetCompat[] targets, in taskIsATargetWithMode() argument
69 for (RemoteAnimationTargetCompat target : targets) { in taskIsATargetWithMode()
DTaskAnimationManager.java76 RecentsAnimationTargets targets) { in startRecentsAnimation()
84 mTargets = targets; in startRecentsAnimation()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DAppPredictionsUITests.java149 List<AppTarget> targets = new ArrayList<>(activities.length); in sendPredictionUpdate() local
156 targets.add(target); in sendPredictionUpdate()
158 mCallback.onTargetsAvailable(targets); in sendPredictionUpdate()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/
DLauncherAppTransitionManagerImpl.java54 @Nullable RemoteAnimationTargetCompat[] targets) { in isLaunchingFromRecents() argument
56 && findTaskViewToLaunch(mLauncher, v, targets) != null; in isLaunchingFromRecents()
/packages/services/Car/car-lib/
DAndroid.bp244 targets: ["dist_files"],
273 targets: ["dist_files"],
314 targets: ["dist_files"],
/packages/apps/OnDeviceAppPrediction/src/com/android/apppredictionservice/
DPredictionService.java207 List<AppTarget> targets, in onSortAppTargets() argument
216 callback.accept(targets); in onSortAppTargets()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/
DDeviceLockedInputConsumer.java236 RecentsAnimationTargets targets) { in onRecentsAnimationStart() argument
238 mTransformParams.setTargetSet(targets); in onRecentsAnimationStart()
/packages/apps/Settings/src/com/android/settings/gestures/
DSystemNavigationGestureSettings.java276 final List<String> targets = ams.getAccessibilityShortcutTargets( in isAnyServiceSupportAccessibilityButton() local
278 return !targets.isEmpty(); in isAnyServiceSupportAccessibilityButton()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DPredictionUiStateManager.java212 return targets -> { in appPredictorCallback()
213 mPredictionServicePredictions[client.ordinal()] = targets; in appPredictorCallback()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/logging/
DUserEventDispatcherAppPredictionExtension.java46 @NonNull ArrayList<LauncherLogProto.Target> targets) { in onFillInLogContainerData() argument
/packages/apps/Car/libs/car-broadcastradio-support/
DAndroid.bp31 targets: ["dist_files"],
/packages/apps/TimeZoneData/oem_template/data_app_prebuilt/
DREADME.oem18 The targets define includes the real version of the app, and some test versions that can be
/packages/services/Car/car-test-lib/
DAndroid.bp34 targets: ["dist_files"],
/packages/apps/TimeZoneData/oem_template/data_app/
DREADME.oem16 The intended use is for inclusion in a tapas build to generate .apks. The targets define the
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolder.java1482 ArrayList<LauncherLogProto.Target> targets) { in fillInLogContainerData() argument
1491 targets.add(target); in fillInLogContainerData()
1495 mLauncher.getHotseat().fillInLogContainerData(mInfo, target, targets); in fillInLogContainerData()
1497 mLauncher.getWorkspace().fillInLogContainerData(mInfo, target, targets); in fillInLogContainerData()

12