Home
last modified time | relevance | path

Searched refs:batteryPercentString (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryInfo.java54 public String batteryPercentString; field in BatteryInfo
234 info.batteryPercentString = Utils.formatPercentage(info.batteryLevel); in getBatteryInfo()
266 context.getString(chargingLimitedResId, info.batteryPercentString); in updateBatteryInfoCharging()
277 info.chargeLabel = context.getString(resId, info.batteryPercentString, timeString); in updateBatteryInfoCharging()
281 info.chargeLabel = info.batteryLevel == 100 ? info.batteryPercentString : in updateBatteryInfoCharging()
282 resources.getString(R.string.power_charging, info.batteryPercentString, in updateBatteryInfoCharging()
301 info.batteryPercentString, in updateBatteryInfoDischarging()
309 info.chargeLabel = info.batteryPercentString; in updateBatteryInfoDischarging()
DTopLevelBatteryPreferenceController.java155 return info.batteryPercentString; in generateLabel()
158 info.batteryPercentString, in generateLabel()
DBatteryHistoryPreference.java110 chargeView.setText(mBatteryInfo.batteryPercentString); in onBindViewHolder()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DTopLevelBatteryPreferenceControllerTest.java160 info.batteryPercentString = "3%"; in getDashboardLabel_returnsCorrectLabel()
162 .isEqualTo(info.batteryPercentString); in getDashboardLabel_returnsCorrectLabel()