Home
last modified time | relevance | path

Searched defs:percentage (Results 1 – 15 of 15) sorted by relevance

/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
H A DUtilsTest.java125 final String percentage = Utils.formatPercentage(TEST_PERCENTAGES[i], true); in testFormatPercentage_RoundTrue_RoundUpIfPossible() local
137 final String percentage = Utils.formatPercentage(TEST_PERCENTAGES[i], false); in testFormatPercentage_RoundFalse_NoRound() local
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DUtils.java185 public static String formatPercentage(double percentage, boolean round) { in formatPercentage()
196 public static String formatPercentage(int percentage) { in formatPercentage()
201 public static String formatPercentage(double percentage) { in formatPercentage()
/aosp14/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DAbUpdateInstaller.java270 public void onStatusUpdate(int statusCode, float percentage) { in onStatusUpdate()
/aosp14/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/
H A Dsnapuserd_server.cpp272 double percentage = GetMergePercentage(&lock); in Receivemsg() local
595 double percentage = 0.0; in GetMergePercentage() local
H A Dsnapuserd_test.cpp655 double percentage = client_->GetMergePercent(); in CheckMergeCompletion() local
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
H A DPowerNotificationWarnings.java296 final String percentage = NumberFormat.getPercentInstance() in showWarningNotification() local
379 private String getHybridContentString(String percentage) { in getHybridContentString()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyguardIndicationController.java964 String percentage = NumberFormat.getPercentInstance().format(mBatteryLevel / 100f); in computePowerIndication() local
968 String percentage = NumberFormat.getPercentInstance().format(mBatteryLevel / 100f); in computePowerIndication() local
1007 String percentage = NumberFormat.getPercentInstance().format(mBatteryLevel / 100f); in computePowerIndication() local
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DAppBatteryTracker.java1013 BatteryUsage setPercentage(@NonNull double[] percentage) { in setPercentage()
1095 static String formatBatteryUsagePercentage(double[] percentage) { in formatBatteryUsagePercentage()
1162 BatteryUsage setPercentage(@NonNull double[] percentage) { in setPercentage()
1785 double[] calcPercentage(final int uid, final double[] usage, double[] percentage) { in calcPercentage()
1794 private double sumPercentageOfTypes(double[] percentage, int types) { in sumPercentageOfTypes()
/aosp14/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiObject.java930 float percentage = percent / 100f; in pinchOut() local
968 float percentage = percent / 100f; in pinchIn() local
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/
H A DWirelessChargingLayout.java89 final TextView percentage = findViewById(R.id.wireless_charging_percentage); in init() local
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
H A DMediaOutputBaseAdapter.java329 int percentage = in initSeekbar() local
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DKeyguardIndicationControllerTest.java883 String percentage = NumberFormat.getPercentInstance().format(90 / 100f); in onRefreshBatteryInfo_dozing_dischargingWithLongLife_presentBatteryPercentage() local
/aosp14/system/core/fs_mgr/
H A Dfs_mgr_fstab.cpp79 off64_t CalculateZramSize(int percentage) { in CalculateZramSize()
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/tare/
H A DAgent.java598 void reclaimUnusedAssetsLocked(double percentage, long minUnusedTimeMs, in reclaimUnusedAssetsLocked()
/aosp14/frameworks/base/core/java/com/android/internal/app/procstats/
H A DProcessState.java1141 final double percentage = (double) totals.totalTime / (double) totalTime * 100; in dumpProcessSummaryDetails() local