/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | RecentsAnimationCallbacks.java | 94 RemoteAnimationTarget[] appTargets, Rect homeContentInsets, in onAnimationStart() argument 96 onAnimationStart(controller, appTargets, new RemoteAnimationTarget[0], in onAnimationStart() 103 RemoteAnimationTarget[] appTargets, in onAnimationStart() argument 106 long appCount = Arrays.stream(appTargets) in onAnimationStart() 128 nonAppTargets = mSystemUiProxy.onGoingToRecentsLegacy(appTargets); in onAnimationStart() 132 classifyTargets(appTargets, apps, nonApps); in onAnimationStart() 133 appTargets = apps.toArray(new RemoteAnimationTarget[apps.size()]); in onAnimationStart() 139 final RecentsAnimationTargets targets = new RecentsAnimationTargets(appTargets, in onAnimationStart() 205 private void classifyTargets(RemoteAnimationTarget[] appTargets, in classifyTargets() argument 207 for (int i = 0; i < appTargets.length; i++) { in classifyTargets() [all …]
|
D | RecentsActivity.java | 254 public void onAnimationStart(int transit, RemoteAnimationTarget[] appTargets, in getActivityLaunchOptions() 258 AnimatorSet anim = composeRecentsLaunchAnimator(recentsView, taskView, appTargets, in getActivityLaunchOptions() 298 RemoteAnimationTarget[] appTargets, in composeRecentsLaunchAnimator() argument 302 boolean activityClosing = taskIsATargetWithMode(appTargets, getTaskId(), MODE_CLOSING); in composeRecentsLaunchAnimator() 304 createRecentsWindowAnimator(recentsView, taskView, !activityClosing, appTargets, in composeRecentsLaunchAnimator() 425 (transit, appTargets, wallpaperTargets, nonAppTargets, result) -> { 432 appTargets, wallpaperTargets, nonAppTargets, MODE_OPENING);
|
D | TaskViewUtils.java | 168 @NonNull RemoteAnimationTarget[] appTargets, in createRecentsWindowAnimator() argument 177 new RemoteAnimationTargets(appTargets, wallpaperTargets, nonAppTargets, in createRecentsWindowAnimator() 439 final RemoteAnimationTarget[] appTargets = in composeRecentsSplitLaunchAnimator() local 449 appTargets, wallpaperTargets, nonAppTargets, in composeRecentsSplitLaunchAnimator() 540 @NonNull RemoteAnimationTarget[] appTargets, in composeRecentsSplitLaunchAnimatorLegacy() argument 556 appTargets, wallpaperTargets, nonAppTargets, in composeRecentsSplitLaunchAnimatorLegacy() 565 for (RemoteAnimationTarget appTarget : appTargets) { in composeRecentsSplitLaunchAnimatorLegacy() 620 @NonNull RemoteAnimationTarget[] appTargets, in composeRecentsLaunchAnimator() argument 627 TaskView taskView = findTaskViewToLaunch(recentsView, v, appTargets); in composeRecentsLaunchAnimator() 629 createRecentsWindowAnimator(recentsView, taskView, skipLauncherChanges, appTargets, in composeRecentsLaunchAnimator()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/ |
D | QuickstepTransitionManager.java | 363 @NonNull RemoteAnimationTarget[] appTargets, in composeRecentsLaunchAnimator() argument 366 TaskViewUtils.composeRecentsLaunchAnimator(anim, v, appTargets, wallpaperTargets, in composeRecentsLaunchAnimator() 392 @NonNull RemoteAnimationTarget[] appTargets, in composeIconLaunchAnimator() argument 403 v, appTargets, wallpaperTargets, nonAppTargets, launcherClosing); in composeIconLaunchAnimator() 423 @NonNull RemoteAnimationTarget[] appTargets, in composeWidgetLaunchAnimator() argument 429 v, appTargets, wallpaperTargets, nonAppTargets, launcherClosing)); in composeWidgetLaunchAnimator() 437 private Rect getWindowTargetBounds(@NonNull RemoteAnimationTarget[] appTargets, in getWindowTargetBounds() argument 440 for (RemoteAnimationTarget t : appTargets) { in getWindowTargetBounds() 634 RemoteAnimationTarget[] appTargets, in getOpeningWindowAnimators() argument 638 int rotationChange = getRotationChange(appTargets); in getOpeningWindowAnimators() [all …]
|
D | LauncherAnimationRunner.java | 64 (transit, appTargets, wallpaperTargets, nonAppTargets, result) -> 88 RemoteAnimationTarget[] appTargets, in onAnimationStart() argument 95 getFactory().onAnimationStart(transit, appTargets, wallpaperTargets, nonAppTargets, in onAnimationStart() 232 RemoteAnimationTarget[] appTargets, in onAnimationStart() argument
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/shortcuts/ |
D | ShortcutLoader.kt | 113 .combine(shortcutSource) { appTargets, shortcutData -> in <lambda>() method 114 if (appTargets == null || shortcutData == null) { in <lambda>() 119 appTargets, in <lambda>() 152 open fun updateAppTargets(appTargets: Array<DisplayResolveInfo>) { in <lambda>() 153 appTargetSource.tryEmit(appTargets) in <lambda>() 221 sendShareShortcutInfoList(pair.shortcuts, true, pair.appTargets) in <lambda>() 234 (acc.appTargets as ArrayList<AppTarget>).add(appTarget) in <lambda>() 249 appTargets: Array<DisplayResolveInfo>, in <lambda>() 269 for (displayResolveInfo in appTargets) { in <lambda>() 286 appTargets, in <lambda>() [all …]
|
/packages/modules/IntentResolver/java/tests/src/com/android/intentresolver/shortcuts/ |
D | ShortcutLoaderTest.kt | 94 private val appTargets = arrayOf(appTarget) constant in com.android.intentresolver.shortcuts.ShortcutLoaderTest 123 testSubject.updateAppTargets(appTargets) in test_loadShortcutsWithAppPredictor_resultIntegrity() 144 assertArrayEquals("Wrong input app targets in the result", appTargets, result.appTargets) in test_loadShortcutsWithAppPredictor_resultIntegrity() 186 testSubject.updateAppTargets(appTargets) in test_loadShortcutsWithShortcutManager_resultIntegrity() 193 assertArrayEquals("Wrong input app targets in the result", appTargets, result.appTargets) in test_loadShortcutsWithShortcutManager_resultIntegrity() 234 testSubject.updateAppTargets(appTargets) in test_appPredictorReturnsEmptyList_fallbackToShortcutManager() 247 assertArrayEquals("Wrong input app targets in the result", appTargets, result.appTargets) in test_appPredictorReturnsEmptyList_fallbackToShortcutManager() 290 testSubject.updateAppTargets(appTargets) in test_appPredictor_requestPredictionUpdateFailure_fallbackToShortcutManager() 299 assertArrayEquals("Wrong input app targets in the result", appTargets, result.appTargets) in test_appPredictor_requestPredictionUpdateFailure_fallbackToShortcutManager() 365 testSubject.updateAppTargets(appTargets) in test_ShortcutLoader_noResultsWithoutAppTargets()
|
D | ShortcutToChooserTargetConverterTest.kt | 51 val appTargets = shortcuts.map { createAppTarget(it.shortcutInfo) } in <lambda>() constant 60 appTargets, in <lambda>() 83 appTargets, in <lambda>()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ |
D | ChooserListAdapter.java | 392 .map(appTargets -> in updateAlphabeticalList() 393 (appTargets.size() == 1) in updateAlphabeticalList() 394 ? appTargets.get(0) in updateAlphabeticalList() 395 : MultiDisplayResolveInfo.newMultiDisplayResolveInfo(appTargets)) in updateAlphabeticalList() 415 int appTargets = super.getUnfilteredCount(); in getUnfilteredCount() local 416 if (appTargets > mMaxRankedTargets) { in getUnfilteredCount() 418 appTargets = appTargets + mMaxRankedTargets; in getUnfilteredCount() 420 return appTargets + getSelectableServiceTargetCount() + getCallerTargetCount(); in getUnfilteredCount()
|
/packages/modules/IntentResolver/java/tests/src/com/android/intentresolver/ |
D | UnbundledChooserActivityTest.java | 1439 ArgumentCaptor<DisplayResolveInfo[]> appTargets = in testDirectTargetSelectionLogging() local 1441 verify(shortcutLoaders.get(0).first, times(1)).updateAppTargets(appTargets.capture()); in testDirectTargetSelectionLogging() 1446 appTargets.getValue().length, in testDirectTargetSelectionLogging() 1451 appTargets.getValue(), in testDirectTargetSelectionLogging() 1454 appTargets.getValue()[0], in testDirectTargetSelectionLogging() 1520 ArgumentCaptor<DisplayResolveInfo[]> appTargets = in testDirectTargetLoggingWithRankedAppTarget() local 1522 verify(shortcutLoaders.get(0).first, times(1)).updateAppTargets(appTargets.capture()); in testDirectTargetLoggingWithRankedAppTarget() 1527 appTargets.getValue().length, in testDirectTargetLoggingWithRankedAppTarget() 1534 appTargets.getValue(), in testDirectTargetLoggingWithRankedAppTarget() 1537 appTargets.getValue()[0], in testDirectTargetLoggingWithRankedAppTarget() [all …]
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/model/ |
D | AppPredictionServiceResolverComparator.java | 98 List<AppTarget> appTargets = new ArrayList<>(); in doCompute() local 100 appTargets.add( in doCompute() 108 mAppPredictor.sortTargets(appTargets, Executors.newSingleThreadExecutor(), in doCompute()
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/launcher3/model/ |
D | WidgetsPredicationUpdateTaskTest.java | 194 private WidgetsPredictionUpdateTask newWidgetsPredicationTask(List<AppTarget> appTargets) { in newWidgetsPredicationTask() argument 197 appTargets); in newWidgetsPredicationTask()
|