Home
last modified time | relevance | path

Searched refs:BatteryMeterView (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryMeterViewTest.java49 private BatteryMeterView mBatteryMeterView;
50 private BatteryMeterView.BatteryMeterDrawable mDrawable;
57 mBatteryMeterView = new BatteryMeterView(mContext); in setUp()
58 mDrawable = spy(new BatteryMeterView.BatteryMeterDrawable(mContext, 0)); in setUp()
DBatteryHeaderPreferenceControllerTest.java85 private BatteryMeterView mBatteryMeterView;
100 mBatteryMeterView = new BatteryMeterView(mContext); in setUp()
138 assertThat(((BatteryMeterView) mBatteryLayoutPref.findViewById( in displayPreference_displayBatteryLevel()
DPowerUsageSummaryTest.java140 private BatteryMeterView mBatteryMeterView;
155 mBatteryMeterView = new BatteryMeterView(mRealContext); in setUp()
156 mBatteryMeterView.mDrawable = new BatteryMeterView.BatteryMeterDrawable(mRealContext, 0); in setUp()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DBatteryMeterView.java34 public class BatteryMeterView extends ImageView { class
43 public BatteryMeterView(Context context) { in BatteryMeterView() method in BatteryMeterView
47 public BatteryMeterView(Context context, @Nullable AttributeSet attrs) { in BatteryMeterView() method in BatteryMeterView
51 public BatteryMeterView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) { in BatteryMeterView() method in BatteryMeterView
DBatteryHeaderPreferenceController.java53 BatteryMeterView mBatteryMeterView;
DPowerUsageSummary.java145 final BatteryMeterView batteryView = mBatteryLayoutPref in updateViews()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryMeterView.java33 public class BatteryMeterView extends ImageView { class
43 public BatteryMeterView(Context context) { in BatteryMeterView() method in BatteryMeterView
47 public BatteryMeterView(Context context, @Nullable AttributeSet attrs) { in BatteryMeterView() method in BatteryMeterView
51 public BatteryMeterView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) { in BatteryMeterView() method in BatteryMeterView
DBatteryHeaderPreferenceController.java53 BatteryMeterView mBatteryMeterView;
DPowerUsageSummary.java158 final BatteryMeterView batteryView = mBatteryLayoutPref in updateViews()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DAdvancedBluetoothDetailsHeaderControllerTest.java40 import com.android.settings.fuelgauge.BatteryMeterView;
99 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.java43 import com.android.settings.fuelgauge.BatteryMeterView;
182 final BatteryMeterView.BatteryMeterDrawable drawable = in createBtBatteryIcon()
183 new BatteryMeterView.BatteryMeterDrawable(context, in createBtBatteryIcon()