Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/app/chooser/
DMultiDisplayResolveInfo.java30 public class MultiDisplayResolveInfo extends DisplayResolveInfo {
32 ArrayList<DisplayResolveInfo> mTargetInfos = new ArrayList<>();
34 final DisplayResolveInfo mBaseInfo;
41 public MultiDisplayResolveInfo(String packageName, DisplayResolveInfo firstInfo) { in MultiDisplayResolveInfo()
56 public void addTarget(DisplayResolveInfo target) { in addTarget()
63 public ArrayList<DisplayResolveInfo> getTargets() { in getTargets()
74 public DisplayResolveInfo getSelectedTarget() { in getSelectedTarget()
DDisplayResolveInfo.java44 public class DisplayResolveInfo implements TargetInfo, Parcelable { class
55 public DisplayResolveInfo(Intent originalIntent, ResolveInfo pri, Intent pOrigIntent, in DisplayResolveInfo() method in DisplayResolveInfo
61 public DisplayResolveInfo(Intent originalIntent, ResolveInfo pri, CharSequence pLabel, in DisplayResolveInfo() method in DisplayResolveInfo
81 private DisplayResolveInfo(DisplayResolveInfo other, Intent fillInIntent, int flags, in DisplayResolveInfo() method in DisplayResolveInfo
93 DisplayResolveInfo(DisplayResolveInfo other) { in DisplayResolveInfo() method in DisplayResolveInfo
133 return new DisplayResolveInfo(this, fillInIntent, flags, mResolveInfoPresentationGetter); in cloneFilledIn()
216 public static final Parcelable.Creator<DisplayResolveInfo> CREATOR =
217 new Parcelable.Creator<DisplayResolveInfo>() {
218 public DisplayResolveInfo createFromParcel(Parcel in) {
219 return new DisplayResolveInfo(in);
[all …]
DSelectableTargetInfo.java57 private final DisplayResolveInfo mSourceInfo;
75 public SelectableTargetInfo(Context context, DisplayResolveInfo sourceInfo, in SelectableTargetInfo()
146 public DisplayResolveInfo getDisplayResolveInfo() { in getDisplayResolveInfo()
/frameworks/base/core/java/com/android/internal/app/
DResolverListAdapter.java56 import com.android.internal.app.chooser.DisplayResolveInfo;
76 private DisplayResolveInfo mOtherProfile;
83 List<DisplayResolveInfo> mDisplayList;
92 private final Map<DisplayResolveInfo, LoadIconTask> mIconLoaders = new HashMap<>();
93 private final Map<DisplayResolveInfo, LoadLabelTask> mLabelLoaders = new HashMap<>();
137 public DisplayResolveInfo getFilteredItem() { in getFilteredItem()
145 public DisplayResolveInfo getOtherProfile() { in getOtherProfile()
160 public float getScore(DisplayResolveInfo target) { in getScore()
457 addResolveInfo(new DisplayResolveInfo(ii, ri,
507 final DisplayResolveInfo
[all …]
DChooserListAdapter.java48 import com.android.internal.app.chooser.DisplayResolveInfo;
96 private final List<DisplayResolveInfo> mCallerTargets = new ArrayList<>();
103 private List<DisplayResolveInfo> mSortedList = new ArrayList<>();
211 mCallerTargets.add(new DisplayResolveInfo(ii, ri, ii, makePresentationGetter(ri))); in ChooserListAdapter()
279 DisplayResolveInfo rInfo = sti.getDisplayResolveInfo(); in onBindView()
288 } else if (info instanceof DisplayResolveInfo) { in onBindView()
289 DisplayResolveInfo dri = (DisplayResolveInfo) info; in onBindView()
347 new AsyncTask<Void, Void, List<DisplayResolveInfo>>() { in updateAlphabeticalList()
349 protected List<DisplayResolveInfo> doInBackground(Void... voids) { in updateAlphabeticalList()
350 List<DisplayResolveInfo> allTargets = new ArrayList<>(); in updateAlphabeticalList()
[all …]
DChooserStackedAppDialogFragment.java26 import com.android.internal.app.chooser.DisplayResolveInfo;
59 protected CharSequence getItemLabel(DisplayResolveInfo dri) { in getItemLabel()
65 protected Drawable getItemIcon(DisplayResolveInfo dri) { in getItemIcon()
DChooserTargetActionsDialogFragment.java53 import com.android.internal.app.chooser.DisplayResolveInfo;
67 protected ArrayList<DisplayResolveInfo> mTargetInfos = new ArrayList<>();
94 mTargetInfos = (ArrayList<DisplayResolveInfo>) b.get(TARGET_INFOS_KEY); in setStateFromBundle()
269 protected CharSequence getItemLabel(DisplayResolveInfo dri) { in getItemLabel()
276 protected Drawable getItemIcon(DisplayResolveInfo dri) { in getItemIcon()
290 private boolean isPinned(DisplayResolveInfo dri) { in isPinned()
DResolverListController.java35 import com.android.internal.app.chooser.DisplayResolveInfo;
406 public float getScore(DisplayResolveInfo target) { in getScore()
DResolverActivity.java122 import com.android.internal.app.chooser.DisplayResolveInfo;
882 final DisplayResolveInfo dri =
1033 final DisplayResolveInfo dri =
1795 DisplayResolveInfo sameProfileResolveInfo =
1801 final DisplayResolveInfo otherProfileResolveInfo = inactiveAdapter.mDisplayList.get(0);
1868 List<DisplayResolveInfo> sameProfileList =
1870 List<DisplayResolveInfo> otherProfileList =
1888 for (DisplayResolveInfo info : sameProfileList) {
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DResolverWrapperAdapter.java26 import com.android.internal.app.chooser.DisplayResolveInfo;
51 protected LoadLabelTask createLoadLabelTask(DisplayResolveInfo info) { in createLoadLabelTask()
57 protected LoadLabelWrapperTask(DisplayResolveInfo dri) { in LoadLabelWrapperTask()
DIChooserWrapper.java26 import com.android.internal.app.chooser.DisplayResolveInfo;
39 DisplayResolveInfo createTestDisplayResolveInfo(Intent originalIntent, ResolveInfo pri, in createTestDisplayResolveInfo()
DChooserWrapperActivity.java40 import com.android.internal.app.chooser.DisplayResolveInfo;
227 public DisplayResolveInfo createTestDisplayResolveInfo(Intent originalIntent, ResolveInfo pri, in createTestDisplayResolveInfo()
230 return new DisplayResolveInfo(originalIntent, pri, pLabel, pInfo, replacementIntent, in createTestDisplayResolveInfo()
DChooserListAdapterTest.kt39 import com.android.internal.app.chooser.DisplayResolveInfo
145 DisplayResolveInfo( in addServiceTargets()
DChooserActivityTest.java95 import com.android.internal.app.chooser.DisplayResolveInfo;
548 DisplayResolveInfo testDri = in updateChooserCountsAndModelAfterUserSelection()
1328 .getScore(Mockito.isA(DisplayResolveInfo.class))) in testGetBaseScore()
1335 final DisplayResolveInfo testDri = in testGetBaseScore()
2210 DisplayResolveInfo displayInfo = activity.createTestDisplayResolveInfo( in testDirectTargetLogging()