/packages/modules/IntentResolver/java/src/com/android/intentresolver/ |
D | ItemRevealAnimationTracker.kt | 23 import com.android.intentresolver.chooser.TargetInfo 28 private val iconProgress = HashMap<TargetInfo, Record>() 29 private val labelProgress = HashMap<TargetInfo, Record>() 36 fun animateIcon(view: View, info: TargetInfo) = animateView(view, info, iconProgress) in animateIcon() 37 fun animateLabel(view: View, info: TargetInfo) = animateView(view, info, labelProgress) in animateIcon() 39 private fun animateView(view: View, info: TargetInfo, map: MutableMap<TargetInfo, Record>) { in animateIcon()
|
D | ChooserRefinementManager.java | 35 import com.android.intentresolver.chooser.TargetInfo; 79 private TargetInfo mTargetInfo; 84 private final TargetInfo mOriginalTargetInfo; 91 @Nullable TargetInfo originalTargetInfo, in RefinementCompletion() 103 public TargetInfo getOriginalTargetInfo() { in getOriginalTargetInfo() 145 TargetInfo selectedTarget, in maybeHandleSelection() 175 @Nullable TargetInfo originalTargetInfo, in maybeHandleSelection()
|
D | ShortcutSelectionLogic.java | 32 import com.android.intentresolver.chooser.TargetInfo; 81 List<TargetInfo> serviceTargets) { in addServiceResults() 169 TargetInfo chooserTargetInfo, in insertServiceTarget() 171 List<TargetInfo> serviceTargets) { in insertServiceTarget() 174 for (TargetInfo otherTargetInfo : serviceTargets) { in insertServiceTarget() 184 final TargetInfo serviceTarget = serviceTargets.get(i); in insertServiceTarget()
|
D | ChooserActivity.java | 98 import com.android.intentresolver.chooser.TargetInfo; 598 TargetInfo refinedTarget = completion in initialize() 864 final TargetInfo target = mChooserMultiProfilePagerAdapter.getActiveListAdapter() in maybeAutolaunchIfSingleTarget() 912 TargetInfo activeProfileTarget = activeListAdapter.targetInfoForPosition(0, false); in maybeAutolaunchIfCrossProfileSupported() 913 TargetInfo inactiveProfileTarget = inactiveListAdapter.targetInfoForPosition(0, false); in maybeAutolaunchIfCrossProfileSupported() 981 private CharSequence getOrLoadDisplayLabel(TargetInfo info) { in getOrLoadDisplayLabel() 1046 public final void safelyStartActivity(TargetInfo cti) { in safelyStartActivity() 1055 TargetInfo cti, UserHandle user, @Nullable Bundle options) { in safelyStartActivityAsUser() 1068 TargetInfo cti, UserHandle user, @Nullable Bundle options) { in safelyStartActivityInternal() 1103 private void maybeLogCrossProfileTargetLaunch(TargetInfo cti, UserHandle currentUserHandle) { in maybeLogCrossProfileTargetLaunch() [all …]
|
D | ChooserListAdapter.java | 55 import com.android.intentresolver.chooser.TargetInfo; 106 private final Set<TargetInfo> mRequestedIcons = new HashSet<>(); 112 private final TargetInfo mPlaceHolderTargetInfo; 115 private final List<TargetInfo> mServiceTargets = new ArrayList<>(); 364 public void onBindView(View view, TargetInfo info, int position) { in onBindView() 594 for (TargetInfo info : mServiceTargets) { in getSelectableServiceTargetCount() 670 public TargetInfo getItem(int position) { in getItem() 680 public TargetInfo targetInfoForPosition(int position, boolean filtered) { in targetInfoForPosition() 722 for (TargetInfo existingInfo : mCallerTargets) { in shouldAddResolveInfo() 734 public List<TargetInfo> getSurfacedTargetInfo() { in getSurfacedTargetInfo()
|
D | ResolverActivity.java | 87 import com.android.intentresolver.chooser.TargetInfo; 549 TargetInfo target = mMultiProfilePagerAdapter.getActiveListAdapter() 589 protected boolean onTargetSelected(TargetInfo target, boolean always) { 749 public boolean shouldAutoLaunchSingleChoice(TargetInfo target) { 1088 private void maybeLogCrossProfileTargetLaunch(TargetInfo cti, UserHandle currentUserHandle) { 1113 TargetInfo target = mMultiProfilePagerAdapter.getActiveListAdapter().getItem(i); 1127 final Option optionForChooserTarget(TargetInfo target, int index) { 1259 public final void safelyStartActivity(TargetInfo cti) { 1273 public final void safelyStartActivityAsUser(TargetInfo cti, UserHandle user) { 1278 TargetInfo cti, UserHandle user, @Nullable Bundle options) { [all …]
|
D | ChooserActionFactory.java | 41 import com.android.intentresolver.chooser.TargetInfo; 71 void safelyStartActivityAsPersonalProfileUser(TargetInfo info); in safelyStartActivityAsPersonalProfileUser() 79 TargetInfo info, View sharedElement, String sharedElementName) { in safelyStartActivityAsPersonalProfileUserWithSharedElementTransition() 294 private static TargetInfo getEditSharingTarget( in getEditSharingTarget() 340 @Nullable TargetInfo editSharingTarget, in makeEditButtonRunnable()
|
D | ResolverListAdapter.java | 49 import com.android.intentresolver.chooser.TargetInfo; 218 public float getScore(TargetInfo targetInfo) { in getScore() 225 public void updateModel(TargetInfo targetInfo) { in updateModel() 635 TargetInfo target = targetInfoForPosition(position, filtered); in resolveInfoForPosition() 643 public TargetInfo targetInfoForPosition(int position, boolean filtered) { in targetInfoForPosition() 669 public TargetInfo getItem(int position) { in getItem() 724 protected void onBindView(View view, TargetInfo info, int position) { in onBindView() 1002 public void bindIcon(TargetInfo info) { in bindIcon()
|
D | ResolverListController.java | 36 import com.android.intentresolver.chooser.TargetInfo; 349 public float getScore(TargetInfo targetInfo) { in getScore() 356 public void updateModel(TargetInfo targetInfo) { in updateModel()
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/ |
D | ShortcutSelectionLogicTest.kt | 28 import com.android.intentresolver.chooser.TargetInfo in <lambda>() 84 val serviceResults = ArrayList<TargetInfo>() in <lambda>() 118 val serviceResults = ArrayList<TargetInfo>() in <lambda>() 152 val serviceResults = ArrayList<TargetInfo>() in <lambda>() 186 val serviceResults = ArrayList<TargetInfo>() in <lambda>() 233 val serviceResults = ArrayList<TargetInfo>() in <lambda>() 272 val serviceResults = ArrayList<TargetInfo>() in <lambda>() 308 actual: List<TargetInfo>, in <lambda>()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/chooser/ |
D | NotSelectableTargetInfo.java | 38 public static TargetInfo newEmptyTargetInfo() { in newEmptyTargetInfo() 50 public static TargetInfo newPlaceHolderTargetInfo(Context context) { in newPlaceHolderTargetInfo() 84 TargetInfo target, Activity activity, Bundle options, int userId) { 90 TargetInfo target, Activity activity, Bundle options, UserHandle user) {
|
D | DisplayResolveInfo.java | 38 public class DisplayResolveInfo implements TargetInfo { 173 TargetInfo.mergeRefinementIntoMatchingBaseIntent(matchingBase, proposedRefinement)); in tryToCloneWithAppliedRefinement() 207 TargetInfo.prepareIntentForCrossProfileLaunch(mResolvedIntent, userId); in startAsCaller() 214 TargetInfo.prepareIntentForCrossProfileLaunch(mResolvedIntent, user.getIdentifier()); in startAsUser()
|
D | SelectableTargetInfo.java | 106 public static TargetInfo newSelectableTargetInfo( in newSelectableTargetInfo() 140 public static TargetInfo newSelectableTargetInfo( in newSelectableTargetInfo() 231 TargetInfo.prepareIntentForCrossProfileLaunch(intent, userId); in SelectableTargetInfo() 272 public TargetInfo tryToCloneWithAppliedRefinement(Intent proposedRefinement) { in tryToCloneWithAppliedRefinement() 285 TargetInfo.mergeRefinementIntoMatchingBaseIntent(matchingBase, proposedRefinement)); in tryToCloneWithAppliedRefinement()
|
D | TargetInfo.java | 49 public interface TargetInfo { interface 210 TargetInfo tryToCloneWithAppliedRefinement(Intent proposedRefinement); in tryToCloneWithAppliedRefinement() 257 default boolean isSimilar(TargetInfo other) { in isSimilar()
|
D | ImmutableTargetInfo.java | 44 public final class ImmutableTargetInfo implements TargetInfo { 51 TargetInfo target, Context context); in getHashedTargetIdForMetrics() 62 boolean startAsCaller(TargetInfo target, Activity activity, Bundle options, int userId); in startAsCaller() 70 boolean startAsUser(TargetInfo target, Activity activity, Bundle options, UserHandle user); in startAsUser() 431 Intent merged = TargetInfo.mergeRefinementIntoMatchingBaseIntent( in tryToCloneWithAppliedRefinement()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/model/ |
D | ResolverComparatorModel.java | 21 import com.android.intentresolver.chooser.TargetInfo; 48 float getScore(TargetInfo targetInfo); in getScore() 56 void notifyOnTargetSelected(TargetInfo targetInfo); in notifyOnTargetSelected()
|
D | AppPredictionServiceResolverComparator.java | 36 import com.android.intentresolver.chooser.TargetInfo; 195 public float getScore(TargetInfo targetInfo) { in getScore() 200 public void updateModel(TargetInfo targetInfo) { in updateModel() 274 public float getScore(TargetInfo targetInfo) { in getScore() 288 public void notifyOnTargetSelected(TargetInfo targetInfo) { in notifyOnTargetSelected()
|
D | AbstractResolverComparator.java | 38 import com.android.intentresolver.chooser.TargetInfo; 264 public abstract float getScore(TargetInfo targetInfo); in getScore() 291 public void updateModel(TargetInfo targetInfo) { in updateModel()
|
D | ResolverRankerServiceResolverComparator.java | 45 import com.android.intentresolver.chooser.TargetInfo; 290 public float getScore(TargetInfo targetInfo) { in getScore() 296 public void updateModel(TargetInfo targetInfo) { in updateModel() 626 public float getScore(TargetInfo targetInfo) { in getScore() 636 public void notifyOnTargetSelected(TargetInfo targetInfo) { in notifyOnTargetSelected()
|
/packages/modules/IntentResolver/tests/activity/src/com/android/intentresolver/ |
D | ChooserActivityOverrideData.java | 28 import com.android.intentresolver.chooser.TargetInfo; 52 public Function<TargetInfo, Boolean> onSafelyStartInternalCallback; 53 public Function<TargetInfo, Boolean> onSafelyStartCallback;
|
D | ResolverWrapperActivity.java | 38 import com.android.intentresolver.chooser.TargetInfo; 111 public void safelyStartActivityInternal(TargetInfo cti, UserHandle user, in safelyStartActivityInternal() 144 public Function<Pair<TargetInfo, UserHandle>, Boolean> onSafelyStartInternalCallback;
|
D | ChooserWrapperActivity.java | 36 import com.android.intentresolver.chooser.TargetInfo; 129 public void safelyStartActivityInternal(TargetInfo cti, UserHandle user, in safelyStartActivityInternal()
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/chooser/ |
D | ImmutableTargetInfoTest.kt | 46 private val displayIconHolder: TargetInfo.IconHolder = mock() 424 target: TargetInfo, in testActivityStarter_correctNumberOfInvocations_startAsCaller() 453 target: TargetInfo, in testActivityStarter_correctNumberOfInvocations_startAsUser() 496 var lastInvocationTargetInfo: TargetInfo? = null 503 target: TargetInfo, in startAsCaller() 518 target: TargetInfo, in startAsUser()
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/model/ |
D | AbstractResolverComparatorTest.java | 31 import com.android.intentresolver.chooser.TargetInfo; 131 public float getScore(TargetInfo targetInfo) { in getTestComparator()
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiDppQrCodeGeneratorFragment.java | 45 import com.android.internal.app.chooser.TargetInfo; 181 private TargetInfo getNearbySharingTarget(Intent originalIntent) { in getNearbySharingTarget() 253 final TargetInfo ti = getNearbySharingTarget(originalIntent); in createNearbyButton()
|