Home
last modified time | relevance | path

Searched refs:loadDrawable (Results 1 – 25 of 40) sorted by relevance

12

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/inputmethod/
DAvailableVirtualKeyboardFragment.java96 private static Drawable loadDrawable(@NonNull final PackageManager packageManager, in loadDrawable() method in AvailableVirtualKeyboardFragment
120 Drawable drawable = loadDrawable(packageManager, packageName, si.logo, ai); in getInputMethodIcon()
124 drawable = loadDrawable(packageManager, packageName, si.icon, ai); in getInputMethodIcon()
130 drawable = loadDrawable(packageManager, packageName, ai.logo, ai); in getInputMethodIcon()
134 drawable = loadDrawable(packageManager, packageName, ai.icon, ai); in getInputMethodIcon()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/
DAvailableVirtualKeyboardFragment.java97 private static Drawable loadDrawable(@NonNull final PackageManager packageManager, in loadDrawable() method in AvailableVirtualKeyboardFragment
121 Drawable drawable = loadDrawable(packageManager, packageName, si.logo, ai); in getInputMethodIcon()
125 drawable = loadDrawable(packageManager, packageName, si.icon, ai); in getInputMethodIcon()
131 drawable = loadDrawable(packageManager, packageName, ai.logo, ai); in getInputMethodIcon()
135 drawable = loadDrawable(packageManager, packageName, ai.icon, ai); in getInputMethodIcon()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationInfo.java75 mIconDrawable = icon == null ? null : icon.loadDrawable(context); in NotificationInfo()
80 mIconDrawable = icon.loadDrawable(context); in NotificationInfo()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/dashboard/
DDashboardFeatureProviderImpl.java199 Drawable iconDrawable = tileIcon.loadDrawable(preference.getContext()); in bindIcon()
226 preference.setIcon(icon.loadDrawable(preference.getContext())) in bindIcon()
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardFeatureProviderImpl.java199 Drawable iconDrawable = tileIcon.loadDrawable(preference.getContext()); in bindIcon()
226 preference.setIcon(icon.loadDrawable(preference.getContext())) in bindIcon()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DCategoryFragment.java525 mWallpaperInfo.getThumbAsset(getActivity().getApplicationContext()).loadDrawable( in bindWallpaperAsset()
705 homeWallpaper.getThumbAsset(appContext).loadDrawable( in bindHomeWallpaper()
791 lockWallpaper.getThumbAsset(appContext).loadDrawable( in bindLockWallpaper()
923 thumbnail.loadDrawable(getActivity(), mImageView, in drawThumbnailAndOverlayIcon()
/packages/apps/Dialer/java/com/android/contacts/common/compat/
DPhoneAccountCompat.java51 return accountIcon.loadDrawable(context); in createIconDrawableMarshmallow()
/packages/apps/StorageManager/src/com/android/storagemanager/utils/
DIconProvider.java43 return mContext.getContentResolver().getTypeInfo(mimeType).getIcon().loadDrawable(mContext); in loadMimeIcon()
/packages/apps/Contacts/src/com/android/contacts/compat/
DPhoneAccountCompat.java84 return accountIcon.loadDrawable(context); in createIconDrawableMarshmallow()
/packages/apps/Car/Settings/src/com/android/car/settings/suggestions/
DSuggestionPreference.java80 setIcon((suggestion.getIcon() != null) ? suggestion.getIcon().loadDrawable(getContext()) in updateSuggestion()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DIconUtils.java56 return context.getContentResolver().getTypeInfo(mimeType).getIcon().loadDrawable(context); in loadMimeIcon()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DIndividualHolder.java80 mActivity.getApplicationContext()).loadDrawable(mActivity, mThumbnailView, in bindWallpaper()
DMyPhotosViewHolder.java152 thumbnail.loadDrawable(mActivity, mThumbnailView, in drawThumbnail()
/packages/services/Telecomm/src/com/android/server/telecom/settings/
DEnableAccountPreferenceFragment.java54 setIcon(icon.loadDrawable(context)); in AccountSwitchPreference()
/packages/apps/Dialer/java/com/android/dialer/app/settings/
DPhoneAccountSelectionFragment.java86 setIcon(icon.loadDrawable(context)); in AccountPreference()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DResourceAsset.java61 public void loadDrawable(Context context, ImageView imageView, in loadDrawable() method in ResourceAsset
DCurrentWallpaperAssetVN.java88 public void loadDrawable(Context context, ImageView imageView, in loadDrawable() method in CurrentWallpaperAssetVN
DLiveWallpaperThumbAsset.java73 public void loadDrawable(Context context, ImageView imageView, in loadDrawable() method in LiveWallpaperThumbAsset
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DSliceHalfCardRendererHelper.java60 view.icon.setImageDrawable(primaryAction.getIcon().loadDrawable(mContext)); in bindView()
DSliceDeferredSetupCardRendererHelper.java61 view.icon.setImageDrawable(primaryAction.getIcon().loadDrawable(mContext)); in bindView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/slices/
DSliceHalfCardRendererHelper.java60 view.icon.setImageDrawable(primaryAction.getIcon().loadDrawable(mContext)); in bindView()
DSliceDeferredSetupCardRendererHelper.java61 view.icon.setImageDrawable(primaryAction.getIcon().loadDrawable(mContext)); in bindView()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/suggestions/
DSuggestionPreferenceTest.java80 when(icon.loadDrawable(any(Context.class))).thenReturn(iconDrawable); in updateSuggestion_updatesPreference()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/legacysuggestion/
DLegacySuggestionContextualCardController.java143 cardBuilder.setIconDrawable(suggestion.getIcon().loadDrawable(mContext)); in loadSuggestions()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/legacysuggestion/
DLegacySuggestionContextualCardController.java150 cardBuilder.setIconDrawable(suggestion.getIcon().loadDrawable(mContext)); in loadSuggestions()

12