/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
KeyguardStatusBarView.java | 155 String percentage = NumberFormat.getPercentInstance().format((double) level / 100.0); local 156 mBatteryLevel.setText(percentage);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
AdvancedSettingsFragment.java | 205 private float getValueFromPercentage(final int percentage) { 206 return percentage / PERCENTAGE_FLOAT;
|
DebugSettingsFragment.java | 215 private float getValueFromPercentage(final int percentage) { 216 return percentage / PERCENTAGE_FLOAT;
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
ScenarioData.java | 186 int percentage = (int) ((progress++ / total) * 100); local 187 subMonitor.setTaskName("Generating data for "+configBox+": "+percentage+"%"); 390 String percentage = (diffPercentage == 0) ? "" : "<br>" + diffPercentage + " %"; local 392 stream.print("<td><FONT COLOR=\"" + fontColor + "\"><b>" + diffDisplayValue + percentage + "</b></FONT></td>"); 394 stream.print("<td>" + diffDisplayValue + percentage + "</td>");
|
/sdk/attribute_stats/src/ |
Analyzer.java | 427 float percentage = 100 * usage.count/(float)totalCount; local 428 if (percentage < THRESHOLD && prevPercentage >= THRESHOLD) { 432 percentage, usage.attribute); 434 prevPercentage = percentage; 440 if (percentage >= THRESHOLD /*&& usage.count > 1*/) { // 1:Ignore when not enough data?
|
/external/chromium_org/components/policy/core/browser/ |
configuration_policy_handler.cc | 296 int percentage; local 297 if (value && EnsureInRange(value, &percentage, NULL)) 298 prefs->SetDouble(pref_path_, static_cast<double>(percentage) / 100.);
|
/external/chromium_org/content/browser/download/ |
download_stats.cc | 580 // Record what percentage of the time we have the network flow controlled. 583 int percentage = 0; local 586 percentage = 591 percentage);
|
/external/chromium_org/content/browser/media/android/ |
browser_media_player_manager.cc | 242 int player_id, int percentage) { 244 RoutingID(), player_id, percentage)); 246 video_view_->OnBufferingUpdate(percentage);
|
browser_media_player_manager.h | 86 virtual void OnBufferingUpdate(int player_id, int percentage) OVERRIDE;
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGLength.cpp | 447 void SVGLength::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> fromValue, PassRefPtr<SVGPropertyBase> toValue, PassRefPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement) 455 animationElement->animateAdditiveNumber(percentage, repeatCount, fromLength->value(lengthContext, IGNORE_EXCEPTION), toLength->value(lengthContext, IGNORE_EXCEPTION), toAtEndOfDurationLength->value(lengthContext, IGNORE_EXCEPTION), animatedNumber); 458 m_unitType = percentage < 0.5 ? fromLength->unitType() : toLength->unitType();
|
SVGPathSegList.h | 140 virtual void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> fromValue, PassRefPtr<SVGPropertyBase> toValue, PassRefPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement*) OVERRIDE;
|
SVGPreserveAspectRatio.cpp | 400 void SVGPreserveAspectRatio::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> fromValue, PassRefPtr<SVGPropertyBase> toValue, PassRefPtr<SVGPropertyBase>, SVGElement*) 405 animationElement->animateDiscreteType(percentage, false, true, useToValue);
|
SVGTransformList.cpp | 296 void SVGTransformList::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> fromValue, PassRefPtr<SVGPropertyBase> toValue, PassRefPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement) 326 RefPtr<SVGTransform> currentTransform = SVGTransformDistance(effectiveFrom, toTransform).scaledDistance(percentage).addToSVGTransform(effectiveFrom);
|
/external/chromium_org/third_party/WebKit/Source/core/svg/properties/ |
SVGListPropertyHelper.h | 157 bool adjustFromToListValues(PassRefPtr<Derived> fromList, PassRefPtr<Derived> toList, float percentage, AnimationMode); 384 bool SVGListPropertyHelper<Derived, ItemProperty>::adjustFromToListValues(PassRefPtr<Derived> passFromList, PassRefPtr<Derived> passToList, float percentage, AnimationMode mode) 397 if (percentage < 0.5) {
|
/external/chromium_org/content/browser/battery_status/ |
battery_status_manager_linux.cc | 340 double percentage = GetPropertyAsDouble(dictionary, "Percentage", 100); local 341 // Convert percentage to a value between 0 and 1 with 2 digits of precision. 347 status.level = round(percentage) / 100.f;
|
/external/chromium_org/v8/src/ |
optimizing-compiler-thread.cc | 205 double percentage = time_spent_compiling_.PercentOf(time_spent_total_); local 206 PrintF(" ** Compiler thread did %.2f%% useful work\n", percentage);
|
/frameworks/base/core/java/android/net/ |
IConnectivityManager.aidl | 95 void reportInetCondition(int networkType, int percentage);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
NotificationImportExportListener.java | 231 String percentage = local 233 builder.setContentText(percentage);
|
/packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/ |
HoloSpiralRS.java | 231 float percentage = (float) i / (float) size; local 233 radius * (float) Math.sin(radians), (percentage * depth) - halfDepth);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
GenericSource.cpp | 636 void NuPlayer::GenericSource::notifyBufferingUpdate(int percentage) { 637 ALOGV("notifyBufferingUpdate: buffering %d%%", percentage); 641 msg->setInt32("percentage", percentage); 748 int percentage = 100.0 * cachedPosUs / mDurationUs; local 749 if (percentage > 100) { 750 percentage = 100; 753 notifyBufferingUpdate(percentage); [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/wallpaper_manager/js/ |
progress_manager.js | 109 * Calculates downloading percentage and shows downloading progress.
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/resources/ |
sunspider-compare-results.js | 305 var percentage = 100 * diff / mean1; 307 var probablySame = (percentage < 0.1) && !statisticallySignificant;
|
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/ |
VTTParser.cpp | 52 bool VTTParser::parseFloatPercentageValue(VTTScanner& valueScanner, float& percentage) 62 percentage = number;
|
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
AtomicString.h | 124 bool percentage(int& p) const { return m_string.percentage(p); } function in class:WTF::AtomicString
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
PowerNotificationWarnings.java | 175 final String percentage = NumberFormat.getPercentInstance().format((double) mBatteryLevel / 100.0); local 182 .setContentText(mContext.getString(textRes, percentage))
|