Searched refs:scale (Results 1 - 10 of 10) sorted by relevance

/system/update_engine/scripts/update_payload/
H A Dhistogram.py30 def __init__(self, data, scale=20, formatter=None):
35 scale: number of characters used to indicate 100%
40 self.scale = scale
46 def FromCountDict(count_dict, scale=20, formatter=None, key_names=None):
57 scale: number of characters used to indicate 100%
71 return Histogram(hist, scale, formatter)
74 def FromKeyList(key_list, scale=20, formatter=None, key_names=None):
84 scale: number of characters used to indicate 100%
94 return Histogram.FromCountDict(count_dict, scale, formatte
[all...]
H A Dhistogram_unittest.py46 actual_str = str(histogram.Histogram([('Yes', 5), ('No', 1)], scale=5))
/system/media/audio_utils/include/audio_utils/
H A Dprimitives.h680 static const float scale = (float)(1 << 23); local
681 static const float limpos = 0x7fffff / scale;
682 static const float limneg = -0x800000 / scale;
689 f *= scale;
725 static const float scale = (float)(1UL << 27); local
734 f *= scale;
751 static const float scale = (float)(1UL << 31); local
760 f *= scale;
779 /* The scale factor is the reciprocal of the fractional bits.
781 * Since the scale facto
786 static const float scale = 1. / (float)(1UL << 27); local
803 static const float scale = 1. / (float)(1UL << 28); local
815 static const float scale = 1. / (float)(1UL << 12); local
830 static const float scale = (float)(1 << 28); local
854 static const float scale = (float)(1 << 12); local
883 static const float scale = 1. / (float)(1UL << 15); local
895 static const float scale = 1. / (float)(1UL << 7); local
927 static const float scale = 1. / (float)(1UL << 31); local
954 static const float scale = 1. / (float)(1UL << 23); local
[all...]
/system/core/toolbox/upstream-netbsd/lib/libc/gen/
H A Dhumanize_number.c48 const char *suffix, int scale, int flags)
57 _DIAGASSERT(scale >= 0);
78 #define SCALE2PREFIX(scale) (&prefixes[(scale) << 1])
81 if ((size_t)scale >= maxscale &&
82 (scale & (HN_AUTOSCALE | HN_GETSCALE)) == 0)
122 if (scale & (HN_AUTOSCALE | HN_GETSCALE)) {
135 if (scale & HN_GETSCALE) {
140 for (i = 0; i < (size_t)scale && i < maxscale; i++)
47 humanize_number(char *buf, size_t len, int64_t bytes, const char *suffix, int scale, int flags) argument
/system/extras/tests/workloads/
H A Dcapture.sh30 scale=$3
34 ((out=in*scale/max))
/system/media/audio_utils/
H A Dfixedfft.cpp110 int scale = LOG_FFT_SIZE, i, p, r; local
122 --scale;
132 int32_t w = MAX_FFT_SIZE / 4 - (r << scale);
147 int scale = LOG_FFT_SIZE, m = n >> 1, i; local
150 for (i = 1; i <= n; i <<= 1, --scale);
159 y = mult(y, ((int32_t) twiddle[i << scale]));
/system/extras/simpleperf/
H A Dcmd_stat.cpp57 double scale; member in struct:__anon1765::CounterSummary
63 uint32_t group_id, uint64_t count, double scale,
69 scale(scale),
116 // counters with other events), the scale of its summary is usually within
121 return (fabs(scale - 1.0) < SCALE_ERROR_LIMIT);
155 s.count + other->count, s.scale, true,
183 s.Name().c_str(), s.comment.c_str(), 1.0 / s.scale * 100,
190 1.0 / s.scale * 100, (s.auto_generated ? " (generated)" : ""));
206 double used_cpus = run_sec / (duration_in_sec / s.scale);
62 CounterSummary(const std::string& type_name, const std::string& modifier, uint32_t group_id, uint64_t count, double scale, bool auto_generated, bool csv) argument
654 double scale = 1.0; local
[all...]
/system/core/libpixelflinger/include/private/pixelflinger/
H A Dggl_context.h381 int scale; member in struct:android::texture_shade_t::__anon1620::__anon1622
404 int scale; member in struct:android::texture_iterators_t::__anon1623::__anon1625
/system/core/libpixelflinger/
H A Dtrap.cpp262 GGLcoord rmin, GGLcoord rmax, GGLcoord scale)
267 return 0x7FFF - (d2-rmin)*scale;
306 GGLcoord scale; local
309 scale = 0x800000 / (rmax - rmin);
322 covPtr[i] = coverageFast(x, y, rmin, rmax, scale);
261 coverageFast(GGLcoord x, GGLcoord y, GGLcoord rmin, GGLcoord rmax, GGLcoord scale) argument
H A Dscanline.cpp533 // scale to 16 bits
1975 const int scale = ti.st[j].scale + (iwscale - 30); local
1976 if (scale >= 0) {
1977 ti.st[j].ydvdy = v0 << scale;
1978 ti.st[j].dvdx = dvdx << scale;
1980 ti.st[j].ydvdy = v0 >> -scale;
1981 ti.st[j].dvdx = dvdx >> -scale;

Completed in 196 milliseconds