Searched refs:scale (Results 1 - 13 of 13) 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.py47 actual_str = str(histogram.Histogram([('Yes', 5), ('No', 1)], scale=5))
/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/media/audio_utils/include/audio_utils/
H A Dprimitives.h755 static const float scale = 1 << 15; local
756 return roundf(fmaxf(fminf(f * scale, scale - 1.f), -scale));
818 static const float scale = (float)(1 << 23);
819 static const float limpos = 0x7fffff / scale;
820 static const float limneg = -0x800000 / scale;
827 f *= scale;
833 static const float scale = 1 << 23; local
834 return roundf(fmaxf(fminf(f * scale, scal
867 static const float scale = (float)(1UL << 27); local
893 static const float scale = (float)(1UL << 31); local
928 static const float scale = 1. / (float)(1UL << 27); local
945 static const float scale = 1. / (float)(1UL << 28); local
957 static const float scale = 1. / (float)(1UL << 12); local
972 static const float scale = (float)(1 << 28); local
996 static const float scale = (float)(1 << 12); local
1025 static const float scale = 1. / (float)(1UL << 15); local
1037 static const float scale = 1. / (float)(1UL << 7); local
1069 static const float scale = 1. / (float)(1UL << 31); local
1096 static const float scale = 1. / (float)(1UL << 23); local
[all...]
/system/chre/platform/slpi/include/chre/platform/slpi/see/
H A Dsee_helper_internal.h32 float scale[3]; member in struct:chre::SeeCalData
/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:__anon1901::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
659 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::__anon1741::__anon1743
404 int scale; member in struct:android::texture_iterators_t::__anon1744::__anon1746
/system/chre/platform/slpi/see/
H A Dsee_helper.cc946 SeeFloatArg scale = {}; local
952 .scale_factor.arg = &scale,
975 cal->hasScale = (scale.index == 3);
977 memcpy(cal->scale, scale.val, sizeof(cal->scale));
/system/extras/power_profile/camera_avg/Application/src/main/java/com/example/android/powerprofile/cameraavg/
H A DCameraAvgFragment.java766 float scale = Math.max(
769 matrix.postScale(scale, scale, centerX, centerY);
/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 2378 milliseconds