/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::__anon962
|
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/libs/hwui/ |
H A D | 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) { argument 99 u.loadScale(sx, sy, sz); 103 void skew(float sx, float sy) { argument 105 u.loadSkew(sx, sy);
|
H A D | DisplayListRenderer.cpp | 398 float sy = getFloat(); local 399 ALOGD("%s%s %.2f, %.2f", (char*) indent, OP_NAMES[op], sx, sy); 404 float sy = getFloat(); local 405 ALOGD("%s%s %.2f, %.2f", (char*) indent, OP_NAMES[op], sx, sy); 986 float sy = getFloat(); local 987 DISPLAY_LIST_LOGD("%s%s %.2f, %.2f", (char*) indent, OP_NAMES[op], sx, sy); 988 renderer.scale(sx, sy); 993 float sy = getFloat(); local 994 DISPLAY_LIST_LOGD("%s%s %.2f, %.2f", (char*) indent, OP_NAMES[op], sx, sy); 995 renderer.skew(sx, sy); 1526 scale(float sx, float sy) argument 1532 skew(float sx, float sy) argument [all...] |
H A D | Matrix.cpp | 194 void Matrix4::loadScale(float sx, float sy, float sz) { argument 198 data[kScaleY] = sy; 204 void Matrix4::loadSkew(float sx, float sy) { argument 211 data[kSkewY] = sy;
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | 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) { argument 295 native_setScale(native_instance, sx, sy, px, py); 298 /** Set the matrix to scale by sx and sy 299 setScale(float sx, float sy) argument 369 preScale(float sx, float sy, float px, float py) argument 377 preScale(float sx, float sy) argument 433 postScale(float sx, float sy, float px, float py) argument 441 postScale(float sx, float sy) argument 801 native_setScale(int native_object, float sx, float sy, float px, float py) argument 803 native_setScale(int native_object, float sx, float sy) argument 821 native_preScale(int native_object, float sx, float sy, float px, float py) argument 823 native_preScale(int native_object, float sx, float sy) argument 837 native_postScale(int native_object, float sx, float sy, float px, float py) argument 839 native_postScale(int native_object, float sx, float sy) argument [all...] |
H A D | Canvas.java | 434 * @param sy The amount to scale in Y 436 public native void scale(float sx, float sy); argument 442 * @param sy The amount to scale in Y 446 public final void scale(float sx, float sy, float px, float py) { argument 448 scale(sx, sy); 476 * @param sy The amount to skew in Y 478 public native void skew(float sx, float sy); argument
|
/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/core/jni/android/graphics/ |
H A D | Matrix.cpp | 69 static void setScale__FFFF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy, jfloat px, jfloat py) { argument 71 SkScalar sy_ = SkFloatToScalar(sy); 77 static void setScale__FF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy) { argument 79 SkScalar sy_ = SkFloatToScalar(sy); 133 static jboolean preScale__FFFF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy, jfloat px, jfloat py) { argument 135 SkScalar sy_ = SkFloatToScalar(sy); 141 static jboolean preScale__FF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy) { argument 143 SkScalar sy_ = SkFloatToScalar(sy); 183 static jboolean postScale__FFFF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy, jfloat px, jfloat py) { argument 185 SkScalar sy_ = SkFloatToScalar(sy); 191 postScale__FF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy) argument [all...] |
H A D | Movie.cpp | 75 SkScalar sy = SkFloatToScalar(fy); local 79 c->drawBitmap(b, sx, sy, p);
|
/frameworks/base/core/java/android/view/animation/ |
H A D | ScaleAnimation.java | 243 float sy = 1.0f; 250 sy = mFromY + ((mToY - mFromY) * interpolatedTime); 254 t.getMatrix().setScale(sx, sy); 256 t.getMatrix().setScale(sx, sy, scale * mPivotX, scale * mPivotY);
|
/frameworks/native/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/native/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/native/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/opengl/java/android/opengl/ |
H A D | Matrix.java | 447 * Scales matrix m in place by sx, sy, and sz 626 float sy = (float) Math.sin(y); 629 float cxsy = cx * sy; 630 float sxsy = sx * sy; 634 rm[rmOffset + 2] = sy; 689 float sy = fz * upX - fx * upZ; 693 float rls = 1.0f / Matrix.length(sx, sy, sz); 695 sy *= rls; 699 float ux = sy * fz - sz * fy; 701 float uz = sx * fy - sy * f [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_GLES20DisplayList.cpp | 109 jobject clazz, DisplayList* displayList, float sy) { 110 displayList->setScaleY(sy); 108 android_view_GLES20DisplayList_setScaleY(JNIEnv* env, jobject clazz, DisplayList* displayList, float sy) argument
|
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/ |
H A D | TestLatencyView.java | 120 float sy = (y + dy * step) * mScaleY + mOffsetY; 125 mTriangleVerticesData2[i+1] = -sy + mTriangleVerticesData[i+1];
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 444 public void scale(float sx, float sy) { argument 447 layer.getGraphics().scale(sx, sy); 453 mTransform.scale(sx, sy);
|
/frameworks/native/services/surfaceflinger/ |
H A D | DisplayDevice.cpp | 410 float sy = dst_height / src_height; local 411 S.set(sx, 0, 0, sy);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternView.java | 1018 float sy = Math.min(mSquareHeight / mBitmapHeight, 1.0f); 1021 mArrowMatrix.preScale(sx, sy); 1070 float sy = Math.min(mSquareHeight / mBitmapHeight, 1.0f); 1074 mCircleMatrix.preScale(sx, sy);
|
/frameworks/base/core/java/android/view/ |
H A D | GLES20Canvas.java | 548 public void skew(float sx, float sy) { argument 549 nSkew(mRenderer, sx, sy); 552 private static native void nSkew(int renderer, float sx, float sy); argument 562 public void scale(float sx, float sy) { argument 563 nScale(mRenderer, sx, sy); 566 private static native void nScale(int renderer, float sx, float sy); argument
|
/frameworks/base/core/java/android/hardware/ |
H A D | SensorManager.java | 1005 final boolean sy = (Y>=0x80); 1014 if (y==i) outR[offset+i] = sy ? -inR[offset+1] : inR[offset+1];
|