HomeSort by relevance Sort by last modified time
    Searched refs:sy (Results 1 - 25 of 135) sorted by null

1 2 3 4 5 6

  /frameworks/base/core/jni/android/opengl/
poly.h 35 float sx, sy, sz, sw; /* screen space position (sometimes homo.) */ member in struct:android::__anon8808
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/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 = sqrt(m.c() * m.c() + m.d() * m.d()); local
54 sy = -sy;
58 m.scale(1.0 / sx, 1.0 / sy);
68 sr[1] = sy;
194 AffineTransform& AffineTransform::scale(double sx, double sy)
198 m_transform[2] *= sy;
199 m_transform[3] *= sy;
225 AffineTransform& AffineTransform::scaleNonUniform(double sx, double sy)
227 return scale(sx, sy);
    [all...]
AffineTransform.h 98 AffineTransform& scale(double sx, double sy);
99 AffineTransform& scaleNonUniform(double sx, double sy);
104 AffineTransform& shear(double sx, double sy);
  /external/qemu/android/skin/
scaler.h 35 int sy,
scaler.c 63 int sx, sy; /* source start position in 16.16 format */ member in struct:__anon5892
88 int sy,
110 op.rd.y = (int)(sy * scaler->scale + scaler->ydisp);
112 op.rd.h = (int)(ceil((sy + sh) * scaler->scale + scaler->ydisp)) - op.rd.y;
117 op.sy = (int)((op.rd.y - scaler->ydisp) * scaler->invscale * 65536);
argb.h 236 int sy = op->sy; local
240 src_line += (sx >> 16)*4 + (sy >> 16)*src_pitch;
242 sy &= 0xffff;
249 int sy1 = sy;
300 sy += iy;
301 src_line += (sy >> 16)*src_pitch;
302 sy &= 0xffff;
330 int sy = op->sy; local
465 int sy = op->sy; local
550 int sy = op->sy; local
802 int sy = op->sy; local
    [all...]
  /frameworks/base/graphics/java/android/graphics/
Matrix.java 105 * Set the matrix to scale by sx and sy, with a pivot point at (px, py).
109 public void setScale(float sx, float sy, float px, float py) {
110 native_setScale(native_instance, sx, sy, px, py);
113 /** Set the matrix to scale by sx and sy. */
114 public void setScale(float sx, float sy) {
115 native_setScale(native_instance, sx, sy);
149 * Set the matrix to skew by sx and sy, with a pivot point at (px, py).
157 /** Set the matrix to skew by sx and sy. */
182 * M' = M * S(sx, sy, px, py)
184 public boolean preScale(float sx, float sy, float px, float py)
    [all...]
  /bootable/recovery/minui/
minui.h 36 void gr_blit(gr_surface source, int sx, int sy, int w, int h, int dx, int dy);
  /external/webkit/WebCore/svg/
SVGTransform.idl 40 void setScale(in float sx, in float sy);
SVGTransform.h 60 void setScale(float sx, float sy);
SVGTransform.cpp 106 void SVGTransform::setScale(float sx, float sy)
113 m_matrix.scaleNonUniform(sx, sy);
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
Matrix.java 186 * Set the matrix to scale by sx and sy, with a pivot point at (px, py).
191 public void setScale(float sx, float sy, float px, float py) {
206 addTransform(new float[] { sx, 0, 0, 0, sy, 0, 0, 0, 1 });
211 /** Set the matrix to scale by sx and sy. */
213 public void setScale(float sx, float sy) {
218 mValues[4] = sy;
315 * Set the matrix to skew by sx and sy, with a pivot point at (px, py).
340 /** Set the matrix to skew by sx and sy. */
394 * M' = M * S(sx, sy, px, py)
397 public boolean preScale(float sx, float sy, float px, float py)
670 float ty, sy = dst.height() \/ src.height(); local
    [all...]
  /external/skia/src/core/
SkMatrix.cpp 173 void SkMatrix::setScale(SkScalar sx, SkScalar sy, SkScalar px, SkScalar py) {
175 fMat[kMScaleY] = sy;
177 fMat[kMTransY] = py - SkScalarMul(sy, py);
186 void SkMatrix::setScale(SkScalar sx, SkScalar sy) {
188 fMat[kMScaleY] = sy;
198 bool SkMatrix::preScale(SkScalar sx, SkScalar sy, SkScalar px, SkScalar py) {
200 m.setScale(sx, sy, px, py);
204 bool SkMatrix::preScale(SkScalar sx, SkScalar sy) {
206 m.setScale(sx, sy);
210 bool SkMatrix::postScale(SkScalar sx, SkScalar sy, SkScalar px, SkScalar py)
409 SkScalar ty, sy = SkScalarDiv(dst.height(), src.height()); local
890 SkScalar sy = src->fY; local
912 SkScalar sy = src->fY; local
932 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),
SkPath.cpp 399 SkScalar sy = SkScalarMul(ry, CUBIC_ARC_FACTOR); local
408 rect.fLeft, rect.fTop + ry - sy,
413 this->cubicTo(rect.fLeft, rect.fBottom - ry + sy,
420 rect.fRight, rect.fBottom - ry + sy,
425 this->cubicTo(rect.fRight, rect.fTop + ry - sy,
430 rect.fRight, rect.fTop + ry - sy,
435 this->cubicTo(rect.fRight, rect.fBottom - ry + sy,
442 rect.fLeft, rect.fBottom - ry + sy,
447 this->cubicTo(rect.fLeft, rect.fTop + ry - sy,
515 SkScalar sy = SkScalarMul(ry, CUBIC_ARC_FACTOR)
532 SkScalar sy = SkScalarMul(ry, SK_ScalarTanPIOver8); local
    [all...]
  /external/webkit/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));
  /frameworks/base/core/java/android/view/animation/
ScaleAnimation.java 163 float sy = 1.0f; local
169 sy = mFromY + ((mToY - mFromY) * interpolatedTime);
173 t.getMatrix().setScale(sx, sy);
175 t.getMatrix().setScale(sx, sy, mPivotX, mPivotY);
  /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);
  /frameworks/base/services/surfaceflinger/
LayerDim.cpp 93 const GLint sy = fbHeight - (r.top + r.height()); local
94 glScissor(r.left, sy, r.width(), r.height());
  /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...]
  /frameworks/base/libs/rs/
rsNoise.cpp 126 float rx0, rx1, ry0, ry1, sx, sy, a, b, t, u, v; local
156 sy = noise_sCurve(ry0);
166 return 1.5f*lerpf(a, b, sy);
173 float rx0, rx1, ry0, ry1, rz0, rz1, sy, sz, a, b, c, d, t, u, v; local
209 sy = noise_sCurve(ry0);
220 c = lerpf(a, b, sy);
230 d = lerpf(a, b, sy);
  /external/webkit/WebCore/platform/graphics/
FloatRect.cpp 105 void FloatRect::scale(float sx, float sy)
108 m_location.setY(y() * sy);
110 m_size.setHeight(height() * sy);
  /frameworks/base/core/jni/android/graphics/
Matrix.cpp 70 static void setScale__FFFF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy, jfloat px, jfloat py) {
72 SkScalar sy_ = SkFloatToScalar(sy);
78 static void setScale__FF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy) {
80 SkScalar sy_ = SkFloatToScalar(sy);
134 static jboolean preScale__FFFF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy, jfloat px, jfloat py) {
136 SkScalar sy_ = SkFloatToScalar(sy);
142 static jboolean preScale__FF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy) {
144 SkScalar sy_ = SkFloatToScalar(sy);
184 static jboolean postScale__FFFF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy, jfloat px, jfloat py) {
186 SkScalar sy_ = SkFloatToScalar(sy);
    [all...]

Completed in 997 milliseconds

1 2 3 4 5 6