Home
last modified time | relevance | path

Searched refs:mPercentage (Results 1 – 7 of 7) sorted by relevance

/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DOxygenSaturationRecord.java35 private final Percentage mPercentage; field in OxygenSaturationRecord
58 mPercentage = percentage; in OxygenSaturationRecord()
65 return mPercentage; in getPercentage()
94 private final Percentage mPercentage; field in OxygenSaturationRecord.Builder
109 mPercentage = percentage; in Builder()
134 return new OxygenSaturationRecord(mMetadata, mTime, mZoneOffset, mPercentage, true); in buildWithoutValidation()
142 return new OxygenSaturationRecord(mMetadata, mTime, mZoneOffset, mPercentage, false); in build()
164 recordInternal.setPercentage(mPercentage.getValue()); in toRecordInternal()
DBodyFatRecord.java34 private final Percentage mPercentage; field in BodyFatRecord
57 mPercentage = percentage; in BodyFatRecord()
64 return mPercentage; in getPercentage()
93 private final Percentage mPercentage; field in BodyFatRecord.Builder
108 mPercentage = percentage; in Builder()
133 return new BodyFatRecord(mMetadata, mTime, mZoneOffset, mPercentage, true); in buildWithoutValidation()
141 return new BodyFatRecord(mMetadata, mTime, mZoneOffset, mPercentage, false); in build()
163 recordInternal.setPercentage(mPercentage.getValue()); in toRecordInternal()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DBodyFatRecordInternal.java31 private double mPercentage; field in BodyFatRecordInternal
34 return mPercentage; in getPercentage()
40 this.mPercentage = percentage; in setPercentage()
55 mPercentage = parcel.readDouble(); in populateInstantRecordFrom()
60 parcel.writeDouble(mPercentage); in populateInstantRecordTo()
DOxygenSaturationRecordInternal.java32 private double mPercentage; field in OxygenSaturationRecordInternal
35 return mPercentage; in getPercentage()
41 this.mPercentage = percentage; in setPercentage()
56 mPercentage = parcel.readDouble(); in populateInstantRecordFrom()
61 parcel.writeDouble(mPercentage); in populateInstantRecordTo()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterysaver/
DBatterySaverScheduleSeekBarController.java59 @VisibleForTesting int mPercentage; field in BatterySaverScheduleSeekBarController
78 mPercentage = ((Integer) newValue) * LEVEL_UNIT_SCALE; in onPreferenceChange()
79 final CharSequence stateDescription = formatStateDescription(mPercentage); in onPreferenceChange()
93 if (mPercentage > 0) { in onStopTrackingTouch()
97 mPercentage); in onStopTrackingTouch() local
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryDiffEntry.java107 private double mPercentage; field in BatteryDiffEntry
183 mPercentage = totalConsumePower == 0 ? 0 : (mConsumePower / mTotalConsumePower) * 100.0; in setTotalConsumePower()
194 return mPercentage; in getPercentage()
528 mPercentage, mConsumePower, mTotalConsumePower)); in toString()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterysaver/
DBatterySaverScheduleSeekBarControllerTest.java77 mController.mPercentage = 0; in onStopTrackingTouch_invalidValue_noUpdates()