/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
D | UriUtils.java | 100 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/ |
D | WorkspaceItemInfo.java | 79 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/ |
D | SelectFromListWizardFragment.java | 120 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()
|
D | SelectWifiState.java | 179 int iconResource = AccessPoint.SECURITY_NONE == WifiSecurityUtil.getSecurity(result) in getNetworks() local 184 .icon(iconResource) in getNetworks()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactListFilterView.java | 139 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/ |
D | SliceDataConverter.java | 291 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()
|
D | SliceBuilderUtils.java | 451 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()
|
D | SliceData.java | 205 public Builder setIcon(int iconResource) { in setIcon() argument 206 mIconResource = iconResource; in setIcon()
|
D | SlicesDatabaseAccessor.java | 157 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/ |
D | ModelUtils.java | 168 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()
|
D | LoaderCursor.java | 192 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()
|
D | PackageUpdatedTask.java | 201 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/ |
D | CheckableLabeledButton.java | 49 @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/ |
D | ActivityPicker.java | 162 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/ |
D | PlaybackViewModel.java | 553 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/ |
D | ContactsDatabaseHelper.java | 4542 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()
|
D | ContactsProvider2.java | 3532 String iconResource = getResourceName(resources, "drawable", iconResourceId); in insertStatusUpdate() local 3557 streamItemValues.put(StreamItems.RES_ICON, iconResource); in insertStatusUpdate()
|