/prebuilts/gdb/darwin-x86/lib/python2.7/ |
locale.py | 185 def format(percent, value, grouping=False, monetary=False, *additional): 187 (percent). 191 # this is only for one-percent-specifier strings and this should be checked 192 match = _percent_re.match(percent) 193 if not match or len(match.group())!= len(percent): 195 "format specifier, %s not valid") % repr(percent)) 196 return _format(percent, value, grouping, monetary, *additional) 198 def _format(percent, value, grouping=False, monetary=False, *additional): 200 formatted = percent % ((value,) + additional) 202 formatted = percent % valu [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
locale.py | 185 def format(percent, value, grouping=False, monetary=False, *additional): 187 (percent). 191 # this is only for one-percent-specifier strings and this should be checked 192 match = _percent_re.match(percent) 193 if not match or len(match.group())!= len(percent): 195 "format specifier, %s not valid") % repr(percent)) 196 return _format(percent, value, grouping, monetary, *additional) 198 def _format(percent, value, grouping=False, monetary=False, *additional): 200 formatted = percent % ((value,) + additional) 202 formatted = percent % valu [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
locale.py | 185 def format(percent, value, grouping=False, monetary=False, *additional): 187 (percent). 191 # this is only for one-percent-specifier strings and this should be checked 192 match = _percent_re.match(percent) 193 if not match or len(match.group())!= len(percent): 195 "format specifier, %s not valid") % repr(percent)) 196 return _format(percent, value, grouping, monetary, *additional) 198 def _format(percent, value, grouping=False, monetary=False, *additional): 200 formatted = percent % ((value,) + additional) 202 formatted = percent % valu [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
locale.py | 185 def format(percent, value, grouping=False, monetary=False, *additional): 187 (percent). 191 # this is only for one-percent-specifier strings and this should be checked 192 match = _percent_re.match(percent) 193 if not match or len(match.group())!= len(percent): 195 "format specifier, %s not valid") % repr(percent)) 196 return _format(percent, value, grouping, monetary, *additional) 198 def _format(percent, value, grouping=False, monetary=False, *additional): 200 formatted = percent % ((value,) + additional) 202 formatted = percent % valu [all...] |
/external/icu/icu4c/source/test/perf/perldriver/ |
Output.pm | 28 my $perc = 100; #for percent 53 my $percent = shift; 63 if($percent) { 70 if((($error*$mult < 10)&&!$percent) || (($error<10)&&$percent)) { 76 if($percent) {
|
/external/icu/icu4j/perf-tests/perldriver/ |
Output.pm | 26 my $perc = 100; #for percent 51 my $percent = shift; 61 if($percent) { 68 if((($error*$mult < 10)&&!$percent) || (($error<10)&&$percent)) { 74 if($percent) {
|
/external/python/cpython3/Lib/urllib/ |
parse.py | 592 encoding and errors parameters specify how to decode percent-encoded 595 By default, percent-encoded sequences are decoded with UTF-8, and invalid 621 qs: percent-encoded query string to be parsed 624 percent-encoded queries should be treated as blank strings. 634 encoding and errors: specify how to decode percent-encoded sequences 653 qs: percent-encoded query string to be parsed 656 percent-encoded queries should be treated as blank strings. A 665 encoding and errors: specify how to decode percent-encoded sequences 714 String values are percent-encoded byte values, unless the key < 128, and [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
DragLayer.java | 390 final float percent = (Float) animation.getAnimatedValue(); 394 float alphaPercent = alphaInterpolator == null ? percent : 395 alphaInterpolator.getInterpolation(percent); 396 float motionPercent = motionInterpolator == null ? percent : 397 motionInterpolator.getInterpolation(percent); 401 float scaleX = finalScaleX * percent + initialScaleX * (1 - percent); 402 float scaleY = finalScaleY * percent + initialScaleY * (1 - percent);
|
/development/samples/ApiDemos/src/com/example/android/apis/media/ |
MediaPlayerDemo_Video.java | 138 public void onBufferingUpdate(MediaPlayer arg0, int percent) { 139 Log.d(TAG, "onBufferingUpdate percent:" + percent);
|
/external/ImageMagick/Magick++/lib/Magick++/ |
Geometry.h | 99 void percent(bool percent_); 100 bool percent(void) const;
|
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
PerformanceMeasurement.java | 88 log("percent difference between two means: " + (Math.abs(meanAfterDiscard - mean) / mean)); 109 * Determine percent of Buffer Period Callbacks that occurred at the expected time 182 // we only want to keep a certain percent of data at the bottom and top 183 final double percent = 0.005; local 184 int bar = (int) (totalCount * percent);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
IntlTestDecimalFormatSymbolsC.java | 74 char percent = en.getPercent(); local 75 fr.setPercent(percent); 77 errln("ERROR: get/set Percent failed"); 83 errln("ERROR: get/set Percent failed");
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
DecimalFormatSymbols.java | 241 * Return the character used for mille percent sign. Different for Arabic, etc. 242 * @return the mille percent character 250 * Set the character used for mille percent sign. Different for Arabic, etc. 251 * @param perMill the mille percent character 259 * Return the character used for percent sign. Different for Arabic, etc. 260 * @return the percent character 268 * Set the character used for percent sign. Different for Arabic, etc. 269 * @param percent the percent character 272 public void setPercent(char percent) { [all...] |
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
DecimalFormatSymbolsICU.java | 196 public void setPercent(char percent) { 197 fIcuDecfs.setPercent(percent);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
IntlTestDecimalFormatSymbolsC.java | 71 char percent = en.getPercent(); local 72 fr.setPercent(percent); 74 errln("ERROR: get/set Percent failed"); 80 errln("ERROR: get/set Percent failed");
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/check/ |
Limit.java | 118 * Sets allowed maximum value as decimal string or percent representation. 139 * Sets allowed maximum value as decimal string or percent representation. 158 final String percent = trimmedValue.substring(0, trimmedValue.length() - 1); local 159 return new BigDecimal(percent).movePointLeft(2);
|
/external/tinyalsa/ |
mixer.c | 293 static int percent_to_int(struct snd_ctl_elem_info *ei, int percent) 297 if (percent > 100) 298 percent = 100; 299 else if (percent < 0) 300 percent = 0; 304 return ei->value.integer.min + (range * percent) / 100; 325 int mixer_ctl_set_percent(struct mixer_ctl *ctl, unsigned int id, int percent) 330 return mixer_ctl_set_value(ctl, id, percent_to_int(ctl->info, percent));
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/graph/ |
BatteryMeterDrawableBaseTest.java | 62 for (boolean percent : bools) { 66 mBatteryDrawable.setShowPercent(percent);
|
/packages/apps/Camera2/src/com/android/camera/ |
CaptureModuleUI.java | 155 * @param percent amount of process done in percent 0-100. 157 public void setPictureTakingProgress(int percent) { 158 mProgressOverlay.setProgress(percent);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
TwoPaneLayout.java | 532 * @return percent dragged (values range from 0 to 1). 536 final float percent; 539 percent = (mDrawerWidthDelta - deltaX) / mDrawerWidthDelta; 541 percent = -deltaX / mDrawerWidthDelta; 545 percent = deltaX / mDrawerWidthDelta; 547 percent = (mDrawerWidthDelta + deltaX) / mDrawerWidthDelta; 551 return percent < 0 ? 0 : percent > 1 ? 1 : percent; [all...] |
/external/e2fsprogs/lib/e2p/ |
e2p.h | 76 unsigned int e2p_percent(int percent, unsigned int base);
|
/external/lisa/libs/utils/android/ |
viewer.py | 117 Screen.set_brightness(self._target, auto=False, percent=0)
|
/external/lisa/libs/utils/android/workloads/ |
app_startup.py | 89 Screen.set_brightness(self._target, auto=False, percent=100)
|
camera_startup.py | 82 Screen.set_brightness(self._target, auto=False, percent=0)
|
display_image.py | 76 Screen.set_brightness(self._target, auto=False, percent=brightness)
|