Home
last modified time | relevance | path

Searched refs:iconResource (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DUriUtils.java100 public static Uri getShortcutIconResourceUri(ShortcutIconResource iconResource) { in getShortcutIconResourceUri() argument
101 return Uri.parse(SCHEME_SHORTCUT_ICON_RESOURCE + SCHEME_DELIMITER + iconResource.packageName in getShortcutIconResourceUri()
103 + iconResource.resourceName.replace(URI_PACKAGE_DELIMITER, URI_PATH_DELIMITER)); in getShortcutIconResourceUri()
216 ShortcutIconResource iconResource = new ShortcutIconResource(); in getIconResource() local
217 iconResource.packageName = getPackageName(context, uri); in getIconResource()
222 iconResource.resourceName = iconResource.packageName in getIconResource()
225 return iconResource; in getIconResource()
227 ShortcutIconResource iconResource = new ShortcutIconResource(); in getIconResource() local
228 iconResource.packageName = getPackageName(context, uri); in getIconResource()
229 iconResource.resourceName = uri.toString().substring( in getIconResource()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DWorkspaceItemInfo.java79 public Intent.ShortcutIconResource iconResource; field in WorkspaceItemInfo
104 iconResource = info.iconResource; in WorkspaceItemInfo()
135 if (iconResource != null) { in onAddToDatabase()
136 writer.put(Favorites.ICON_PACKAGE, iconResource.packageName) in onAddToDatabase()
137 .put(Favorites.ICON_RESOURCE, iconResource.resourceName); in onAddToDatabase()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DSelectFromListWizardFragment.java120 public ListItem(String name, int iconResource) { in ListItem() argument
122 mIconResource = iconResource; in ListItem()
230 String name, int iconResource, int pinnedPosition, int pinnedPriority) { in PinnedListItem() argument
231 super(name, iconResource); in PinnedListItem()
278 int iconResource = item.getIconResource(); in init() local
281 if (iconResource == 0) { in init()
286 icon.setImageResource(iconResource); in init()
DSelectWifiState.java179 int iconResource = AccessPoint.SECURITY_NONE == WifiSecurityUtil.getSecurity(result) in getNetworks() local
184 .icon(iconResource) in getNetworks()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactListFilterView.java139 private void bindView(int iconResource, int textResource) { in bindView() argument
140 if (iconResource != 0) { in bindView()
142 mIcon.setImageResource(iconResource); in bindView()
/packages/apps/Settings/src/com/android/settings/slices/
DSliceDataConverter.java291 int iconResource = resolveInfo.getIconResource(); in getAccessibilitySliceData() local
292 if (iconResource == 0) { in getAccessibilitySliceData()
293 iconResource = R.drawable.ic_accessibility_generic; in getAccessibilitySliceData()
304 .setIcon(iconResource) in getAccessibilitySliceData()
DSliceBuilderUtils.java451 int iconResource = data.getIconResource(); in getSafeIcon() local
453 if (iconResource == 0) { in getSafeIcon()
454 iconResource = R.drawable.ic_settings_accent; in getSafeIcon()
457 return IconCompat.createWithResource(context, iconResource); in getSafeIcon()
DSliceData.java205 public Builder setIcon(int iconResource) { in setIcon() argument
206 mIconResource = iconResource; in setIcon()
DSlicesDatabaseAccessor.java157 final int iconResource = cursor.getInt(cursor.getColumnIndex(IndexColumns.ICON_RESOURCE)); in buildSliceData() local
177 .setIcon(iconResource) in buildSliceData()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DModelUtils.java168 info.iconResource = data.getParcelableExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE); in fromLegacyShortcutIntent()
169 if (info.iconResource != null) { in fromLegacyShortcutIntent()
170 iconInfo = li.createIconBitmap(info.iconResource); in fromLegacyShortcutIntent()
DLoaderCursor.java192 info.iconResource = new ShortcutIconResource(); in loadIcon()
193 info.iconResource.packageName = packageName; in loadIcon()
194 info.iconResource.resourceName = resourceName; in loadIcon()
195 BitmapInfo iconInfo = li.createIconBitmap(info.iconResource); in loadIcon()
DPackageUpdatedTask.java201 if ((si.iconResource != null) in execute()
202 && packageSet.contains(si.iconResource.packageName)) { in execute()
204 BitmapInfo iconInfo = li.createIconBitmap(si.iconResource); in execute()
/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DCheckableLabeledButton.java49 @DrawableRes private int iconResource = 0; field in CheckableLabeledButton
149 if (iconResource != drawableRes) { in setIconDrawable()
151 iconResource = drawableRes; in setIconDrawable()
/packages/apps/Settings/src/com/android/settings/
DActivityPicker.java162 ShortcutIconResource iconResource = icons.get(i); in getItems() local
164 iconResource.packageName); in getItems()
166 iconResource.resourceName, null, null), null); in getItems()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/
DPlaybackViewModel.java553 int iconResource = hasHeart ? R.drawable.ic_star_filled : R.drawable.ic_star_empty; in getRatingAction() local
556 return new RawCustomPlaybackAction(iconResource, null, ACTION_SET_RATING, extras); in getRatingAction()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java4542 Integer iconResource, Integer labelResource) { in replaceStatusUpdate() argument
4556 bindLong(statusUpdateReplace, 5, iconResource); in replaceStatusUpdate()
4562 Integer iconResource, Integer labelResource) { in insertStatusUpdate() argument
4575 bindLong(statusUpdateInsert, 4, iconResource); in insertStatusUpdate()
4602 bindLong(statusAttributionUpdate, 2, iconResource); in insertStatusUpdate()
DContactsProvider2.java3532 String iconResource = getResourceName(resources, "drawable", iconResourceId); in insertStatusUpdate() local
3557 streamItemValues.put(StreamItems.RES_ICON, iconResource); in insertStatusUpdate()