/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 …]
|
D | AccountImageHelper.java | 115 ShortcutIconResource iconResource = new ShortcutIconResource(); in getDefaultPictureUri() local 116 iconResource.packageName = context.getPackageName(); in getDefaultPictureUri() 117 iconResource.resourceName = context.getResources().getResourceName( in getDefaultPictureUri() 119 return UriUtils.getShortcutIconResourceUri(iconResource).toString(); in getDefaultPictureUri()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | WorkspaceItemInfo.java | 83 public Intent.ShortcutIconResource iconResource; field in WorkspaceItemInfo 113 iconResource = info.iconResource; in WorkspaceItemInfo() 145 if (iconResource != null) { in onAddToDatabase() 146 writer.put(Favorites.ICON_PACKAGE, iconResource.packageName) in onAddToDatabase() 147 .put(Favorites.ICON_RESOURCE, iconResource.resourceName); in onAddToDatabase()
|
D | InstallShortcutReceiver.java | 453 Intent.ShortcutIconResource iconResource = data == null ? null in encodeToString() local 472 if (iconResource != null) { in encodeToString() 473 json = json.key(ICON_RESOURCE_NAME_KEY).value(iconResource.resourceName); in encodeToString() 475 .value(iconResource.packageName); in encodeToString() 571 Intent.ShortcutIconResource iconResource = in decode() local 573 iconResource.resourceName = iconResourceName; in decode() 574 iconResource.packageName = iconResourcePackageName; in decode() 575 data.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE, iconResource); in decode() 656 info.iconResource = (Intent.ShortcutIconResource) extra; in createWorkspaceItemInfo() 657 iconInfo = li.createIconBitmap(info.iconResource); in createWorkspaceItemInfo()
|
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/ |
D | SliceDataConverter.java | 272 int iconResource = resolveInfo.getIconResource(); in getAccessibilitySliceData() local 273 if (iconResource == 0) { in getAccessibilitySliceData() 274 iconResource = R.drawable.ic_accessibility_generic; in getAccessibilitySliceData() 279 .setIcon(iconResource) in getAccessibilitySliceData()
|
D | SliceBuilderUtils.java | 449 int iconResource = data.getIconResource(); in getSafeIcon() local 451 if (iconResource == 0) { in getSafeIcon() 452 iconResource = R.drawable.ic_settings_accent; in getSafeIcon() 455 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 | 161 final int iconResource = cursor.getInt(cursor.getColumnIndex(IndexColumns.ICON_RESOURCE)); in buildSliceData() local 183 .setIcon(iconResource) in buildSliceData()
|
/packages/apps/Settings/src/com/android/settings/slices/ |
D | SliceDataConverter.java | 290 int iconResource = resolveInfo.getIconResource(); in getAccessibilitySliceData() local 291 if (iconResource == 0) { in getAccessibilitySliceData() 292 iconResource = R.drawable.ic_accessibility_generic; in getAccessibilitySliceData() 297 .setIcon(iconResource) in getAccessibilitySliceData()
|
D | SliceBuilderUtils.java | 455 int iconResource = data.getIconResource(); in getSafeIcon() local 457 if (iconResource == 0) { in getSafeIcon() 458 iconResource = R.drawable.ic_settings_accent; in getSafeIcon() 461 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 | 161 final int iconResource = cursor.getInt(cursor.getColumnIndex(IndexColumns.ICON_RESOURCE)); in buildSliceData() local 183 .setIcon(iconResource) in buildSliceData()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | LoaderCursor.java | 181 info.iconResource = new ShortcutIconResource(); in loadIcon() 182 info.iconResource.packageName = packageName; in loadIcon() 183 info.iconResource.resourceName = resourceName; in loadIcon() 184 BitmapInfo iconInfo = li.createIconBitmap(info.iconResource); in loadIcon()
|
D | PackageUpdatedTask.java | 188 if ((si.iconResource != null) in execute() 189 && packageSet.contains(si.iconResource.packageName)) { in execute() 191 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
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/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 | 512 int iconResource = hasHeart ? R.drawable.ic_star_filled : R.drawable.ic_star_empty; in getRatingAction() local 515 return new RawCustomPlaybackAction(iconResource, null, ACTION_SET_RATING, extras); in getRatingAction()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactsDatabaseHelper.java | 4518 Integer iconResource, Integer labelResource) { in replaceStatusUpdate() argument 4532 bindLong(statusUpdateReplace, 5, iconResource); in replaceStatusUpdate() 4538 Integer iconResource, Integer labelResource) { in insertStatusUpdate() argument 4551 bindLong(statusUpdateInsert, 4, iconResource); in insertStatusUpdate() 4578 bindLong(statusAttributionUpdate, 2, iconResource); in insertStatusUpdate()
|
D | ContactsProvider2.java | 3452 String iconResource = getResourceName(resources, "drawable", iconResourceId); in insertStatusUpdate() local 3477 streamItemValues.put(StreamItems.RES_ICON, iconResource); in insertStatusUpdate()
|