/external/mesa3d/src/mesa/swrast/ |
s_aatriangle.c | 221 const GLfloat sx = x + samples[i][0]; local 224 GLfloat cross = (dx0 * (sy - v0[1]) - dy0 * (sx - v0[0])); 237 cross = (dx1 * (sy - v1[1]) - dy1 * (sx - v1[0])); 247 cross = (dx2 * (sy - v2[1]) - dy2 * (sx - v2[0]));
|
/external/pixman/pixman/ |
pixman-filter.c | 312 double sx = fabs (pixman_fixed_to_double (scale_x)); local 321 horz = create_1d_filter (&width, reconstruct_x, sample_x, sx, subsample_x);
|
/external/qemu/android/skin/ |
scaler.c | 63 int sx, sy; /* source start position in 16.16 format */ member in struct:__anon26550 88 int sx = srect->pos.x; local 99 drect->pos.x = (int)(sx * scale + scaler->xdisp); 101 drect->size.w = (int)(ceil((sx + sw) * scale + scaler->xdisp)) - drect->pos.x; 109 int sx, 131 op.rd.x = (int)(sx * scaler->scale + scaler->xdisp); 133 op.rd.w = (int)(ceil((sx + sw) * scaler->scale + scaler->xdisp)) - op.rd.x; 138 op.sx = (int)((op.rd.x - scaler->xdisp) * scaler->invscale * 65536);
|
surface.c | 272 int sx; member in struct:__anon26551 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...] |
/external/skia/src/opts/ |
SkBitmapFilter_opts_SSE2.cpp | 64 int sx = SkScalarFloorToInt(srcPt.fX); local 72 int x0 = SkTMax(0, int(ceil(sx-s.getBitmapFilter()->width() + 0.5f))); 73 int x1 = SkTMin(maxX, int(floor(sx+s.getBitmapFilter()->width() + 0.5f))); 134 int sx = SkScalarFloorToInt(srcPt.fX); local 139 int x0 = SkTMax(0, int(ceil(sx-s.getBitmapFilter()->width() + 0.5f))); 140 int x1 = SkTMin(maxX, int(floor(sx+s.getBitmapFilter()->width() + 0.5f)));
|
/frameworks/base/core/java/android/gesture/ |
Gesture.java | 238 final float sx = (width - 2 * inset) / bounds.width(); local 240 final float scale = sx > sy ? sy : sx;
|
GestureStroke.java | 167 float sx = width / rect.width(); local 169 float scale = sx > sy ? sy : sx;
|
/frameworks/native/opengl/tests/gl_basic/ |
gl_basic.cpp | 63 float sx = fy * upZ - fz * upY; local 69 float uy = sz * fx - sx * fz; 70 float uz = sx * fy - sy * fx; 73 m[0] = sx;
|
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/ |
TestLatencyView.java | 119 float sx = (x + dx * step) * mScaleX + mOffsetX; local 124 mTriangleVerticesData2[i] = sx + mTriangleVerticesData[i];
|
/frameworks/native/opengl/tests/tritex/ |
tritex.cpp | 60 float sx = fy * upZ - fz * upY; local 66 float uy = sz * fx - sx * fz; 67 float uz = sx * fy - sy * fx; 70 m[0] = sx;
|
/packages/apps/Camera2/src/com/android/camera/crop/ |
CropDrawingUtils.java | 117 float sx = cropBounds.width() * spotX; local 121 RectF r1 = new RectF(cx - sx / 2, cy - sy / 2, cx + sx / 2, cy + sy / 2); 122 float temp = sx; 123 sx = sy; 125 RectF r2 = new RectF(cx - sx / 2, cy - sy / 2, cx + sx / 2, cy + sy / 2);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
CropDrawingUtils.java | 117 float sx = cropBounds.width() * spotX; local 121 RectF r1 = new RectF(cx - sx / 2, cy - sy / 2, cx + sx / 2, cy + sy / 2); 122 float temp = sx; 123 sx = sy; 125 RectF r2 = new RectF(cx - sx / 2, cy - sy / 2, cx + sx / 2, cy + sy / 2);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
CanvasTransform.java | 139 int sx = (int) (mScale * mFullSize); local 144 int delta = mClientSize - sx; 172 if (sx < cx) { 180 int maximum = sx;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/widgets/ |
ImageCanvas.java | 198 double sx = (double) client.width / (double) rect.width; local 201 if (sx < sy) { 206 0, 0, client.width, (int)(rect.height * sx)); 207 drawBorder(gc, 0, 0, client.width, (int)(rect.height * sx));
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
CandidateView.java | 103 int sx = getScrollX(); 104 sx += distanceX; 105 if (sx < 0) { 106 sx = 0; 108 if (sx + getWidth() > mTotalWidth) { 109 sx -= distanceX; 111 mTargetScrollX = sx; 112 scrollTo(sx, getScrollY()); 221 int sx = getScrollX(); local 222 if (mTargetScrollX > sx) { [all...] |
/external/chromium_org/third_party/icu/source/common/ |
uchar.c | 583 uint16_t sx; local 602 sx=*scx++; 604 scripts[length]=sx&0x7fff; 607 } while(sx<0x8000);
|
/external/icu4c/common/ |
uchar.c | 603 uint16_t sx; local 627 sx=*scx++; 629 scripts[length]=(UScriptCode)(sx&0x7fff); 632 } while(sx<0x8000);
|
/external/pixman/demos/ |
scale.c | 79 compute_extents (pixman_f_transform_t *trans, double *sx, double *sy) 100 *sx = (max_x - min_x) / 2.0; 196 double sx, sy; local 227 compute_extents (&ftransform, &sx, &sy); 234 sx * 65536.0 + 0.5,
|
/external/pixman/test/ |
lowlevel-blt-bench.c | 324 int sx = rand () % (maxw - TILEWIDTH * 2); local 328 call_func (func, op, src_img, mask_img, dst_img, sx, sy, sx, sy, dx, dy, w, h); 359 int sx = rand () % (maxw - TINYWIDTH * 2); local 363 call_func (func, op, src_img, mask_img, dst_img, sx, sy, sx, sy, dx, dy, w, h); [all...] |
/external/skia/tests/ |
MatrixTest.cpp | 504 SkScalar sx = rand.nextRangeF(-3000.f, 3000.f); local 508 mat.postScale(sx, sy);
|
/frameworks/native/services/surfaceflinger/ |
DisplayDevice.cpp | 428 float sx = dst_width / src_width; local 430 S.set(sx, 0, 0, sy);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
SpriteTextRenderer.java | 231 float sx = mScratch[4]; local 235 float tx = sx - width * 0.5f;
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_aaline.c | 287 const GLfloat sx = x + samples[i][0]; local 289 const GLfloat fx0 = sx - info->qx0; 291 const GLfloat fx1 = sx - info->qx1; 293 const GLfloat fx2 = sx - info->qx2; 295 const GLfloat fx3 = sx - info->qx3;
|
/external/chromium_org/third_party/skia/src/effects/ |
SkBicubicImageFilter.cpp | 121 int sx = SkScalarFloorToInt(srcPt.fX); local 123 int x0 = SkClampMax(sx - 1, src.width() - 1); 124 int x1 = SkClampMax(sx , src.width() - 1); 125 int x2 = SkClampMax(sx + 1, src.width() - 1); 126 int x3 = SkClampMax(sx + 2, src.width() - 1);
|
/external/jmonkeyengine/engine/src/core/com/jme3/font/ |
LetterQuad.java | 408 float sx = x0+alignX;
local 410 float ex = sx+width;
414 fb.put(sx).put(sy).put(0f);
415 fb.put(sx).put(ey).put(0f);
|