Home
last modified time | relevance | path

Searched refs:BatteryMeterDrawable (Results 1 – 6 of 6) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DBatteryMeterView.java36 BatteryMeterDrawable mDrawable;
61 mDrawable = new BatteryMeterDrawable(context, frameColor); in BatteryMeterView()
98 public static class BatteryMeterDrawable extends ThemedBatteryDrawable { class in BatteryMeterView
102 public BatteryMeterDrawable(Context context, int frameColor) { in BatteryMeterDrawable() method in BatteryMeterView.BatteryMeterDrawable
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryMeterView.java35 BatteryMeterDrawable mDrawable;
63 mDrawable = new BatteryMeterDrawable(context, frameColor); in BatteryMeterView()
107 public static class BatteryMeterDrawable extends ThemedBatteryDrawable { class in BatteryMeterView
111 public BatteryMeterDrawable(Context context, int frameColor) { in BatteryMeterDrawable() method in BatteryMeterView.BatteryMeterDrawable
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryMeterViewTest.java50 private BatteryMeterView.BatteryMeterDrawable mDrawable;
58 mDrawable = spy(new BatteryMeterView.BatteryMeterDrawable(mContext, 0)); in setUp()
DPowerUsageSummaryTest.java156 mBatteryMeterView.mDrawable = new BatteryMeterView.BatteryMeterDrawable(mRealContext, 0); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DAdvancedBluetoothDetailsHeaderControllerTest.java99 assertThat(drawable).isInstanceOf(BatteryMeterView.BatteryMeterDrawable.class); in createBatteryIcon_hasCorrectInfo()
101 final BatteryMeterView.BatteryMeterDrawable iconDrawable = in createBatteryIcon_hasCorrectInfo()
102 (BatteryMeterView.BatteryMeterDrawable) drawable; in createBatteryIcon_hasCorrectInfo()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DAdvancedBluetoothDetailsHeaderController.java181 final BatteryMeterView.BatteryMeterDrawable drawable = in createBtBatteryIcon()
182 new BatteryMeterView.BatteryMeterDrawable(context, in createBtBatteryIcon()