/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/ |
D | OxygenSaturationRecord.java | 48 @NonNull Percentage percentage, in OxygenSaturationRecord() argument 54 Objects.requireNonNull(percentage); in OxygenSaturationRecord() 56 ValidationUtils.requireInRange(percentage.getValue(), 0.0, 100.0, "percentage"); in OxygenSaturationRecord() 58 mPercentage = percentage; in OxygenSaturationRecord() 103 @NonNull Metadata metadata, @NonNull Instant time, @NonNull Percentage percentage) { in Builder() argument 106 Objects.requireNonNull(percentage); in Builder() 109 mPercentage = percentage; in Builder()
|
D | BodyFatRecord.java | 47 @NonNull Percentage percentage, in BodyFatRecord() argument 53 Objects.requireNonNull(percentage); in BodyFatRecord() 55 ValidationUtils.requireInRange(percentage.getValue(), 0.0, 100.0, "bodyFatPercentage"); in BodyFatRecord() 57 mPercentage = percentage; in BodyFatRecord() 102 @NonNull Metadata metadata, @NonNull Instant time, @NonNull Percentage percentage) { in Builder() argument 105 Objects.requireNonNull(percentage); in Builder() 108 mPercentage = percentage; in Builder()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/about/ |
D | Utils.java | 39 public static String formatPercentage(double percentage, boolean round) { in formatPercentage() argument 40 final int localPercentage = round ? Math.round((float) percentage) : (int) percentage; in formatPercentage() 50 public static String formatPercentage(int percentage) { in formatPercentage() argument 51 return formatPercentage(((double) percentage) / 100.0); in formatPercentage() 55 public static String formatPercentage(double percentage) { in formatPercentage() argument 56 return NumberFormat.getPercentInstance().format(percentage); in formatPercentage()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/util/ |
D | LibUtils.java | 69 public static String formatPercentage(double percentage, boolean round) { in formatPercentage() argument 70 final int localPercentage = round ? Math.round((float) percentage) : (int) percentage; in formatPercentage() 80 public static String formatPercentage(int percentage) { in formatPercentage() argument 81 return formatPercentage(((double) percentage) / 100.0); in formatPercentage() 85 public static String formatPercentage(double percentage) { in formatPercentage() argument 86 return NumberFormat.getPercentInstance().format(percentage); in formatPercentage()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/ |
D | PowerGaugePreference.java | 94 public void setPercentage(CharSequence percentage) { in setPercentage() argument 95 mProgress = percentage; in setPercentage() 96 mProgressContentDescription = percentage; in setPercentage()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/ |
D | BodyFatRecordInternal.java | 39 public BodyFatRecordInternal setPercentage(double percentage) { in setPercentage() argument 40 this.mPercentage = percentage; in setPercentage()
|
D | OxygenSaturationRecordInternal.java | 40 public OxygenSaturationRecordInternal setPercentage(double percentage) { in setPercentage() argument 41 this.mPercentage = percentage; in setPercentage()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/ |
D | OxygenSaturationFormatter.kt | 38 context.getString(R.string.percent), mapOf("value" to record.percentage.value)) in formatValue() 46 context.getString(R.string.percent_long), mapOf("value" to record.percentage.value)) in formatA11yValue()
|
D | BodyFatFormatter.kt | 36 context.getString(R.string.percent), mapOf("value" to record.percentage.value)) in formatValue() 44 context.getString(R.string.percent_long), mapOf("value" to record.percentage.value)) in formatA11yValue()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | DebugSettingsFragment.java | 163 private float getValueFromPercentage(final int percentage) { in setupKeyPreviewAnimationScale() 164 return percentage / PERCENTAGE_FLOAT; in setupKeyPreviewAnimationScale() 251 private float getValueFromPercentage(final int percentage) { in setupKeyboardHeight() 252 return percentage / PERCENTAGE_FLOAT; in setupKeyboardHeight()
|
D | Settings.java | 347 final float percentage = prefs.getFloat( in readKeyboardHeight() local 349 return (percentage != UNDEFINED_PREFERENCE_VALUE_FLOAT) ? percentage : defaultValue; in readKeyboardHeight()
|
D | AdvancedSettingsFragment.java | 182 private float getValueFromPercentage(final int percentage) { in setupKeypressSoundVolumeSettings() 183 return percentage / PERCENTAGE_FLOAT; in setupKeypressSoundVolumeSettings()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/ |
D | TopLevelStoragePreferenceControllerTest.java | 88 final String percentage = NumberFormat.getPercentInstance().format(1); in updateSummary_shouldDisplayUsedPercentAndFreeSpace() local 106 mContext, "storage_summary", percentage, freeSpace)); in updateSummary_shouldDisplayUsedPercentAndFreeSpace()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterysaver/ |
D | BatterySaverScheduleSeekBarController.java | 130 private CharSequence formatStateDescription(int percentage) { in formatStateDescription() argument 132 R.string.battery_saver_seekbar_title, Utils.formatPercentage(percentage)); in formatStateDescription()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/v31/ |
D | CompositeCircleView.java | 130 int percentage = Math.round((values[i] / total) * 100); in configure() local 132 R.string.privdash_usage_percent, labels[i].getText(), percentage); in configure()
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | PerformanceProfiler.cpp | 112 double percentage(uint64_t numer, uint64_t denom) { in percentage() function 216 = percentage(procCpuStatsView.cpuTimeMillis, totalCpuTimeMillis), in constructUidResourceUsageStats() 391 percentage(ioStatsView.bytes[i], totalIoStats[metricsType][i]), in toString() 393 percentage(ioStatsView.fsync[i], totalIoStats[FSYNC_COUNT][i])); in toString() 406 percentage(procCpuStatsView->cpuTimeMillis, totalValue), in toString() 411 percentage(processCpuValue.cpuTimeMillis, in toString() 420 percentage(procStatsView.value, totalValue)); in toString() 423 processValue.value, percentage(processValue.value, procStatsView.value)); in toString() 439 percentage(uidMemoryStats->memoryStats.rssKb, totalRssKb), in toString() 441 percentage(uidMemoryStats->memoryStats.pssKb, totalPssKb), in toString() [all …]
|
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/ |
D | AppBatteryPreference.kt | 109 R.string.battery_summary, Utils.formatPercentage(percentage, true) 128 Utils.formatPercentage(percentage, true), in startBatteryDetailPage()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/ |
D | AppBatteryPreferenceTest.kt | 144 on { percentage } doReturn 45.6 in hasConsumePower() 156 on { percentage } doReturn 10.0 in whenClick_openDetailsPage()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/ |
D | TestConstants.kt | 122 fun getOxygenSaturationRecord(time: Instant, percentage: Percentage): OxygenSaturationRecord { in getOxygenSaturationRecord() 123 return OxygenSaturationRecord.Builder(getMetaData(), time, percentage).build() in getOxygenSaturationRecord() 287 assertThat(actualElement.percentage).isEqualTo(expectedElement.percentage) in verifyOxygenSaturationListsEqual()
|
/packages/apps/Settings/src/com/android/settings/wifi/details/ |
D | WifiNetworkDetailsFragment.java | 456 void updateBattery(boolean isChanging, int percentage) { in updateBattery() argument 459 ? getString(R.string.hotspot_battery_charging_summary, formatPercentage(percentage)) in updateBattery() 460 : formatPercentage(percentage)); in updateBattery()
|
/packages/services/Car/car_product/car_ui_portrait/bootanimation/ |
D | README | 27 * **PROGRESS:** whether to show a progress percentage on the last part 28 + The percentage will be displayed with an x-coordinate of 'c', and a
|
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/ |
D | iface_battery_manager.rs | 21 percentage: u32, field
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | ChartDataUsagePreference.java | 193 nodesByDataUsagePercentage.forEach((percentage, nodes) -> { in getDensedStatsData() argument 200 startTime, endTime, percentage); in getDensedStatsData()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/ |
D | VideoSession.java | 359 private void handleNotifyBitrateInd(int percentage) { in handleNotifyBitrateInd() argument 361 mCallback.notifyBitrate(percentage); in handleNotifyBitrateInd()
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
D | NotificationImportExportListener.java | 236 String percentage = in constructProgressNotification() local 238 builder.setContentText(percentage); in constructProgressNotification()
|