Home
last modified time | relevance | path

Searched refs:percentage (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java107 public static String formatPercentage(int percentage) { in formatPercentage() argument
108 return formatPercentage(((double) percentage) / 100.0); in formatPercentage()
112 private static String formatPercentage(double percentage) { in formatPercentage() argument
113 return NumberFormat.getPercentInstance().format(percentage); in formatPercentage()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiObject.java930 float percentage = percent / 100f; in pinchOut() local
946 Point endPoint1 = new Point(rect.centerX() - (int)((rect.width()/2) * percentage), in pinchOut()
948 Point endPoint2 = new Point(rect.centerX() + (int)((rect.width()/2) * percentage), in pinchOut()
968 float percentage = percent / 100f; in pinchIn() local
979 Point startPoint1 = new Point(rect.centerX() - (int)((rect.width()/2) * percentage), in pinchIn()
981 Point startPoint2 = new Point(rect.centerX() + (int)((rect.width()/2) * percentage), in pinchIn()
/frameworks/base/docs/html/guide/topics/resources/
Danimation-resource.jd474 the following three formats: values from -100 to 100 ending with "%", indicating a percentage
475 relative to itself; values from -100 to 100 ending in "%p", indicating a percentage relative to its
481 <dd><em>Float or percentage</em>. Starting X offset. Expressed either: in pixels relative
482 to the normal position (such as {@code "5"}), in percentage relative to the element width (such as
483 {@code "5%"}), or in percentage relative to the parent width (such as {@code "5%p"}).</dd>
485 <dd><em>Float or percentage</em>. Ending X offset. Expressed either: in pixels relative
486 to the normal position (such as {@code "5"}), in percentage relative to the element width (such as
487 {@code "5%"}), or in percentage relative to the parent width (such as {@code "5%p"}).</dd>
489 <dd><em>Float or percentage</em>. Starting Y offset. Expressed either: in pixels relative
490 to the normal position (such as {@code "5"}), in percentage relative to the element height (such as
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBatteryTile.java114 String percentage = NumberFormat.getPercentInstance().format((double) level / 100.0); in handleUpdateState() local
133 state.label = percentage; in handleUpdateState()
135 percentage) + "," + in handleUpdateState()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DHTTPLiveSource.cpp387 int32_t percentage; in onSessionNotify() local
388 CHECK(msg->findInt32("percentage", &percentage)); in onSessionNotify()
390 notify->setInt32("percentage", percentage); in onSessionNotify()
DGenericSource.cpp1632 void NuPlayer::GenericSource::BufferingMonitor::notifyBufferingUpdate_l(int32_t percentage) { in notifyBufferingUpdate_l() argument
1637 if (percentage < mPrevBufferPercentage) { in notifyBufferingUpdate_l()
1638 percentage = mPrevBufferPercentage; in notifyBufferingUpdate_l()
1639 } else if (percentage > 100) { in notifyBufferingUpdate_l()
1640 percentage = 100; in notifyBufferingUpdate_l()
1643 mPrevBufferPercentage = percentage; in notifyBufferingUpdate_l()
1645 ALOGV("notifyBufferingUpdate_l: buffering %d%%", percentage); in notifyBufferingUpdate_l()
1649 msg->setInt32("percentage", percentage); in notifyBufferingUpdate_l()
1778 int percentage = 100.0 * cachedPosUs / mDurationUs; in onPollBuffering_l() local
1779 if (percentage > 100) { in onPollBuffering_l()
[all …]
DGenericSource.h183 void notifyBufferingUpdate_l(int32_t percentage);
DNuPlayer.cpp2222 int32_t percentage; in onSourceNotify() local
2223 CHECK(msg->findInt32("percentage", &percentage)); in onSourceNotify()
2225 notifyListener(MEDIA_BUFFERING_UPDATE, percentage, 0); in onSourceNotify()
/frameworks/base/docs/html/distribute/analyze/
Dbuild-better-apps.jd51 know what happens after that? What percentage of users navigate through which
53 to investigate which levels have the highest percentage of users leaving your
60 at which stages of the purchase flow the highest percentage of users abandon
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarView.java231 String percentage = NumberFormat.getPercentInstance().format((double) level / 100.0); in onBatteryLevelChanged() local
232 mBatteryLevel.setText(percentage); in onBatteryLevelChanged()
/frameworks/base/docs/html/distribute/users/
Dexperiments.jd75 to get meaningful results in a few days. Depending on the percentage of your
83 visible to only a small percentage of your users.
/frameworks/av/media/libstagefright/httplive/
DLiveSession.cpp2246 void LiveSession::notifyBufferingUpdate(int32_t percentage) { in notifyBufferingUpdate() argument
2247 if (percentage < mPrevBufferPercentage) { in notifyBufferingUpdate()
2248 percentage = mPrevBufferPercentage; in notifyBufferingUpdate()
2249 } else if (percentage > 100) { in notifyBufferingUpdate()
2250 percentage = 100; in notifyBufferingUpdate()
2253 mPrevBufferPercentage = percentage; in notifyBufferingUpdate()
2255 ALOGV("notifyBufferingUpdate: percentage=%d%%", percentage); in notifyBufferingUpdate()
2259 notify->setInt32("percentage", percentage); in notifyBufferingUpdate()
DLiveSession.h303 void notifyBufferingUpdate(int32_t percentage);
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerNotificationWarnings.java164 …final String percentage = NumberFormat.getPercentInstance().format((double) mBatteryLevel / 100.0); in showWarningNotification() local
171 .setContentText(mContext.getString(textRes, percentage)) in showWarningNotification()
/frameworks/base/docs/html/training/notify-user/
Ddisplay-progress.jd98 // current completion percentage, and "determinate"
156 // percentage, and "determinate" state
/frameworks/base/core/java/android/net/
DIConnectivityManager.aidl100 void reportInetCondition(int networkType, int percentage); in reportInetCondition() argument
DConnectivityManager.java2273 public void reportInetCondition(int networkType, int percentage) { in reportInetCondition() argument
2275 mService.reportInetCondition(networkType, percentage); in reportInetCondition()
/frameworks/base/docs/html/distribute/stories/games/
Dgameloft-asphalt8.jd61 In addition, retention and the percentage of payers are positively correlated
Ddots.jd72 changes impacted our conversion by a huge percentage.”
Ddoctor-who-legacy.jd38 first play session. In addition, percentage progress updates keep players
/frameworks/base/docs/html/tv/adt-1/
Dsafety.jd36 A very small percentage of people may experience a seizure when exposed to certain visual images,
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessState.java920 final double percentage = (double) totals.totalTime / (double) totalTime * 100; in dumpProcessSummaryDetails() local
922 if (percentage >= 0.005 || totals.numPss != 0) { in dumpProcessSummaryDetails()
/frameworks/base/docs/html-intl/intl/ru/guide/topics/ui/notifiers/
Dnotifications.jd746 // current completion percentage, and "determinate"
792 // percentage, and "determinate" state
/frameworks/base/docs/html-intl/intl/ko/guide/topics/ui/notifiers/
Dnotifications.jd746 // current completion percentage, and "determinate"
792 // percentage, and "determinate" state
/frameworks/base/docs/html-intl/intl/ja/guide/topics/ui/notifiers/
Dnotifications.jd746 // current completion percentage, and "determinate"
792 // percentage, and "determinate" state

12