Searched refs:mHourlyChartView (Results 1 – 4 of 4) sorted by relevance
76 @Mock private BatteryChartView mHourlyChartView; field in BatteryChartPreferenceControllerTest115 mBatteryChartPreferenceController.mHourlyChartView = mHourlyChartView; in setUp()151 reset(mHourlyChartView); in setBatteryChartViewModel_6Hours()159 verify(mHourlyChartView, atLeast(0)).setViewModel(null); in setBatteryChartViewModel_6Hours()160 verify(mHourlyChartView, atLeastOnce()) in setBatteryChartViewModel_6Hours()177 reset(mHourlyChartView); in setBatteryChartViewModel_60Hours()200 reset(mHourlyChartView); in setBatteryChartViewModel_60Hours()203 doReturn(View.GONE).when(mHourlyChartView).getVisibility(); in setBatteryChartViewModel_60Hours()207 verify(mHourlyChartView).setVisibility(View.VISIBLE); in setBatteryChartViewModel_60Hours()212 verify(mHourlyChartView) in setBatteryChartViewModel_60Hours()[all …]
44 @Mock private BatteryChartView mHourlyChartView; field in BatteryHistoryPreferenceTest57 when(mViewHolder.findViewById(R.id.hourly_battery_chart)).thenReturn(mHourlyChartView); in setUp()68 verify(mHourlyChartView).setCompanionTextView(mTextView); in testOnBindViewHolder_updateBatteryUsage()
34 private BatteryChartView mHourlyChartView; field in BatteryHistoryPreference45 if (mDailyChartView != null && mHourlyChartView != null) { in setChartPreferenceController()46 mChartPreferenceController.setBatteryChartView(mDailyChartView, mHourlyChartView); in setChartPreferenceController()57 mHourlyChartView = (BatteryChartView) view.findViewById(R.id.hourly_battery_chart); in onBindViewHolder()58 mHourlyChartView.setCompanionTextView(companionTextView); in onBindViewHolder()60 mChartPreferenceController.setBatteryChartView(mDailyChartView, mHourlyChartView); in onBindViewHolder()
84 @VisibleForTesting BatteryChartView mHourlyChartView; field in BatteryChartPreferenceController275 if (mDailyChartView != dailyChartView || mHourlyChartView != hourlyChartView) { in setBatteryChartView()315 mHourlyChartView = hourlyChartView; in setBatteryChartViewInner()316 mHourlyChartView.setOnSelectListener( in setBatteryChartViewInner()330 mHourlyChartView.announceForAccessibility( in setBatteryChartViewInner()347 if (mDailyChartView == null || mHourlyChartView == null) { in showEmptyChart()353 mHourlyChartView.setVisibility(View.VISIBLE); in showEmptyChart()354 mHourlyChartView.setViewModel(null); in showEmptyChart()359 if (mDailyChartView == null || mHourlyChartView == null) { in refreshUi()367 mHourlyChartView.setVisibility(View.GONE); in refreshUi()[all …]