HomeSort by relevance Sort by last modified time
    Searched refs:percent (Results 26 - 50 of 343) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/WebKit/Source/platform/
LengthFunctions.cpp 42 case Percent:
43 return static_cast<float>(maximumValue * length.percent() / 100.0f);
70 case Percent:
72 return static_cast<float>(maximumValue * length.percent() / 100.0f);
96 if (length.type() == Percent)
97 return static_cast<LayoutUnit>(round(maximumValue * length.percent() / 100.0f));
105 case Percent:
Length.cpp 186 const float percent = blink::blend(fromPixelsAndPercent.percent, toPixelsAndPercent.percent, progress); local
187 return Length(CalculationValue::create(PixelsAndPercent(pixels, percent), range));
195 case Percent:
209 result.percent = 100 - result.percent;
210 if (result.pixels && result.percent)
212 if (result.percent)
213 return Length(result.percent, Percent)
    [all...]
  /external/chromium_org/ui/gfx/animation/
multi_animation.cc 59 double percent = static_cast<double>(delta + part.start_time_ms) / local
61 DCHECK(percent <= 1);
62 current_value_ = Tween::CalculateValue(part.type, percent);
  /libcore/luni/src/main/java/java/text/
DecimalFormatSymbols.java 50 private String percent; field in class:DecimalFormatSymbols
95 this.percent = localeData.percent;
192 percent.equals(obj.percent) &&
212 ",percent=" + percent +
311 return percent;
344 * Returns the percent character.
346 * @return the percent character
    [all...]
  /development/samples/training/ContactsList/src/com/example/android/contactslist/util/
ImageCache.java 39 * @param memCacheSizePercent The cache size as a percent of available app memory.
50 * @param memCacheSizePercent The cache size as a percent of available app memory.
74 * @param memCacheSizePercent The cache size as a percent of available app memory.
148 * Eg. setting percent to 0.2 would set the memory cache to one fifth of the available
149 * memory. Throws {@link IllegalArgumentException} if percent is < 0.05 or > .8.
157 * @param percent Percent of available app memory to use to size memory cache.
159 public static int calculateMemCacheSize(float percent) {
160 if (percent < 0.05f || percent > 0.8f)
    [all...]
  /external/linux-tools-perf/perf-3.12.0/tools/perf/util/
color.c 292 const char *get_percent_color(double percent)
301 if (percent >= MIN_RED)
304 if (percent > MIN_GREEN)
310 int percent_color_fprintf(FILE *fp, const char *fmt, double percent)
315 color = get_percent_color(percent);
316 r = color_fprintf(fp, color, fmt, percent);
321 int percent_color_snprintf(char *bf, size_t size, const char *fmt, double percent)
323 const char *color = get_percent_color(percent);
324 return color_snprintf(bf, size, color, fmt, percent);
  /frameworks/base/media/java/android/media/
Rating.java 202 * @param percent the value of the rating
205 public static Rating newPercentageRating(float percent) {
206 if ((percent < 0.0f) || (percent > 100.0f)) {
210 return new Rating(RATING_PERCENTAGE, percent);
  /external/chromium_org/cc/base/
rolling_time_delta_history.cc 34 base::TimeDelta RollingTimeDeltaHistory::Percentile(double percent) const {
38 double fraction = percent / 100.0;
  /external/chromium_org/media/base/android/
media_player_android.cc 53 void MediaPlayerAndroid::OnBufferingUpdate(int percent) {
54 manager_->OnBufferingUpdate(player_id(), percent); local
media_player_listener.h 39 void OnBufferingUpdate(JNIEnv* /* env */, jobject /* obj */, jint percent);
  /external/chromium_org/ui/views/examples/
progress_bar_example.cc 19 double SetToMax(double percent) {
20 return std::min(std::max(percent, 0.0), 1.0);
  /packages/apps/Camera2/src/com/android/camera/ui/
ProgressOverlay.java 73 * Set the progress state as a percent from 0-100.
75 public void setProgress(int percent) {
76 mProgressRenderer.setProgress(percent);
  /external/chromium_org/ui/views/controls/table/
table_utils.cc 51 if (column.percent > 0) {
52 total_percent += column.percent;
75 if (column.width <= 0 && column.percent > 0 && available_width > 0) {
77 (column.percent / total_percent));
83 // If no columns have specified a percent give the last column all the extra
86 columns.back().width <= 0 && columns.back().percent == 0.f) {
  /frameworks/av/media/libstagefright/
XINGSeeker.cpp 51 float percent = (float)(*timeUs) * 100 / mDurationUs; local
53 if( percent <= 0.0f ) {
55 } else if( percent >= 100.0f ) {
58 int a = (int)percent;
70 fx = fa + (fb-fa)*(percent-a);
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
ItemAlignment.java 62 public void setItemAlignmentOffsetPercent(float percent) {
63 if ( (percent < 0 || percent > 100) &&
64 percent != ITEM_ALIGN_OFFSET_PERCENT_DISABLED) {
67 mOffsetPercent = percent;
WindowAlignment.java 95 final public void setWindowAlignmentOffsetPercent(float percent) {
96 if ((percent < 0 || percent > 100)
97 && percent != WINDOW_ALIGN_OFFSET_PERCENT_DISABLED) {
100 mWindowAlignmentOffsetPercent = percent;
  /ndk/sources/host-tools/make-3.81/
vpath.c 33 char *percent; /* Pointer into `pattern' where the `%' is. */ member in struct:vpath
168 char *percent = NULL;
173 percent = find_percent (pattern);
188 || (((percent == 0 && path->percent == 0)
189 || (percent - pattern == path->percent - path->pattern))
304 path->percent = percent;
357 if (pattern_matches (v->pattern, v->percent, *file)
166 char *percent = NULL; local
    [all...]
  /external/linux-tools-perf/perf-3.12.0/tools/perf/ui/gtk/
hists.c 11 static int __percent_color_snprintf(char *buf, size_t size, double percent)
16 markup = perf_gtk__get_percent_color(percent);
20 ret += scnprintf(buf + ret, size - ret, " %6.2f%%", percent);
33 double percent = 0.0; local
38 percent = 100.0 * get_field(he) / hists->stats.total_period;
40 ret = __percent_color_snprintf(hpp->buf, hpp->size, percent);
66 percent = 100.0 * period / total;
69 percent);
146 double percent; local
152 percent = 100.0 * hits / total
283 float percent = h->stat.period * 100.0 \/ local
    [all...]
gtk.h 39 const char *perf_gtk__get_percent_color(double percent);
  /external/llvm/tools/llvm-diff/
DiffConsumer.cpp 168 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/oprofile/libpp/
profile_container.cpp 35 : filename(id), percent(percent_)
39 if (percent != lhs.percent)
40 return percent < lhs.percent;
46 double percent; member in struct:__anon12143::filename_by_samples
179 double const percent = local
182 if (percent >= threshold) {
239 if (cit->percent >= threshold)
  /external/chromium_org/media/base/android/java/src/org/chromium/media/
MediaPlayerListener.java 90 public void onBufferingUpdate(MediaPlayer mp, int percent) {
91 nativeOnBufferingUpdate(mNativeMediaPlayerListener, percent);
160 int percent);
  /frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
Renderer.java 175 protected void pushOnBufferingUpdate(int percent) {
177 listener.onBufferingUpdate(percent);
216 public void onBufferingUpdate(int percent);
  /external/chromium_org/ash/wm/
power_button_controller.h 60 void OnScreenBrightnessChanged(double percent);
  /external/doclava/src/com/google/doclava/
TodoFile.java 62 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));

Completed in 877 milliseconds

12 3 4 5 6 7 8 91011>>