Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DBluetoothDevicesSlice.java230 return Utils.createIconWithDrawable(drawable); in getBluetoothDeviceIcon()
238 final IconCompat icon = Utils.createIconWithDrawable(drawable); in getBluetoothOffHeader()
259 final IconCompat icon = Utils.createIconWithDrawable(drawable); in getBluetoothOnHeader()
276 final IconCompat icon = Utils.createIconWithDrawable(drawable); in getPairNewDeviceAction()
/packages/apps/Settings/src/com/android/settings/network/
DProviderModelSlice.java343 rowBuilder.setTitleItem(Utils.createIconWithDrawable(drawable), ListBuilder.ICON_IMAGE); in createEthernetRow()
384 return Utils.createIconWithDrawable(drawable); in getSeeAllIcon()
386 return Utils.createIconWithDrawable(new ColorDrawable(Color.TRANSPARENT)); in getSeeAllIcon()
405 return Utils.createIconWithDrawable(drawable); in getWifiSliceItemLevelIcon()
DProviderModelSliceHelper.java187 final IconCompat levelIcon = Utils.createIconWithDrawable(drawable); in createCarrierRow()
205 Utils.createIconWithDrawable(new ColorDrawable(Color.TRANSPARENT)), in getPrimarySliceAction()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DUtilsTest.java214 final IconCompat icon = Utils.createIconWithDrawable(drawable); in createIconWithDrawable_BitmapDrawable()
223 final IconCompat icon = Utils.createIconWithDrawable(drawable); in createIconWithDrawable_ColorDrawable()
233 final IconCompat icon = Utils.createIconWithDrawable(drawable); in createIconWithDrawable_VectorDrawable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardFeatureProviderImplTest.java458 final Bitmap preferenceBmp = Utils.createIconWithDrawable(preference.getIcon()).getBitmap(); in bindIcon_withStaticIcon_shouldLoadStaticIcon()
461 final Bitmap staticIconBmp = Utils.createIconWithDrawable(staticIcon).getBitmap(); in bindIcon_withStaticIcon_shouldLoadStaticIcon()
493 final Bitmap preferenceBmp = Utils.createIconWithDrawable(preference.getIcon()).getBitmap(); in bindIcon_withStaticIconAndIconUri_shouldLoadIconFromContentProvider()
496 final Bitmap staticIconBmp = Utils.createIconWithDrawable(staticIcon).getBitmap(); in bindIcon_withStaticIconAndIconUri_shouldLoadIconFromContentProvider()
503 final Bitmap iconBmpFromUri = Utils.createIconWithDrawable(iconFromUri).getBitmap(); in bindIcon_withStaticIconAndIconUri_shouldLoadIconFromContentProvider()
/packages/apps/Settings/src/com/android/settings/wifi/slice/
DWifiSlice.java279 return Utils.createIconWithDrawable(drawable); in getWifiSliceItemLevelIcon()
349 final IconCompat emptyIcon = Utils.createIconWithDrawable( in getLoadingRow()
/packages/apps/Settings/src/com/android/settings/notification/
DMediaVolumePreferenceController.java186 return Utils.createIconWithDrawable(drawable); in getBroadcastIcon()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DProviderModelSliceTest.java388 Utils.createIconWithDrawable(new ColorDrawable(Color.TRANSPARENT)), in getPrimarySliceAction()
/packages/apps/Settings/src/com/android/settings/
DUtils.java1124 public static IconCompat createIconWithDrawable(Drawable drawable) { in createIconWithDrawable() method in Utils