Searched refs:dri (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/com/android/internal/app/ |
D | ChooserTargetActionsDialogFragment.java | 88 List<Pair<Drawable, CharSequence>> items = mTargetInfos.stream().map(dri -> { in onCreateView() 89 return new Pair<>(getItemIcon(dri), getItemLabel(dri)); in onCreateView() 187 protected CharSequence getItemLabel(DisplayResolveInfo dri) { in getItemLabel() argument 189 return getPinLabel(dri.isPinned(), dri.getResolveInfo().loadLabel(pm)); in getItemLabel() 193 protected Drawable getItemIcon(DisplayResolveInfo dri) { in getItemIcon() argument 194 return getPinIcon(dri.isPinned()); in getItemIcon()
|
D | ChooserStackedAppDialogFragment.java | 49 protected CharSequence getItemLabel(DisplayResolveInfo dri) { in getItemLabel() argument 51 return dri.getResolveInfo().loadLabel(pm); in getItemLabel() 55 protected Drawable getItemIcon(DisplayResolveInfo dri) { in getItemIcon() argument
|
D | ResolverListAdapter.java | 390 dri = new DisplayResolveInfo(intent, add, 392 dri.setPinned(rci.isPinned()); 396 addResolveInfo(dri); 402 dri.addAlternateSourceIntent(altIntent); 423 private void addResolveInfo(DisplayResolveInfo dri) { 424 if (dri != null && dri.getResolveInfo() != null 425 && dri.getResolveInfo().targetUserId == UserHandle.USER_CURRENT) { 426 if (shouldAddResolveInfo(dri)) { 427 mDisplayList.add(dri); 428 Log.i(TAG, "Add DisplayResolveInfo component: " + dri.getResolvedComponentName() [all …]
|
D | ChooserListAdapter.java | 264 DisplayResolveInfo dri = (DisplayResolveInfo) info; in onBindView() local 265 holder.bindLabel(dri.getDisplayLabel(), dri.getExtendedInfo(), alwaysShowSubLabel()); in onBindView() 266 LoadIconTask task = mIconLoaders.get(dri); in onBindView() 268 task = new LoadIconTask(dri, holder); in onBindView() 269 mIconLoaders.put(dri, task); in onBindView() 487 protected boolean shouldAddResolveInfo(DisplayResolveInfo dri) { in shouldAddResolveInfo() argument 491 .resolveInfoMatch(dri.getResolveInfo(), existingInfo.getResolveInfo())) { in shouldAddResolveInfo() 495 return super.shouldAddResolveInfo(dri); in shouldAddResolveInfo()
|
D | ChooserActivity.java | 1188 final DisplayResolveInfo dri = new DisplayResolveInfo( 1190 dri.setDisplayIcon(icon); 1191 return dri; 1858 final DisplayResolveInfo dri = adapter.getDisplayResolveInfo(i); 1859 if (adapter.getScore(dri) == 0) { 1864 final ActivityInfo ai = dri.getResolveInfo().activityInfo; 1911 new ChooserTargetServiceConnection(this, dri, 1920 Log.d(TAG, "Binding service connection for target " + dri 1981 final DisplayResolveInfo dri = adapter.getDisplayResolveInfo(i); 1982 if (adapter.getScore(dri) == 0) { [all …]
|
D | ResolverActivity.java | 581 final DisplayResolveInfo dri = 583 if (dri == null) { 590 onTargetSelected(dri, false); 726 final DisplayResolveInfo dri = 728 if (dri != null && !shouldShowTabs()) { 734 ((TextView) text).setText(dri.getDisplayLabel());
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ResolverWrapperAdapter.java | 55 protected LoadLabelWrapperTask(DisplayResolveInfo dri, ViewHolder holder) { in LoadLabelWrapperTask() argument 56 super(dri, holder); in LoadLabelWrapperTask()
|