Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryHistoryPreference.java33 private BatteryChartView mDailyChartView;
34 private BatteryChartView mHourlyChartView;
55 mDailyChartView = (BatteryChartView) view.findViewById(R.id.daily_battery_chart); in onBindViewHolder()
57 mHourlyChartView = (BatteryChartView) view.findViewById(R.id.hourly_battery_chart); in onBindViewHolder()
DBatteryChartView.java63 public class BatteryChartView extends AppCompatImageView implements View.OnClickListener { class
107 private BatteryChartView.OnSelectListener mOnSelectListener;
113 public BatteryChartView(Context context) { in BatteryChartView() method in BatteryChartView
117 public BatteryChartView(Context context, AttributeSet attrs) { in BatteryChartView() method in BatteryChartView
149 public void setOnSelectListener(BatteryChartView.OnSelectListener listener) { in setOnSelectListener()
778 new AccessibilityNodeInfo(BatteryChartView.this); in createAccessibilityNodeInfo()
780 hostInfo.addChild(BatteryChartView.this, index); in createAccessibilityNodeInfo()
790 new AccessibilityNodeInfo(BatteryChartView.this, index); in createAccessibilityNodeInfo()
819 onTrapezoidClicked(BatteryChartView.this, virtualViewId); in performAction()
DBatteryChartPreferenceController.java83 @VisibleForTesting BatteryChartView mDailyChartView;
84 @VisibleForTesting BatteryChartView mHourlyChartView;
269 @NonNull final BatteryChartView dailyChartView, in setBatteryChartView()
270 @NonNull final BatteryChartView hourlyChartView) { in setBatteryChartView()
289 @NonNull final BatteryChartView dailyChartView, in setBatteryChartViewInner()
290 @NonNull final BatteryChartView hourlyChartView) { in setBatteryChartViewInner()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DBatteryChartViewTest.java44 private BatteryChartView mBatteryChartView;
57 mBatteryChartView = new BatteryChartView(mContext); in setUp()
72 mBatteryChartView.mTrapezoidSlots[i] = new BatteryChartView.TrapezoidSlot(); in onClick_invokesCallback()
DBatteryHistoryPreferenceTest.java43 @Mock private BatteryChartView mDailyChartView;
44 @Mock private BatteryChartView mHourlyChartView;
DBatteryChartPreferenceControllerTest.java75 @Mock private BatteryChartView mDailyChartView;
76 @Mock private BatteryChartView mHourlyChartView;