/packages/modules/IntentResolver/java/src/com/android/intentresolver/chooser/ |
D | MultiDisplayResolveInfo.java | 36 public class MultiDisplayResolveInfo extends DisplayResolveInfo { 38 final ArrayList<DisplayResolveInfo> mTargetInfos; 48 List<DisplayResolveInfo> targetInfos) { in newMultiDisplayResolveInfo() 56 private MultiDisplayResolveInfo(List<DisplayResolveInfo> targetInfos) { in MultiDisplayResolveInfo() 79 public ArrayList<DisplayResolveInfo> getAllDisplayTargets() { in getAllDisplayTargets() 90 public DisplayResolveInfo getSelectedTarget() { in getSelectedTarget() 105 ArrayList<DisplayResolveInfo> targetInfos = new ArrayList<>(size); in tryToCloneWithAppliedRefinement() 107 DisplayResolveInfo target = mTargetInfos.get(i); in tryToCloneWithAppliedRefinement() 108 DisplayResolveInfo targetClone = (i == mSelected) in tryToCloneWithAppliedRefinement() 110 : new DisplayResolveInfo(target); in tryToCloneWithAppliedRefinement()
|
D | DisplayResolveInfo.java | 38 public class DisplayResolveInfo implements TargetInfo { class 49 public static DisplayResolveInfo newDisplayResolveInfo( in newDisplayResolveInfo() 62 public static DisplayResolveInfo newDisplayResolveInfo( in newDisplayResolveInfo() 68 return new DisplayResolveInfo( in newDisplayResolveInfo() 76 private DisplayResolveInfo( in DisplayResolveInfo() method in DisplayResolveInfo 93 private DisplayResolveInfo( in DisplayResolveInfo() method in DisplayResolveInfo 94 DisplayResolveInfo other, in DisplayResolveInfo() 109 protected DisplayResolveInfo(DisplayResolveInfo other) { in DisplayResolveInfo() method in DisplayResolveInfo 160 public DisplayResolveInfo tryToCloneWithAppliedRefinement(Intent proposedRefinement) { in tryToCloneWithAppliedRefinement() 171 return new DisplayResolveInfo( in tryToCloneWithAppliedRefinement() [all …]
|
D | DisplayResolveInfoAzInfoComparator.java | 28 public class DisplayResolveInfoAzInfoComparator implements Comparator<DisplayResolveInfo> { 29 Comparator<DisplayResolveInfo> mComparator; 35 mComparator = Comparator.comparing(DisplayResolveInfo::getDisplayLabel, collator) in DisplayResolveInfoAzInfoComparator() 41 DisplayResolveInfo lhsp, DisplayResolveInfo rhsp) { in compare()
|
D | ImmutableTargetInfo.java | 106 private DisplayResolveInfo mDisplayResolveInfo; 135 private ImmutableList<DisplayResolveInfo> mAllDisplayTargets = ImmutableList.of(); 250 public Builder setAllDisplayTargets(List<DisplayResolveInfo> targets) { in setAllDisplayTargets() 286 public Builder setDisplayResolveInfo(@Nullable DisplayResolveInfo displayResolveInfo) { in setDisplayResolveInfo() 363 private final DisplayResolveInfo mDisplayResolveInfo; 376 private final ImmutableList<DisplayResolveInfo> mAllDisplayTargets; 501 public ArrayList<DisplayResolveInfo> getAllDisplayTargets() { in getAllDisplayTargets() 502 ArrayList<DisplayResolveInfo> targets = new ArrayList<>(); in getAllDisplayTargets() 536 public DisplayResolveInfo getDisplayResolveInfo() { in getDisplayResolveInfo() 600 ImmutableList<DisplayResolveInfo> allDisplayTargets, in ImmutableTargetInfo() [all …]
|
D | SelectableTargetInfo.java | 68 private final DisplayResolveInfo mSourceInfo; 107 @Nullable DisplayResolveInfo sourceInfo, in newSelectableTargetInfo() 141 @Nullable DisplayResolveInfo sourceInfo, in newSelectableTargetInfo() 168 @Nullable DisplayResolveInfo sourceInfo, in SelectableTargetInfo() 305 public DisplayResolveInfo getDisplayResolveInfo() { in getDisplayResolveInfo() 400 @Nullable DisplayResolveInfo sourceInfo, Intent fallbackSourceIntent) { in getAllSourceIntents() 420 @Nullable DisplayResolveInfo sourceInfo, ResolveInfo backupResolveInfo) { in getResolvedComponentName()
|
D | TargetInfo.java | 237 ArrayList<DisplayResolveInfo> getAllDisplayTargets(); in getAllDisplayTargets() 337 default DisplayResolveInfo getDisplayResolveInfo() { in getDisplayResolveInfo()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ |
D | ResolverListAdapter.java | 48 import com.android.intentresolver.chooser.DisplayResolveInfo; 82 private final Set<DisplayResolveInfo> mRequestedIcons = new HashSet<>(); 83 private final Set<DisplayResolveInfo> mRequestedLabels = new HashSet<>(); 89 private DisplayResolveInfo mOtherProfile; 93 private final List<DisplayResolveInfo> mDisplayList; 167 public final DisplayResolveInfo getFirstDisplayResolveInfo() { in getFirstDisplayResolveInfo() 171 public final ImmutableList<DisplayResolveInfo> getTargetsInCurrentDisplayList() { in getTargetsInCurrentDisplayList() 188 public DisplayResolveInfo getFilteredItem() { in getFilteredItem() 196 public DisplayResolveInfo getOtherProfile() { in getOtherProfile() 211 public float getScore(DisplayResolveInfo target) { in getScore() [all …]
|
D | ChooserListAdapter.java | 50 import com.android.intentresolver.chooser.DisplayResolveInfo; 116 private final List<DisplayResolveInfo> mCallerTargets = new ArrayList<>(); 121 private final List<DisplayResolveInfo> mSortedList = new ArrayList<>(); 305 DisplayResolveInfo displayResolveInfo = in ChooserListAdapter() 306 DisplayResolveInfo.newDisplayResolveInfo(ii, ri, ii); in ChooserListAdapter() 391 DisplayResolveInfo rInfo = info.getDisplayResolveInfo(); in onBindView() 415 DisplayResolveInfo dri = (DisplayResolveInfo) info; in onBindView() 515 final List<DisplayResolveInfo> allTargets = new ArrayList<>(); in updateAlphabeticalList() 519 new AsyncTask<Void, Void, List<DisplayResolveInfo>>() { in updateAlphabeticalList() 521 protected List<DisplayResolveInfo> doInBackground(Void... voids) { in updateAlphabeticalList() [all …]
|
D | ChooserTargetActionsDialogFragment.java | 53 import com.android.intentresolver.chooser.DisplayResolveInfo; 67 private final List<DisplayResolveInfo> mTargetInfos; 82 List<DisplayResolveInfo> targetInfos, in show() 266 protected CharSequence getItemLabel(DisplayResolveInfo dri) { in getItemLabel() 273 protected Drawable getItemIcon(DisplayResolveInfo dri) { in getItemIcon() 287 private boolean isPinned(DisplayResolveInfo dri) { in isPinned() 296 List<DisplayResolveInfo> targetInfos, UserHandle userHandle) { in ChooserTargetActionsDialogFragment() 301 List<DisplayResolveInfo> targetInfos, in ChooserTargetActionsDialogFragment()
|
D | ChooserStackedAppDialogFragment.java | 28 import com.android.intentresolver.chooser.DisplayResolveInfo; 72 protected CharSequence getItemLabel(DisplayResolveInfo dri) { in getItemLabel() 78 protected Drawable getItemIcon(DisplayResolveInfo dri) { in getItemIcon()
|
D | ShortcutSelectionLogic.java | 30 import com.android.intentresolver.chooser.DisplayResolveInfo; 71 @Nullable DisplayResolveInfo origTarget, in addServiceResults()
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/chooser/ |
D | TargetInfoTest.kt | 86 DisplayResolveInfo.newDisplayResolveInfo( in testNewSelectableTargetInfo() 179 DisplayResolveInfo.newDisplayResolveInfo( in testSelectableTargetInfo_noSourceIntentMatchingProposedRefinement() 227 DisplayResolveInfo.newDisplayResolveInfo( in testNewDisplayResolveInfo() 251 DisplayResolveInfo.newDisplayResolveInfo( in test_DisplayResolveInfo_refinementToAlternateSourceIntent() 284 DisplayResolveInfo.newDisplayResolveInfo( in testDisplayResolveInfo_noSourceIntentMatchingProposedRefinement() 309 DisplayResolveInfo.newDisplayResolveInfo( in testNewMultiDisplayResolveInfo() 317 DisplayResolveInfo.newDisplayResolveInfo( in testNewMultiDisplayResolveInfo() 365 DisplayResolveInfo.newDisplayResolveInfo( in testNewMultiDisplayResolveInfo_getAllSourceIntents_fromSelectedTarget() 374 DisplayResolveInfo.newDisplayResolveInfo( in testNewMultiDisplayResolveInfo_getAllSourceIntents_fromSelectedTarget() 383 DisplayResolveInfo.newDisplayResolveInfo( in testNewMultiDisplayResolveInfo_getAllSourceIntents_fromSelectedTarget() [all …]
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/icons/ |
D | TargetDataLoader.kt | 21 import com.android.intentresolver.chooser.DisplayResolveInfo 29 info: DisplayResolveInfo, 42 abstract fun loadLabel(info: DisplayResolveInfo, callback: Consumer<LabelInfo>) 45 abstract fun getOrLoadLabel(info: DisplayResolveInfo)
|
D | CachingTargetDataLoader.kt | 23 import com.android.intentresolver.chooser.DisplayResolveInfo in <lambda>() 40 info: DisplayResolveInfo, in <lambda>() 67 override fun loadLabel(info: DisplayResolveInfo, callback: Consumer<LabelInfo>) = in <lambda>() 70 override fun getOrLoadLabel(info: DisplayResolveInfo) = targetDataLoader.getOrLoadLabel(info) in <lambda>() 80 private fun DisplayResolveInfo.toCacheKey() = in <lambda>() method
|
D | LoadLabelTask.java | 27 import com.android.intentresolver.chooser.DisplayResolveInfo; 33 private final DisplayResolveInfo mDisplayResolveInfo; 38 LoadLabelTask(Context context, DisplayResolveInfo dri, in LoadLabelTask() 61 DisplayResolveInfo displayResolveInfo, in loadLabel()
|
D | DefaultTargetDataLoader.kt | 30 import com.android.intentresolver.chooser.DisplayResolveInfo in <lambda>() 66 info: DisplayResolveInfo, in <lambda>() 99 override fun loadLabel(info: DisplayResolveInfo, callback: Consumer<LabelInfo>) { in <lambda>() 109 override fun getOrLoadLabel(info: DisplayResolveInfo) { in <lambda>()
|
D | LoadIconTask.java | 28 import com.android.intentresolver.chooser.DisplayResolveInfo; 34 protected final DisplayResolveInfo mDisplayResolveInfo; 39 Context context, DisplayResolveInfo dri, in LoadIconTask()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/shortcuts/ |
D | ShortcutLoader.kt | 38 import com.android.intentresolver.chooser.DisplayResolveInfo in <lambda>() 82 MutableSharedFlow<Array<DisplayResolveInfo>?>( in <lambda>() 154 open fun updateAppTargets(appTargets: Array<DisplayResolveInfo>) { in <lambda>() 256 appTargets: Array<DisplayResolveInfo>, in <lambda>() 326 val appTargets: Array<DisplayResolveInfo>, in <lambda>() 335 val appTarget: DisplayResolveInfo, in <lambda>()
|
/packages/modules/IntentResolver/tests/activity/src/com/android/intentresolver/ |
D | ResolverWrapperActivity.java | 36 import com.android.intentresolver.chooser.DisplayResolveInfo; 176 @NonNull DisplayResolveInfo info, in getOrLoadAppTargetIcon() 193 @NonNull DisplayResolveInfo info, in loadLabel() 205 public void getOrLoadLabel(@NonNull DisplayResolveInfo info) { in getOrLoadLabel()
|
D | IChooserWrapper.java | 26 import com.android.intentresolver.chooser.DisplayResolveInfo; 41 DisplayResolveInfo createTestDisplayResolveInfo( in createTestDisplayResolveInfo()
|
D | ChooserWrapperActivity.java | 35 import com.android.intentresolver.chooser.DisplayResolveInfo; 175 public DisplayResolveInfo createTestDisplayResolveInfo( in createTestDisplayResolveInfo() 181 return DisplayResolveInfo.newDisplayResolveInfo( in createTestDisplayResolveInfo()
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/ |
D | ChooserListAdapterTest.kt | 31 import com.android.intentresolver.chooser.DisplayResolveInfo 129 DisplayResolveInfo.newDisplayResolveInfo( in onBindView_AppTargetIconAndLabelLoadedOnlyOnce() 209 private fun createDisplayResolveInfo(isPinned: Boolean = false): DisplayResolveInfo = in createDisplayResolveInfo() 210 DisplayResolveInfo.newDisplayResolveInfo( in createDisplayResolveInfo()
|
D | ShortcutSelectionLogicTest.kt | 27 import com.android.intentresolver.chooser.DisplayResolveInfo in <lambda>() 62 DisplayResolveInfo.newDisplayResolveInfo( in <lambda>() 71 DisplayResolveInfo.newDisplayResolveInfo( in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiDppQrCodeGeneratorFragment.java | 44 import com.android.internal.app.chooser.DisplayResolveInfo; 219 final DisplayResolveInfo dri = new DisplayResolveInfo( in getNearbySharingTarget()
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/shortcuts/ |
D | ShortcutLoaderTest.kt | 30 import com.android.intentresolver.chooser.DisplayResolveInfo 88 mock<DisplayResolveInfo> { on { resolvedComponentName } doReturn componentName } in <lambda>() 495 testSubject.updateAppTargets(arrayOf<DisplayResolveInfo>(mock())) in testDisabledWorkProfileDoNotCallSystem() 527 testSubject.updateAppTargets(arrayOf<DisplayResolveInfo>(mock())) in testAlwaysCallSystemForMainProfile()
|