Searched defs:scale (Results 26 - 50 of 1038) sorted by relevance

1234567891011>>

/external/chromium_org/content/renderer/
H A Ddisambiguation_popup_helper_unittest.cc40 float scale = DisambiguationPopupHelper::ComputeZoomAreaAndScaleFactor( local
45 EXPECT_LE(kDisambiguationPopupMinScale, scale);
47 gfx::Size scaled_size = ToCeiledSize(ScaleSize(zoom_rect.size(), scale));
57 float scale = DisambiguationPopupHelper::ComputeZoomAreaAndScaleFactor( local
62 EXPECT_EQ(kDisambiguationPopupMaxScale, scale);
65 gfx::Size scaled_size = ToCeiledSize(ScaleSize(zoom_rect.size(), scale));
76 float scale = DisambiguationPopupHelper::ComputeZoomAreaAndScaleFactor( local
81 EXPECT_EQ(kDisambiguationPopupMaxScale, scale);
84 gfx::Size scaled_size = ToCeiledSize(ScaleSize(zoom_rect.size(), scale));
/external/chromium_org/content/renderer/pepper/
H A Dppb_widget_impl.h38 virtual void SetScale(float scale) OVERRIDE;
52 float scale() const { return scale_; } function in class:content::PPB_Widget_Impl
/external/chromium_org/ppapi/cpp/dev/
H A Dwidget_dev.cc78 void Widget_Dev::SetScale(float scale) { argument
80 get_interface<PPB_Widget_Dev_0_4>()->SetScale(pp_resource(), scale); local
/external/chromium_org/printing/
H A Dmetafile_skia_wrapper.cc45 double scale) {
47 meta.setScalar(kCustomScaleKey, SkFloatToScalar(scale));
52 double* scale) {
58 *scale = SkScalarToFloat(value);
44 SetCustomScaleOnCanvas(const SkCanvas& canvas, double scale) argument
51 GetCustomScaleOnCanvas(const SkCanvas& canvas, double* scale) argument
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGFEDisplacementMapElement.h39 SVGAnimatedNumber* scale() { return m_scale.get(); } function in class:blink::FINAL
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/
H A DSVGImageForContainer.cpp32 scaledContainerSize.scale(m_zoom);
42 void SVGImageForContainer::drawPattern(GraphicsContext* context, const FloatRect& srcRect, const FloatSize& scale, argument
45 m_image->drawPatternForContainer(context, m_containerSize, m_zoom, srcRect, scale, phase, compositeOp, dstRect, blendMode, repeatSpacing);
/external/chromium_org/third_party/WebKit/Source/platform/audio/mac/
H A DFFTFrameMac.cpp106 float scale = 0.5f; local
107 VectorMath::vsmul(data, 1, &scale, scaledData.data(), 1, m_FFTSize);
119 float scale = 1.0f / m_FFTSize; local
120 VectorMath::vsmul(data, 1, &scale, data, 1, m_FFTSize);
/external/chromium_org/third_party/WebKit/Source/web/
H A DDragClientImpl.cpp76 float scale = m_webView->deviceScaleFactor() / resolutionScale; local
77 dragImage->scale(scale, scale);
/external/chromium_org/third_party/WebKit/public/web/
H A DWebDeviceEmulationParams.h25 // If zero, the original device scale factor is preserved.
38 float scale; member in struct:blink::WebDeviceEmulationParams
44 , scale(1) { }
/external/chromium_org/third_party/flot/
H A Djquery.colorhelpers.min.js11 * $.color.parse("#fff").scale('rgb', 0.25).add('a', -0.5).toString()
16 * Note that .scale() and .add() return the same modified object
21 */(function(e){e.color={},e.color.make=function(t,n,r,i){var s={};return s.r=t||0,s.g=n||0,s.b=r||0,s.a=i!=null?i:1,s.add=function(e,t){for(var n=0;n<e.length;++n)s[e.charAt(n)]+=t;return s.normalize()},s.scale=function(e,t){for(var n=0;n<e.length;++n)s[e.charAt(n)]*=t;return s.normalize()},s.toString=functi (…) function
/external/chromium_org/third_party/freetype/src/base/
H A Dftadvanc.c32 FT_Fixed scale; local
43 scale = face->size->metrics.y_scale;
45 scale = face->size->metrics.x_scale;
51 advances[nn] = FT_MulDiv( advances[nn], scale, 64 );
152 /* scale from 26.6 to 16.16 */
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
H A Dvp9_reconinter.h63 const struct scale_factors *scale,
67 dst->buf = src + scaled_buffer_offset(x, y, stride, scale);
60 setup_pred_plane(struct buf_2d *dst, uint8_t *src, int stride, int mi_row, int mi_col, const struct scale_factors *scale, int subsampling_x, int subsampling_y) argument
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_texture.c52 /* Compute sc = +/-scale and tc = +/-scale.
54 * though that can still sometimes happen with this scale factor...
56 const float scale = 0.9999f; local
57 const float sc = (2 * in_st[0] - 1) * scale;
58 const float tc = (2 * in_st[1] - 1) * scale;
/external/chromium_org/third_party/openmax_dl/dl/sp/src/arm/neon/
H A DomxSP_FFTInv_CCSToR_S32S16_Sfs_s.S63 #define scale r3 define
/external/chromium_org/third_party/opus/src/silk/fixed/
H A Dwarped_autocorrelation_FIX.c40 opus_int *scale, /* O Scaling of the correlation vector */
76 *scale = -( QC + lsh );
77 silk_assert( *scale >= -30 && *scale <= 12 );
38 silk_warped_autocorrelation_FIX( opus_int32 *corr, opus_int *scale, const opus_int16 *input, const opus_int warping_Q16, const opus_int length, const opus_int order ) argument
/external/chromium_org/third_party/opus/src/silk/
H A Dstereo_find_predictor.c44 opus_int scale, scale1, scale2; local
50 scale = silk_max_int( scale1, scale2 );
51 scale = scale + ( scale & 1 ); /* make even */
52 nrgy = silk_RSHIFT32( nrgy, scale - scale2 );
53 nrgx = silk_RSHIFT32( nrgx, scale - scale1 );
55 corr = silk_inner_prod_aligned_scale( x, y, scale, length );
65 scale = silk_RSHIFT( scale,
[all...]
/external/chromium_org/third_party/skia/bench/
H A DColorPrivBench.cpp47 // depends on scale. Even here, these must be volatile arrays to prevent that
52 const unsigned scale = fScales[j]; variable
55 junk ^= SkFastFourByteInterp(src, dst, scale);
57 junk ^= SkFastFourByteInterp256(src, dst, scale);
59 junk ^= SkFourByteInterp(src, dst, scale);
61 junk ^= SkFourByteInterp256(src, dst, scale);
H A DSKPBench.cpp10 SKPBench::SKPBench(const char* name, const SkPicture* pic, const SkIRect& clip, SkScalar scale) argument
13 , fScale(scale)
15 fUniqueName.printf("%s_%.2g", name, scale); // Scale makes this unqiue for skiaperf.com traces.
36 canvas->scale(fScale, fScale);
/external/chromium_org/third_party/skia/experimental/Intersection/
H A DCubicBezierClip.cpp38 const double scale = 3/4.0; // http://cagd.cs.byu.edu/~tom/papers/bezclip.pdf (13) local
40 top *= scale;
44 bottom *= scale;
47 const double scale = 4/9.0; // http://cagd.cs.byu.edu/~tom/papers/bezclip.pdf (15) local
48 top *= scale;
49 bottom *= scale;
/external/chromium_org/third_party/skia/gm/
H A Dbitmaprecttest.cpp30 // scaling the image down by the matrix' scale
42 SkScalar scale = 0.472560018f; local
44 canvas->scale(scale, scale);
48 canvas->scale(-1, 1);
H A Dhittestpath.cpp51 int scale = 300; local
53 path.lineTo(rand.nextUScalar1() * scale, rand.nextUScalar1() * scale);
54 path.quadTo(rand.nextUScalar1() * scale, rand.nextUScalar1() * scale,
55 rand.nextUScalar1() * scale, rand.nextUScalar1() * scale);
56 path.cubicTo(rand.nextUScalar1() * scale, rand.nextUScalar1() * scale,
57 rand.nextUScalar1() * scale, ran
[all...]
/external/chromium_org/third_party/smhasher/src/
H A DAvalancheTest.cpp5 void PrintAvalancheDiagram ( int x, int y, int reps, double scale, int * bins ) argument
21 b *= scale;
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/
H A Dauto_correlation.c17 int* scale) {
33 // In order to avoid overflow when computing the sum we should scale the
66 *scale = scaling;
13 WebRtcSpl_AutoCorrelation(const int16_t* in_vector, int in_vector_length, int order, int32_t* result, int* scale) argument
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/
H A Daugmented_cb_corr.c34 int16_t scale) /* (i) Scale factor to use for
52 (*crossDotPtr) = WebRtcSpl_DotProductWithScale(target, buffer-lagcount, ilow, scale);
55 (*crossDotPtr) += WebRtcSpl_DotProductWithScale(target+ilow, iSPtr, 4, scale);
60 (*crossDotPtr) += WebRtcSpl_DotProductWithScale(targetPtr, buffer-lagcount, SUBL-lagcount, scale);
23 WebRtcIlbcfix_AugmentedCbCorr( int16_t *target, int16_t *buffer, int16_t *interpSamples, int32_t *crossDot, int16_t low, int16_t high, int16_t scale) argument
H A Dcb_mem_energy.c37 int16_t scale, /* (i) The scaling of all energy values */
52 energy = WebRtcSpl_DotProductWithScale( pp, pp, lTarget, scale);
62 WebRtcIlbcfix_CbMemEnergyCalc(energy, range, ppi, ppo, energyW16, energyShifts, scale, 0);
68 energy = WebRtcSpl_DotProductWithScale( pp, pp, lTarget, scale);
78 WebRtcIlbcfix_CbMemEnergyCalc(energy, range, ppi, ppo, energyW16, energyShifts, scale, base_size);
29 WebRtcIlbcfix_CbMemEnergy( int16_t range, int16_t *CB, int16_t *filteredCB, int16_t lMem, int16_t lTarget, int16_t *energyW16, int16_t *energyShifts, int16_t scale, int16_t base_size ) argument

Completed in 2785 milliseconds

1234567891011>>