/external/skia/src/core/ |
H A D | SkBlitRow_D16.cpp | 34 int scale = SkAlpha255To256(alpha); local 40 SkAlphaBlend(SkPacked32ToR16(c), SkGetPackedR16(d), scale), 41 SkAlphaBlend(SkPacked32ToG16(c), SkGetPackedG16(d), scale), 42 SkAlphaBlend(SkPacked32ToB16(c), SkGetPackedB16(d), scale)); 113 int scale = SkAlpha255To256(alpha); local 128 *dst++ = SkPackRGB16(SkAlphaBlend(sr, SkGetPackedR16(d), scale), 129 SkAlphaBlend(sg, SkGetPackedG16(d), scale), 130 SkAlphaBlend(sb, SkGetPackedB16(d), scale));
|
H A D | SkComposeShader.cpp | 113 unsigned scale = SkAlpha255To256(this->getPaintAlpha()); local 129 if (256 == scale) { 136 scale); 155 if (256 == scale) { 157 result[i] = SkAlphaMulQ(result[i], scale);
|
/external/skia/src/effects/ |
H A D | SkDashPathEffect.cpp | 92 SkScalar scale = SK_Scalar1; local 96 scale = SkScalarDiv(length, fIntervalLength); 100 scale = SkScalarDiv(length, n * fIntervalLength); 105 SkScalar dlen = SkScalarMul(fInitialDashLength, scale); 127 dlen = SkScalarMul(intervals[index], scale); 133 meas.getSegment(0, SkScalarMul(fInitialDashLength, scale), dst, !addedSegment);
|
/external/speex/libspeex/ |
H A D | fftwrap.c | 103 float scale = 1./((struct drft_lookup *)table)->n; local 106 out[i] = scale*in[i]; 109 float scale = 1./((struct drft_lookup *)table)->n; local 111 out[i] = scale*in[i]; 288 float scale; local 290 scale = 1./t->N; 293 out[i] *= scale; 339 float scale; 342 scale = 1./((struct kiss_config *)table)->N; 344 out[i] = scale*i [all...] |
/external/valgrind/main/memcheck/tests/ppc32/ |
H A D | power_ISA2_05.c | 12 int scale = 1; local 17 sum = sum + bit * scale; 19 scale *= 256; 219 int scale = 1; local 224 sum = sum + bit * scale; 226 scale *= 256; 426 int scale = 1; local 431 sum = sum + bit * scale; 433 scale *= 256; 633 int scale local 840 int scale = 1; local [all...] |
/external/valgrind/main/memcheck/tests/ppc64/ |
H A D | power_ISA2_05.c | 12 int scale = 1; local 17 sum = sum + bit * scale; 19 scale *= 256; 219 int scale = 1; local 224 sum = sum + bit * scale; 226 scale *= 256; 426 int scale = 1; local 431 sum = sum + bit * scale; 433 scale *= 256; 633 int scale local 840 int scale = 1; local [all...] |
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
H A D | 3d-raytrace.js | 52 function scaleVector(self, scale) { 53 self[0] *= scale; 54 self[1] *= scale; 55 self[2] *= scale; 83 function scale(v, scale) { function 84 return [v[0] * scale, v[1] * scale, v[2] * scale]; 204 var hit = add(origin, scale(di [all...] |
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
H A D | 3d-raytrace.js | 52 function scaleVector(self, scale) { 53 self[0] *= scale; 54 self[1] *= scale; 55 self[2] *= scale; 83 function scale(v, scale) { function 84 return [v[0] * scale, v[1] * scale, v[2] * scale]; 204 var hit = add(origin, scale(di [all...] |
/external/webkit/Source/JavaScriptCore/assembler/ |
H A D | ARMAssembler.cpp | 292 void ARMAssembler::baseIndexTransfer32(bool isLoad, RegisterID srcDst, RegisterID base, RegisterID index, int scale, int32_t offset) argument 296 ASSERT(scale >= 0 && scale <= 3); 297 op2 = lsl(index, scale);
|
/external/webkit/Source/WebCore/css/ |
H A D | WebKitCSSMatrix.cpp | 117 PassRefPtr<WebKitCSSMatrix> WebKitCSSMatrix::scale(double scaleX, double scaleY, double scaleZ) const function in class:WebCore::WebKitCSSMatrix
|
/external/webkit/Source/WebCore/platform/audio/ |
H A D | Reverb.cpp | 79 double scale = 1.0 / power; local 81 scale *= pow(10.0, GainCalibration * 0.05); // calibrate to make perceived volume same as unprocessed 85 scale *= 0.5; 87 return scale; 92 double scale = calculateNormalizationScale(impulseResponse); local 93 if (scale) 94 impulseResponse->scale(scale); 99 if (scale) 100 impulseResponse->scale(1. [all...] |
/external/webkit/Source/WebCore/platform/audio/mkl/ |
H A D | FFTFrameMKL.cpp | 59 // Set the forward scale factor to 2 to match Accelerate.framework's. 65 // Set the backward scale factor to 1 / 2n to match Accelerate.framework's. 67 double scale = 1.0 / (2.0 * fftSize); local 68 status = DftiSetValue(handle, DFTI_BACKWARD_SCALE, scale); 146 float scale = 0.5f; local 149 realP1[0] *= scale * realP2[0]; 150 imagP1[0] *= scale * imagP2[0]; 164 // De-interleave and scale the rest of the data. 168 realP1[i] = scale * interleavedData1[baseComplexIndex]; 169 imagP1[i] = scale * interleavedData [all...] |
/external/webkit/Source/WebCore/platform/graphics/ |
H A D | FloatPoint.h | 93 void scale(float sx, float sy) function in class:WebCore::FloatPoint
|
H A D | FloatSize.h | 68 void scale(float scale) argument 70 m_width *= scale; 71 m_height *= scale;
|
H A D | Image.cpp | 121 FloatSize scale(scaledTileSize.width() / intrinsicTileSize.width(), 132 visibleSrcRect.setX((destRect.x() - oneTileRect.x()) / scale.width()); 133 visibleSrcRect.setY((destRect.y() - oneTileRect.y()) / scale.height()); 134 visibleSrcRect.setWidth(destRect.width() / scale.width()); 135 visibleSrcRect.setHeight(destRect.height() / scale.height()); 140 AffineTransform patternTransform = AffineTransform().scaleNonUniform(scale.width(), scale.height()); 161 FloatSize scale = calculatePatternScale(dstRect, srcRect, hRule, vRule); local 162 AffineTransform patternTransform = AffineTransform().scaleNonUniform(scale.width(), scale [all...] |
H A D | IntSize.h | 84 void scale(float scale) argument 86 m_width = static_cast<int>(static_cast<float>(m_width) * scale); 87 m_height = static_cast<int>(static_cast<float>(m_height) * scale);
|
H A D | RoundedIntRect.cpp | 42 void RoundedIntRect::Radii::scale(float factor) function in class:WebCore::RoundedIntRect::Radii 48 m_topLeft.scale(factor); 51 m_topRight.scale(factor); 54 m_bottomLeft.scale(factor); 57 m_bottomRight.scale(factor);
|
/external/webkit/Source/WebCore/platform/graphics/android/ |
H A D | GLWebViewState.h | 100 // current scale factor, and another we use to paint the page at a different 101 // scale factor. I.e. when we zoom, we use TiledPage A, with its tiles scaled 104 // TiledPage B to be painted at the new scale factor, covering the 182 IntRect& clip, float scale, 198 float scale() { return m_scale; } function in class:WebCore::GLWebViewState 216 void setVisibleContentRect(const SkRect& visibleContentRect, float scale); 219 const IntRect& screenClip, float scale);
|
/external/webkit/Source/WebCore/platform/graphics/android/layers/ |
H A D | VideoLayerAndroid.cpp | 177 // Use the scale to control the fading the sizing during animation 178 double scale = manager->drawIcon(uniqueId(), PlayIcon); local 179 if (scale) { 180 innerRect.inset(manager->getButtonSize() / 4 * scale, 181 manager->getButtonSize() / 4 * scale); 183 iconQuadData.updateOpacity(scale); 204 // Use the scale to control the fading and the sizing during animation. 205 double scale = manager->drawIcon(uniqueId(), PauseIcon); local 206 if (scale) { 207 innerRect.inset(manager->getButtonSize() / 4 * scale, [all...] |
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ |
H A D | SurfaceBacking.cpp | 72 // If the surface backing has ever zoomed beyond 1.0 scale, it's always 74 // and allowZoom is false, don't allow scale greater than 1.0 76 float scale = state->scale(); local 78 if (scale > m_maxZoomScale) { 79 scale = m_maxZoomScale; 84 m_scale = scale; 85 m_futureScale = scale; 88 if (m_futureScale != scale) { 89 m_futureScale = scale; [all...] |
H A D | SurfaceCollectionManager.cpp | 233 SkRect& visibleContentRect, float scale, 232 drawGL(double currentTime, IntRect& viewRect, SkRect& visibleContentRect, float scale, bool scrolling, bool singleSurfaceMode, bool* collectionsSwappedPtr, bool* newCollectionHasAnimPtr, TexturesResult* texturesResultPtr, bool shouldDraw) argument
|
H A D | Tile.h | 97 void setContents(int x, int y, float scale, bool isExpandedPrefetchTile); 104 bool drawGL(float opacity, const SkRect& rect, float scale, 113 float scale, const SkRect& dirtyRect, 123 float scale() const { return m_scale; } function in class:WebCore::Tile
|
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
H A D | GraphicsContextPlatformPrivateCairo.h | 76 void scale(const FloatSize&); 91 void scale(const FloatSize&) {} function in class:WebCore::GraphicsContextPlatformPrivate
|
/external/webkit/Source/WebCore/platform/graphics/cg/ |
H A D | GraphicsContextPlatformPrivateCG.h | 66 void scale(const FloatSize&) {} function in class:WebCore::GraphicsContextPlatformPrivate 82 void scale(const FloatSize&);
|
/external/webkit/Source/WebCore/platform/graphics/filters/ |
H A D | FEDisplacementMap.cpp | 38 FEDisplacementMap::FEDisplacementMap(Filter* filter, ChannelSelectorType xChannelSelector, ChannelSelectorType yChannelSelector, float scale) argument 42 , m_scale(scale) 47 ChannelSelectorType yChannelSelector, float scale) 49 return adoptRef(new FEDisplacementMap(filter, xChannelSelector, yChannelSelector, scale)); 78 float FEDisplacementMap::scale() const function in class:WebCore::FEDisplacementMap 83 bool FEDisplacementMap::setScale(float scale) argument 85 if (m_scale == scale) 87 m_scale = scale; 173 ts << " scale=\"" << m_scale << "\" " 46 create(Filter* filter, ChannelSelectorType xChannelSelector, ChannelSelectorType yChannelSelector, float scale) argument
|