Searched refs:getBluetoothDrawable (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | Utils.java | 63 return new Pair<>(getBluetoothDrawable(context, R.drawable.ic_bt_laptop, level, in getBtClassDrawableWithDescription() 69 getBluetoothDrawable(context, R.drawable.ic_bt_cellphone, level, in getBtClassDrawableWithDescription() 75 getBluetoothDrawable(context, HidProfile.getHidClassDrawable(btClass), in getBtClassDrawableWithDescription() 81 getBluetoothDrawable(context, R.drawable.ic_settings_print, level, in getBtClassDrawableWithDescription() 94 return new Pair<>(getBluetoothDrawable(context, resId, level, iconScale), null); in getBtClassDrawableWithDescription() 100 getBluetoothDrawable(context, R.drawable.ic_bt_headset_hfp, level, in getBtClassDrawableWithDescription() 106 getBluetoothDrawable(context, R.drawable.ic_bt_headphones_a2dp, level, in getBtClassDrawableWithDescription() 112 getBluetoothDrawable(context, R.drawable.ic_settings_bluetooth, level, iconScale), in getBtClassDrawableWithDescription() 116 public static Drawable getBluetoothDrawable(Context context, @DrawableRes int resId, in getBluetoothDrawable() method in Utils
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | UtilsTest.java | 36 final Drawable drawable = Utils.getBluetoothDrawable(RuntimeEnvironment.application, in testGetBluetoothDrawable_noBatteryLevel_returnSimpleDrawable() 44 final Drawable drawable = Utils.getBluetoothDrawable(RuntimeEnvironment.application, in testGetBluetoothDrawable_hasBatteryLevel_returnLayerDrawable()
|