Home
last modified time | relevance | path

Searched refs:DisplayResolveInfo (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/chooser/
DMultiDisplayResolveInfo.java31 public class MultiDisplayResolveInfo extends DisplayResolveInfo {
33 List<DisplayResolveInfo> mTargetInfos = new ArrayList<>();
35 final DisplayResolveInfo mBaseInfo;
42 public MultiDisplayResolveInfo(String packageName, DisplayResolveInfo firstInfo) { in MultiDisplayResolveInfo()
57 public void addTarget(DisplayResolveInfo target) { in addTarget()
64 public List<DisplayResolveInfo> getTargets() { in getTargets()
75 public DisplayResolveInfo getSelectedTarget() { in getSelectedTarget()
DDisplayResolveInfo.java42 public class DisplayResolveInfo implements TargetInfo { class
58 public DisplayResolveInfo(Intent originalIntent, ResolveInfo pri, Intent pOrigIntent, in DisplayResolveInfo() method in DisplayResolveInfo
64 public DisplayResolveInfo(Intent originalIntent, ResolveInfo pri, CharSequence pLabel, in DisplayResolveInfo() method in DisplayResolveInfo
84 private DisplayResolveInfo(DisplayResolveInfo other, Intent fillInIntent, int flags, in DisplayResolveInfo() method in DisplayResolveInfo
96 DisplayResolveInfo(DisplayResolveInfo other) { in DisplayResolveInfo() method in DisplayResolveInfo
136 return new DisplayResolveInfo(this, fillInIntent, flags, mResolveInfoPresentationGetter); in cloneFilledIn()
DSelectableTargetInfo.java57 private final DisplayResolveInfo mSourceInfo;
71 public SelectableTargetInfo(Context context, DisplayResolveInfo sourceInfo, in SelectableTargetInfo()
138 public DisplayResolveInfo getDisplayResolveInfo() { in getDisplayResolveInfo()
/frameworks/base/core/java/com/android/internal/app/
DResolverListAdapter.java56 import com.android.internal.app.chooser.DisplayResolveInfo;
73 private DisplayResolveInfo mOtherProfile;
80 List<DisplayResolveInfo> mDisplayList;
124 public DisplayResolveInfo getFilteredItem() { in getFilteredItem()
132 public DisplayResolveInfo getOtherProfile() { in getOtherProfile()
147 public float getScore(DisplayResolveInfo target) { in getScore()
233 mOtherProfile = new DisplayResolveInfo(info.getIntentAt(0), in rebuildList()
340 addResolveInfo(new DisplayResolveInfo(ii, ri,
389 final DisplayResolveInfo
390 dri = new DisplayResolveInfo(intent, add,
[all …]
DChooserListAdapter.java47 import com.android.internal.app.chooser.DisplayResolveInfo;
98 private Map<DisplayResolveInfo, LoadIconTask> mIconLoaders = new HashMap<>();
111 private final List<DisplayResolveInfo> mCallerTargets = new ArrayList<>();
118 private List<DisplayResolveInfo> mSortedList = new ArrayList<>();
184 mCallerTargets.add(new DisplayResolveInfo(ii, ri, ii, makePresentationGetter(ri))); in ChooserListAdapter()
250 if (!(info instanceof DisplayResolveInfo)) { in onBindView()
256 DisplayResolveInfo rInfo = ((SelectableTargetInfo) info).getDisplayResolveInfo(); in onBindView()
264 DisplayResolveInfo dri = (DisplayResolveInfo) info; in onBindView()
310 new AsyncTask<Void, Void, List<DisplayResolveInfo>>() { in updateAlphabeticalList()
312 protected List<DisplayResolveInfo> doInBackground(Void... voids) { in updateAlphabeticalList()
[all …]
DChooserStackedAppDialogFragment.java25 import com.android.internal.app.chooser.DisplayResolveInfo;
49 protected CharSequence getItemLabel(DisplayResolveInfo dri) { in getItemLabel()
55 protected Drawable getItemIcon(DisplayResolveInfo dri) { in getItemIcon()
DChooserTargetActionsDialogFragment.java49 import com.android.internal.app.chooser.DisplayResolveInfo;
62 protected List<DisplayResolveInfo> mTargetInfos = new ArrayList<>();
68 public ChooserTargetActionsDialogFragment(List<DisplayResolveInfo> targets, in ChooserTargetActionsDialogFragment()
187 protected CharSequence getItemLabel(DisplayResolveInfo dri) { in getItemLabel()
193 protected Drawable getItemIcon(DisplayResolveInfo dri) { in getItemIcon()
DChooserActivity.java119 import com.android.internal.app.chooser.DisplayResolveInfo;
828 final List<DisplayResolveInfo> driList = in createAppPredictorCallback()
1188 final DisplayResolveInfo dri = new DisplayResolveInfo(
1646 private void showTargetDetails(DisplayResolveInfo ti) {
1649 List<DisplayResolveInfo> targetList;
1858 final DisplayResolveInfo dri = adapter.getDisplayResolveInfo(i);
1975 private List<DisplayResolveInfo> getDisplayResolveInfos(ChooserListAdapter adapter) {
1978 List<DisplayResolveInfo> driList = new ArrayList<>();
1981 final DisplayResolveInfo dri = adapter.getDisplayResolveInfo(i);
2018 final List<DisplayResolveInfo> driList = getDisplayResolveInfos(adapter);
[all …]
DResolverListController.java35 import com.android.internal.app.chooser.DisplayResolveInfo;
376 public float getScore(DisplayResolveInfo target) { in getScore()
DResolverActivity.java89 import com.android.internal.app.chooser.DisplayResolveInfo;
581 final DisplayResolveInfo dri =
726 final DisplayResolveInfo dri =
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DResolverWrapperAdapter.java25 import com.android.internal.app.chooser.DisplayResolveInfo;
49 protected LoadLabelTask getLoadLabelTask(DisplayResolveInfo info, ViewHolder holder) { in getLoadLabelTask()
55 protected LoadLabelWrapperTask(DisplayResolveInfo dri, ViewHolder holder) { in LoadLabelWrapperTask()
DChooserWrapperActivity.java37 import com.android.internal.app.chooser.DisplayResolveInfo;
186 public DisplayResolveInfo createTestDisplayResolveInfo(Intent originalIntent, ResolveInfo pri, in createTestDisplayResolveInfo()
189 return new DisplayResolveInfo(originalIntent, pri, pLabel, pInfo, replacementIntent, in createTestDisplayResolveInfo()
DChooserActivityTest.java88 import com.android.internal.app.chooser.DisplayResolveInfo;
902 when(sOverrides.resolverListController.getScore(Mockito.isA(DisplayResolveInfo.class))) in testGetBaseScore()
909 final DisplayResolveInfo testDri = in testGetBaseScore()