/frameworks/base/core/jni/android/opengl/ |
H A D | poly.h | 35 float sx, sy, sz, sw; /* screen space position (sometimes homo.) */ member in struct:android::__anon20
|
H A D | 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);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | 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) { argument 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) { argument 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, floa argument 192 preScale(float sx, float sy) argument 248 postScale(float sx, float sy, float px, float py) argument 256 postScale(float sx, float sy) argument 605 native_setScale(int native_object, float sx, float sy, float px, float py) argument 607 native_setScale(int native_object, float sx, float sy) argument 625 native_preScale(int native_object, float sx, float sy, float px, float py) argument 627 native_preScale(int native_object, float sx, float sy) argument 641 native_postScale(int native_object, float sx, float sy, float px, float py) argument 643 native_postScale(int native_object, float sx, float sy) argument [all...] |
H A D | Canvas.java | 371 * @param sy The amount to scale in Y 373 public native void scale(float sx, float sy); argument 379 * @param sy The amount to scale in Y 383 public final void scale(float sx, float sy, float px, float py) { argument 385 scale(sx, sy); 413 * @param sy The amount to skew in Y 415 public native void skew(float sx, float sy); argument
|
H A D | Bitmap.java | 347 final float sy = dstHeight / (float)height; 348 m.setScale(sx, sy);
|
/frameworks/base/core/java/android/view/animation/ |
H A D | ScaleAnimation.java | 163 float sy = 1.0f; 169 sy = mFromY + ((mToY - mFromY) * interpolatedTime); 173 t.getMatrix().setScale(sx, sy); 175 t.getMatrix().setScale(sx, sy, mPivotX, mPivotY);
|
/frameworks/base/services/surfaceflinger/ |
H A D | LayerDim.cpp | 93 const GLint sy = fbHeight - (r.top + r.height()); local 94 glScissor(r.left, sy, r.width(), r.height());
|
H A D | LayerBase.cpp | 297 const GLint sy = fbHeight - (r.top + r.height()); local 298 glScissor(r.left, sy, r.width(), r.height()); 337 const GLint sy = fbHeight - (r.top + r.height()); local 338 glScissor(r.left, sy, r.width(), r.height()); 484 const GLint sy = fbHeight - (r.top + r.height()); local 485 glScissor(r.left, sy, r.width(), r.height());
|
H A D | LayerBlur.cpp | 239 const GLint sy = fbHeight - (r.top + r.height()); local 240 glScissor(r.left, sy, r.width(), r.height());
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Matrix_Delegate.java | 251 /*package*/ static void native_setScale(int native_object, float sx, float sy, argument 258 d.mValues = getScale(sx, sy, px, py); 262 /*package*/ static void native_setScale(int native_object, float sx, float sy) { argument 272 d.mValues[4] = sy; 397 /*package*/ static boolean native_preScale(int native_object, float sx, float sy, argument 404 d.preTransform(getScale(sx, sy, px, py)); 409 /*package*/ static boolean native_preScale(int native_object, float sx, float sy) { argument 415 d.preTransform(getScale(sx, sy)); 497 /*package*/ static boolean native_postScale(int native_object, float sx, float sy, argument 504 d.postTransform(getScale(sx, sy, p 509 native_postScale(int native_object, float sx, float sy) argument 1025 getScale(float sx, float sy) argument 1036 getScale(float sx, float sy, float px, float py) argument [all...] |
/frameworks/base/core/java/android/gesture/ |
H A D | GestureUtils.java | 100 float sy = targetPatchSize / gestureHeight; 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) { 585 scale(float[] points, float sx, float sy) argument [all...] |
H A D | GestureStroke.java | 168 float sy = height / rect.height(); 169 float scale = sx > sy ? sy : sx;
|
H A D | Gesture.java | 239 final float sy = (height - 2 * inset) / bounds.height(); 240 final float scale = sx > sy ? sy : sx;
|
/frameworks/base/libs/rs/ |
H A D | 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);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Matrix.cpp | 70 static void setScale__FFFF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy, jfloat px, jfloat py) { argument 72 SkScalar sy_ = SkFloatToScalar(sy); 78 static void setScale__FF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy) { argument 80 SkScalar sy_ = SkFloatToScalar(sy); 134 static jboolean preScale__FFFF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy, jfloat px, jfloat py) { argument 136 SkScalar sy_ = SkFloatToScalar(sy); 142 static jboolean preScale__FF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy) { argument 144 SkScalar sy_ = SkFloatToScalar(sy); 184 static jboolean postScale__FFFF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy, jfloat px, jfloat py) { argument 186 SkScalar sy_ = SkFloatToScalar(sy); 192 postScale__FF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy) argument [all...] |
H A D | Movie.cpp | 78 SkScalar sy = SkFloatToScalar(fy); local 82 c->drawBitmap(b, sx, sy, p);
|
H A D | Canvas.cpp | 200 static void scale__FF(JNIEnv* env, jobject jcanvas, jfloat sx, jfloat sy) { argument 203 SkScalar sy_ = SkFloatToScalar(sy); 213 static void skew__FF(JNIEnv* env, jobject jcanvas, jfloat sx, jfloat sy) { argument 216 SkScalar sy_ = SkFloatToScalar(sy);
|
/frameworks/base/opengl/tests/gl_jni/jni/ |
H A D | gl_code.cpp | 50 float sy = fz * upX - fx * upZ; local 54 float ux = sy * fz - sz * fy; 56 float uz = sx * fy - sy * fx; 64 m[4] = sy;
|
/frameworks/base/opengl/tests/tritex/ |
H A D | tritex.cpp | 61 float sy = fz * upX - fx * upZ; local 65 float ux = sy * fz - sz * fy; 67 float uz = sx * fy - sy * fx; 75 m[4] = sy;
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | Matrix.java | 384 * Scales matrix m in place by sx, sy, and sz 561 float sy = (float) Math.sin(y); 564 float cxsy = cx * sy; 565 float sxsy = sx * sy; 569 rm[rmOffset + 2] = sy; 624 float sy = fz * upX - fx * upZ; 628 float rls = 1.0f / Matrix.length(sx, sy, sz); 630 sy *= rls; 634 float ux = sy * fz - sz * fy; 636 float uz = sx * fy - sy * f [all...] |
/frameworks/base/opengl/tests/gl_basic/ |
H A D | gl_basic.cpp | 64 float sy = fz * upX - fx * upZ; local 68 float ux = sy * fz - sz * fy; 70 float uz = sx * fy - sy * fx; 78 m[4] = sy;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 438 public void scale(float sx, float sy) { argument 441 layer.getGraphics().scale(sx, sy); 447 mTransform.scale(sx, sy);
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebView.java | 1484 int sy = b.getInt("scrollY", 0); 1489 mScrollY = sy; 2327 float sy = ratio * oldY + (ratio - 1) 2342 // pinScrollTo(Math.round(sx), Math.round(sy)); 2344 mScrollY = pinLocY(Math.round(sy)); 4847 float sy = computeStretch(mStartY - y, mMinDY, mMaxDY); 4851 sy = 0; 4856 if (mCurrStretchX != sx || mCurrStretchY != sy) { 4858 mCurrStretchY = sy; 4861 " " + sy); 4940 buildBitmap(int sx, int sy) argument 4959 onStretchChange(float sx, float sy) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ViewGroup.java | 1565 final int sy = child.mScrollY; 1579 canvas.translate(cl - sx, ct - sy); 1597 transY = -sy; 1615 canvas.saveLayerAlpha(sx, sy, sx + cr - cl, sy + cb - ct, multipliedAlpha, 1627 canvas.clipRect(sx, sy, sx + (cr - cl), sy + (cb - ct));
|
/frameworks/base/opengl/libagl/ |
H A D | matrix.cpp | 699 GLfloat sy = div2f(h); local 700 GLfloat oy = sy - y + (H - h); 710 f[1] = 0; f[5] =-sy; f[ 9] = 0; f[13] = oy;
|