/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
H A D | FastMath.java | 98 * @param scale 99 * scale value to use. if 1, use endValue, if 0, use startValue. 106 public static float interpolateLinear(float scale, float startValue, float endValue) { argument 110 if (scale <= 0f) { 113 if (scale >= 1f) { 116 return ((1f - scale) * startValue) + (scale * endValue); 123 * @param scale 124 * scale value to use. if 1, use endValue, if 0, use startValue. 132 public static Vector3f interpolateLinear(float scale, Vector3 argument 154 interpolateLinear(float scale, Vector3f startValue, Vector3f endValue) argument 168 extrapolateLinear(float scale, float startValue, float endValue) argument 186 extrapolateLinear(float scale, Vector3f startValue, Vector3f endValue, Vector3f store) argument 209 extrapolateLinear(float scale, Vector3f startValue, Vector3f endValue) argument [all...] |
/external/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_cliptest_tmp.h | 34 const float *scale = pvs->draw->viewport.scale; local 138 position[0] = position[0] * w * scale[0] + trans[0]; 139 position[1] = position[1] * w * scale[1] + trans[1]; 140 position[2] = position[2] * w * scale[2] + trans[2];
|
H A D | draw_vs_variant.c | 89 const float *scale = vsvg->base.vs->draw->viewport.scale; local 100 data[0] = data[0] * w * scale[0] + trans[0]; 101 data[1] = data[1] * w * scale[1] + trans[1]; 102 data[2] = data[2] * w * scale[2] + trans[2]; 112 const float *scale = vsvg->base.vs->draw->viewport.scale; local 122 data[0] = data[0] * scale[0] + trans[0]; 123 data[1] = data[1] * scale[1] + trans[1]; 124 data[2] = data[2] * scale[ [all...] |
/external/skia/gm/ |
H A D | patheffects.cpp | 57 static void scale(SkPath* path, SkScalar scale) { argument 59 m.setScale(scale, scale); 70 scale(&path, 1.5f);
|
/external/skia/src/core/ |
H A D | SkComposeShader.cpp | 123 unsigned scale = SkAlpha255To256(this->getPaintAlpha()); local 139 if (256 == scale) { 146 scale); 165 if (256 == scale) { 167 result[i] = SkAlphaMulQ(result[i], scale);
|
H A D | SkEdge.h | 93 float scale = float(1 << (shift + 6)); 94 x0 = int(p0.fX * scale); 95 y0 = int(p0.fY * scale); 96 x1 = int(p1.fX * scale); 97 y1 = int(p1.fY * scale);
|
/external/srec/audio/AudioIn/UNIX/src/ |
H A D | filter.c | 74 * scale - fixed point scale factor 79 FIR_struct* FIR_construct(unsigned int nTaps, const typeCoeff *pCoeffs, int scale, int factor_up, int factor_down) argument 105 pFIR->scale = scale; 106 pFIR->round = (1 << (scale-1)); 288 *pOutput = (typeSample) (accum >> pFIR->scale);
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/fontSettings/css/ |
H A D | overlay.css | 26 -webkit-transform: scale(0.99) translateY(-20px); 52 -webkit-transform: scale(1); 55 -webkit-transform: scale(1.02); 58 -webkit-transform: scale(1.02); 61 -webkit-transform: scale(1);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/ |
H A D | draw_vs_variant.c | 89 const float *scale = vsvg->base.vs->draw->viewport.scale; local 100 data[0] = data[0] * w * scale[0] + trans[0]; 101 data[1] = data[1] * w * scale[1] + trans[1]; 102 data[2] = data[2] * w * scale[2] + trans[2]; 112 const float *scale = vsvg->base.vs->draw->viewport.scale; local 122 data[0] = data[0] * scale[0] + trans[0]; 123 data[1] = data[1] * scale[1] + trans[1]; 124 data[2] = data[2] * scale[ [all...] |
/external/chromium_org/third_party/skia/src/fonts/ |
H A D | SkGScalerContext.cpp | 146 SkScalar scale = fMatrix.getScaleY(); local 147 metrics->fTop = SkScalarMul(metrics->fTop, scale); 148 metrics->fAscent = SkScalarMul(metrics->fAscent, scale); 149 metrics->fDescent = SkScalarMul(metrics->fDescent, scale); 150 metrics->fBottom = SkScalarMul(metrics->fBottom, scale); 151 metrics->fLeading = SkScalarMul(metrics->fLeading, scale); 152 metrics->fAvgCharWidth = SkScalarMul(metrics->fAvgCharWidth, scale); 153 metrics->fXMin = SkScalarMul(metrics->fXMin, scale); 154 metrics->fXMax = SkScalarMul(metrics->fXMax, scale); 155 metrics->fXHeight = SkScalarMul(metrics->fXHeight, scale); [all...] |
/external/skia/src/fonts/ |
H A D | SkGScalerContext.cpp | 146 SkScalar scale = fMatrix.getScaleY(); local 147 metrics->fTop = SkScalarMul(metrics->fTop, scale); 148 metrics->fAscent = SkScalarMul(metrics->fAscent, scale); 149 metrics->fDescent = SkScalarMul(metrics->fDescent, scale); 150 metrics->fBottom = SkScalarMul(metrics->fBottom, scale); 151 metrics->fLeading = SkScalarMul(metrics->fLeading, scale); 152 metrics->fAvgCharWidth = SkScalarMul(metrics->fAvgCharWidth, scale); 153 metrics->fXMin = SkScalarMul(metrics->fXMin, scale); 154 metrics->fXMax = SkScalarMul(metrics->fXMax, scale); 155 metrics->fXHeight = SkScalarMul(metrics->fXHeight, scale); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/ |
H A D | SVGImage.cpp | 180 scaledSrc.scale(1 / zoom); 184 adjustedSrcSize.scale(roundedContainerSize.width() / containerSize.width(), roundedContainerSize.height() / containerSize.height()); 206 const FloatSize& scale, const FloatPoint& phase, CompositeOperator compositeOp, const FloatRect& dstRect, blink::WebBlendMode blendMode, const IntSize& repeatSpacing) 209 zoomedContainerRect.scale(zoom); 212 // FIXME: No need to get the full CTM here, we just need the scale. 218 FloatSize scaleWithoutCTM(scale.width() / imageBufferScale.width(), scale.height() / imageBufferScale.height()); 221 imageBufferSize.scale(imageBufferScale.width(), imageBufferScale.height()); 232 scaledSrcRect.scale(imageBufferScale.width(), imageBufferScale.height()); 248 FloatSize scale(dstRec 205 drawPatternForContainer(GraphicsContext* context, const FloatSize containerSize, float zoom, const FloatRect& srcRect, const FloatSize& scale, const FloatPoint& phase, CompositeOperator compositeOp, const FloatRect& dstRect, blink::WebBlendMode blendMode, const IntSize& repeatSpacing) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
H A D | TimelineFrameOverview.js | 96 var scale = (mainThreadFramesHeight - this._topPadding) / this._computeTargetFrameLength(mainThreadVisibleFrames); 97 this._renderBars(mainThreadVisibleFrames, scale, mainThreadFramesHeight); 100 this._drawFPSMarks(scale, mainThreadFramesHeight); 112 scale = (backgroundFramesHeight - this._topPadding) / (1.0 / targetFPS); 113 this._renderBars(backgroundVisibleFrames, scale, backgroundFramesHeight); 202 // Optimize appearance for 30fps. However, if at least half frames won't fit at this scale, 215 * @param {number} scale 218 _renderBars: function(frames, scale, windowHeight) 227 this._renderBar(this._barNumberToScreenPosition(i), barWidth, windowHeight, frames[i], scale); 240 * @param {number} scale [all...] |
/external/chromium_org/ash/magnifier/ |
H A D | magnification_controller_unittest.cc | 98 // Confirms the the scale can't be changed. 106 // Enables magnifier and confirms the default scale is 2.0x. 113 // Changes the scale. 358 float scale = 2.f; local 364 scale *= kMagnificationScaleFactor; 365 GetMagnificationController()->SetScale(scale, false); 373 scale *= kMagnificationScaleFactor; 374 GetMagnificationController()->SetScale(scale, false); 380 scale *= kMagnificationScaleFactor; 381 GetMagnificationController()->SetScale(scale, fals 404 float scale = 2.f; local [all...] |
/external/chromium_org/media/base/ |
H A D | audio_converter_unittest.cc | 90 // |index|..|frames| after |scale| is applied to the expected audio data. 91 bool ValidateAudioData(int index, int frames, float scale) { argument 95 expected_audio_bus_->channel(i)[j] * scale); 97 EXPECT_NEAR(expected_audio_bus_->channel(i)[j] * scale, 108 // and validates equality with |audio_bus_| after |scale| is applied. 109 bool RenderAndValidateAudioData(float scale) { argument 124 return ValidateAudioData(0, audio_bus_->frames(), scale); 162 float scale = inputs > 1 ? inputs / 2.0f : inputs; local 164 ASSERT_TRUE(RenderAndValidateAudioData(scale));
|
/external/chromium_org/webkit/common/cursors/ |
H A D | webcursor.cc | 83 float scale; local 92 !iter->ReadFloat(&scale) || 101 // Ensure scale isn't ridiculous, and the scaled image size is still sane. 102 if (scale < 0.01 || scale > 100 || 103 size_x / scale > kMaxCursorDimension || 104 size_y / scale > kMaxCursorDimension) 120 custom_scale_ = scale;
|
/external/mdnsresponder/mDNSPosix/ |
H A D | parselog.py | 171 scale = width/(maxTime-minTime) 190 #c.addArc((point[0]-minTime)*scale,point[1]*typesize+6,5,0,2*math.pi,1) 191 c.addArc((point[0]-minTime)*scale,point[1]*typesize+6,typesize/4,0,2*math.pi,1) 206 c.moveToPoint((point[0]-minTime)*scale,point[1]*typesize+6) 207 c.addLineToPoint(((plotPoints[index])[0]-minTime)*scale,(plotPoints[index])[1]*typesize+6) 227 c.moveToPoint((time-minTime)*scale,pageRect.origin.y) 228 c.addLineToPoint((time-minTime)*scale,pageHeight) 237 c.showTextAtPoint((time-minTime)*scale - theStringWidth/2, pageRect.origin.y + 2, theTimeString, len(theTimeString))
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
H A D | ImageDocument.cpp | 215 float ImageDocument::scale() const function in class:WebCore::ImageDocument 240 float scale = this->scale(); local 241 m_imageElement->setWidth(static_cast<int>(imageSize.width() * scale)); 242 m_imageElement->setHeight(static_cast<int>(imageSize.height() * scale)); 261 float scale = this->scale(); local 263 int scrollX = static_cast<int>(x / scale - (float)frame()->view()->width() / 2); 264 int scrollY = static_cast<int>(y / scale - (float)frame()->view()->height() / 2);
|
/external/chromium_org/third_party/mesa/src/src/gallium/tests/trivial/ |
H A D | quad-tex.c | 237 float scale, bias; local 240 scale = -1.0f; 243 scale = 1.0f; 247 p->viewport.scale[0] = half_width; 248 p->viewport.scale[1] = half_height * scale; 249 p->viewport.scale[2] = half_depth; 250 p->viewport.scale[3] = 1.0f; 253 p->viewport.translate[1] = (half_height + y) * scale + bias;
|
/external/mesa3d/src/gallium/tests/trivial/ |
H A D | quad-tex.c | 237 float scale, bias; local 240 scale = -1.0f; 243 scale = 1.0f; 247 p->viewport.scale[0] = half_width; 248 p->viewport.scale[1] = half_height * scale; 249 p->viewport.scale[2] = half_depth; 250 p->viewport.scale[3] = 1.0f; 253 p->viewport.translate[1] = (half_height + y) * scale + bias;
|
/external/opencv/cxcore/src/ |
H A D | cxconvert.cpp | 953 CvSize size, double scale, double shift, 970 for( i = 0; i < 128; i++, val += scale ) 979 for( ; i < 256; i++, val += scale ) 990 if( fabs( scale ) <= 1. && fabs(shift) < DBL_EPSILON ) 992 int iscale = cvRound(scale*(1 << ICV_FIX_SHIFT)); 1008 CV_CAST_8U, scale, shift ); 1012 if( fabs( scale ) <= 1. && 1015 int iscale = cvRound(scale*(1 << ICV_FIX_SHIFT)); 1032 CV_CAST_8U, scale, shift ); 1037 CV_CAST_8U, scale, shif 951 icvCvtScaleAbsTo_8u_C1R( const uchar* src, int srcstep, uchar* dst, int dststep, CvSize size, double scale, double shift, int param ) argument 1057 cvConvertScaleAbs( const void* srcarr, void* dstarr, double scale, double shift ) argument 1495 cvConvertScale( const void* srcarr, void* dstarr, double scale, double shift ) argument [all...] |
/external/chromium/chrome/browser/ui/views/ |
H A D | tab_icon_view.cc | 110 // For source images smaller than the favicon square, scale them as if they 124 float scale = std::min(static_cast<float>(width()) / scalable_w, local 126 int dest_w = static_cast<int>(float_src_w * scale); 127 int dest_h = static_cast<int>(float_src_h * scale);
|
/external/chromium_org/cc/resources/ |
H A D | layer_quad.h | 53 void scale(float sx, float sy, float sz) { function in class:cc::LayerQuad::Edge 58 void scale(float s) { scale(s, s, s); } function in class:cc::LayerQuad::Edge
|
/external/chromium_org/chrome/browser/ui/views/ |
H A D | tab_icon_view.cc | 113 // For source images smaller than the favicon square, scale them as if they 127 float scale = std::min(static_cast<float>(width()) / scalable_w, local 129 int dest_w = static_cast<int>(float_src_w * scale); 130 int dest_h = static_cast<int>(float_src_h * scale);
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
H A D | SVGMatrix.h | 50 SVGMatrix scale(double s) function in class:WebCore::SVGMatrix 53 copy.scale(s, s); 60 copy.scale(sx, sy);
|