Searched refs:scale (Results 51 - 75 of 715) sorted by relevance

1234567891011>>

/external/webkit/Source/WebCore/svg/
H A DSVGTransformDistance.cpp77 float scaleX = toSVGTransform.scale().width() - fromSVGTransform.scale().width();
78 float scaleY = toSVGTransform.scale().height() - fromSVGTransform.scale().height();
98 return SVGTransformDistance(m_type, m_angle * scaleFactor, m_cx * scaleFactor, m_cy * scaleFactor, AffineTransform(m_transform).scale(scaleFactor));
138 FloatSize scale = first.scale() + second.scale(); local
139 transform.setScale(scale.width(), scale
213 FloatSize scale = transform.scale(); local
[all...]
H A DSVGFEDisplacementMapElement.idl42 readonly attribute SVGAnimatedNumber scale;
/external/skia/src/core/
H A DSkUnPreMultiply.cpp13 const Scale scale = GetScale(a); local
15 ApplyScale(scale, SkGetPackedR32(c)),
16 ApplyScale(scale, SkGetPackedG32(c)),
17 ApplyScale(scale, SkGetPackedB32(c)));
58 uint32_t scale; local
61 scale = 0;
63 scale = ((255 << 24) + (i >> 1)) / i;
66 SkDebugf(" 0x%08X,", scale);
73 uint32_t test = (j * scale + (1 << 23)) >> 24;
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
H A DSurfaceBacking.cpp72 // 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 DTile.h97 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/
H A DImage.cpp121 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...]
/external/apache-harmony/math/src/test/java/org/apache/harmony/tests/java/math/
H A DBigDecimalConstructorsTest.java73 assertEquals("incorrect scale", 0, aNumber.scale());
84 * new BigDecimal(BigInteger value, int scale)
92 assertEquals("incorrect scale", aScale, aNumber.scale());
108 assertEquals("incorrect scale", resScale, result.scale());
112 * new BigDecimal(BigInteger value, int scale, MathContext)
125 assertEquals("incorrect scale", resScale, result.scale());
[all...]
H A DBigDecimalArithmeticTest.java46 assertEquals("incorrect scale", cScale, result.scale());
64 assertEquals("incorrect scale", cScale, result.scale());
81 assertEquals("incorrect scale", cScale, result.scale());
99 assertEquals("incorrect scale", cScale, result.scale());
116 assertEquals("incorrect scale", cScale, result.scale());
[all...]
/external/chromium/chrome/browser/resources/shared/js/cr/
H A Dlocale.js13 var scale = [1, 1e3, 1e6, 1e9, 1e12, 1e15];
57 if (bytes < scale[i + 1])
58 return fmt(scale[i], units[i]);
61 return fmt(scale[i], units[i]);
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/animations/
H A DIpo.java140 float[] scale = new float[] { 1.0f, 1.0f, 1.0f };
184 scale[0] = (float) value;
188 scale[2] = (float) value;
190 scale[1] = (float) value;
194 scale[fixUpAxis && spatialTrack ? 1 : 2] = (float) value;
226 scales[index] = new Vector3f(scale[0], scale[1], scale[2]);
/external/webkit/Source/WebCore/platform/graphics/filters/
H A DFEDisplacementMap.cpp38 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
/external/webkit/Tools/WebKitTestRunner/InjectedBundle/Bindings/
H A DEventSendingController.idl39 void scalePageBy(in double scale, in double x, in double y);
/external/qemu/android/
H A Dqemulator.c52 double scale = get_default_scale(emulator->opts); local
54 emulator->window = skin_window_create( layout, emulator->win_x, emulator->win_y, scale, 0);
273 double scale = 0.0; local
275 /* possible values for the 'scale' option are
276 * 'auto' : try to determine the scale automatically
277 * '<number>dpi' : indicates the host monitor dpi, compute scale accordingly
278 * '<fraction>' : use direct scale coefficient
281 if (opts->scale) {
282 if (!strcmp(opts->scale, "auto"))
297 scale
603 android_emulator_set_window_scale( double scale, int is_dpi ) argument
[all...]
/external/compiler-rt/lib/
H A Dmuldf3.c29 int scale = 0; local
62 // normal number. Renormalize one or both of a and b, and set scale to
64 if (aAbs < implicitBit) scale += normalize(&aSignificand);
65 if (bAbs < implicitBit) scale += normalize(&bSignificand);
83 int productExponent = aExponent + bExponent - exponentBias + scale;
H A Dmulsf3.c29 int scale = 0; local
62 // normal number. Renormalize one or both of a and b, and set scale to
64 if (aAbs < implicitBit) scale += normalize(&aSignificand);
65 if (bAbs < implicitBit) scale += normalize(&bSignificand);
83 int productExponent = aExponent + bExponent - exponentBias + scale;
/external/iproute2/lib/
H A Ddnet_ntop.c19 static __inline__ int do_digit(char *str, u_int16_t *addr, u_int16_t scale, size_t *pos, size_t len, int *started) argument
21 u_int16_t tmp = *addr / scale;
26 if (((tmp) > 0) || *started || (scale == 1)) {
30 *addr -= (tmp * scale);
/external/jmonkeyengine/engine/src/core/com/jme3/animation/
H A DBone.java192 * Returns the local scale of the bone, relative to the parent bone.
194 * @return The local scale of the bone, relative to the parent bone.
219 * Returns the scale of the bone in model space.
221 * @return The scale of the bone in model space.
252 * Returns the inverse world bind pose scale.
257 * @return the inverse world bind pose scale.
288 * Returns the world bind pose scale.
293 * @return the world bind pose scale.
330 //scale
331 //For scale paren
437 setUserTransforms(Vector3f translation, Quaternion rotation, Vector3f scale) argument
508 setAnimTransforms(Vector3f translation, Quaternion rotation, Vector3f scale) argument
525 blendAnimTransforms(Vector3f translation, Quaternion rotation, Vector3f scale, float weight) argument
559 setBindTransforms(Vector3f translation, Quaternion rotation, Vector3f scale) argument
[all...]
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/
H A DBasis.java67 public Basis setScale(float scale); argument
/external/qemu/android/skin/
H A Dscaler.h19 /* create a new image scaler. by default, it uses a scale of 1.0 */
22 /* change the scale of a given scaler. returns 0 on success, or -1 in case of
23 * problem (unsupported scale) */
25 double scale,
/external/webkit/Source/WebCore/platform/graphics/android/
H A DGLWebViewState.h100 // 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/aac/libAACenc/src/
H A Dquantize.cpp271 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/jmonkeyengine/engine/src/core-effects/com/jme3/post/ssao/
H A DSSAOFilter.java69 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/skia/include/utils/
H A DSkMatrix44.h154 void setScale(SkMScalar scale) { argument
155 this->setScale(scale, scale, scale);
157 void preScale(SkMScalar scale) { argument
158 this->preScale(scale, scale, scale);
160 void postScale(SkMScalar scale) { argument
161 this->postScale(scale, scal
[all...]
/external/webkit/Source/WebCore/platform/audio/
H A DAudioChannel.cpp44 void AudioChannel::scale(double scale) argument
46 float s = static_cast<float>(scale);
/external/webkit/Source/WebCore/platform/chromium/
H A DDragImageChromiumSkia.cpp57 DragImageRef scaleDragImage(DragImageRef image, FloatSize scale) argument
62 int imageWidth = scale.width() * image->width();
63 int imageHeight = scale.height() * image->height();

Completed in 917 milliseconds

1234567891011>>