Home
last modified time | relevance | path

Searched refs:loadIcon (Results 1 – 25 of 111) sorted by relevance

12345

/packages/apps/Launcher3/src/com/android/launcher3/model/
DLoaderCursor.java155 if (!loadIcon(info)) { in loadSimpleWorkspaceItem()
167 protected boolean loadIcon(WorkspaceItemInfo info) { in loadIcon() method in LoaderCursor
169 return loadIcon(info, li); in loadIcon()
176 protected boolean loadIcon(WorkspaceItemInfo info, LauncherIcons li) { in loadIcon() method in LoaderCursor
221 if (!loadIcon(info)) { in getRestoredItemInfo()
277 loadIcon(info); in getAppShortcutInfo()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DShortcutServicePickerFragment.java214 public Drawable loadIcon() { in loadIcon() method in ShortcutServicePickerFragment.FrameworkCandidateInfo
255 public Drawable loadIcon() { in loadIcon() method in ShortcutServicePickerFragment.ServiceCandidateInfo
259 : resolveInfo.loadIcon(getContext().getPackageManager()); in loadIcon()
/packages/apps/Settings/src/com/android/settings/accessibility/
DShortcutServicePickerFragment.java214 public Drawable loadIcon() { in loadIcon() method in ShortcutServicePickerFragment.FrameworkCandidateInfo
255 public Drawable loadIcon() { in loadIcon() method in ShortcutServicePickerFragment.ServiceCandidateInfo
259 : resolveInfo.loadIcon(getContext().getPackageManager()); in loadIcon()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DAppsRowItemData.java64 return mResolveInfo.loadIcon(context.getPackageManager()); in getIconDrawable()
89 return mRootInfo.loadIcon(context); in getIconDrawable()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/television/
DAllAppPermissionsFragment.java135 final Drawable icon = appInfo.loadIcon(pm); in updateUi()
294 icon = perm.loadIcon(context.getPackageManager()); in getTintedPermissionIcon()
296 icon = group.loadIcon(context.getPackageManager()); in getTintedPermissionIcon()
DAppPermissionsFragment.java167 Drawable icon = appInfo.loadIcon(pm); in bindUi()
398 Drawable icon = appInfo.loadIcon(pm); in bindUi()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/defaultapps/
DDefaultAppEntryBasePreferenceControllerTest.java94 when(defaultAppInfo.loadIcon()).thenReturn(mContext.getDrawable(R.drawable.test_icon)); in refreshUi_hasDefaultAppWithLabel_summaryAndIconAreSet()
107 when(defaultAppInfo.loadIcon()).thenReturn(null); in refreshUi_hasDefaultAppWithoutLabel_summaryAndIconAreNotSet()
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/cache/
DBaseIconCache.java268 cachingLogic.loadIcon(mContext, object, entry); in addIconToDBAndMemCache()
333 cachingLogic.loadIcon(mContext, object, entry); in cacheLocked()
435 appInfo.loadIcon(mPackageManager), user, appInfo.targetSdkVersion, in getEntryForPackageLocked()
DCachingLogic.java35 void loadIcon(Context context, T object, BitmapInfo target); in loadIcon() method
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DBatteryEntry.java311 icon = ai.loadIcon(pm); in loadNameAndIcon()
339 icon = pi.applicationInfo.loadIcon(pm); in loadNameAndIcon()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryEntry.java311 icon = ai.loadIcon(pm); in loadNameAndIcon()
339 icon = pi.applicationInfo.loadIcon(pm); in loadNameAndIcon()
/packages/apps/Settings/src/com/android/settings/utils/
DCandidateInfoExtra.java46 public Drawable loadIcon() { in loadIcon() method in CandidateInfoExtra
/packages/apps/Launcher3/SecondaryDisplayLauncher/src/com/android/launcher3/
DAppEntry.java34 mIcon = info.loadIcon(packageManager); in AppEntry()
/packages/services/Car/tests/MultiDisplaySecondaryHomeTestLauncher/src/com/android/car/multidisplay/launcher/
DAppEntry.java34 mIcon = info.loadIcon(packageManager); in AppEntry()
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DComponentWithLabel.java60 public void loadIcon(Context context, in loadIcon() method in ComponentWithLabel.ComponentCachingLogic
DLauncherActivityCachingLogic.java58 public void loadIcon(Context context, LauncherActivityInfo object, in loadIcon() method in LauncherActivityCachingLogic
/packages/apps/Settings/src/com/android/settings/datausage/
DAppPrefLoader.java47 preference.setIcon(info.loadIcon(mPackageManager)); in loadInBackground()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DAppPrefLoader.java47 preference.setIcon(info.loadIcon(mPackageManager)); in loadInBackground()
/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsPreference.java45 setIcon(entry.mUiTargetApp.loadIcon(pm)); in init()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DProcessStatsPreference.java45 setIcon(entry.mUiTargetApp.loadIcon(pm)); in init()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DVrDisplayPreferencePicker.java96 public Drawable loadIcon() { in loadIcon() method in VrDisplayPreferencePicker.VrCandidateInfo
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DNotificationAssistantPreferenceControllerTest.java92 public Drawable loadIcon() { return null; } in createCandidateInfo() method in NotificationAssistantPreferenceControllerTest.TestPreferenceController
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DAppPrefLoaderTest.java74 when(info.loadIcon(mPackageManager)).thenReturn(drawable); in loadInBackground_shouldReturnPreference()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/defaultapps/
DDefaultAppEntryBasePreferenceController.java83 return app.loadIcon(); in getDefaultAppIcon()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminListItemTest.java64 when(mDeviceAdminInfo.loadIcon(any(PackageManager.class))) in newInstance_shouldLoadInfoFromDeviceAdminInfo()

12345