/external/clang/test/PCH/ |
objc_property.h | 5 float percentage; variable 11 @property float percentage; variable
|
/system/update_engine/binder_bindings/android/os/ |
IUpdateEngineCallback.aidl | 20 void onStatusUpdate(int status_code, float percentage);
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
PercentageBarChart.java | 44 public final float percentage; field in class:PercentageBarChart.Entry 47 protected Entry(int order, float percentage, Paint paint) { 49 this.percentage = percentage; 89 if (e.percentage == 0.0f) { 92 entryWidth = Math.max(mMinTickWidth, width * e.percentage); 113 if (e.percentage == 0.0f) { 116 entryWidth = Math.max(mMinTickWidth, width * e.percentage); 144 * Adds a new slice to the percentage bar chart. Callers are responsible for 147 * @param percentage the total width tha [all...] |
/external/autotest/server/site_tests/platform_FullyChargedPowerStatus/ |
platform_FullyChargedPowerStatus.py | 33 percentage = power_supply_info['Battery']['display percentage'] 35 return (online, state, int(float(percentage)), float(current)) 45 online, state, percentage, current = self.get_power_supply_parameters() 50 if percentage < 95 : 51 errors.append('Bad percentage %d at %s' % (percentage, status)) 105 online, state, percentage, current = self.get_power_supply_parameters() 106 if not ( online == 'yes' and percentage > 95 ):
|
/hardware/bsp/intel/peripheral/libmraa/api/mraa/ |
pwm.hpp | 77 * Set the output duty-cycle percentage, as a float 79 * @param percentage A floating-point value representing percentage of 86 write(float percentage) 88 return (Result) mraa_pwm_write(m_pwm, percentage); 91 * Read the ouput duty-cycle percentage, as a float 93 * @return A floating-point value representing percentage of 200 * @param duty percentage i.e. 50% = 0.5f
|
pwm.h | 68 * Set the ouput duty-cycle percentage, as a float 71 * @param percentage A floating-point value representing percentage of output. 76 mraa_result_t mraa_pwm_write(mraa_pwm_context dev, float percentage); 79 * Read the ouput duty-cycle percentage, as a float 82 * @return percentage A floating-point value representing percentage of output. 180 * Set Both Period and DutyCycle on a PWM context. Duty represented as percentage.
|
/external/fio/lib/ |
rand.c | 136 unsigned int percentage, 142 if (percentage == 100) { 157 this_len = (segment * (100 - percentage)) / 100; 184 unsigned int percentage, 193 __fill_random_buf_percentage(r, buf, percentage, segment, len,
|
/system/extras/simpleperf/ |
report.py | 43 def __init__(self, percentage, function_name): 44 self.percentage = percentage 60 strs.append('CallTreeNode percentage = %.2f' % self.percentage) 123 percentage = float(m.group(1)) 126 percentage = 100.0 129 node = CallTreeNode(percentage, function_name) 201 if node.percentage != 100.0: 202 percentage_str = '%.2f%%' % node.percentage [all...] |
/external/fio/t/ |
genzipf.c | 49 static double percentage; variable 85 printf("\t-p\tGenerate size of data set that are hit by this percentage\n"); 105 percentage = atof(optarg); 267 if (percentage) { 269 percentage * nranges / 100; 285 printf("%.2f%% of hits satisfied in %.3f%cB of cache\n", percentage, cs, p); 286 percentage = 0.0;
|
/external/v8/tools/ignition/ |
linux_perf_bytecode_annotate.py | 103 percentage = 100.0 * count / total 104 print "{:>8d} ({:>5.1f}%) ".format(count, percentage),
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
DebugSettingsFragment.java | 163 private float getValueFromPercentage(final int percentage) { 164 return percentage / PERCENTAGE_FLOAT; 251 private float getValueFromPercentage(final int percentage) { 252 return percentage / PERCENTAGE_FLOAT;
|
AdvancedSettingsFragment.java | 182 private float getValueFromPercentage(final int percentage) { 183 return percentage / PERCENTAGE_FLOAT;
|
/external/expat/tests/ |
minicheck.c | 151 double percentage = ((double) passed) / runner->nchecks; local 152 int display = (int) (percentage * 100);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
Utils.java | 101 /** Formats the ratio of amount/total as a percentage. */ 106 /** Formats an integer from 0..100 as a percentage. */ 107 public static String formatPercentage(int percentage) { 108 return formatPercentage(((double) percentage) / 100.0); 111 /** Formats a double from 0.0..1.0 as a percentage. */ 112 private static String formatPercentage(double percentage) { 113 return NumberFormat.getPercentInstance().format(percentage);
|
/hardware/bsp/intel/peripheral/libmraa/src/pwm/ |
pwm.c | 286 mraa_pwm_write(mraa_pwm_context dev, float percentage) 293 if (percentage > 1.0f) { 297 return mraa_pwm_write_duty(dev, percentage * dev->period); 455 mraa_pwm_config_percent(mraa_pwm_context dev, int ms, float percentage) 469 status = mraa_pwm_pulsewidth_us(dev, (ms * 1000) * percentage);
|
/packages/apps/PackageInstaller/src/android/support/wearable/view/ |
CircledImageView.java | 399 public void setImageCirclePercentage(float percentage) { 400 float clamped = Math.max(0, Math.min(1, percentage)); 407 public void setImageHorizontalOffcenterPercentage(float percentage) { 408 if (percentage != mImageHorizontalOffcenterPercentage) { 409 mImageHorizontalOffcenterPercentage = percentage; 457 * Sets the radius of the circle to be a percentage of the largest dimension of the view. 458 * @param circleRadiusPercent A {@code float} from 0 to 1 representing the radius percentage. 475 * Sets the radius of the circle to be a percentage of the largest dimension of the view when 478 * percentage.
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
UiObject.java | 930 float percentage = percent \/ 100f; local 968 float percentage = percent \/ 100f; local [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
HTTPLiveSource.cpp | 387 int32_t percentage; local 388 CHECK(msg->findInt32("percentage", &percentage)); 390 notify->setInt32("percentage", percentage);
|
GenericSource.cpp | 1778 int percentage = 100.0 * cachedPosUs \/ mDurationUs; local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
BatteryTile.java | 114 String percentage = NumberFormat.getPercentInstance().format((double) level / 100.0); local 133 state.label = percentage; 135 percentage) + "," +
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
naptypes.h | 50 typedef UINT8 Percentage; 124 Percentage percentage; member in struct:tagFixupInfo
|
/external/autotest/server/cros/ap_configurators/ |
trendnet_ap_configurator.py | 92 percentage = html.rstrip('%') 93 if int(percentage) < 95:
|
/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/autotest/client/profilers/powertop/src/ |
powertop.c | 900 double sleept, percentage;; local 906 percentage = c0 * 100.0 / (sysconf(_SC_NPROCESSORS_ONLN) * ticktime * 1000 * FREQ); 907 sprintf(cstate_lines[1], _("C0 (cpu running) (%4.1f%%)\n"), percentage); 908 if (percentage > 50) 914 percentage = (cur_duration[i] - 922 cnames[i], sleept, percentage); 925 if (percentage > 50)
|