/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
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Movie.cpp | 75 SkScalar sy = SkFloatToScalar(fy); local 79 c->drawBitmap(b, sx, sy, p);
|
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 | BitmapFactory.cpp | 328 const float sy = scaledHeight / float(decoded->height()); local 352 canvas.scale(sx, sy);
|
H A D | Canvas.cpp | 188 static void scale__FF(JNIEnv* env, jobject jcanvas, jfloat sx, jfloat sy) { argument 191 SkScalar sy_ = SkFloatToScalar(sy); 201 static void skew__FF(JNIEnv* env, jobject jcanvas, jfloat sx, jfloat sy) { argument 204 SkScalar sy_ = SkFloatToScalar(sy);
|
/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 | 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;
|
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 | OpenGLRenderer.cpp | 1177 void OpenGLRenderer::scale(float sx, float sy) { argument 1178 mSnapshot->transform->scale(sx, sy, 1.0f); 1181 void OpenGLRenderer::skew(float sx, float sy) { argument 1182 mSnapshot->transform->skew(sx, sy); 2514 const float sy = y - shadow->top + mShadowDy; local 2529 setupDrawModelView(sx, sy, sx + shadow->width, sy + shadow->height);
|
/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...] |
/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
|
H A D | android_view_GLES20Canvas.cpp | 303 OpenGLRenderer* renderer, jfloat sx, jfloat sy) { 304 renderer->scale(sx, sy); 308 OpenGLRenderer* renderer, jfloat sx, jfloat sy) { 309 renderer->skew(sx, sy); 302 android_view_GLES20Canvas_scale(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jfloat sx, jfloat sy) argument 307 android_view_GLES20Canvas_skew(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jfloat sx, jfloat sy) argument
|
/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/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/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/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...] |
H A D | Canvas_Delegate.java | 160 /*package*/ static void scale(Canvas thisCanvas, float sx, float sy) { argument 167 canvasDelegate.getSnapshot().scale(sx, 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/native/libs/gui/ |
H A D | SurfaceTexture.cpp | 611 float tx = 0.0f, ty = 0.0f, sx = 1.0f, sy = 1.0f; local 653 sy = (float(cropRect.height()) - (2.0f * shrinkAmount)) / 659 0, sy, 0, 0,
|
/frameworks/native/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;
|
/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
|