OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:formatPercentage
(Results
1 - 7
of
7
) sorted by null
/packages/apps/Settings/src/com/android/settings/fuelgauge/
PowerGaugePreference.java
51
mProgressText = Utils.
formatPercentage
((int) (percentOfTotal + 0.5));
BatterySaverSettings.java
86
Utils.
formatPercentage
(value));
PowerUsageDetail.java
400
text1.setText(Utils.
formatPercentage
(percentage));
520
value = Utils.
formatPercentage
(percentage);
BatteryHistoryChart.java
493
mMaxPercentLabelString = Utils.
formatPercentage
(100);
494
mMinPercentLabelString = Utils.
formatPercentage
(0);
497
String batteryPercentString = Utils.
formatPercentage
(mBatteryLevel);
[
all
...]
/packages/apps/Settings/src/com/android/settings/applications/
ProcessStatsPreference.java
65
mProgressText = Utils.
formatPercentage
((int) percentOfTime);
ProcessStatsDetail.java
115
String appLevelText = Utils.
formatPercentage
(mEntry.mDuration, mTotalTime);
202
Utils.
formatPercentage
(mEntry.mDuration, mTotalTime));
264
String percentage = Utils.
formatPercentage
(service.mDuration, mTotalTime);
/packages/apps/Settings/src/com/android/settings/
Utils.java
326
public static String
formatPercentage
(long amount, long total) {
327
return
formatPercentage
(((double) amount) / total);
331
public static String
formatPercentage
(int percentage) {
332
return
formatPercentage
(((double) percentage) / 100.0);
336
private static String
formatPercentage
(double percentage) {
345
return
formatPercentage
(getBatteryLevel(batteryChangedIntent));
[
all
...]
Completed in 74 milliseconds