Home
last modified time | relevance | path

Searched refs:appTarget (Results 1 – 14 of 14) sorted by relevance

/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/shortcuts/
DShortcutLoaderTest.kt87 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/
DTargetInfoTest.kt101 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/
DShortcutLoader.kt233 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/
DSelectableTargetInfo.java113 @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()
DImmutableTargetInfo.java280 public Builder setDirectShareAppTarget(@Nullable AppTarget appTarget) { in setDirectShareAppTarget() argument
281 mDirectShareAppTarget = appTarget; in setDirectShareAppTarget()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DLauncherBackAnimationController.java288 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()
DImageActionsApi.java128 public void shareImage(RectF rectF, ShortcutInfo shortcutInfo, AppTarget appTarget) { in shareImage() argument
129 ImageActionUtils.shareImage(mContext, mBitmapSupplier, rectF, shortcutInfo, appTarget, TAG); in shareImage()
DTaskViewUtils.java505 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/
DImageActionUtils.java97 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/
DWidgetsPredictionsRequesterTest.kt208 val appTarget = in buildExpectedAppTargetEvent() constant
216 return AppTargetEvent.Builder(appTarget, AppTargetEvent.ACTION_PIN) in buildExpectedAppTargetEvent()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/
DWidgetPredictionsRequester.java140 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/
DAppPredictionServiceResolverComparator.java295 AppTarget appTarget = in notifyOnTargetSelected() local
301 new AppTargetEvent.Builder(appTarget, ACTION_LAUNCH).build()); in notifyOnTargetSelected()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DChooserActivity.java1952 AppTarget appTarget = targetInfo.getDirectShareAppTarget();
1953 if (appTarget != null) {
1956 new AppTargetEvent.Builder(appTarget, AppTargetEvent.ACTION_LAUNCH)
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DQuickstepTransitionManager.java1312 for (RemoteAnimationTarget appTarget : appTargets) { in findLauncherView()
1313 if (appTarget.mode == MODE_CLOSING) { in findLauncherView()
1314 View launcherView = findLauncherView(appTarget); in findLauncherView()