/cts/apps/CtsVerifier/lib/colorchecker/ |
grouping.h | 46 int sy,
52 stack.push_back(POS(sx,sy));
55 sy = stack.back().second;
62 if (pField->mask[sy][x]!=0) break;
63 if (id != (*pField)(sy,x)) {
65 new_pos->second =sy;
68 pField->mask[sy][x] = id_no;
72 if (pField->mask[sy][x]!=0) break;
73 if (id != (*pField)(sy,x)) {
75 new_pos->second =sy;
126 int sx = width \/ 2, sy = height \/ 2; local [all...] |
/frameworks/base/core/jni/android/opengl/ |
poly.h | 35 float sx, sy, sz, sw; /* screen space position (sometimes homo.) */ member in struct:android::__anon14488
|
poly_clip.cpp | 52 * s[index] is sx, sy, or sz (screen space x, y, or z). 95 * using the homogeneous screen coordinates (sx, sy, sz, sw) of each vertex, 119 if (v->sy < -sw) y0out++; /* out on top */ 120 if (v->sy > sw) y1out++; /* out on bottom */ 144 if (y0out) CLIP_AND_SWAP(sy, -1.0f, -1.0f, p, q, r); 145 if (y1out) CLIP_AND_SWAP(sy, 1.0f, 1.0f, p, q, r);
|
/external/webkit/Source/WebCore/platform/graphics/transforms/ |
ScaleTransformOperation.h | 34 static PassRefPtr<ScaleTransformOperation> create(double sx, double sy, OperationType type) 36 return adoptRef(new ScaleTransformOperation(sx, sy, 1, type)); 39 static PassRefPtr<ScaleTransformOperation> create(double sx, double sy, double sz, OperationType type) 41 return adoptRef(new ScaleTransformOperation(sx, sy, sz, type)); 70 ScaleTransformOperation(double sx, double sy, double sz, OperationType type) 72 , m_y(sy)
|
AffineTransform.cpp | 45 double sy = matrix.yScale(); local 54 sy = -sy; 58 m.scale(1.0 / sx, 1.0 / sy); 68 sr[1] = sy; 202 AffineTransform& AffineTransform::scale(double sx, double sy) 206 m_transform[2] *= sy; 207 m_transform[3] *= sy; 225 AffineTransform& AffineTransform::scaleNonUniform(double sx, double sy) 227 return scale(sx, sy); [all...] |
/frameworks/base/libs/hwui/ |
Matrix.h | 76 void loadScale(float sx, float sy, float sz); 77 void loadSkew(float sx, float sy); 97 void scale(float sx, float sy, float sz) { 99 u.loadScale(sx, sy, sz); 103 void skew(float sx, float sy) { 105 u.loadSkew(sx, sy);
|
/external/qemu/android/skin/ |
scaler.c | 63 int sx, sy; /* source start position in 16.16 format */ member in struct:__anon9474 89 int sy = srect->pos.y; local 100 drect->pos.y = (int)(sy * scale + scaler->ydisp); 102 drect->size.h = (int)(ceil((sy + sh) * scale + scaler->ydisp)) - drect->pos.y; 110 int sy, 132 op.rd.y = (int)(sy * scaler->scale + scaler->ydisp); 134 op.rd.h = (int)(ceil((sy + sh) * scaler->scale + scaler->ydisp)) - op.rd.y; 139 op.sy = (int)((op.rd.y - scaler->ydisp) * scaler->invscale * 65536);
|
scaler.h | 41 int sy,
|
argb.h | 230 int sy = op->sy; local 236 src_line += (sx >> 16)*4 + (sy >> 16)*src_pitch; 238 sy &= 0xffff; 245 int sy1 = sy; 296 sy += iy; 297 src_line += (sy >> 16)*src_pitch; 298 sy &= 0xffff; 326 int sy = op->sy; local 463 int sy = op->sy; local 550 int sy = op->sy; local 804 int sy = op->sy; local [all...] |
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/sdkman2/ |
ShellSizeAndPos.java | 43 private static final String SY = "_sy"; //$NON-NLS-1$
52 int sy = Integer.parseInt(props.getProperty(prefix + SY));
local 55 Point p2 = new Point(px + sx, py + sy);
56 Rectangle r = new Rectangle(px, py, sy, sy);
85 sy = Math.min(sy, area.height);
87 py = area.y + (area.height - sy) / 2;
91 shell.setSize(sx, sy);
[all...] |
/external/skia/gpu/include/ |
FlingState.h | 32 void reset(float sx, float sy);
|
/frameworks/base/graphics/java/android/graphics/ |
Matrix.java | 62 public void setScale(float sx, float sy, float px, float py) { 67 public void setScale(float sx, float sy) { 114 public boolean preScale(float sx, float sy, float px, float py) { 120 public boolean preScale(float sx, float sy) { 162 public boolean postScale(float sx, float sy, float px, float py) { 168 public boolean postScale(float sx, float sy) { 290 * Set the matrix to scale by sx and sy, with a pivot point at (px, py). 294 public void setScale(float sx, float sy, float px, float py) { 295 native_setScale(native_instance, sx, sy, px, py); 298 /** Set the matrix to scale by sx and sy. * [all...] |
/external/webkit/Source/WebKit/efl/ewk/ |
ewk_view_single.c | 202 Evas_Coord sx, sy, sw, sh; local 208 sy = sr->y; 215 sr->dx, sr->dy, sx, sy, sw, sh); 216 ewk_view_repaint_add(sd->_priv, sx, sy, sw, sh); 224 if (sy < 0) { 225 sh += sy; 226 sy = 0; 231 if (sy + sh > oh) 232 sh = oh - sy; 244 sr->dx, sr->dy, sx, sy, sw, sh + sr->dy 444 int sx, sy; local [all...] |
ewk_view_tiled.c | 96 Evas_Coord sx, sy, sw, sh; local 99 sy = sr->y; 106 sr->dx, sr->dy, sx, sy, sw, sh); 107 ewk_view_repaint_add(sd->_priv, sx, sy, sw, sh); 113 if (sy + sh > vh) 114 sh = vh - sy; 125 sy -= abs(sr->dy); 128 ewk_view_repaint_add(sd->_priv, sx, sy, sw, sh); 140 int sx, sy; local 142 ewk_frame_scroll_pos_get(sd->main_frame, &sx, &sy); [all...] |
/frameworks/base/services/surfaceflinger/ |
LayerDim.cpp | 68 const GLint sy = fbHeight - (r.top + r.height()); local 69 glScissor(r.left, sy, r.width(), r.height());
|
/external/skia/src/core/ |
SkMatrix.cpp | 198 void SkMatrix::setScale(SkScalar sx, SkScalar sy, SkScalar px, SkScalar py) { 200 fMat[kMScaleY] = sy; 202 fMat[kMTransY] = py - SkScalarMul(sy, py); 211 void SkMatrix::setScale(SkScalar sx, SkScalar sy) { 213 fMat[kMScaleY] = sy; 223 bool SkMatrix::preScale(SkScalar sx, SkScalar sy, SkScalar px, SkScalar py) { 225 m.setScale(sx, sy, px, py); 229 bool SkMatrix::preScale(SkScalar sx, SkScalar sy) { 232 m.setScale(sx, sy); 244 fMat[kMSkewX] = SkScalarMul(fMat[kMSkewX], sy); 452 SkScalar ty, sy = SkScalarDiv(dst.height(), src.height()); local 952 SkScalar sy = src->fY; local 974 SkScalar sy = src->fY; local 994 SkScalar sy = src->fY; local [all...] |
SkStrokerPriv.cpp | 38 SkScalar sy = SkScalarMul(ny, 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),
|
/external/webkit/Source/WebKit/android/plugins/ |
ANPMatrixInterface.cpp | 84 static void anp_preScale(ANPMatrix* matrix, float sx, float sy) { 85 matrix->preScale(SkFloatToScalar(sx), SkFloatToScalar(sy)); 88 static void anp_postScale(ANPMatrix* matrix, float sx, float sy) { 89 matrix->postScale(SkFloatToScalar(sx), SkFloatToScalar(sy));
|
/development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/ |
AccelerometerPlayActivity.java | 161 public void computePhysics(float sx, float sy, float dT, float dTC) { 165 final float gy = -sy * m; 242 private void updatePositions(float sx, float sy, long timestamp) { 251 ball.computePhysics(sx, sy, dT, dTC); 264 public void update(float sx, float sy, long now) { 266 updatePositions(sx, sy, now); 430 final float sy = mSensorY; local 432 particleSystem.update(sx, sy, now);
|
/external/skia/gpu/src/ |
FlingState.cpp | 58 void FlingState::reset(float sx, float sy) { 60 fDirection.set(sx, sy);
|
/external/webkit/Source/WebCore/svg/ |
SVGMatrix.h | 57 SVGMatrix scaleNonUniform(double sx, double sy) 60 copy.scale(sx, sy);
|
SVGTransform.idl | 40 [StrictTypeChecking, RequiresAllArguments=Raise] void setScale(in float sx, in float sy);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Matrix_Delegate.java | 251 /*package*/ static void native_setScale(int native_object, float sx, float sy, 258 d.mValues = getScale(sx, sy, px, py); 262 /*package*/ static void native_setScale(int native_object, float sx, float sy) { 272 d.mValues[4] = sy; 397 /*package*/ static boolean native_preScale(int native_object, float sx, float sy, 404 d.preTransform(getScale(sx, sy, px, py)); 409 /*package*/ static boolean native_preScale(int native_object, float sx, float sy) { 415 d.preTransform(getScale(sx, sy)); 497 /*package*/ static boolean native_postScale(int native_object, float sx, float sy, 504 d.postTransform(getScale(sx, sy, px, py)) 600 float ty, sy = dst.height() \/ src.height(); local [all...] |
/frameworks/base/core/java/android/gesture/ |
GestureUtils.java | 100 float sy = targetPatchSize / gestureHeight; local 103 float scale = sx < sy ? sx : sy; 105 sy = scale; 113 float scale = sx < sy ? sx : sy; 115 sy = scale; 117 if (sx > sy) { 118 float scale = sy * NONUNIFORM_SCALE; 124 if (scale < sy) { [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SwtUtils.java | 282 for (int dy = dy1, sy = sy1; dy < dy2; dy++, sy++) { 284 destData.setPixel(dx, dy, srcData.getPixel(sx, sy)); 294 for (int dy = dy1, sy = sy1; dy < dy2; dy++, sy = (dy - dy1) * syDelta / dyDelta 298 assert sx < sx2 && sy < sy2; 299 destData.setPixel(dx, dy, srcData.getPixel(sx, sy));
|