/external/clang/lib/Lex/ |
TokenConcatenation.cpp | 84 TokenInfo[tok::percent ] |= aci_custom_firstchar; 110 TokenInfo[tok::percent ] |= aci_avoid_equal; // %= 263 case tok::percent: // %>, %:
|
/external/e2fsprogs/resize/ |
online.c | 60 double percent; local 182 percent = (ext2fs_r_blocks_count(sb) * 100.0) / 242 input.reserved_blocks = (blk_t) (percent * input.blocks_count
|
/external/libmtp/examples/ |
pathutils.c | 118 int percent = (sent*100)/total; local 120 printf("Progress: %I64u of %I64u (%d%%)\r", sent, total, percent); 122 printf("Progress: %llu of %llu (%d%%)\r", sent, total, percent);
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/browsers/ |
annotate.c | 23 double percent[1]; member in struct:browser_disasm_line 107 if (bdl->percent[i] > percent_max) 108 percent_max = bdl->percent[i]; 113 ui_browser__set_percent_color(browser, bdl->percent[i], 115 slsmg_printf("%6.2f ", bdl->percent[i]); 271 if (a->percent[i] == b->percent[i]) 273 return a->percent[i] < b->percent[i]; 364 bpos->percent[i] = disasm__calc_percent(notes [all...] |
hists.c | 466 double percent = cumul * 100.0 / new_total; local 468 if (asprintf(&alloc_str, "%2.2f%% %s", percent, str) < 0) 604 double percent = 0.0; local 609 percent = 100.0 * get_field(he) / hists->stats.total_period; 611 ui_browser__set_percent_color(arg->b, percent, arg->current_entry); 616 ret += scnprintf(hpp->buf, hpp->size, "%6.2f%%", percent); 652 percent = 100.0 * period / total; 653 ui_browser__set_percent_color(arg->b, percent, 656 " %6.2f%%", percent); 814 float percent = h->stat.period * 100.0 local 837 float percent = h->stat.period * 100.0 \/ local 858 float percent = h->stat.period * 100.0 \/ local 1042 double percent = cumul * 100.0 \/ new_total; local 1111 double percent; local [all...] |
/external/chromium_org/tools/code_coverage/ |
croc_html.py | 245 percent = row.E('td') 252 # Add percent and graph; only fill in if there's something in there 258 # Color percent based on thresholds 259 percent.Text('%.1f%%' % percent_cov) 261 percent.element.setAttribute('class', 'high_pct') 263 percent.element.setAttribute('class', 'mid_pct') 265 percent.element.setAttribute('class', 'low_pct')
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
DragLayer.java | 598 final float percent = (Float) animation.getAnimatedValue(); 602 float alphaPercent = alphaInterpolator == null ? percent : 603 alphaInterpolator.getInterpolation(percent); 604 float motionPercent = motionInterpolator == null ? percent : 605 motionInterpolator.getInterpolation(percent); 609 float scaleX = finalScaleX * percent + initialScaleX * (1 - percent); 610 float scaleY = finalScaleY * percent + initialScaleY * (1 - percent); 700 final float percent = (Float) animation.getAnimatedValue() [all...] |
FolderIcon.java | 208 final float percent = (Float) animation.getAnimatedValue(); 209 mOuterRingSize = (1 + percent * OUTER_RING_GROWTH_FACTOR) * previewSize; 210 mInnerRingSize = (1 + percent * INNER_RING_GROWTH_FACTOR) * previewSize; 237 final float percent = (Float) animation.getAnimatedValue(); 238 mOuterRingSize = (1 + (1 - percent) * OUTER_RING_GROWTH_FACTOR) * previewSize; 239 mInnerRingSize = (1 + (1 - percent) * INNER_RING_GROWTH_FACTOR) * previewSize;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
DragLayer.java | 685 final float percent = (Float) animation.getAnimatedValue(); 689 float alphaPercent = alphaInterpolator == null ? percent : 690 alphaInterpolator.getInterpolation(percent); 691 float motionPercent = motionInterpolator == null ? percent : 692 motionInterpolator.getInterpolation(percent); 696 float scaleX = finalScaleX * percent + initialScaleX * (1 - percent); 697 float scaleY = finalScaleY * percent + initialScaleY * (1 - percent); 789 final float percent = (Float) animation.getAnimatedValue() [all...] |
/external/chromium_org/chrome/browser/extensions/ |
webstore_installer.cc | 648 int percent = download_item_->PercentComplete(); local 649 // Only report progress if percent is more than 0 or we have finished 652 if (finished_modules > 0 && percent < 0) 653 percent = 0; 654 if (percent >= 0) { 655 percent = (percent + (finished_modules * 100)) / total_modules_; 658 tracker->OnDownloadProgress(id_, percent);
|
/external/chromium_org/chromeos/dbus/ |
power_manager_client.cc | 111 virtual void SetScreenBrightnessPercent(double percent, 117 writer.AppendDouble(percent); 440 double percent = 0.0; local 441 if (!reader.PopDouble(&percent)) 444 callback.Run(percent); 786 virtual void SetScreenBrightnessPercent(double percent, 788 VLOG(1) << "Requested to set screen brightness to " << percent << "% " 790 SetBrightness(percent, false); [all...] |
/libcore/luni/src/main/native/ |
libcore_icu_NativeDecimalFormat.cpp | 62 ScopedJavaUnicodeString percent(env, percent0); 78 result->setSymbol(DecimalFormatSymbols::kPercentSymbol, percent.unicodeString()); 100 jstring percent, jchar perMill, jchar zeroDigit) { 104 monetaryDecimalSeparator, nan, patternSeparator, percent, perMill, 114 jstring percent, jchar perMill, jchar zeroDigit) { 124 monetaryDecimalSeparator, nan, patternSeparator, percent, perMill,
|
/external/chromium_org/ash/system/audio/ |
volume_view.cc | 180 void VolumeView::SetVolumeLevel(float percent) { 185 if (std::abs(percent-slider_->value()) < 0.01) 190 slider_->SetValue(percent);
|
/external/chromium_org/components/data_reduction_proxy/browser/ |
data_reduction_proxy_metrics.cc | 80 int percent = 0; local 83 percent = (100 * (original_length - received_length)) / original_length; 85 UMA_HISTOGRAM_PERCENTAGE("Net.DailyContentSavingPercent", percent);
|
/external/chromium_org/media/cast/sender/ |
frame_sender.cc | 364 const int64 percent = allowed_in_flight > base::TimeDelta() ? 366 VLOG_IF(1, percent > 50) 370 << percent << "% of allowed in-flight.";
|
/external/chromium_org/third_party/skia/gm/ |
gradients_no_texture.cpp | 164 const double percent[] = { local 172 const int N = SK_ARRAY_COUNT(percent); 175 pos[i] = SkDoubleToScalar(percent[i] / 100);
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/ |
hist.c | 23 double percent = 0.0; local 26 percent = 100.0 * get_field(he) / 29 ret = print_fn(hpp->buf, hpp->size, fmt, percent);
|
browser.h | 35 double percent, bool current);
|
/external/skia/gm/ |
gradients_no_texture.cpp | 164 const double percent[] = { local 172 const int N = SK_ARRAY_COUNT(percent); 175 pos[i] = SkDoubleToScalar(percent[i] / 100);
|
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
ImageCache.java | 493 * Eg. setting percent to 0.2 would set the memory cache to one fifth of the available 494 * memory. Throws {@link IllegalArgumentException} if percent is < 0.01 or > .8. 502 * @param percent Percent of available app memory to use to size memory cache 504 public void setMemCacheSizePercent(float percent) { 505 if (percent < 0.01f || percent > 0.8f) { 506 throw new IllegalArgumentException("setMemCacheSizePercent - percent must be " 509 memCacheSize = Math.round(percent * Runtime.getRuntime().maxMemory() / 1024);
|
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
ImageCache.java | 493 * Eg. setting percent to 0.2 would set the memory cache to one fifth of the available 494 * memory. Throws {@link IllegalArgumentException} if percent is < 0.01 or > .8. 502 * @param percent Percent of available app memory to use to size memory cache 504 public void setMemCacheSizePercent(float percent) { 505 if (percent < 0.01f || percent > 0.8f) { 506 throw new IllegalArgumentException("setMemCacheSizePercent - percent must be " 509 memCacheSize = Math.round(percent * Runtime.getRuntime().maxMemory() / 1024);
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
ImageCache.java | 493 * Eg. setting percent to 0.2 would set the memory cache to one fifth of the available 494 * memory. Throws {@link IllegalArgumentException} if percent is < 0.01 or > .8. 502 * @param percent Percent of available app memory to use to size memory cache 504 public void setMemCacheSizePercent(float percent) { 505 if (percent < 0.01f || percent > 0.8f) { 506 throw new IllegalArgumentException("setMemCacheSizePercent - percent must be " 509 memCacheSize = Math.round(percent * Runtime.getRuntime().maxMemory() / 1024);
|
/external/chromium_org/content/renderer/media/android/ |
renderer_media_player_manager.h | 139 void OnMediaBufferingUpdate(int player_id, int percent);
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSCalculationValue.h | 110 static PassRefPtrWillBeRawPtr<CSSCalcExpressionNode> createExpressionNode(double pixels, double percent);
|
/external/iproute2/tc/ |
q_netem.c | 36 " [ corrupt PERCENT [CORRELATION]] \n" \ 37 " [ duplicate PERCENT [CORRELATION]]\n" \ 38 " [ loss random PERCENT [CORRELATION]]\n" \ 40 " [ loss gemodel PERCENT [R [1-H [1-K]]]\n" \ 57 /* scaled value used to percent of maximum. */ 58 static void set_percent(__u32 *percent, double per) 60 *percent = (unsigned) rint(per * max_percent_value); 64 /* Parse either a fraction '.3' or percent '30% 78 static int get_percent(__u32 *percent, const char *str) 85 set_percent(percent, per) [all...] |