Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/brightness/ui/viewmodel/
DBrightnessSliderViewModel.kt79 val percentage = (coercedValue - min) * 100 / (max - min) in formatValue() constant
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DUtilsTest.java132 final String percentage = Utils.formatPercentage(TEST_PERCENTAGES[i], true); in testFormatPercentage_RoundTrue_RoundUpIfPossible() local
152 final String percentage = Utils.formatPercentage(TEST_PERCENTAGES[i], false); in testFormatPercentage_RoundFalse_NoRound() local
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java195 public static String formatPercentage(double percentage, boolean round) { in formatPercentage()
206 public static String formatPercentage(int percentage) { in formatPercentage()
211 public static String formatPercentage(double percentage) { in formatPercentage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/udfps/
DEllipseOverlapDetector.kt87 val percentage: Float = coveredPixels.toFloat() / sensorPixels in isGoodOverlap() constant
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DAbUpdateInstaller.java270 public void onStatusUpdate(int statusCode, float percentage) { in onStatusUpdate()
/frameworks/base/services/core/java/com/android/server/am/
DAppBatteryTracker.java1052 BatteryUsage setPercentage(@NonNull double[] percentage) { in setPercentage()
1134 static String formatBatteryUsagePercentage(double[] percentage) { in formatBatteryUsagePercentage()
1201 BatteryUsage setPercentage(@NonNull double[] percentage) { in setPercentage()
1824 double[] calcPercentage(final int uid, final double[] usage, double[] percentage) { in calcPercentage()
1833 private double sumPercentageOfTypes(double[] percentage, int types) { in sumPercentageOfTypes()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiObject.java930 float percentage = percent / 100f; in pinchOut() local
968 float percentage = percent / 100f; in pinchIn() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/
DWirelessChargingLayout.java89 final TextView percentage = findViewById(R.id.wireless_charging_percentage); in init() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java1090 String percentage = NumberFormat.getPercentInstance().format(mBatteryLevel / 100f); in computePowerIndication() local
1094 String percentage = NumberFormat.getPercentInstance().format(mBatteryLevel / 100f); in computePowerIndication() local
1139 String percentage = NumberFormat.getPercentInstance().format(mBatteryLevel / 100f); in computePowerChargingStringIndication() local
/frameworks/av/media/libmediaplayerservice/nuplayer/
DHTTPLiveSource.cpp415 int32_t percentage; in onSessionNotify() local
DGenericSource.cpp1517 void NuPlayer::GenericSource::notifyBufferingUpdate(int32_t percentage) { in notifyBufferingUpdate()
1591 int percentage = 100.0 * cachedPosUs / mDurationUs; in onPollBuffering() local
DNuPlayer.cpp2649 int32_t percentage; in onSourceNotify() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputBaseAdapter.java329 int percentage = in initSeekbar() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerTest.java895 String percentage = NumberFormat.getPercentInstance().format(90 / 100f); in onRefreshBatteryInfo_dozing_dischargingWithLongLife_presentBatteryPercentage() local
/frameworks/av/media/module/bufferpool/1.0/
DAccessorImpl.cpp247 int percentage(T base, S total) { in percentage() function
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerNotificationWarnings.java302 final String percentage = NumberFormat.getPercentInstance() in showWarningNotification() local
/frameworks/av/media/module/bufferpool/2.0/
DAccessorImpl.cpp333 int percentage(T base, S total) { in percentage() function
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessState.java1129 final double percentage = (double) totals.totalTime / (double) totalTime * 100; in dumpProcessSummaryDetails() local
/frameworks/av/media/libstagefright/httplive/
DLiveSession.cpp2270 void LiveSession::notifyBufferingUpdate(int32_t percentage) { in notifyBufferingUpdate()
/frameworks/layoutlib/bridge/src/android/net/
DConnectivityManager.java623 public void reportInetCondition(int networkType, int percentage) {} in reportInetCondition()
/frameworks/base/core/java/android/view/
DViewRootImpl.java5184 long percentage = (long) (mLargestChildPercentage * 100); in collectFrameRateDecisionMetrics() local
13185 void recordViewPercentage(float percentage) { in recordViewPercentage()