OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sipper
(Results
1 - 2
of
2
) sorted by null
/packages/apps/Settings/src/com/android/settings/fuelgauge/
PowerUsageSummary.java
146
BatterySipper
sipper
= pgp.getInfo();
local
147
mStatsHelper.startBatteryDetailPage((PreferenceActivity) getActivity(),
sipper
, true);
215
for (BatterySipper
sipper
: usageList) {
216
if (
sipper
.getSortValue() < MIN_POWER_THRESHOLD) continue;
218
((
sipper
.getSortValue() / mStatsHelper.getTotalPower()) * 100);
221
new PowerGaugePreference(getActivity(),
sipper
.getIcon(),
sipper
);
223
(
sipper
.getSortValue() * 100) / mStatsHelper.getMaxPower();
224
sipper
.percent = percentOfTotal;
225
pref.setTitle(
sipper
.name)
[
all
...]
BatteryStatsHelper.java
179
PreferenceActivity caller, BatterySipper
sipper
, boolean showLocationButton) {
184
args.putString(PowerUsageDetail.EXTRA_TITLE,
sipper
.name);
186
Math.ceil(
sipper
.getSortValue() * 100 / mTotalPower));
188
Math.ceil(
sipper
.getSortValue() * 100 / mMaxPower));
190
args.putString(PowerUsageDetail.EXTRA_ICON_PACKAGE,
sipper
.defaultPackageName);
191
args.putInt(PowerUsageDetail.EXTRA_ICON_ID,
sipper
.iconId);
192
args.putDouble(PowerUsageDetail.EXTRA_NO_COVERAGE,
sipper
.noCoveragePercent);
193
if (
sipper
.uidObj != null) {
194
args.putInt(PowerUsageDetail.EXTRA_UID,
sipper
.uidObj.getUid());
196
args.putSerializable(PowerUsageDetail.EXTRA_DRAIN_TYPE,
sipper
.drainType)
[
all
...]
Completed in 34 milliseconds