Home
last modified time | relevance | path

Searched refs:mIconDrawableFactory (Results 1 – 15 of 15) 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.java34 private final IconDrawableFactory mIconDrawableFactory; field in DomainAppPreference
39 mIconDrawableFactory = iconFactory; in DomainAppPreference()
58 setIcon(mIconDrawableFactory.getBadgedIcon(mEntry.info)); in setState()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DHighUsageAdapter.java41 private final IconDrawableFactory mIconDrawableFactory; field in HighUsageAdapter
63 mIconDrawableFactory = IconDrawableFactory.newInstance(context); in HighUsageAdapter()
78 Utils.getBadgedIcon(mIconDrawableFactory, mPackageManager, app.packageName, in onBindViewHolder()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
DNotificationAccess.java60 private IconDrawableFactory mIconDrawableFactory; field in NotificationAccess
67 mIconDrawableFactory = IconDrawableFactory.newInstance(context); in onAttach()
126 pref.setIcon(mIconDrawableFactory.getBadgedIcon(service, service.applicationInfo, in updateList()
/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/Settings/src/com/android/settings/applications/specialaccess/interactacrossprofiles/
DInteractAcrossProfilesSettings.java55 private IconDrawableFactory mIconDrawableFactory; field in InteractAcrossProfilesSettings
64 mIconDrawableFactory = IconDrawableFactory.newInstance(mContext); in onCreate()
86 pref.setIcon(mIconDrawableFactory.getBadgedIcon(appInfo, user.getIdentifier())); in onResume()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/pictureinpicture/
DPictureInPictureSettings.java94 private IconDrawableFactory mIconDrawableFactory; field in PictureInPictureSettings
136 mIconDrawableFactory = IconDrawableFactory.newInstance(mContext); in onCreate()
163 pref.setIcon(mIconDrawableFactory.getBadgedIcon(appInfo, userId)); in onResume()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/
DNotificationAccessPreferenceController.java67 private final IconDrawableFactory mIconDrawableFactory; field in NotificationAccessPreferenceController
92 mIconDrawableFactory = IconDrawableFactory.newInstance(context); in NotificationAccessPreferenceController()
155 pref.setIcon(mIconDrawableFactory.getBadgedIcon(service, service.applicationInfo, in onServicesReloaded()
/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/Settings/src/com/android/settings/notification/
DNotificationAccessSettings.java84 private IconDrawableFactory mIconDrawableFactory; field in NotificationAccessSettings
94 mIconDrawableFactory = IconDrawableFactory.newInstance(mContext); in onCreate()
155 pref.setIcon(mIconDrawableFactory.getBadgedIcon(service, service.applicationInfo, in updateList()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DRestrictedAppDetails.java71 IconDrawableFactory mIconDrawableFactory; field in RestrictedAppDetails
104 mIconDrawableFactory = IconDrawableFactory.newInstance(context); in onCreate()
161 Utils.getBadgedIcon(mIconDrawableFactory, mPackageManager, in refreshUi()
/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/src/com/android/settings/utils/
DManagedServiceSettings.java57 private IconDrawableFactory mIconDrawableFactory; field in ManagedServiceSettings
72 mIconDrawableFactory = IconDrawableFactory.newInstance(mContext); in onCreate()
124 pref.setIcon(mIconDrawableFactory.getBadgedIcon(service, service.applicationInfo, in updateList()
/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/apps/Settings/src/com/android/settings/applications/manageapplications/
DManageApplications.java1002 private final IconDrawableFactory mIconDrawableFactory; field in ManageApplications.ApplicationsAdapter
1038 mIconDrawableFactory = IconDrawableFactory.newInstance(mContext); in ApplicationsAdapter()