Searched defs:percent (Results 1 - 25 of 97) sorted by relevance

1234

/external/chromium_org/ash/system/chromeos/brightness/
H A Dbrightness_controller_chromeos.cc36 void BrightnessControllerChromeos::SetBrightnessPercent(double percent, argument
39 SetScreenBrightnessPercent(percent, gradual);
/external/chromium_org/third_party/sqlite/src/tool/
H A Dspaceanal.tcl181 proc percent {num denom {of {}}} { procedure
251 set total_pages_percent [percent $total_pages $file_pgcnt]
253 set payload_percent [percent $payload $storage {of storage consumed}]
270 set ovfl_cnt_percent [percent $ovfl_cnt $nleaf {of all entries}]
284 set fragmentation [percent $gap_cnt [expr {$total_pages-1}] {fragmentation}]
297 [percent $int_unused [expr {$int_pages*$pageSize}] {of index space}]
301 [percent $leaf_unused [expr {$leaf_pages*$pageSize}] {of primary space}]
303 [percent $ovfl_unused [expr {$ovfl_pages*$pageSize}] {of overflow space}]
305 [percent $total_unused $storage {of all space}]
364 set av_percent [percent
[all...]
/external/e2fsprogs/lib/e2p/
H A Dpercent.c2 * percent.c - Take percentage of a number
20 unsigned int e2p_percent(int percent, unsigned int base) argument
24 if (!percent)
26 if (100 % percent == 0)
27 return base / (100 / percent);
29 return (base / 100) * percent;
30 return base * percent / 100;
40 int percent; local
45 fprintf(stderr, "Usage: %s percent base\n", argv[0]);
49 percent
[all...]
/external/chromium_org/third_party/WebKit/Source/core/animation/animatable/
H A DAnimatableLength.h51 static PassRefPtrWillBeRawPtr<AnimatableLength> create(double pixels, double percent, bool hasPixels, bool hasPercent) argument
53 return adoptRefWillBeNoop(new AnimatableLength(pixels, percent, hasPixels, hasPercent));
56 AnimatableLength(double pixels, double percent, bool hasPixels, bool hasPercent) argument
58 , m_percent(percent)
/external/chromium_org/third_party/WebKit/Source/platform/
H A DCalculationValue.h49 float evaluate(float maxValue) const { return pixels() + percent() / 100 * maxValue; }
50 bool operator==(const CalculationValue& o) const { return pixels() == o.pixels() && percent() == o.percent(); }
53 float percent() const { return m_value.percent; } function in class:blink::CalculationValue
/external/chromium_org/ui/views/examples/
H A Dprogress_bar_example.cc19 double SetToMax(double percent) { argument
20 return std::min(std::max(percent, 0.0), 1.0);
/external/chromium_org/ash/wm/
H A Dpower_button_controller.cc48 void PowerButtonController::OnScreenBrightnessChanged(double percent) { argument
49 brightness_is_zero_ = percent <= 0.001;
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
H A DScrollbarThemeNonMacCommon.cpp114 const float percent = static_cast<float>(i->y()) / scrollbar->totalSize(); local
117 const int yPos = rect.y() + (rect.height() * percent);
/external/chromium_org/ui/base/models/
H A Dtable_model.h100 TableColumn(int id, Alignment alignment, int width, float percent);
114 // 2. As a percentage of the available width. If width is -1, and percent is
116 // available_width * percent / total_percent.
117 // 3. If the width == -1 and percent == 0, the column is autosized based on
125 float percent; member in struct:ui::TableColumn
H A Dtable_model.cc21 percent(),
26 TableColumn::TableColumn(int id, Alignment alignment, int width, float percent) argument
31 percent(percent),
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/gtk/
H A Dbrowser.c37 const char *perf_gtk__get_percent_color(double percent) argument
39 if (percent >= MIN_RED)
41 if (percent >= MIN_GREEN)
/external/chromium_org/ash/system/audio/
H A Dtray_audio.cc97 float percent = local
103 volume_view_->SetVolumeLevel(percent);
/external/chromium_org/content/browser/download/
H A Dsave_item.cc103 int percent = 0; local
105 percent = static_cast<int>(received_bytes_ * 100.0 / total_bytes_);
106 return percent;
/external/chromium_org/media/base/android/
H A Dmedia_player_android.cc53 void MediaPlayerAndroid::OnBufferingUpdate(int percent) { argument
54 manager_->OnBufferingUpdate(player_id(), percent); local
H A Dmedia_player_listener.cc67 JNIEnv* /* env */, jobject /* obj */, jint percent) {
69 &MediaPlayerAndroid::OnBufferingUpdate, media_player_, percent));
66 OnBufferingUpdate( JNIEnv* , jobject , jint percent) argument
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dtsdcfmsy.cpp77 UnicodeString percent = en.getSymbol(DecimalFormatSymbols::kPercentSymbol); local
78 fr.setSymbol(DecimalFormatSymbols::kPercentSymbol, percent);
/external/chromium_org/third_party/skia/debugger/
H A DSkDebugger.cpp106 double percent = 100.0*(*typeTimes)[i]/totTime; local
107 overview->appendf("%.2f", percent);
110 totPercent += percent;
/external/chromium_org/ui/gfx/animation/
H A Dmulti_animation.cc59 double percent = static_cast<double>(delta + part.start_time_ms) / local
61 DCHECK(percent <= 1);
62 current_value_ = Tween::CalculateValue(part.type, percent);
/external/doclava/src/com/google/doclava/
H A DTodoFile.java62 public static String percent(int a, int b) { method in class:TodoFile
154 data.setValue(classBase + ".percentGood", percent(errors, total));
179 data.setValue("packages." + i + ".percentGood", percent(ps.errors, ps.total));
189 data.setValue("all.percentGood", percent(allErrors, allTotal));
/external/icu/icu4c/source/test/intltest/
H A Dtsdcfmsy.cpp77 UnicodeString percent = en.getSymbol(DecimalFormatSymbols::kPercentSymbol); local
78 fr.setSymbol(DecimalFormatSymbols::kPercentSymbol, percent);
/external/libmtp/examples/
H A Dpathutils.c118 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/llvm/tools/llvm-diff/
H A DDiffConsumer.cpp168 size_t percent = format.find('%'); local
169 if (percent == StringRef::npos) {
173 assert(format[percent] == '%');
175 if (percent > 0) out << format.substr(0, percent);
177 switch (format[percent+1]) {
184 format = format.substr(percent+2);
/external/skia/debugger/
H A DSkDebugger.cpp108 double percent = 100.0*(*typeTimes)[i]/totTime; local
109 overview->appendf("%.2f", percent);
112 totPercent += percent;
/external/chromium_org/media/base/android/java/src/org/chromium/media/
H A DMediaPlayerListener.java90 public void onBufferingUpdate(MediaPlayer mp, int percent) { argument
91 nativeOnBufferingUpdate(mNativeMediaPlayerListener, percent);
160 int percent);
158 nativeOnBufferingUpdate( long nativeMediaPlayerListener, int percent) argument
/external/chromium_org/pdf/
H A Dpage_indicator.cc123 double percent = static_cast<double>(vertical_scrollbar_y) / document_height; local
124 return (plugin_height - rect().height()) * percent;

Completed in 778 milliseconds

1234