Searched defs:sx (Results 1 - 25 of 42) sorted by relevance

12

/external/fdlibm/
H A De_remainder.c40 unsigned sx,lx,lp; local
47 sx = hx&0x80000000;
75 __HI(x) ^= sx;
H A Ds_rint.c43 int i0,j0,sx; local
47 sx = (i0>>31)&1;
57 w = TWO52[sx]+x;
58 t = w-TWO52[sx];
60 __HI(t) = (i0&0x7fffffff)|(sx<<31);
82 w = TWO52[sx]+x;
83 return w-TWO52[sx];
H A De_fmod.c35 int n,hx,hy,hz,ix,iy,sx,i; local
42 sx = hx&0x80000000; /* sign of x */
43 hx ^=sx; /* |x| */
53 return Zero[(unsigned)sx>>31]; /* |x|=|y| return x*0*/
107 return Zero[(unsigned)sx>>31];
116 return Zero[(unsigned)sx>>31];
123 __HI(x) = hx|sx;
131 lx = (hx<<(32-n))|(lx>>n); hx = sx;
133 lx = hx>>(n-32); hx = sx;
135 __HI(x) = hx|sx;
[all...]
/external/webkit/WebCore/platform/graphics/
H A DFloatRect.cpp105 void FloatRect::scale(float sx, float sy) argument
107 m_location.setX(x() * sx);
109 m_size.setWidth(width() * sx);
/external/webkit/WebCore/platform/graphics/transforms/
H A DScaleTransformOperation.h34 static PassRefPtr<ScaleTransformOperation> create(double sx, double sy, OperationType type) argument
36 return adoptRef(new ScaleTransformOperation(sx, sy, 1, type));
39 static PassRefPtr<ScaleTransformOperation> create(double sx, double sy, double sz, OperationType type) argument
41 return adoptRef(new ScaleTransformOperation(sx, sy, sz, type));
70 ScaleTransformOperation(double sx, double sy, double sz, OperationType type) argument
71 : m_x(sx)
H A DAffineTransform.cpp44 double sx = sqrt(m.a() * m.a() + m.b() * m.b()); local
52 sx = -sx;
58 m.scale(1.0 / sx, 1.0 / sy);
67 sr[0] = sx;
194 AffineTransform& AffineTransform::scale(double sx, double sy) argument
196 m_transform[0] *= sx;
197 m_transform[1] *= sx;
225 AffineTransform& AffineTransform::scaleNonUniform(double sx, double sy) argument
227 return scale(sx, s
245 shear(double sx, double sy) argument
[all...]
/external/webkit/WebCore/svg/
H A DSVGTransform.cpp106 void SVGTransform::setScale(float sx, float sy) argument
113 m_matrix.scaleNonUniform(sx, sy);
/external/qemu/android/skin/
H A Dcomposer.c345 skin_viewport( SkinPlate* space, SkinRect* rect, void* surface, int sx, int sy ) argument
352 v->spos.x = sx;
H A Dscaler.c63 int sx, sy; /* source start position in 16.16 format */ member in struct:__anon3348
87 int sx,
109 op.rd.x = (int)(sx * scaler->scale + scaler->xdisp);
111 op.rd.w = (int)(ceil((sx + sw) * scaler->scale + scaler->xdisp)) - op.rd.x;
116 op.sx = (int)((op.rd.x - scaler->xdisp) * scaler->invscale * 65536);
84 skin_scaler_scale( SkinScaler* scaler, SDL_Surface* dst_surface, SDL_Surface* src_surface, int sx, int sy, int sw, int sh ) argument
H A Dsurface.c272 int sx; member in struct:__anon3349
345 int sx = src_rect->pos.x; local
353 sx -= x;
356 if (sx < 0) {
357 w += sx;
358 x -= sx;
359 sx = 0;
366 delta = (sx + w) - src->surface->w;
394 blit->sx = sx;
[all...]
H A Dargb.h235 int sx = op->sx; local
240 src_line += (sx >> 16)*4 + (sy >> 16)*src_pitch;
241 sx &= 0xffff;
248 int sx1 = sx;
329 int sx = op->sx; local
334 src_line += (sx >> 16)*4 + (sy >> 16)*src_pitch;
335 sx &= 0xffff;
342 int sx1 = sx;
464 int sx = op->sx; local
549 int sx = op->sx; local
801 int sx = op->sx; local
[all...]
/external/skia/src/effects/
H A DSk1DPathEffect.cpp97 SkScalar sx = src[i].fX; local
100 meas.getPosTan(dist + sx, &pos, &tangent);
105 pt.set(sx, sy);
107 matrix.preTranslate(-sx, 0);
/external/webkit/WebKit/android/plugins/
H A DANPMatrixInterface.cpp84 static void anp_preScale(ANPMatrix* matrix, float sx, float sy) { argument
85 matrix->preScale(SkFloatToScalar(sx), SkFloatToScalar(sy));
88 static void anp_postScale(ANPMatrix* matrix, float sx, float sy) { argument
89 matrix->postScale(SkFloatToScalar(sx), SkFloatToScalar(sy));
H A DANPCanvasInterface.cpp51 static void anp_scale(ANPCanvas* canvas, float sx, float sy) { argument
52 canvas->skcanvas->scale(SkFloatToScalar(sx), SkFloatToScalar(sy));
/external/skia/src/core/
H A DSkStrokerPriv.cpp37 SkScalar sx = SkScalarMul(nx, CUBIC_ARC_FACTOR); local
40 path->cubicTo(px + nx + CWX(sx, sy), py + ny + CWY(sx, sy),
41 px + CWX(nx, ny) + sx, py + CWY(nx, ny) + sy,
43 path->cubicTo(px + CWX(nx, ny) - sx, py + CWY(nx, ny) - sy,
44 px - nx + CWX(sx, sy), py - ny + CWY(sx, sy),
H A DSkBitmap.cpp1008 int SkBitmap::extractMipLevel(SkBitmap* dst, SkFixed sx, SkFixed sy) { argument
1013 int level = ComputeMipLevel(sx, sy) >> 16;
1031 SkFixed SkBitmap::ComputeMipLevel(SkFixed sx, SkFixed sy) { argument
1032 sx = SkAbs32(sx);
1034 if (sx < sy) {
1035 sx = sy;
1037 if (sx < SK_Fixed1) {
1040 int clz = SkCLZ(sx);
1042 return SkIntToFixed(15 - clz) + ((unsigned)(sx << (cl
[all...]
/external/webkit/WebCore/platform/graphics/android/
H A DAndroidAnimation.cpp247 float sx = m_toScaleX; local
249 m_fromScaleX = sx;
273 float sx = m_fromScaleX + (m_toScaleX - m_fromScaleX) * progress; local
282 layer->setScale(sx, sy);
H A DImageAndroid.cpp167 float sx, float sy)
169 dst->set(SkScalarRound(SkFloatToScalar(src.x() * sx)),
171 SkScalarRound(SkFloatToScalar((src.x() + src.width()) * sx)),
166 round_scaled(SkIRect* dst, const WebCore::FloatRect& src, float sx, float sy) argument
/external/skia/src/gl/
H A DSkGL.h238 static inline void Scale(SkScalar sx, SkScalar sy) { argument
239 MAKE_GL(glScale)(SkScalarToGL(sx), SkScalarToGL(sy), SK_GLScalar1);
/external/skia/src/utils/
H A DSkNWayCanvas.cpp85 bool SkNWayCanvas::scale(SkScalar sx, SkScalar sy) { argument
88 iter->scale(sx, sy);
90 return this->INHERITED::scale(sx, sy);
101 bool SkNWayCanvas::skew(SkScalar sx, SkScalar sy) { argument
104 iter->skew(sx, sy);
106 return this->INHERITED::skew(sx, sy);
H A DSkProxyCanvas.cpp46 bool SkProxyCanvas::scale(SkScalar sx, SkScalar sy) { argument
47 return fProxy->scale(sx, sy);
54 bool SkProxyCanvas::skew(SkScalar sx, SkScalar sy) { argument
55 return fProxy->skew(sx, sy);
/external/skia/tests/
H A DMathTest.cpp205 SkScalar sx = rand.nextSScalar1(); local
206 REPORTER_ASSERT(reporter, SkScalarCopySign(sx, sx) == sx);
207 REPORTER_ASSERT(reporter, SkScalarCopySign(sx, -sx) == -sx);
208 REPORTER_ASSERT(reporter, SkScalarCopySign(-sx, sx) == sx);
[all...]
/external/qemu/distrib/sdl-1.2.12/src/video/ipod/
H A DSDL_ipodvideo.c572 static void M_update_display(int sx, int sy, int mx, int my) argument
577 sx >>= 3;
580 cursor_pos = sx + (sy << 5);
592 img_data = ipod_scr + (sx << 1) + (y * (lcd_width/4));
595 for ( x = sx; x <= mx; x++ ) {
647 static void C_update_display(int sx, int sy, int mx, int my) argument
650 int width = (mx - sx) + 1;
658 C_lcd_cmd_data(0x13, (((SDL_VideoSurface->w - 1) - sx) & 0xff));
662 C_lcd_cmd_data(0x16, (((((SDL_VideoSurface->w - 1) - sx) - width) + 1) & 0xff));
664 addr += sx
[all...]
/external/stlport/test/unit/
H A Dstring_test.cpp155 string sx = func( s ); local
/external/proguard/src/proguard/gui/splash/
H A DOverrideGraphics2D.java534 public void scale(double sx, double sy) argument
536 graphics.scale(sx, sy);

Completed in 205 milliseconds

12