Searched refs:mLastFullChargePref (Results 1 – 3 of 3) sorted by relevance
142 private PowerGaugePreference mLastFullChargePref; field in PowerUsageSummaryTest152 mLastFullChargePref = new PowerGaugePreference(mRealContext); in setUp()192 mFragment.mLastFullChargePref = mLastFullChargePref; in setUp()210 assertThat(mLastFullChargePref.getTitle()).isEqualTo("Last full charge"); in updateLastFullChargePreference_noAverageTime_showLastFullChargeSummary()211 assertThat(mLastFullChargePref.getSubtitle()).isEqualTo("2 hours ago"); in updateLastFullChargePreference_noAverageTime_showLastFullChargeSummary()222 assertThat(mLastFullChargePref.getTitle()).isEqualTo("Full charge lasts about"); in updateLastFullChargePreference_hasAverageTime_showFullChargeLastSummary()223 assertThat(mLastFullChargePref.getSubtitle().toString()).isEqualTo("2 hr"); in updateLastFullChargePreference_hasAverageTime_showFullChargeLastSummary()
86 PowerGaugePreference mLastFullChargePref; field in PowerUsageSummary216 mLastFullChargePref = (PowerGaugePreference) findPreference( in onCreate()317 mLastFullChargePref.setTitle(R.string.battery_full_charge_last); in updateLastFullChargePreference()318 mLastFullChargePref.setSubtitle( in updateLastFullChargePreference()324 mLastFullChargePref.setTitle(R.string.battery_last_full_charge); in updateLastFullChargePreference()325 mLastFullChargePref.setSubtitle( in updateLastFullChargePreference()
91 PowerGaugePreference mLastFullChargePref; field in PowerUsageSummary227 mLastFullChargePref = (PowerGaugePreference) findPreference( in onCreate()343 mLastFullChargePref.setTitle(R.string.battery_full_charge_last); in updateLastFullChargePreference()344 mLastFullChargePref.setSubtitle( in updateLastFullChargePreference()350 mLastFullChargePref.setTitle(R.string.battery_last_full_charge); in updateLastFullChargePreference()351 mLastFullChargePref.setSubtitle( in updateLastFullChargePreference()