Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/network/
DProviderModelSlice.java332 rowBuilder.setTitleItem(Utils.createIconWithDrawable(drawable), ListBuilder.ICON_IMAGE); in createEthernetRow()
373 return Utils.createIconWithDrawable(drawable); in getSeeAllIcon()
375 return Utils.createIconWithDrawable(new ColorDrawable(Color.TRANSPARENT)); in getSeeAllIcon()
394 return Utils.createIconWithDrawable(drawable); in getWifiSliceItemLevelIcon()
DProviderModelSliceHelper.java186 final IconCompat levelIcon = Utils.createIconWithDrawable(drawable); in createCarrierRow()
204 Utils.createIconWithDrawable(new ColorDrawable(Color.TRANSPARENT)), in getPrimarySliceAction()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DBluetoothDevicesSlice.java224 return Utils.createIconWithDrawable(drawable); in getBluetoothDeviceIcon()
232 final IconCompat icon = Utils.createIconWithDrawable(drawable); in getBluetoothOffHeader()
253 final IconCompat icon = Utils.createIconWithDrawable(drawable); in getBluetoothOnHeader()
270 final IconCompat icon = Utils.createIconWithDrawable(drawable); in getPairNewDeviceAction()
DBatteryFixSlice.java125 final IconCompat icon = Utils.createIconWithDrawable(drawable); in getSlice()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DUtilsTest.java208 final IconCompat icon = Utils.createIconWithDrawable(drawable); in createIconWithDrawable_BitmapDrawable()
217 final IconCompat icon = Utils.createIconWithDrawable(drawable); in createIconWithDrawable_ColorDrawable()
227 final IconCompat icon = Utils.createIconWithDrawable(drawable); in createIconWithDrawable_VectorDrawable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardFeatureProviderImplTest.java417 final Bitmap preferenceBmp = Utils.createIconWithDrawable(preference.getIcon()).getBitmap(); in bindIcon_withStaticIcon_shouldLoadStaticIcon()
420 final Bitmap staticIconBmp = Utils.createIconWithDrawable(staticIcon).getBitmap(); in bindIcon_withStaticIcon_shouldLoadStaticIcon()
452 final Bitmap preferenceBmp = Utils.createIconWithDrawable(preference.getIcon()).getBitmap(); in bindIcon_withStaticIconAndIconUri_shouldLoadIconFromContentProvider()
455 final Bitmap staticIconBmp = Utils.createIconWithDrawable(staticIcon).getBitmap(); in bindIcon_withStaticIconAndIconUri_shouldLoadIconFromContentProvider()
462 final Bitmap iconBmpFromUri = Utils.createIconWithDrawable(iconFromUri).getBitmap(); in bindIcon_withStaticIconAndIconUri_shouldLoadIconFromContentProvider()
/packages/apps/Settings/src/com/android/settings/wifi/slice/
DWifiSlice.java183 return Utils.createIconWithDrawable(drawable); in getWifiSliceItemLevelIcon()
245 final IconCompat emptyIcon = Utils.createIconWithDrawable( in getLoadingRow()
DContextualWifiSlice.java117 return Utils.createIconWithDrawable(drawable); in getHeaderIcon()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DProviderModelSliceTest.java356 Utils.createIconWithDrawable(new ColorDrawable(Color.TRANSPARENT)), in getPrimarySliceAction()
/packages/apps/Settings/src/com/android/settings/
DUtils.java1056 public static IconCompat createIconWithDrawable(Drawable drawable) { in createIconWithDrawable() method in Utils