Home
last modified time | relevance | path

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

/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.java161 public static String formatPercentage(double percentage, boolean round) { in formatPercentage()
172 public static String formatPercentage(int percentage) { in formatPercentage()
177 public static String formatPercentage(double percentage) { in formatPercentage()
/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/charging/
DWirelessChargingLayout.java85 final TextView percentage = findViewById(R.id.wireless_charging_percentage); in init() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerNotificationWarnings.java257 final String percentage = NumberFormat.getPercentInstance() in showWarningNotification() local
330 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/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.cpp2624 int32_t percentage; in onSourceNotify() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java660 String percentage = NumberFormat.getPercentInstance() in updateIndication() local
731 String percentage = NumberFormat.getPercentInstance().format(mBatteryLevel / 100f); in computePowerIndication() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerTest.java666 String percentage = NumberFormat.getPercentInstance().format(90 / 100f); in onRefreshBatteryInfo_dozing_dischargingWithOverheat_presentBatteryPercentage() local
/frameworks/av/media/bufferpool/1.0/
DAccessorImpl.cpp247 int percentage(T base, S total) { in percentage() function
/frameworks/av/media/bufferpool/2.0/
DAccessorImpl.cpp317 int percentage(T base, S total) { in percentage() function
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessState.java1104 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()