/external/oprofile/libpp/ |
profile_container.cpp | 45 // ratio of samples which belongs to this filename. 222 double const ratio = op_ratio(counts[0], total_count[0]); local 223 filename_by_samples const f(*it, ratio);
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
psy_configuration.c | 392 init ratio 394 psyConf->ratio = c_ratio; 474 init ratio 476 psyConf->ratio = c_ratio;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_binascii.py | 95 ratio = len(line) // len(noise) 98 if len(line) // len(noise) > ratio:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_binascii.py | 95 ratio = len(line) // len(noise) 98 if len(line) // len(noise) > ratio:
|
/external/chromium_org/chrome/browser/resources/file_manager/js/image_editor/ |
image_view.js | 389 // The thumbnail may have different aspect ratio than the main image. 944 var ratio = ImageView.Effect.getPixelRatio_(element); 945 return 'scale(' + (1 / ratio) + ')'; 981 var ratio = ImageView.Effect.getPixelRatio_(element); 982 return 'scale(' + (1 / ratio) + ') translate(' + this.shift_ + 'px, 0px)'; 1019 var ratio = ImageView.Effect.getPixelRatio_(element); 1029 return 'translate(' + (dx / ratio) + 'px,' + (dy / ratio) + 'px) ' + 1030 'scaleX(' + (scaleX / ratio) + ') scaleY(' + (scaleY / ratio) + ')' [all...] |
viewport.js | 310 var ratio = Viewport.getDevicePixelRatio(); 315 return new Rect(screenCenterX + (rect.left - screenCenterX) * ratio, 316 screenCenterY + (rect.top - screenCenterY) * ratio, 317 rect.width * ratio, 318 rect.height * ratio);
|
/external/chromium_org/content/browser/web_contents/ |
web_contents_view_aura.cc | 1002 float ratio = fabs(delta_x) \/ GetViewBounds().width(); local [all...] |
/external/chromium_org/third_party/skia/src/effects/ |
SkPerlinNoiseShader.cpp | 410 SkScalar ratio = SK_Scalar1; 414 (fType == kFractalNoise_Type) ? noise : SkScalarAbs(noise), ratio); 417 ratio *= 2; [all...] |
/external/skia/src/effects/ |
SkPerlinNoiseShader.cpp | 410 SkScalar ratio = SK_Scalar1; 414 (fType == kFractalNoise_Type) ? noise : SkScalarAbs(noise), ratio); 417 ratio *= 2; [all...] |
/external/blktrace/btt/ |
output.c | 171 double ratio, q2c_n, d2c_n; local 182 ratio = 1.0; 184 ratio = q2c_n / d2c_n; 191 ratio, 203 ratio, 227 fprintf(ofp, "%10s | %8s %8s %7s | %8s %8s %8s %8s\n", "DEV", "#Q", "#D", "Ratio", "BLKmin", "BLKavg", "BLKmax", "Total"); 232 fprintf(ofp, "%10s | %8s %8s %7s | %8s %8s %8s %8s\n", "DEV", "#Q", "#D", "Ratio", "BLKmin", "BLKavg", "BLKmax", "Total");
|
/external/chromium_org/chrome/browser/resources/file_manager/js/media/ |
media_controls.js | 223 var ratio = current / duration; 224 this.progressSlider_.setValue(ratio); 856 * @param {number} ratio [0..1] The proportion of the duration. 862 function(ratio, timeout) { 867 this.seekMark_.style.left = ratio * 100 + '%'; 869 if (ratio < this.getValue()) { 874 this.seekLabel_.textContent = this.valueToString_(ratio); 1129 var ratio = this.media_.currentTime / this.media_.duration; 1131 if (ratio < VideoControls.RESUME_MARGIN || 1132 ratio > (1 - VideoControls.RESUME_MARGIN)) [all...] |
/development/samples/Home/src/com/example/android/home/ |
Home.java | 640 final float ratio = (float) iconWidth / iconHeight; local 643 height = (int) (width / ratio); 645 width = (int) (height * ratio);
|
/external/chromium_org/content/browser/gamepad/ |
xbox_data_fetcher_mac.cc | 107 float ratio = (magnitude / (32767 - deadzone)) / real_magnitude; local 111 *x_out = x_val * ratio; 112 *y_out = -y_val * ratio;
|
/external/chromium_org/third_party/sqlite/src/src/ |
backup.c | 437 int ratio = pgszDest/pgszSrc; local 438 nDestTruncate = (nSrcPage+ratio-1)/ratio;
|
/external/qemu/audio/ |
audio_template.h | 114 samples = ((int64_t) sw->hw->samples << 32) / sw->ratio; 150 sw->ratio = ((int64_t) sw->hw->info.freq << 32) / sw->info.freq; 154 sw->ratio = ((int64_t) sw->info.freq << 32) / sw->hw->info.freq;
|
/frameworks/base/core/java/android/gesture/ |
GestureUtils.java | 65 * The scaling does not necessarily keep the aspect ratio of the gesture. 84 * aspect ratio 298 float ratio = (increment - distanceSoFar) / distance; local 299 float nx = lstPointX + ratio * deltaX; 300 float ny = lstPointY + ratio * deltaY;
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
sidebarPane.css | 104 @media (-webkit-min-device-pixel-ratio: 1.5) {
|
timelinePanel.css | 176 @media (-webkit-min-device-pixel-ratio: 1.5) { 219 @media (-webkit-min-device-pixel-ratio: 1.5) { 273 @media (-webkit-min-device-pixel-ratio: 1.5) { 475 @media (-webkit-min-device-pixel-ratio: 1.5) {
|
/external/chromium_org/third_party/skia/src/pathops/ |
SkPathOpsQuad.cpp | 300 static int valid_unit_divide(double numer, double denom, double* ratio) 313 *ratio = r;
|
/external/chromium_org/ui/views/controls/scrollbar/ |
base_scroll_bar.cc | 399 // The height of the thumb is the ratio of the Viewport height to the 401 double ratio = static_cast<double>(viewport_size) / contents_size_; local 402 int thumb_size = static_cast<int>(ratio * GetTrackSize());
|
/external/skia/src/pathops/ |
SkPathOpsQuad.cpp | 300 static int valid_unit_divide(double numer, double denom, double* ratio) 313 *ratio = r;
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
TiledTexture.java | 275 // a rectangle. The used color is: from * (1 - ratio) + to * ratio. 276 public void drawMixed(GLCanvas canvas, int color, float ratio, 289 canvas.drawMixed(t, color, ratio, mSrcRect, mDestRect);
|
/external/chromium_org/chrome/common/extensions/docs/examples/apps/calculator/app/ |
style.css | 41 @media all and (-webkit-max-device-pixel-ratio: 1.5) { 48 @media all and (-webkit-min-device-pixel-ratio: 1.5) {
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
Parameters.h | 174 // Aspect ratio tolerance 339 // Get max size (from the size array) that matches the given aspect ratio. 340 Size getMaxSizeForRatio(float ratio, const int32_t* sizeArray, size_t count);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
GLES20Canvas.java | 758 public void drawMixed(BasicTexture texture, int toColor, float ratio, int x, int y, int w, int h) { 761 drawMixed(texture, toColor, ratio, mTempSourceRect, mTempTargetRect); 765 public void drawMixed(BasicTexture texture, int toColor, float ratio, RectF source, RectF target) { 772 float cappedRatio = Math.min(1f, Math.max(0f, ratio)); [all...] |