Home
last modified time | relevance | path

Searched refs:mIconDrawableFactory (Results 1 – 22 of 22) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/managedomainurls/
DDomainAppPreferenceControllerTest.java41 private IconDrawableFactory mIconDrawableFactory; field in DomainAppPreferenceControllerTest
46 mIconDrawableFactory = IconDrawableFactory.newInstance(mContext); in setUp()
54 mContext, mIconDrawableFactory, mAppEntry); in getLayoutResource_shouldUseAppPreferenceLayout()
/packages/apps/Settings/src/com/android/settings/applications/managedomainurls/
DDomainAppPreference.java37 private final IconDrawableFactory mIconDrawableFactory; field in DomainAppPreference
42 mIconDrawableFactory = iconFactory; in DomainAppPreference()
61 setIcon(mIconDrawableFactory.getBadgedIcon(mEntry.info)); in setState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/managedomainurls/
DDomainAppPreference.java37 private final IconDrawableFactory mIconDrawableFactory; field in DomainAppPreference
42 mIconDrawableFactory = iconFactory; in DomainAppPreference()
61 setIcon(mIconDrawableFactory.getBadgedIcon(mEntry.info)); in setState()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DHighUsageAdapter.java42 private final IconDrawableFactory mIconDrawableFactory; field in HighUsageAdapter
64 mIconDrawableFactory = IconDrawableFactory.newInstance(context); in HighUsageAdapter()
79 Utils.getBadgedIcon(mIconDrawableFactory, mPackageManager, app.packageName, in onBindViewHolder()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/
DHighUsageAdapter.java42 private final IconDrawableFactory mIconDrawableFactory; field in HighUsageAdapter
64 mIconDrawableFactory = IconDrawableFactory.newInstance(context); in HighUsageAdapter()
79 Utils.getBadgedIcon(mIconDrawableFactory, mPackageManager, app.packageName, in onBindViewHolder()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
DNotificationAccess.java56 private IconDrawableFactory mIconDrawableFactory; field in NotificationAccess
68 mIconDrawableFactory = IconDrawableFactory.newInstance(context); in onAttach()
123 pref.setIcon(mIconDrawableFactory.getBadgedIcon(service, service.applicationInfo, in updateList()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DRecentAppsPreferenceController.java67 private final IconDrawableFactory mIconDrawableFactory; field in RecentAppsPreferenceController
77 mIconDrawableFactory = IconDrawableFactory.newInstance(mContext); in RecentAppsPreferenceController()
159 .setIcon(mIconDrawableFactory.getBadgedIcon(appEntry.info)) in createAppEntity()
/packages/apps/Settings/src/com/android/settings/applications/
DRecentAppsPreferenceController.java67 private final IconDrawableFactory mIconDrawableFactory; field in RecentAppsPreferenceController
77 mIconDrawableFactory = IconDrawableFactory.newInstance(mContext); in RecentAppsPreferenceController()
159 .setIcon(mIconDrawableFactory.getBadgedIcon(appEntry.info)) in createAppEntity()
/packages/apps/Settings/src/com/android/settings/security/trustagent/
DTrustAgentsPreferenceController.java59 private final IconDrawableFactory mIconDrawableFactory; field in TrustAgentsPreferenceController
71 mIconDrawableFactory = IconDrawableFactory.newInstance(context); in TrustAgentsPreferenceController()
150 final Drawable icon = mIconDrawableFactory.getBadgedIcon( in findAvailableTrustAgents()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/
DNotificationAccessPreferenceController.java67 private final IconDrawableFactory mIconDrawableFactory; field in NotificationAccessPreferenceController
93 mIconDrawableFactory = IconDrawableFactory.newInstance(context); in NotificationAccessPreferenceController()
151 pref.setIcon(mIconDrawableFactory.getBadgedIcon(service, service.applicationInfo, in onServicesReloaded()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/pictureinpicture/
DPictureInPictureSettings.java96 private IconDrawableFactory mIconDrawableFactory; field in PictureInPictureSettings
138 mIconDrawableFactory = IconDrawableFactory.newInstance(mContext); in onCreate()
165 pref.setIcon(mIconDrawableFactory.getBadgedIcon(appInfo, userId)); in onResume()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DRestrictedAppDetails.java70 IconDrawableFactory mIconDrawableFactory; field in RestrictedAppDetails
105 mIconDrawableFactory = IconDrawableFactory.newInstance(context); in onCreate()
161 Utils.getBadgedIcon(mIconDrawableFactory, mPackageManager, in refreshUi()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/pictureinpicture/
DPictureInPictureSettings.java96 private IconDrawableFactory mIconDrawableFactory; field in PictureInPictureSettings
138 mIconDrawableFactory = IconDrawableFactory.newInstance(mContext); in onCreate()
165 pref.setIcon(mIconDrawableFactory.getBadgedIcon(appInfo, userId)); in onResume()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DRestrictedAppDetails.java70 IconDrawableFactory mIconDrawableFactory; field in RestrictedAppDetails
105 mIconDrawableFactory = IconDrawableFactory.newInstance(context); in onCreate()
161 Utils.getBadgedIcon(mIconDrawableFactory, mPackageManager, in refreshUi()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DRestrictedAppDetailsTest.java81 private IconDrawableFactory mIconDrawableFactory; field in RestrictedAppDetailsTest
110 mRestrictedAppDetails.mIconDrawableFactory = mIconDrawableFactory; in setUp()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DRecentAppsPreferenceController.java68 private final IconDrawableFactory mIconDrawableFactory; field in RecentAppsPreferenceController
92 mIconDrawableFactory = IconDrawableFactory.newInstance(context); in RecentAppsPreferenceController()
172 pref.setIcon(mIconDrawableFactory.getBadgedIcon(appEntry.info)); in displayRecentApps()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DUtilsTest.java94 private IconDrawableFactory mIconDrawableFactory; field in UtilsTest
238 Utils.getBadgedIcon(mIconDrawableFactory, mPackageManager, PACKAGE_NAME, USER_ID); in getBadgedIcon_usePackageNameAndUserId()
242 verify(mIconDrawableFactory).getBadgedIcon(mApplicationInfo, USER_ID); in getBadgedIcon_usePackageNameAndUserId()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/utils/
DManagedServiceSettings.java58 private IconDrawableFactory mIconDrawableFactory; field in ManagedServiceSettings
73 mIconDrawableFactory = IconDrawableFactory.newInstance(mContext); in onCreate()
129 pref.setIcon(mIconDrawableFactory.getBadgedIcon(service, service.applicationInfo, in updateList()
/packages/apps/Settings/src/com/android/settings/utils/
DManagedServiceSettings.java58 private IconDrawableFactory mIconDrawableFactory; field in ManagedServiceSettings
73 mIconDrawableFactory = IconDrawableFactory.newInstance(mContext); in onCreate()
129 pref.setIcon(mIconDrawableFactory.getBadgedIcon(service, service.applicationInfo, in updateList()
/packages/apps/Settings/src/com/android/settings/notification/
DRecentNotifyingAppsPreferenceController.java82 private final IconDrawableFactory mIconDrawableFactory; field in RecentNotifyingAppsPreferenceController
105 mIconDrawableFactory = IconDrawableFactory.newInstance(context); in RecentNotifyingAppsPreferenceController()
261 pref.setIcon(mIconDrawableFactory.getBadgedIcon(appEntry.info)); in displayRecentApps()
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
DManageApplications.java919 private final IconDrawableFactory mIconDrawableFactory; field in ManageApplications.ApplicationsAdapter
955 mIconDrawableFactory = IconDrawableFactory.newInstance(mContext); in ApplicationsAdapter()
1384 holder.setIcon(mIconDrawableFactory.getBadgedIcon(entry.info)); in onBindViewHolder()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/manageapplications/
DManageApplications.java906 private final IconDrawableFactory mIconDrawableFactory; field in ManageApplications.ApplicationsAdapter
942 mIconDrawableFactory = IconDrawableFactory.newInstance(mContext); in ApplicationsAdapter()
1370 holder.setIcon(mIconDrawableFactory.getBadgedIcon(entry.info)); in onBindViewHolder()