/hardware/qcom/audio/legacy/libalsa-intf/ |
alsa_mixer.c | 453 long percent; local 456 percent = 100; 458 percent = (long) _percent; 460 return (long)percent_to_index(percent, ei->value.integer.min, ei->value.integer.max); 465 long long percent; local 468 percent = 100; 470 percent = (long) _percent; 472 return (long long)percent_to_index(percent, ei->value.integer.min, ei->value.integer.max); 522 int mixer_ctl_set(struct mixer_ctl *ctl, unsigned percent) 545 ALOGV("tlv db linear: b4 %d\n", percent); [all...] |
/external/bart/bart/sched/ |
SchedAssert.py | 131 def getResidency(self, level, node, window=None, percent=False): 148 percent is specified it will be normalized to the total runtime 162 :param percent: If true the result is normalized to the total runtime 164 :type percent: bool 181 if percent: 195 percent=False): 233 :param percent: If true the result is normalized to the total runtime 235 :type percent: bool 239 node_value = self.getResidency(level, node, window, percent) 368 def getRuntime(self, window=None, percent=False) [all...] |
/libcore/ojluni/src/main/java/java/text/ |
DecimalFormatSymbols.java | 239 * Gets the character used for percent sign. Different for Arabic, etc. 241 * @return the character used for percent sign 244 return percent; 248 * Gets the string used for percent sign. Different for Arabic, etc. 253 return String.valueOf(percent); 257 * Sets the character used for percent sign. Different for Arabic, etc. 259 * @param percent the character used for percent sign 261 public void setPercent(char percent) { 262 this.percent = percent 977 private char percent; field in class:DecimalFormatSymbols [all...] |
/external/llvm/utils/lit/lit/ |
ProgressBar.py | 182 def update(self, percent, message): 187 next = int(percent*50) 246 def update(self, percent, message): 250 prefix = '%3d%% ' % (percent*100,) 254 if percent > .0001 and elapsed > 1: 255 total = elapsed / percent 262 n = int(barWidth*percent)
|
/external/pdfium/samples/ |
image_diff.cc | 234 float percent = HistogramPercentageDifferent(actual_image, baseline_image); local 235 const char* passed = percent > 0.0 ? "failed" : "passed"; 236 printf("histogram diff: %01.2f%% %s\n", percent, passed); 240 float percent = PercentageDifferent(actual_image, baseline_image); local 241 const char* const passed = percent > 0.0 ? "failed" : "passed"; 242 printf("%s: %01.2f%% %s\n", diff_name, percent, passed); 244 if (percent > 0.0) {
|
/external/swiftshader/third_party/LLVM/utils/lit/lit/ |
ProgressBar.py | 170 def update(self, percent, message): 175 next = int(percent*50) 234 def update(self, percent, message): 238 prefix = '%3d%% ' % (percent*100,) 242 if percent > .0001 and elapsed > 1: 243 total = elapsed / percent 250 n = int(barWidth*percent)
|
/external/strace/ |
count.c | 161 double percent; local 203 percent = (100.0 * float_syscall_time); 204 if (percent != 0.0) 205 percent /= float_tv_cum; 208 percent, float_syscall_time,
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
WindowAlignment.java | 120 public final void setWindowAlignmentOffsetPercent(float percent) { 121 if ((percent < 0 || percent > 100) 122 && percent != WINDOW_ALIGN_OFFSET_PERCENT_DISABLED) { 125 mWindowAlignmentOffsetPercent = percent;
|
GuidanceStylingRelativeLayout.java | 13 * Relative layout implementation that lays out child views based on provided keyline percent( 38 float percent = ta.getFloat(R.styleable.LeanbackGuidedStepTheme_guidedStepKeyline, 40); local 40 return percent;
|
/external/skia/debugger/ |
SkDebugger.cpp | 91 double percent = 100.0*(*typeTimes)[i]/totTime; local 92 overview->appendf("%.2f", percent); 95 totPercent += percent;
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
UiObject.java | [all...] |
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
BatterySaverController.java | 117 final int percent = Settings.Global.getInt(mContext.getContentResolver(), local 119 final int percentFormat = percent > 0 ? R.string.battery_saver_desc_turn_on_auto_pct 123 Utils.formatPercentage(percent)));
|
/art/test/950-redefine-intrinsic/src/ |
Main.java | 460 double percent = 100.0d*((double)failures/(double)iters); 462 + " (" + Double.toString(percent) + "%) tests failed!");
|
/external/bart/tests/ |
test_sched_assert.py | 107 # percent calculation 109 busy_pct= sma.getCPUBusyTime("all", self.all_cpus, percent=True, 113 # percent without a window 115 busy_pct= sma.getCPUBusyTime("cluster", self.little, percent=True)
|