Home
last modified time | relevance | path

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

1234

/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/data/
DBasicAppIconLoader.kt29 suspend fun loadIcon(userId: Int, component: ComponentName): Drawable? in loadIcon() method
41 override suspend fun loadIcon(userId: Int, component: ComponentName): Drawable? = in loadIcon() method in com.android.systemui.mediaprojection.appselector.data.BasicPackageManagerAppIconLoader
43 packageManagerWrapper.getActivityInfo(component, userId)?.loadIcon(packageManager) in loadIcon()
DBadgedAppIconLoader.kt41 suspend fun loadIcon( in <lambda>() method in com.android.systemui.mediaprojection.appselector.data.BadgedAppIconLoader
49 basicAppIconLoader.loadIcon(userId, componentName) ?: return@withContext null in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/pipeline/data/repository/
DFakeInstalledTilesComponentRepository.kt72 override fun loadIcon(pm: PackageManager?): Drawable? { in ServiceInfo() method
82 override fun loadIcon(pm: PackageManager?): Drawable? { in ServiceInfo() method
83 return serviceIcon ?: getApplicationInfo().loadIcon(pm) in ServiceInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/domain/interactor/
DDeviceIconInteractor.kt38 fun loadIcon(@AudioDeviceInfo.AudioDeviceType type: Int): Drawable? = in loadIcon() method in com.android.systemui.volume.domain.interactor.DeviceIconInteractor
41 fun loadIcon(cachedDevice: CachedBluetoothDevice): Drawable? { in loadIcon() method
DAudioOutputInteractor.kt97 icon = deviceIconInteractor.loadIcon(device), in <lambda>()
106 icon = deviceIconInteractor.loadIcon(type), in <lambda>()
111 icon = deviceIconInteractor.loadIcon(type), in <lambda>()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DNavigationBar.java70 loadIcon(back, in NavigationBar()
74 loadIcon(3, quickStepEnabled ? "ic_sysbar_home_quick_step.png" : "ic_sysbar_home.png", in NavigationBar()
79 loadIcon(recent, "ic_sysbar_recent.png", density, isRtl); in NavigationBar()
DStatusBar.java119 loadIcon(icons.get(0), "stat_sys_wifi_signal_4_fully." in StatusBar()
121 loadIcon(icons.get(1), "stat_sys_battery_100.png", density, foregroundColor); in StatusBar()
151 protected ImageView loadIcon(ImageView imageView, String iconName, Density density, int color) { in loadIcon() method in StatusBar
153 return super.loadIcon(imageView, iconName, density, color); in loadIcon()
DCustomBar.java84 protected ImageView loadIcon(ImageView imageView, String iconName, Density density, int color) { in loadIcon() method in CustomBar
85 return SysUiResources.loadIcon(mContext, mSimulatedPlatformVersion, imageView, iconName, in loadIcon()
89 protected ImageView loadIcon(int index, String iconName, Density density, boolean isRtl) { in loadIcon() method in CustomBar
93 return SysUiResources.loadIcon(mContext, mSimulatedPlatformVersion, imageView, iconName, in loadIcon()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/appselector/data/
DBasicPackageManagerAppIconLoaderTest.kt57 val loadedIcon = runBlocking { appIconLoader.loadIcon(userId = 123, component = component) } in loadIcon_loadsIconUsingTheSameUserId()
65 whenever(activityInfo.loadIcon(packageManager)).thenReturn(icon) in givenIcon()
/frameworks/base/services/core/java/com/android/server/wm/
DLaunchWarningWindow.java46 icon.setImageDrawable(next.info.applicationInfo.loadIcon(context.getPackageManager())); in LaunchWarningWindow()
51 icon.setImageDrawable(cur.info.applicationInfo.loadIcon(context.getPackageManager())); in LaunchWarningWindow()
/frameworks/base/core/java/android/content/pm/
DInstantAppInfo.java104 public @NonNull Drawable loadIcon(@NonNull PackageManager packageManager) { in loadIcon() method in InstantAppInfo
106 return mApplicationInfo.loadIcon(packageManager); in loadIcon()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/
DCandidateInfo.java34 public abstract Drawable loadIcon(); in loadIcon() method in CandidateInfo
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCommandParamsFactory.java421 mIconLoader.loadIcon(iconId.recordNumber, this in processDisplayText()
471 mIconLoader.loadIcon(iconId.recordNumber, this in processSetUpIdleModeText()
530 mIconLoader.loadIcon(iconId.recordNumber, this in processGetInkey()
616 mIconLoader.loadIcon(iconId.recordNumber, this in processGetInput()
713 mIconLoader.loadIcon(titleIconId.recordNumber, this in processSelectItem()
766 mIconLoader.loadIcon(iconId.recordNumber, this in processEventNotify()
945 mIconLoader.loadIcon(iconId.recordNumber, this in processLaunchBrowser()
1015 mIconLoader.loadIcon(iconId.recordNumber, this in processPlayTone()
1198 mIconLoader.loadIcon(iconId.recordNumber, obtainMessage(MSG_ID_LOAD_ICON_DONE)); in processBIPClient()
/frameworks/base/core/java/android/widget/
DShareActionProvider.java212 .setIcon(activity.loadIcon(packageManager)) in onPrepareSubMenu()
224 .setIcon(activity.loadIcon(packageManager)) in onPrepareSubMenu()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/cache/
DCachingLogic.java47 BitmapInfo loadIcon(@NonNull final Context context, @NonNull final T object); in loadIcon() method
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DUidDetailProvider.java163 detail.icon = um.getBadgedIconForUser(info.loadIcon(pm), in buildUidDetail()
183 detail.icon = um.getBadgedIconForUser(appInfo.loadIcon(pm), userHandle); in buildUidDetail()
/frameworks/base/core/java/com/android/internal/accessibility/dialog/
DAccessibilityActivityTarget.java45 shortcutInfo.getActivityInfo().loadIcon(context.getPackageManager()), in AccessibilityActivityTarget()
DAccessibilityServiceTarget.java49 serviceInfo.getResolveInfo().loadIcon(context.getPackageManager()), in AccessibilityServiceTarget()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/data/repository/
DIconAndNameCustomRepository.kt55 val icon = it.loadIcon(packageManager) in getCustomTileData()
/frameworks/base/core/java/android/view/textservice/
DSpellCheckerInfo.java224 public Drawable loadIcon(PackageManager pm) { in loadIcon() method in SpellCheckerInfo
225 return mService.loadIcon(pm); in loadIcon()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DAppCopyHelper.java164 info.icon = app.loadIcon(mPackageManager); in addCurrentUsersApps()
222 info.icon = app.activityInfo.loadIcon(mPackageManager); in addSystemApps()
DAppRestrictionsHelper.java196 info.icon = app.loadIcon(pm); in fetchAndMergeApps()
237 info.icon = app.loadIcon(pm); in fetchAndMergeApps()
327 info.icon = app.activityInfo.loadIcon(pm); in addSystemApps()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserListAdapterTest.kt101 verify(iconTask, times(1)).loadIcon() in createChooserListAdapter()
122 verify(iconTaskOne, times(1)).loadIcon() in testOnlyOneTaskPerTarget()
/frameworks/base/packages/CredentialManager/shared/src/com/android/credentialmanager/ktx/
DCredentialKtx.kt379 providerIcon = applicationInfo.loadIcon(pm) in getServiceLabelAndIcon()
390 providerIcon = si.loadIcon(pm) in getServiceLabelAndIcon()
410 providerIcon = applicationInfo.loadIcon(pm) in getServiceLabelAndIcon()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DDefaultAppInfoTest.java76 Drawable icon = mInfo.loadIcon(); in initInfoWithActivityInfo_shouldLoadInfo()

1234