/external/aac/libSBRenc/src/ |
H A D | resampler.cpp | 307 int ratio) /*!< downsampler ratio (only 2 supported at the momment) */ 313 FDK_ASSERT(ratio == 2); 338 DownSampler->ratio = ratio; 339 DownSampler->pending = ratio-1; 498 for(i=0; i<numInSamples; i+=DownSampler->ratio) 500 *outSamples = AdvanceFilter(&(DownSampler->downFilter), &inSamples[i*inStride], DownSampler->ratio, inStride); 503 *numOutSamples = numInSamples/DownSampler->ratio; 305 FDKaacEnc_InitDownsampler(DOWNSAMPLER *DownSampler, int Wc, int ratio) argument
|
H A D | resampler.h | 124 int ratio; /*! downsampling ration */ member in struct:__anon264 135 INT ratio); /*!< downsampler ratio */ 139 * downsampler ratio.
|
/external/blktrace/ |
H A D | blkparse.c | 1776 double ratio; local 1853 ratio = 0.0; 1855 ratio = 100.0 * ((double)pdi->seq_skips / 1858 pdi->skips, pdi->seq_skips, ratio);
|
/external/blktrace/btt/ |
H A D | output.c | 171 double ratio, q2c_n, d2c_n; local 182 ratio = 1.0; 184 ratio = q2c_n / d2c_n; 191 ratio, 203 ratio,
|
/external/chromium_org/ash/touch/ |
H A D | touch_transformer_controller.cc | 28 // This is to compute the scale ratio for the TouchEvent's radius. The 65 double ratio = std::sqrt((width * height) / (max_x * max_y)); local 69 << ", Touch radius scale ratio: " << ratio; local 70 return ratio; 119 // the same aspect ratio as its native resolution, there would be 167 return ctm; // Same aspect ratio - return identity
|
/external/chromium_org/athena/home/ |
H A D | home_card_gesture_manager.cc | 97 float ratio = (original_state_ == HomeCard::VISIBLE_MINIMIZED) local 100 if (last_estimated_height_ < screen_bounds_.height() * ratio)
|
/external/chromium_org/athena/wm/ |
H A D | window_overview_mode.cc | 484 float ratio = std::min( local 489 : gfx::Tween::FloatValueBetween(ratio, kMaxOpacity, kMinOpacity);
|
/external/chromium_org/cc/layers/ |
H A D | picture_layer_impl.cc | 37 // tiling's scale if the desired scale is within this ratio. 1100 float ratio = ideal_page_scale_ / raster_page_scale_; local 1102 ratio > kMaxScaleRatioDuringPinch) 1127 // If a tiling exists within the max snapping ratio, snap to its scale. 1132 float ratio = PositiveRatio(tiling_contents_scale, scale); local 1133 if (ratio < snapped_ratio) { 1135 snapped_ratio = ratio;
|
H A D | scrollbar_layer_impl_base.cc | 132 bool ScrollbarLayerImplBase::SetVisibleToTotalLengthRatio(float ratio) { argument 136 if (visible_to_total_length_ratio_ == ratio) 138 visible_to_total_length_ratio_ = ratio; 170 // have to compute it. The ratio of the thumb's length to the track's length 223 float ratio = clamped_current_pos / maximum_; local 225 thumb_offset += static_cast<int>(ratio * max_offset);
|
/external/chromium_org/chrome/browser/ |
H A D | chrome_content_browser_client.cc | 563 float ratio = static_cast<float>(minWidth - kWidthForMinFSM) / local 565 return ratio * (kMaxFSM - kMinFSM) + kMinFSM;
|
/external/chromium_org/chrome/browser/ui/views/tabs/ |
H A D | tab_drag_controller.cc | 692 double ratio = unselected / Tab::GetStandardSize().width(); local 693 threshold = static_cast<int>(ratio * kHorizontalMoveThreshold); 933 // ratio of mouse_offset_ to original width is maintained.
|
/external/chromium_org/content/browser/gamepad/ |
H A D | xbox_data_fetcher_mac.cc | 148 float ratio = (magnitude / (32767 - deadzone)) / real_magnitude; local 152 *x_out = x_val * ratio; 153 *y_out = -y_val * ratio;
|
/external/chromium_org/content/browser/loader/ |
H A D | async_resource_handler.cc | 63 double ratio = static_cast<double>(bytes_read) / buffer_size; local 64 return static_cast<int>(ratio * 100.0 + 0.5); // Round to nearest integer.
|
/external/chromium_org/content/browser/renderer_host/ |
H A D | overscroll_controller.cc | 171 float ratio, threshold; local 174 ratio = fabs(overscroll_delta_x_) / bounds.width(); 177 ratio = fabs(overscroll_delta_y_) / bounds.height(); 181 return ratio >= threshold;
|
/external/chromium_org/content/browser/web_contents/aura/ |
H A D | window_slider.cc | 164 float ratio = (fabs(delta_x_) - active_start_threshold_) / width; local 165 if (ratio < complete_threshold_) {
|
/external/chromium_org/content/browser/web_contents/ |
H A D | web_contents_view_aura.cc | 966 float ratio = fabs(delta_x) / GetViewBounds().width(); local 967 ratio = std::min(1.f, ratio); 969 ratio = 1.f - ratio; 971 kBrightnessMin + ratio * (kBrightnessMax - kBrightnessMin) : 972 kBrightnessMax - ratio * (kBrightnessMax - kBrightnessMin);
|
/external/chromium_org/content/renderer/ |
H A D | render_widget.cc | 285 float ratio = std::max(1.0f, std::max(width_ratio, height_ratio)); local 286 scale_ = 1.f / ratio;
|
/external/chromium_org/native_client_sdk/src/libraries/xray/ |
H A D | hashtable.c | 104 float ratio; local 109 ratio = (float)table->count / (float)table->capacity; 110 /* Double the capacity of the symtable if we've hit the ratio. */ 111 if (ratio > XRAY_SYMBOL_TABLE_MAX_RATIO)
|
/external/chromium_org/net/disk_cache/blockfile/ |
H A D | stats.cc | 311 int64 ratio = GetCounter(hit) * 100; local 312 if (!ratio) 315 ratio /= (GetCounter(hit) + GetCounter(miss)); 316 return static_cast<int>(ratio);
|
/external/chromium_org/pdf/ |
H A D | draw_utils.cc | 39 inline uint8 GradientChannel(uint8 start, uint8 end, double ratio) { argument 40 double new_channel = start - (static_cast<double>(start) - end) * ratio; 103 double ratio = static_cast<double>(i) / colors.size(); local 105 GradientChannel(GetRed(start_color), GetRed(end_color), ratio), 106 GradientChannel(GetGreen(start_color), GetGreen(end_color), ratio), 107 GradientChannel(GetBlue(start_color), GetBlue(end_color), ratio), 108 GradientChannel(GetAlpha(start_color), GetAlpha(end_color), ratio));
|
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
H A D | LocalFrame.cpp | 262 float ratio = originalSize.height() / originalSize.width(); local 264 resultSize.setHeight(floorf(resultSize.width() * ratio)); 267 float ratio = originalSize.width() / originalSize.height(); local 269 resultSize.setWidth(floorf(resultSize.height() * ratio)); 704 double ratio = m_host->deviceScaleFactor(); local 705 ratio *= pageZoomFactor(); 706 return ratio;
|
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
H A D | SliderThumbElement.cpp | 149 const Decimal ratio = Decimal::fromDouble(static_cast<double>(position) / trackSize); local 150 const Decimal fraction = isVertical || !isLeftToRightDirection ? Decimal(1) - ratio : ratio;
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
H A D | InspectorPageAgent.cpp | 142 float ratio = static_cast<float>(minWidth - kWidthForMinFSM) / (kWidthForMaxFSM - kWidthForMinFSM); local 143 return ratio * (kMaxFSM - kMinFSM) + kMinFSM;
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/components/ |
H A D | FlameChart.js | 403 var ratio = window.devicePixelRatio; 404 this._canvas.width = this._offsetWidth * ratio; 405 this._canvas.height = this._offsetHeight * ratio; 783 var ratio = window.devicePixelRatio; variable 784 context.scale(ratio, ratio); 943 var ratio = window.devicePixelRatio; variable 944 context.scale(ratio, ratio);
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sources/ |
H A D | jsdifflib.js | 364 this.ratio = function () { function
|