/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/shortcuts/ |
D | ShortcutLoaderTest.kt | 87 private val appTarget = constant 89 private val appTargets = arrayOf(appTarget) 135 assertEquals("Wrong app target", appTarget, result.shortcutsByApp[0].appTarget) in test_loadShortcutsWithAppPredictor_resultIntegrity() 189 assertEquals("Wrong app target", appTarget, result.shortcutsByApp[0].appTarget) in test_loadShortcutsWithShortcutManager_resultIntegrity() 248 assertEquals("Wrong app target", appTarget, result.shortcutsByApp[0].appTarget) in test_appPredictorReturnsEmptyList_fallbackToShortcutManager() 305 assertEquals("Wrong app target", appTarget, result.shortcutsByApp[0].appTarget) in test_appPredictor_requestPredictionUpdateFailure_fallbackToShortcutManager()
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/chooser/ |
D | TargetInfoTest.kt | 101 val appTarget = in testNewSelectableTargetInfo() constant 117 appTarget, in testNewSelectableTargetInfo() 126 assertThat(targetInfo.directShareAppTarget).isSameInstanceAs(appTarget) in testNewSelectableTargetInfo() 141 val appTarget = in test_SelectableTargetInfo_componentName_no_source_info() constant 167 appTarget, in test_SelectableTargetInfo_componentName_no_source_info() 194 val appTarget = in testSelectableTargetInfo_noSourceIntentMatchingProposedRefinement() constant 210 appTarget, in testSelectableTargetInfo_noSourceIntentMatchingProposedRefinement()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/shortcuts/ |
D | ShortcutLoader.kt | 233 fold(ShortcutsAppTargetsPair(ArrayList(size), ArrayList(size))) { acc, appTarget -> in <lambda>() method 234 val shortcutInfo = appTarget.shortcutInfo in <lambda>() 235 val packageName = appTarget.packageName in <lambda>() 236 val className = appTarget.className in <lambda>() 241 (acc.appTargets as ArrayList<AppTarget>).add(appTarget) in <lambda>() 335 val appTarget: DisplayResolveInfo, in <lambda>() constant in com.android.intentresolver.shortcuts.ShortcutLoader.ShortcutResultInfo
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/chooser/ |
D | SelectableTargetInfo.java | 113 @Nullable AppTarget appTarget, in newSelectableTargetInfo() argument 125 appTarget, in newSelectableTargetInfo() 150 @Nullable AppTarget appTarget, in newSelectableTargetInfo() argument 163 appTarget, in newSelectableTargetInfo() 178 @Nullable AppTarget appTarget, in SelectableTargetInfo() argument 185 mAppTarget = appTarget; in SelectableTargetInfo()
|
D | ImmutableTargetInfo.java | 280 public Builder setDirectShareAppTarget(@Nullable AppTarget appTarget) { in setDirectShareAppTarget() argument 281 mDirectShareAppTarget = appTarget; in setDirectShareAppTarget()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | LauncherBackAnimationController.java | 288 RemoteAnimationTarget appTarget = backEvent.getDepartingAnimationTarget(); in startBack() local 290 if (appTarget == null || appTarget.leash == null || !appTarget.leash.isValid()) { in startBack() 295 .show(appTarget.leash) in startBack() 297 mBackTarget = appTarget; in startBack() 300 mStartRect.set(appTarget.windowConfiguration.getMaxBounds()); in startBack() 303 mStartRect.inset(0, 0, 0, appTarget.contentInsets.bottom); in startBack()
|
D | ImageActionsApi.java | 128 public void shareImage(RectF rectF, ShortcutInfo shortcutInfo, AppTarget appTarget) { in shareImage() argument 129 ImageActionUtils.shareImage(mContext, mBitmapSupplier, rectF, shortcutInfo, appTarget, TAG); in shareImage()
|
D | TaskViewUtils.java | 505 for (RemoteAnimationTarget appTarget : appTargets) { in composeRecentsSplitLaunchAnimatorLegacy() 506 final int taskId = appTarget.taskInfo != null ? appTarget.taskInfo.taskId : -1; in composeRecentsSplitLaunchAnimatorLegacy() 507 final int mode = appTarget.mode; in composeRecentsSplitLaunchAnimatorLegacy() 508 final SurfaceControl leash = appTarget.leash; in composeRecentsSplitLaunchAnimatorLegacy()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | ImageActionUtils.java | 97 ShortcutInfo shortcutInfo, AppTarget appTarget, String tag) { in shareImage() argument 112 new ComponentName(appTarget.getPackageName(), appTarget.getClassName())) in shareImage() 120 if (context.getUserId() != appTarget.getUser().getIdentifier()) { in shareImage() 123 context.startActivityAsUser(intent, appTarget.getUser()); in shareImage()
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/launcher3/model/ |
D | WidgetsPredictionsRequesterTest.kt | 208 val appTarget = in buildExpectedAppTargetEvent() constant 216 return AppTargetEvent.Builder(appTarget, AppTargetEvent.ACTION_PIN) in buildExpectedAppTargetEvent()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/ |
D | WidgetPredictionsRequester.java | 140 AppTarget appTarget = new AppTarget.Builder(appTargetId, componentName.getPackageName(), in buildAppTargetEvent() local 142 return new AppTargetEvent.Builder(appTarget, AppTargetEvent.ACTION_PIN) in buildAppTargetEvent()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/model/ |
D | AppPredictionServiceResolverComparator.java | 295 AppTarget appTarget = in notifyOnTargetSelected() local 301 new AppTargetEvent.Builder(appTarget, ACTION_LAUNCH).build()); in notifyOnTargetSelected()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ |
D | ChooserActivity.java | 1952 AppTarget appTarget = targetInfo.getDirectShareAppTarget(); 1953 if (appTarget != null) { 1956 new AppTargetEvent.Builder(appTarget, AppTargetEvent.ACTION_LAUNCH)
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/ |
D | QuickstepTransitionManager.java | 1312 for (RemoteAnimationTarget appTarget : appTargets) { in findLauncherView() 1313 if (appTarget.mode == MODE_CLOSING) { in findLauncherView() 1314 View launcherView = findLauncherView(appTarget); in findLauncherView()
|