Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerTest.java562 String percentage = NumberFormat.getPercentInstance().format(80 / 100f); in onRefreshBatteryInfo_chargingWithOverheat_presentChargingLimited() local
579 String percentage = NumberFormat.getPercentInstance().format(80 / 100f); in onRefreshBatteryInfo_pluggedWithOverheat_presentChargingLimited() local
611 String percentage = NumberFormat.getPercentInstance().format(90 / 100f); in onRefreshBatteryInfo_dischargingWithOverheat_presentBatteryPercentage() local
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DUtilsTest.java105 final String percentage = Utils.formatPercentage(TEST_PERCENTAGES[i], true); in testFormatPercentage_RoundTrue_RoundUpIfPossible() local
117 final String percentage = Utils.formatPercentage(TEST_PERCENTAGES[i], false); in testFormatPercentage_RoundFalse_NoRound() local
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java156 public static String formatPercentage(double percentage, boolean round) { in formatPercentage()
167 public static String formatPercentage(int percentage) { in formatPercentage()
172 public static String formatPercentage(double percentage) { in formatPercentage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/
DWirelessChargingLayout.java81 final TextView percentage = findViewById(R.id.wireless_charging_percentage); in init() local
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DAbUpdateInstaller.java270 public void onStatusUpdate(int statusCode, float percentage) { in onStatusUpdate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerNotificationWarnings.java255 final String percentage = NumberFormat.getPercentInstance() in showWarningNotification() local
328 private String getHybridContentString(String percentage) { in getHybridContentString()
/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/statusbar/
DKeyguardIndicationController.java424 String percentage = NumberFormat.getPercentInstance() in updateIndication() local
552 String percentage = NumberFormat.getPercentInstance().format(mBatteryLevel / 100f); in computePowerIndication() local
/frameworks/av/media/libmediaplayerservice/nuplayer/
DHTTPLiveSource.cpp416 int32_t percentage; in onSessionNotify() local
DGenericSource.cpp1512 void NuPlayer::GenericSource::notifyBufferingUpdate(int32_t percentage) { in notifyBufferingUpdate()
1586 int percentage = 100.0 * cachedPosUs / mDurationUs; in onPollBuffering() local
DNuPlayer.cpp2598 int32_t percentage; in onSourceNotify() local
/frameworks/av/media/bufferpool/1.0/
DAccessorImpl.cpp247 int percentage(T base, S total) { in percentage() function
/frameworks/base/core/java/android/net/
DIConnectivityManager.aidl110 void reportInetCondition(int networkType, int percentage); in reportInetCondition()
DConnectivityManager.java2900 public void reportInetCondition(int networkType, int percentage) { in reportInetCondition()
/frameworks/av/media/bufferpool/2.0/
DAccessorImpl.cpp315 int percentage(T base, S total) { in percentage() function
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessState.java1023 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/base/services/core/java/com/android/server/
DConnectivityService.java4317 public void reportInetCondition(int networkType, int percentage) { in reportInetCondition()