/external/webkit/Source/WebCore/platform/graphics/win/ |
H A D | GraphicsContextWin.cpp | 164 void GraphicsContextPlatformPrivate::scale(const FloatSize& size) function in class:WebCore::GraphicsContextPlatformPrivate
|
/external/webkit/Source/WebCore/rendering/svg/ |
H A D | SVGTextChunkBuilder.cpp | 250 void SVGTextChunkBuilder::buildSpacingAndGlyphsTransform(bool isVerticalText, float scale, const SVGTextFragment& fragment, AffineTransform& spacingAndGlyphsTransform) argument 255 spacingAndGlyphsTransform.scaleNonUniform(1, scale); 257 spacingAndGlyphsTransform.scaleNonUniform(scale, 1);
|
/external/webkit/Source/WebCore/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);
|
/external/webkit/Source/WebKit/android/ |
H A D | RenderSkinMediaButton.cpp | 209 SkScalar scale = SkScalarDiv(width - 2*imageMargin, SIZE); local 212 canvas->scale(scale, scale);
|
/external/webkit/Source/WebKit2/WebProcess/WebPage/ |
H A D | TiledDrawingArea.cpp | 137 void TiledDrawingArea::updateTile(int tileID, const IntRect& dirtyRect, float scale) argument 142 paintIntoUpdateChunk(&updateChunk, scale); 145 WebProcess::shared().connection()->deprecatedSend(DrawingAreaProxyLegacyMessage::TileUpdated, m_webPage->pageID(), CoreIPC::In(tileID, updateChunk, scale, pendingUpdateCount)); 156 updateTile(update.tileID, update.dirtyRect, update.scale); 197 if (!arguments->decode(CoreIPC::Out(update.tileID, update.dirtyRect, update.scale)))
|
/external/webrtc/src/common_audio/signal_processing/ |
H A D | complex_fft.c | 289 int i, j, l, k, istep, n, m, scale, shift; local 301 scale = 0; 317 scale++; 323 scale++; 424 return scale;
|
/external/aac/libAACenc/src/ |
H A D | band_nrg.cpp | 135 INT i, j, scale, nr = 0; local 141 scale = fixMax(0, sfbMaxScaleSpec[i]-4); 144 spec = mdctSpectrum[j]<<scale; 152 bandEnergyLdData[i] -= scale*FL2FXCONST_DBL(2.0/64); 162 scale = fixMax(0,sfbMaxScaleSpec[nr]-4); 163 scale = fixMax(2*(minSpecShift-scale),-(DFRACT_BITS-1)); 165 maxNrg = scaleValue(bandEnergy[nr], scale); 223 INT scale = fixMin((sfbMaxScaleSpec[i]-4)<<1,(DFRACT_BITS-1)); local 224 bandEnergy[i] = scaleValue(bandEnergy[i], -scale); 237 INT scale = fixMin( ((sfbMaxScaleSpec[i]-4)+shiftBits)<<1, (DFRACT_BITS-1)); local 275 INT scale = (2*(sfbMaxScaleSpec[i]-3))-1; /* max sfbWidth = 36 ; 2^6=64 => 6/2 = 3 (spc*spc) */ local 340 INT scale = fixMax(0, 2*(minScale-4)); local 356 bandEnergyMid[i] >>= scale; local 357 bandEnergySide[i] >>= scale; local [all...] |
H A D | quantize.cpp | 271 spec^(3/4) * 2^(-3/16*QSS) * 2^(3/4*scale) + k 273 spec^(3/4) * 2^(-3/16*(QSS - 4*scale)) */ 302 INT i,scale; local 325 scale = CountLeadingBits(diff); 326 diff = scaleValue(diff, scale); 328 scale = fixMin(2*(scale-1), DFRACT_BITS-1); 330 diff = scaleValue(diff, -scale); 357 INT i,scale; local 381 scale [all...] |
/external/aac/libSBRenc/src/ |
H A D | ps_main.cpp | 319 int dynQmfScale = fixMax(0, hParametricStereo->dmxScale-1); /* scale one bit more for addition of left and right */ 343 /* calc stereo scale factor to avoid loss of energy in bands */ 344 /* stereo scale factor = min(2.0f, sqrt( (abs(l(k, n)^2 + abs(r(k, n)^2 )))/(0.5f*abs(l(k, n) + r(k, n))) )) */ 408 INT scale, i, j, slotOffset; local 427 scale = hParametricStereo->qmfDelayScale - *qmfScale; 431 scale = *qmfScale - hParametricStereo->qmfDelayScale; 437 mixRealQmfData[i+slotOffset][j] >>= scale; local 438 mixImagQmfData[i+slotOffset][j] >>= scale; local 442 scale = *qmfScale; 444 hParametricStereo->qmfDelayScale = scale; [all...] |
/external/chromium/chrome/browser/ |
H A D | process_info_snapshot_mac.cc | 83 // Converts a byte unit such as 'K' or 'M' into the scale for the unit. 84 // The scale can then be used to calculate the number of bytes in a value. 116 uint64_t scale = 1; local 118 scale *= 1024; 119 *out_scale = scale; 255 uint64_t scale; local 256 if (!ConvertByteUnitToScale(unit[0], &scale)) 258 values[i] *= scale;
|
/external/emma/core/java12/com/vladium/emma/report/ |
H A D | IItemAttribute.java | 194 FractionAttribute (final String name, final int numeratorAggregateID, final int denominatorAggregateID, final int scale, final int nFractionDigits) argument 198 if ($assert.ENABLED) $assert.ASSERT (scale != 0, "scale: " + scale); 202 m_scale = scale;
|
/external/freetype/src/autofit/ |
H A D | aflatin.h | 81 AF_LATIN_BLUE_ADJUSTMENT = 1 << 2, /* used for scale adjustment */ 98 FT_Fixed scale; member in struct:AF_LatinAxisRec_
|
H A D | afwarp.c | 20 * The idea of the warping code is to slightly scale and shift a glyph 66 /* Score segments for a given `scale' and `delta' in the range */ 73 FT_Fixed scale, 123 FT_Pos y0 = FT_MulFix( segments[nn].pos, scale ) + delta; 150 warper->best_scale = scale; 72 af_warper_compute_line_best( AF_Warper warper, FT_Fixed scale, FT_Pos delta, FT_Pos xx1, FT_Pos xx2, AF_WarpScore base_distort, AF_Segment segments, FT_UInt num_segments ) argument
|
/external/freetype/src/pshinter/ |
H A D | pshglob.c | 39 /* scale the widths/heights table */ 49 FT_Fixed scale = dim->scale_mult; local 54 width->cur = FT_MulFix( width->org, scale ); 65 w = FT_MulFix( width->org, scale ); 367 FT_Fixed scale, 376 /* not. We simply need to compare the vertical scale */ 388 /* scale*EM_Size < 1000*bluescale + 49/24 */ 393 /* scale < bluescale + 49/24000 */ 397 /* "scale < bluescale" */ 400 /* value, and that `scale' convert 366 psh_blues_scale_zones( PSH_Blues blues, FT_Fixed scale, FT_Pos delta ) argument [all...] |
/external/icu4c/test/cintltst/ |
H A D | utmstest.c | 100 static void roundTripTest(int64_t value, UDateTimeScale scale) argument 103 int64_t rt = utmscale_toInt64(utmscale_fromInt64(value, scale, &status), scale, &status); 106 log_err("Round-trip error: time scale = %d, value = %lld, round-trip = %lld.\n", scale, value, rt); 110 static void toLimitTest(int64_t toLimit, int64_t fromLimit, UDateTimeScale scale) argument 113 int64_t result = utmscale_toInt64(toLimit, scale, &status); 116 log_err("toLimit failure: scale = %d, toLimit = %lld , utmscale_toInt64(toLimit, scale, &status) = %lld, fromLimit = %lld.\n", 117 scale, toLimi 121 epochOffsetTest(int64_t epochOffset, int64_t units, UDateTimeScale scale) argument 154 int32_t scale; local 167 int32_t scale; local 181 int32_t scale; local 196 int32_t scale; local 256 int32_t scale; local 330 int32_t scale; local [all...] |
/external/iptables/extensions/ |
H A D | libxt_rateest.c | 63 double scale; member in struct:rate_suffix 103 *rate = (bps * s->scale) / 8.;
|
/external/jmonkeyengine/engine/src/core/com/jme3/animation/ |
H A D | AnimationFactory.java | 41 * you can add some keyFrames for a given time or a given keyFrameIndex, for translation rotation and scale. 310 * Adds a key frame for the given scale at the given time 312 * @param scale the scale to use for this keyFrame 314 public void addTimeScale(float time, Vector3f scale) { argument 315 addKeyFrameScale((int) (time / tpf), scale); 319 * Adds a key frame for the given scale at the given keyFrame index 321 * @param scale the scale to use for this keyFrame 323 public void addKeyFrameScale(int keyFrameIndex, Vector3f scale) { argument [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/bounding/ |
H A D | BoundingSphere.java | 376 * change made via a rotation, translation and scale.
416 private float getMaxAxis(Vector3f scale) {
argument 417 float x = FastMath.abs(scale.x);
418 float y = FastMath.abs(scale.y);
419 float z = FastMath.abs(scale.z);
|
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
H A D | TangentBinormalGenerator.java | 606 public static Mesh genTbnLines(Mesh mesh, float scale) { argument 608 return genNormalLines(mesh, scale); 610 return genTangentLines(mesh, scale); 614 public static Mesh genNormalLines(Mesh mesh, float scale) { argument 639 point.multLocal(scale); 653 private static Mesh genTangentLines(Mesh mesh, float scale) { argument 710 point.multLocal(scale); 725 point.multLocal(scale); 731 point.multLocal(scale);
|
/external/jmonkeyengine/engine/src/core-effects/com/jme3/post/ssao/ |
H A D | SSAOFilter.java | 69 private float scale = 0.2f; field in class:SSAOFilter 90 * @param scale distance between occluders and occludee. default 0.2f 93 public SSAOFilter(float sampleRadius, float intensity, float scale, float bias) { argument 97 this.scale = scale; 169 ssaoMat.setFloat("Scale", scale); 248 * returns the scale<br> 249 * see {@link #setScale(float scale)} 253 return scale; 259 * @param scale 261 setScale(float scale) argument [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/ |
H A D | LODGeomap.java | 80 public Mesh createMesh(Vector3f scale, Vector2f tcScale, Vector2f tcOffset, float offsetAmount, int totalSize, boolean center) {
argument 81 return this.createMesh(scale, tcScale, tcOffset, offsetAmount, totalSize, center, 1, false, false, false, false);
84 public Mesh createMesh(Vector3f scale, Vector2f tcScale, Vector2f tcOffset, float offsetAmount, int totalSize, boolean center, int lod, boolean rightLod, boolean topLod, boolean leftLod, boolean bottomLod) {
argument 85 FloatBuffer pb = writeVertexArray(null, scale, center);
87 FloatBuffer nb = writeNormalArray(null, scale);
91 writeTangentArray(nb, tanb, bb, texb, scale);
105 public FloatBuffer writeTexCoordArray(FloatBuffer store, Vector2f offset, Vector2f scale, float offsetAmount, int totalSize) {
argument 124 float tx = tcStore.x * scale.x;
125 float ty = tcStore.y * scale.y;
631 public FloatBuffer[] writeTangentArray(FloatBuffer normalBuffer, FloatBuffer tangentStore, FloatBuffer binormalStore, FloatBuffer textureBuffer, Vector3f scale) {
argument 773 writeNormalArray(FloatBuffer store, Vector3f scale) argument 879 getNormal(Vector3f firstPoint, Vector3f rootPoint, Vector3f secondPoint, Vector3f scale, Vector3f store) argument 941 getTriangleAtPoint(float x, float z, Vector3f scale, Vector3f translation) argument 961 getGridTrianglesAtPoint(float x, float z, Vector3f scale, Vector3f translation) argument [all...] |
/external/libvorbis/lib/ |
H A D | mapping0.c | 263 float scale=4.f/n; local 272 scale_dB=todB(&scale) + .345; /* + .345 is a hack; the original
|
/external/linux-tools-perf/util/ |
H A D | evsel.c | 133 int cpu, int thread, bool scale) 136 size_t nv = scale ? 3 : 1; 147 if (scale) { 160 int ncpus, int nthreads, bool scale) 162 size_t nv = scale ? 3 : 1; 178 if (scale) { 186 if (scale) { 132 __perf_evsel__read_on_cpu(struct perf_evsel *evsel, int cpu, int thread, bool scale) argument 159 __perf_evsel__read(struct perf_evsel *evsel, int ncpus, int nthreads, bool scale) argument
|
/external/opencv/cv/src/ |
H A D | cvposit.cpp | 118 float inorm, jnorm, invInorm, invJnorm, invScale, scale = 0, inv_Z = 0; local 229 scale = (inorm + jnorm) / 2.0f; 230 inv_Z = scale * inv_focalLength; 236 invScale = 1 / scale;
|
/external/opencv/cvaux/src/ |
H A D | cvhmmobs.cpp | 546 double t, scale = 1. / sqrt( (double)n ); local 549 cfs[0] = SCALE( scale ); 550 scale *= sqrt2; 551 cfs[1] = SCALE( scale ); 575 double a = a0 * scale; 576 double b = b0 * scale;
|