Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DHighUsageAdapter.java39 private final IconDrawableFactory mIconDrawableFactory; field in HighUsageAdapter
61 mIconDrawableFactory = IconDrawableFactory.newInstance(context); in HighUsageAdapter()
77 mIconDrawableFactory, in onBindViewHolder()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
DNotificationAccess.java62 private IconDrawableFactory mIconDrawableFactory; field in NotificationAccess
69 mIconDrawableFactory = IconDrawableFactory.newInstance(context); in onAttach()
136 pref.setIcon(mIconDrawableFactory.getBadgedIcon(service, service.applicationInfo, in updateList()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/specialaccess/
DNotificationAccessState.java60 private IconDrawableFactory mIconDrawableFactory; field in NotificationAccessState
73 mIconDrawableFactory = IconDrawableFactory.newInstance(mContext); in onAttach()
113 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/pictureinpicture/
DPictureInPictureSettings.java95 private IconDrawableFactory mIconDrawableFactory; field in PictureInPictureSettings
137 mIconDrawableFactory = IconDrawableFactory.newInstance(mContext); in onCreate()
164 pref.setIcon(mIconDrawableFactory.getBadgedIcon(appInfo, userId)); in onResume()
/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()
89 pref.setIcon(mIconDrawableFactory.getBadgedIcon(appInfo, user.getIdentifier())); in onResume()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DRestrictedAppDetails.java66 @VisibleForTesting IconDrawableFactory mIconDrawableFactory; field in RestrictedAppDetails
96 mIconDrawableFactory = IconDrawableFactory.newInstance(context); in onCreate()
157 mIconDrawableFactory, in refreshUi()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/
DRecentAppsPreferenceController.java66 private final IconDrawableFactory mIconDrawableFactory; field in RecentAppsPreferenceController
93 mIconDrawableFactory = IconDrawableFactory.newInstance(context); in RecentAppsPreferenceController()
145 pref.setIcon(mIconDrawableFactory.getBadgedIcon(appEntry.info)); in displayRecentApps()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DRestrictedAppDetailsTest.java77 @Mock private IconDrawableFactory mIconDrawableFactory; field in RestrictedAppDetailsTest
101 mRestrictedAppDetails.mIconDrawableFactory = mIconDrawableFactory; in setUp()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationAccessSettings.java88 private IconDrawableFactory mIconDrawableFactory; field in NotificationAccessSettings
98 mIconDrawableFactory = IconDrawableFactory.newInstance(mContext); in onCreate()
168 pref.setIcon(mIconDrawableFactory.getBadgedIcon(service, service.applicationInfo, in updateList()
/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/Car/Settings/src/com/android/car/settings/applications/specialaccess/
DNotificationAccessPreferenceController.java70 private final IconDrawableFactory mIconDrawableFactory; field in NotificationAccessPreferenceController
106 mIconDrawableFactory = IconDrawableFactory.newInstance(context); in NotificationAccessPreferenceController()
180 pref.setIcon(mIconDrawableFactory.getBadgedIcon(service, service.applicationInfo, in onServicesReloaded()
/packages/apps/Settings/src/com/android/settings/utils/
DManagedServiceSettings.java59 private IconDrawableFactory mIconDrawableFactory; field in ManagedServiceSettings
74 mIconDrawableFactory = IconDrawableFactory.newInstance(mContext); in onCreate()
127 pref.setIcon(mIconDrawableFactory.getBadgedIcon(service, service.applicationInfo, in updateList()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DUtilsTest.java113 private IconDrawableFactory mIconDrawableFactory; field in UtilsTest
244 Utils.getBadgedIcon(mIconDrawableFactory, mPackageManager, PACKAGE_NAME, USER_ID); in getBadgedIcon_usePackageNameAndUserId()
248 verify(mIconDrawableFactory).getBadgedIcon(mApplicationInfo, USER_ID); in getBadgedIcon_usePackageNameAndUserId()
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
DManageApplications.java1231 private final IconDrawableFactory mIconDrawableFactory; field in ManageApplications.ApplicationsAdapter
1267 mIconDrawableFactory = IconDrawableFactory.newInstance(mContext); in ApplicationsAdapter()