/external/webkit/Source/WebCore/page/ |
H A D | DragController.cpp | 805 float scale = newSize.width() / (float)originalSize.width(); local 807 dx *= scale; 814 dy *= scale;
|
H A D | Frame.cpp | 1017 void Frame::updateContentsScale(float scale) argument 1020 child->updateContentsScale(scale); 1024 root->compositor()->updateContentsScale(scale); 1028 void Frame::scalePage(float scale, const IntPoint& origin) argument 1034 if (scale != m_pageScaleFactor) { 1035 m_pageScaleFactor = scale; 1043 updateContentsScale(scale);
|
/external/webkit/Source/WebCore/page/animation/ |
H A D | AnimationBase.cpp | 1293 double AnimationBase::progress(double scale, double offset, const TimingFunction* tf) const argument 1319 if (scale != 1 || offset) 1320 fractionalTime = (fractionalTime - offset) * scale;
|
/external/webkit/Source/WebCore/platform/graphics/ |
H A D | ShadowBlur.cpp | 326 // Calculate X axis scale factor. 331 // Calculate Y axis scale factor. 338 const float scale = sqrtf(xAxisScale * yAxisScale); local 339 m_blurRadius = roundf(m_blurRadius / scale);
|
/external/webkit/Source/WebCore/platform/graphics/android/context/ |
H A D | GraphicsContextAndroid.cpp | 495 void GraphicsContext::scale(const FloatSize& size) function in class:WebCore::GraphicsContext 499 platformContext()->scale(size); 531 // scale factors as the user zooms, without re-recording. Thus this routine
|
H A D | PlatformGraphicsContextSkia.cpp | 135 void PlatformGraphicsContextSkia::scale(const FloatSize& size) function in class:WebCore::PlatformGraphicsContextSkia 137 mCanvas->scale(SkFloatToScalar(size.width()), SkFloatToScalar(size.height()));
|
/external/webkit/Source/WebCore/platform/graphics/android/layers/ |
H A D | LayerAndroid.cpp | 465 float scale, bool forceCalculation, 468 m_scale = scale; 504 opacity, scale, forceCalculation, 545 screenArea.scale(1 / m_scale); 463 updateGLPositionsAndScale(const TransformationMatrix& parentMatrix, const FloatRect& clipping, float opacity, float scale, bool forceCalculation, bool disableFixedElemUpdate) argument
|
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ |
H A D | ShaderProgram.cpp | 493 const IntRect& screenClip, float scale) 521 m_currentScale = scale; 760 // Only when we have repeat scale, this handle can be >= 0; 799 // It first scale and translate the vertex array from (0,0)(1x1) to real 801 // Finally scale to the currentScale to support zooming. 802 // Note the geometry contains the tile zoom scale, so visually we will see 803 // the tiles scale at a ratio as (m_currentScale/tile's scale). 901 // worry about them here. Basically, if the current zoom scale / tile's scale 490 setupDrawing(const IntRect& invScreenRect, const SkRect& visibleContentRect, const IntRect& screenRect, int titleBarHeight, const IntRect& screenClip, float scale) argument [all...] |
/external/webkit/Source/WebCore/platform/graphics/openvg/ |
H A D | PainterOpenVG.cpp | 687 void PainterOpenVG::scale(const FloatSize& scaleFactors) function in class:WebCore::PainterOpenVG 839 1.0 /* scale */, 0.0 /* bias */, 873 1.0 /* scale */, 0.0 /* bias */, 930 1.0 /* scale */, 0.0 /* bias */, 974 1.0 /* scale */, 0.0 /* bias */, 1008 1.0 /* scale */, 0.0 /* bias */, 1046 1.0 /* scale */, 0.0 /* bias */,
|
/external/webkit/Source/WebCore/platform/graphics/transforms/ |
H A D | TransformationMatrix.cpp | 361 // Now get scale and shear. 368 // Compute X scale factor and normalize first row. 376 // Now, compute Y scale and normalize 2nd row. 387 // Next, get Z scale and normalize 3rd row. 469 double th, invth, scale, invscale; local 486 scale = sin (th * (1.0 - t)) * invth; 489 scale = 1.0 - t; 497 scale = sin(piDouble * (.5 - t)); 501 cx = ax * scale + bx * invscale; 502 cy = ay * scale 511 TransformationMatrix& TransformationMatrix::scale(double s) function in class:WebCore::TransformationMatrix [all...] |
/external/webkit/Source/WebCore/platform/graphics/win/ |
H A D | QTMovie.cpp | 357 TimeScale scale = GetMovieTimeScale(m_private->m_movie); local 358 return static_cast<float>(val) / scale; 366 TimeScale scale = GetMovieTimeScale(m_private->m_movie); local 367 return static_cast<float>(val) / scale; 378 TimeScale scale = GetMovieTimeScale(m_private->m_movie); local 380 QTRestartAtTimeRecord restart = { lroundf(time * scale) , 0 }; 383 SetMovieTimeValue(m_private->m_movie, TimeValue(lroundf(time * scale))); 426 TimeScale scale = GetMovieTimeScale(m_private->m_movie); local 427 return static_cast<float>(val) / scale;
|
/external/webkit/Source/WebCore/platform/graphics/wx/ |
H A D | GraphicsContextWx.cpp | 408 void GraphicsContext::scale(const FloatSize& scale) argument 413 gc->Scale(scale.width(), scale.height());
|
/external/webkit/Source/WebCore/rendering/style/ |
H A D | RenderStyle.cpp | 720 void RenderStyle::setPageScaleTransform(float scale) argument 722 if (scale == 1) 725 transform.operations().append(ScaleTransformOperation::create(scale, scale, ScaleTransformOperation::SCALE)); 807 radii.scale(calcConstraintScaleFor(borderRect, radii));
|
/external/webkit/Source/WebKit/qt/declarative/ |
H A D | qdeclarativewebview.cpp | 592 if (contentsScale() >= maxZoom / scale()) 597 if (z > maxZoom / scale()) 598 z = maxZoom / scale(); 972 return d->view->scale(); 975 void QDeclarativeWebView::setContentsScale(qreal scale) argument 977 if (scale == d->view->scale()) 979 d->view->setScale(scale);
|
/external/webkit/Source/WebKit2/UIProcess/API/C/ |
H A D | WKPage.cpp | 271 void WKPageSetScaleFactor(WKPageRef pageRef, double scale, WKPoint origin) argument 273 toImpl(pageRef)->scaleWebView(scale, toIntPoint(origin));
|
/external/webrtc/src/modules/audio_processing/aec/ |
H A D | aec_core.c | 41 static const float cnScaleHband = (float)0.4; // scale for comfort noise in H band 341 float scale = 2.0f / PART_LEN2; local 343 fft[j] *= scale; 637 float scale; local 787 scale = 2.0f / PART_LEN2; 789 y[i] = fft[PART_LEN + i] * scale; // fft scaling 857 float scale, dtmp; local 1131 scale = 2.0f / PART_LEN2; 1133 fft[i] *= scale; // fft scaling 1140 fft[PART_LEN + i] *= scale; // ff [all...] |
H A D | aec_core_sse2.c | 174 float scale = 2.0f / PART_LEN2; local 175 const __m128 scale_ps = _mm_load_ps1(&scale);
|
/external/aac/libSBRenc/src/ |
H A D | env_est.cpp | 126 int scale; local 136 scale = DFRACT_BITS; 138 scale = fixMin(scale, fixMin(getScalefactor(realValues[k], numberBands), getScalefactor(imagValues[k], numberBands))); 142 if (scale >= DFRACT_BITS-1) { 143 scale = (FRACT_BITS-1-*qmfScale); 146 scale = fixMax(0,scale-1); 148 /* Update QMF scale */ 149 *qmfScale += scale; 173 tr0 <<= scale; local 174 ti0 <<= scale; local 177 tr1 <<= scale; local 178 ti1 <<= scale; local 219 int scale; local 264 tr0 <<= scale; local 265 ti0 <<= scale; local [all...] |
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/ |
H A D | Impl_RowSet.java | 189 int targetSqlType, int scale) throws SQLException { 297 public BigDecimal getBigDecimal(int columnIndex, int scale) argument 306 public BigDecimal getBigDecimal(String columnName, int scale) argument 713 public void updateObject(int columnIndex, Object x, int scale) argument 720 public void updateObject(String columnName, Object x, int scale) argument 1208 int targetSqlType, int scale) throws SQLException { 188 setObject(int parameterIndex, Object theObject, int targetSqlType, int scale) argument 1207 setObject(String parameterName, Object theObject, int targetSqlType, int scale) argument
|
/external/chromium/chrome/browser/ui/views/tabs/ |
H A D | dragged_tab_controller.cc | 277 double scale = in_enable_area_ ? 1 : .5; local 279 static_cast<BYTE>(animation_.GetCurrentValue() * scale * 255.0));
|
/external/freetype/src/autofit/ |
H A D | aflatin2.c | 510 FT_Fixed scale; local 518 scale = scaler->x_scale; 523 scale = scaler->y_scale; 529 if ( axis->org_scale == scale && axis->org_delta == delta ) 532 axis->org_scale = scale; 536 * correct Y scale to optimize the alignment of the top of small 562 scale = FT_MulDiv( scale, fitted, scaled ); 572 axis->scale = scale; 1048 FT_Fixed scale; local 1366 FT_Fixed scale = latin->scale; local 2316 FT_Fixed scale; local [all...] |
/external/opencv/cv/include/ |
H A D | cvtypes.h | 369 double scale; member in struct:CvHaarClassifierCascade
|
/external/opencv/cv/src/ |
H A D | cvcalibinit.cpp | 1992 double scale = 1; local 2005 scale = 1; 2008 scale = 256; 2011 scale = 1./255; 2025 color.val[0] *= scale; 2026 color.val[1] *= scale; 2027 color.val[2] *= scale; 2028 color.val[3] *= scale; 2063 color.val[0] *= scale; 2064 color.val[1] *= scale; [all...] |
H A D | cvhistogram.cpp | 248 float scale; local 258 scale = (float)(factor/sum); 263 *(float*)CV_NODE_VAL(mat,node) *= scale; 460 double num, denom2, scale = 1./total; local 474 num = s12 - s1*s2*scale; 475 denom2 = (s11 - s1*s1*scale)*(s22 - s2*s2*scale); 557 double num, denom2, scale = 1./total; local 582 num = s12 - s1*s2*scale; 583 denom2 = (s11 - s1*s1*scale)*(s2 808 double scale = sz/(b - a); local 2322 float scale; local [all...] |
H A D | cvhough.cpp | 105 double scale; local 158 scale = 1./(numrho+2); 163 int n = cvFloor(idx*scale) - 1;
|