Home
last modified time | relevance | path

Searched refs:iconInfo (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/taptotransfer/common/
DMediaTttUtilsTest.kt69 val iconInfo = in getIconInfoFromPackageName_nullPackageName_returnsDefault() constant
76 assertThat(iconInfo.isAppIcon).isFalse() in getIconInfoFromPackageName_nullPackageName_returnsDefault()
77 assertThat(iconInfo.contentDescription.loadContentDescription(context)) in getIconInfoFromPackageName_nullPackageName_returnsDefault()
79 assertThat(iconInfo.icon).isEqualTo(MediaTttIcon.Resource(R.drawable.ic_cast)) in getIconInfoFromPackageName_nullPackageName_returnsDefault()
84 val iconInfo = in getIconInfoFromPackageName_nullPackageName_isReceiver_returnsDefault() constant
91 assertThat(iconInfo.isAppIcon).isFalse() in getIconInfoFromPackageName_nullPackageName_isReceiver_returnsDefault()
92 assertThat(iconInfo.contentDescription.loadContentDescription(context)) in getIconInfoFromPackageName_nullPackageName_isReceiver_returnsDefault()
96 assertThat(iconInfo.icon).isEqualTo(MediaTttIcon.Resource(R.drawable.ic_cast)) in getIconInfoFromPackageName_nullPackageName_isReceiver_returnsDefault()
116 val iconInfo = in getIconInfoFromPackageName_invalidPackageName_returnsDefault() constant
123 assertThat(iconInfo.isAppIcon).isFalse() in getIconInfoFromPackageName_invalidPackageName_returnsDefault()
[all …]
/frameworks/base/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/
DBatteryConsumerInfoHelper.java37 public ApplicationInfo iconInfo; field in BatteryConsumerInfoHelper.BatteryConsumerInfo
98 info.iconInfo = applicationInfo; in makeBatteryConsumerInfo()
126 if (info.iconInfo == null) { in makeBatteryConsumerInfo()
128 info.iconInfo = in makeBatteryConsumerInfo()
DBatteryConsumerPickerActivity.java251 if (item.iconInfo != null) { in onBindViewHolder()
253 item.iconInfo.loadIcon(getPackageManager())); in onBindViewHolder()
DBatteryStatsViewerActivity.java204 if (batteryConsumerInfo.iconInfo != null) { in onBatteryStatsDataLoaded()
206 batteryConsumerInfo.iconInfo.loadIcon(getPackageManager())); in onBatteryStatsDataLoaded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/ui/viewmodel/
DNotificationIconContainerStatusBarViewModel.kt113 .sample(shadeInteractor.shadeExpansion) { (prev, iconInfo), shadeExpansion -> in <lambda>() method
116 iconInfo?.notifKey == prev?.notifKey -> false in <lambda>()
117 iconInfo == null || prev == null -> shadeExpansion == 0f in <lambda>()
120 AnimatableEvent(iconInfo, animate) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/receiver/
DMediaTttChipControllerReceiver.kt205 var iconInfo = MediaTttUtils.getIconInfoFromPackageName( in <lambda>() variable
214 iconInfo = iconInfo.copy( in <lambda>()
220 iconInfo = iconInfo.copy( in <lambda>()
227 if (iconInfo.isAppIcon) { in <lambda>()
235 TintedIconViewBinder.bind(iconInfo.toTintedIcon(), iconView) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/ui/viewbinder/
DNotificationIconContainerViewBinder.kt161 isolatedIcon.collectTracingEach("NIC#showIconIsolated") { iconInfo -> in <lambda>() method
162 val iconView = iconInfo.value?.let { viewStore.iconView(it.notifKey) } in <lambda>()
163 if (iconInfo.isAnimating) { in <lambda>()
164 view.showIconIsolatedAnimated(iconView, iconInfo::stopAnimating) in <lambda>()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/cache/
DBaseIconCache.java603 BitmapInfo iconInfo = li.createBadgedIconBitmap(appIcon, in getEntryForPackageLocked() local
610 ? BitmapInfo.of(LOW_RES_ICON, iconInfo.color) in getEntryForPackageLocked()
611 : iconInfo; in getEntryForPackageLocked()
616 iconInfo, entry.title.toString(), packageName, null); in getEntryForPackageLocked()
/frameworks/base/core/java/com/android/internal/app/
DResolverListAdapter.java755 final DisplayResolveInfo iconInfo = getFilteredItem();
756 if (iconView != null && iconInfo != null) {
760 return loadIconForResolveInfo(iconInfo.getResolveInfo());