Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DIconUtilsTest.java93 verify(packageManager, never()).getUserBadgedIcon(drawable, in testLoadPackageIcon()
116 verify(packageManager).getUserBadgedIcon(drawable, TestProvidersAccess.USER_HANDLE); in testLoadPackageIcon_maybeShowBadge()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DUserId.java122 public Drawable getUserBadgedIcon(Context context, Drawable drawable) { in getUserBadgedIcon() method in UserId
123 return getPackageManager(context).getUserBadgedIcon(drawable, mUserHandle); in getUserBadgedIcon()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DIconUtils.java42 return userId.getUserBadgedIcon(context, packageIcon); in loadPackageIcon()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/deviceadmin/
DDeviceAdminListItem.java58 mIcon = pm.getUserBadgedIcon(mInfo.loadIcon(pm), mUserHandle); in DeviceAdminListItem()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminListItem.java53 mIcon = pm.getUserBadgedIcon(mInfo.loadIcon(pm), mUserHandle); in DeviceAdminListItem()
/packages/apps/Settings/src/com/android/settings/notification/history/
DHistoryLoader.java81 nhp.icon = mPm.getUserBadgedIcon(mPm.getApplicationIcon(info), in load()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DTapAgainDialog.java85 Drawable icon = pm.getUserBadgedIcon(serviceInfo.loadIcon(pm), in onCreate()
DAppChooserActivity.java220 Drawable icon = pm.getUserBadgedIcon(service.loadIcon(pm), in ListAdapter()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DApiWrapper.java92 boolean isWork = (d != mContext.getPackageManager().getUserBadgedIcon(d, user)); in queryAllUsers()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DFactoryResetAccountsPreferenceController.java123 icon = getContext().getPackageManager().getUserBadgedIcon( in getAccountIcon()
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/
DBaseIconFactory.java230 Drawable badged = mPm.getUserBadgedIcon(drawable, user); in createBadgedIconBitmap()
247 Drawable badgedDrawable = mPm.getUserBadgedIcon( in getUserBadgeBitmap()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowApplicationPackageManager.java77 protected Drawable getUserBadgedIcon(Drawable icon, UserHandle user) { in getUserBadgedIcon() method in ShadowApplicationPackageManager
/packages/apps/Settings/src/com/android/settings/nfc/
DPaymentBackend.java138 appInfo.icon = pm.getUserBadgedIcon(icon, appInfo.userHandle); in refresh()
/packages/apps/Settings/src/com/android/settings/accounts/
DChooseAccountPreferenceController.java249 icon = mContext.getPackageManager().getUserBadgedIcon( in getDrawableForType()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/privacy/
DSensorQcPanel.java206 return Icon.createWithBitmap(createBitmapFromDrawable(pm.getUserBadgedIcon(appIcon, user))); in loadAppIcon()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/privacy/
DCameraQcPanelTest.java277 when(mPackageManager.getUserBadgedIcon(eq(mTestDrawable), any())).thenReturn(mTestDrawable); in getPrivacyElement()
DMicQcPanelTest.java275 when(mPackageManager.getUserBadgedIcon(eq(mTestDrawable), any())).thenReturn(mTestDrawable); in getPrivacyElement()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DAppsAsyncLoader.java145 mPackageManager.getUserBadgedIcon( in loadApps()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DSimpleIconFactory.java227 Drawable badged = mPm.getUserBadgedIcon(drawable, user); in createUserBadgedIconBitmap()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/bubbles/
DBubbleBarController.java548 Drawable badgedIcon = pm.getUserBadgedIcon(appIcon, new UserHandle(b.getUserId())); in populateBubble()
/packages/apps/Settings/src/com/android/settings/
DMainClear.java570 icon = context.getPackageManager().getUserBadgedIcon( in loadAccountList()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningState.java370 Drawable icon = state.mPm.getUserBadgedIcon(unbadgedIcon, new UserHandle(mUserId)); in loadIcon()