Home
last modified time | relevance | path

Searched refs:setPercent (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryHeaderPreferenceControllerTest.java137 verify(mBatteryUsageProgressBarPref).setPercent(BATTERY_LEVEL, BATTERY_MAX_LEVEL); in displayPreference_displayBatteryLevel()
157 verify(mBatteryUsageProgressBarPref).setPercent(BATTERY_LEVEL, BATTERY_MAX_LEVEL); in updatePreference_updateBatteryInfo()
209 verify(mBatteryUsageProgressBarPref).setPercent(BATTERY_LEVEL, BATTERY_MAX_LEVEL); in updatePreference_triggerBatteryStatusUpdateTrue_updatePercentageAndUsageOnly()
220 verify(mBatteryUsageProgressBarPref).setPercent(BATTERY_LEVEL, BATTERY_MAX_LEVEL); in updatePreference_triggerBatteryStatusUpdateFalse_updateBatteryInfo()
297 verify(mBatteryUsageProgressBarPref).setPercent(BATTERY_LEVEL, BATTERY_MAX_LEVEL); in quickUpdateHeaderPreference_onlyUpdateBatteryLevelAndChargingState()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryHeaderPreferenceController.java147 mBatteryUsageProgressBarPref.setPercent(info.batteryLevel, BATTERY_MAX_LEVEL); in updateHeaderPreference()
165 mBatteryUsageProgressBarPref.setPercent(batteryLevel, BATTERY_MAX_LEVEL); in quickUpdateHeaderPreference()
DPowerGaugePreference.java75 public void setPercent(double percentOfTotal) { in setPercent() method in PowerGaugePreference
DBatteryAppListPreferenceController.java245 pref.setPercent(percentOfTotal); in refreshAppListGroup()
DBatteryChartPreferenceController.java427 pref.setPercent(entry.getPercentOfTotal()); in addPreferenceToScreen()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageSummaryPreference.java41 public void setPercent(long usedBytes, long totalBytes) { in setPercent() method in StorageSummaryPreference
DPublicVolumeSettings.java171 mSummary.setPercent(usedBytes, totalBytes); in update()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageUsageProgressBarPreferenceController.java120 mUsageProgressBarPreference.setPercent(mUsedBytes, mTotalBytes); in updateState()