Searched refs:BatteryMeterView (Results 1 – 11 of 11) sorted by relevance
49 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()
85 private BatteryMeterView mBatteryMeterView;100 mBatteryMeterView = new BatteryMeterView(mContext); in setUp()138 assertThat(((BatteryMeterView) mBatteryLayoutPref.findViewById( in displayPreference_displayBatteryLevel()
140 private BatteryMeterView mBatteryMeterView;155 mBatteryMeterView = new BatteryMeterView(mRealContext); in setUp()156 mBatteryMeterView.mDrawable = new BatteryMeterView.BatteryMeterDrawable(mRealContext, 0); in setUp()
34 public class BatteryMeterView extends ImageView { class43 public BatteryMeterView(Context context) { in BatteryMeterView() method in BatteryMeterView47 public BatteryMeterView(Context context, @Nullable AttributeSet attrs) { in BatteryMeterView() method in BatteryMeterView51 public BatteryMeterView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) { in BatteryMeterView() method in BatteryMeterView
53 BatteryMeterView mBatteryMeterView;
145 final BatteryMeterView batteryView = mBatteryLayoutPref in updateViews()
33 public class BatteryMeterView extends ImageView { class43 public BatteryMeterView(Context context) { in BatteryMeterView() method in BatteryMeterView47 public BatteryMeterView(Context context, @Nullable AttributeSet attrs) { in BatteryMeterView() method in BatteryMeterView51 public BatteryMeterView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) { in BatteryMeterView() method in BatteryMeterView
158 final BatteryMeterView batteryView = mBatteryLayoutPref in updateViews()
40 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()
43 import com.android.settings.fuelgauge.BatteryMeterView;182 final BatteryMeterView.BatteryMeterDrawable drawable = in createBtBatteryIcon()183 new BatteryMeterView.BatteryMeterDrawable(context, in createBtBatteryIcon()