/packages/modules/ExtServices/tests/src/android/ext/services/resolver/ |
D | LRResolverRankerServiceTest.java | 137 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/ |
D | UserEventDispatcher.java | 105 @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 …]
|
D | LoggerUtils.java | 172 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/ |
D | LRResolverRankerService.java | 77 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/ |
D | TaskViewUtils.java | 70 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()
|
D | BaseSwipeUpHandler.java | 204 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()
|
D | AppToOverviewAnimationProvider.java | 121 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()
|
D | FallbackSwipeHandler.java | 192 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/ |
D | TransformParams.java | 139 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/ |
D | RecentsAnimationCallbacks.java | 92 RecentsAnimationTargets targets = new RecentsAnimationTargets(appTargets, in onAnimationStart() local 103 listener.onRecentsAnimationStart(mController, targets); in onAnimationStart() 146 RecentsAnimationTargets targets) {} in onRecentsAnimationStart() argument
|
D | TaskUtils.java | 67 public static boolean taskIsATargetWithMode(RemoteAnimationTargetCompat[] targets, in taskIsATargetWithMode() argument 69 for (RemoteAnimationTargetCompat target : targets) { in taskIsATargetWithMode()
|
D | TaskAnimationManager.java | 76 RecentsAnimationTargets targets) { in startRecentsAnimation() 84 mTargets = targets; in startRecentsAnimation()
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | AppPredictionsUITests.java | 149 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/ |
D | LauncherAppTransitionManagerImpl.java | 54 @Nullable RemoteAnimationTargetCompat[] targets) { in isLaunchingFromRecents() argument 56 && findTaskViewToLaunch(mLauncher, v, targets) != null; in isLaunchingFromRecents()
|
/packages/services/Car/car-lib/ |
D | Android.bp | 244 targets: ["dist_files"], 273 targets: ["dist_files"], 314 targets: ["dist_files"],
|
/packages/apps/OnDeviceAppPrediction/src/com/android/apppredictionservice/ |
D | PredictionService.java | 207 List<AppTarget> targets, in onSortAppTargets() argument 216 callback.accept(targets); in onSortAppTargets()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/ |
D | DeviceLockedInputConsumer.java | 236 RecentsAnimationTargets targets) { in onRecentsAnimationStart() argument 238 mTransformParams.setTargetSet(targets); in onRecentsAnimationStart()
|
/packages/apps/Settings/src/com/android/settings/gestures/ |
D | SystemNavigationGestureSettings.java | 276 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/ |
D | PredictionUiStateManager.java | 212 return targets -> { in appPredictorCallback() 213 mPredictionServicePredictions[client.ordinal()] = targets; in appPredictorCallback()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/logging/ |
D | UserEventDispatcherAppPredictionExtension.java | 46 @NonNull ArrayList<LauncherLogProto.Target> targets) { in onFillInLogContainerData() argument
|
/packages/apps/Car/libs/car-broadcastradio-support/ |
D | Android.bp | 31 targets: ["dist_files"],
|
/packages/apps/TimeZoneData/oem_template/data_app_prebuilt/ |
D | README.oem | 18 The targets define includes the real version of the app, and some test versions that can be
|
/packages/services/Car/car-test-lib/ |
D | Android.bp | 34 targets: ["dist_files"],
|
/packages/apps/TimeZoneData/oem_template/data_app/ |
D | README.oem | 16 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/ |
D | Folder.java | 1482 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()
|