/frameworks/base/packages/SystemUI/src/com/android/systemui/brightness/ui/viewmodel/ |
D | BrightnessSliderViewModel.kt | 79 val percentage = (coercedValue - min) * 100 / (max - min) in formatValue() constant
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | UtilsTest.java | 132 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/ |
D | Utils.java | 195 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/ |
D | EllipseOverlapDetector.kt | 87 val percentage: Float = coveredPixels.toFloat() / sensorPixels in isGoodOverlap() constant
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | AbUpdateInstaller.java | 270 public void onStatusUpdate(int statusCode, float percentage) { in onStatusUpdate()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppBatteryTracker.java | 1052 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/ |
D | UiObject.java | 930 float percentage = percent / 100f; in pinchOut() local 968 float percentage = percent / 100f; in pinchIn() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/ |
D | WirelessChargingLayout.java | 89 final TextView percentage = findViewById(R.id.wireless_charging_percentage); in init() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationController.java | 1090 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/ |
D | HTTPLiveSource.cpp | 415 int32_t percentage; in onSessionNotify() local
|
D | GenericSource.cpp | 1517 void NuPlayer::GenericSource::notifyBufferingUpdate(int32_t percentage) { in notifyBufferingUpdate() 1591 int percentage = 100.0 * cachedPosUs / mDurationUs; in onPollBuffering() local
|
D | NuPlayer.cpp | 2649 int32_t percentage; in onSourceNotify() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/ |
D | MediaOutputBaseAdapter.java | 329 int percentage = in initSeekbar() local
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationControllerTest.java | 895 String percentage = NumberFormat.getPercentInstance().format(90 / 100f); in onRefreshBatteryInfo_dozing_dischargingWithLongLife_presentBatteryPercentage() local
|
/frameworks/av/media/module/bufferpool/1.0/ |
D | AccessorImpl.cpp | 247 int percentage(T base, S total) { in percentage() function
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
D | PowerNotificationWarnings.java | 302 final String percentage = NumberFormat.getPercentInstance() in showWarningNotification() local
|
/frameworks/av/media/module/bufferpool/2.0/ |
D | AccessorImpl.cpp | 333 int percentage(T base, S total) { in percentage() function
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | ProcessState.java | 1129 final double percentage = (double) totals.totalTime / (double) totalTime * 100; in dumpProcessSummaryDetails() local
|
/frameworks/av/media/libstagefright/httplive/ |
D | LiveSession.cpp | 2270 void LiveSession::notifyBufferingUpdate(int32_t percentage) { in notifyBufferingUpdate()
|
/frameworks/layoutlib/bridge/src/android/net/ |
D | ConnectivityManager.java | 623 public void reportInetCondition(int networkType, int percentage) {} in reportInetCondition()
|
/frameworks/base/core/java/android/view/ |
D | ViewRootImpl.java | 5184 long percentage = (long) (mLargestChildPercentage * 100); in collectFrameRateDecisionMetrics() local 13185 void recordViewPercentage(float percentage) { in recordViewPercentage()
|