/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 | 74 SkScalar sx = SkFloatToScalar(fx); 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 70 SkScalar sx_ = SkFloatToScalar(sx); 77 static void setScale__FF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy) { argument 78 SkScalar sx_ = SkFloatToScalar(sx); 133 static jboolean preScale__FFFF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy, jfloat px, jfloat py) { argument 134 SkScalar sx_ = SkFloatToScalar(sx); 141 static jboolean preScale__FF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy) { argument 142 SkScalar sx_ = SkFloatToScalar(sx); 183 static jboolean postScale__FFFF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy, jfloat px, jfloat py) { argument 184 SkScalar sx_ = SkFloatToScalar(sx); 191 postScale__FF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy) argument [all...] |
H A D | BitmapFactory.cpp | 327 const float sx = scaledWidth / float(decoded->width()); 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 190 SkScalar sx_ = SkFloatToScalar(sx); 201 static void skew__FF(JNIEnv* env, jobject jcanvas, jfloat sx, jfloat sy) { argument 203 SkScalar sx_ = SkFloatToScalar(sx);
|
/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 197 data[kScaleX] = sx; 204 void Matrix4::loadSkew(float sx, float sy) { argument 208 data[kSkewX] = sx;
|
H A D | DisplayListRenderer.cpp | 397 float sx = getFloat(); local 399 ALOGD("%s%s %.2f, %.2f", (char*) indent, OP_NAMES[op], sx, sy); 403 float sx = getFloat(); local 405 ALOGD("%s%s %.2f, %.2f", (char*) indent, OP_NAMES[op], sx, sy); 985 float sx = getFloat(); local 987 DISPLAY_LIST_LOGD("%s%s %.2f, %.2f", (char*) indent, OP_NAMES[op], sx, sy); 988 renderer.scale(sx, sy); 992 float sx = getFloat(); local 994 DISPLAY_LIST_LOGD("%s%s %.2f, %.2f", (char*) indent, OP_NAMES[op], sx, sy); 995 renderer.skew(sx, s 1526 scale(float sx, float sy) argument 1532 skew(float sx, float sy) argument [all...] |
H A D | OpenGLRenderer.cpp | 1175 void OpenGLRenderer::scale(float sx, float sy) { argument 1176 mSnapshot->transform->scale(sx, sy, 1.0f); 1179 void OpenGLRenderer::skew(float sx, float sy) { argument 1180 mSnapshot->transform->skew(sx, sy); 2511 const float sx = x - shadow->left + mShadowDx; local 2527 setupDrawModelView(sx, sy, sx + shadow->width, sy + shadow->height);
|
/frameworks/base/core/java/android/gesture/ |
H A D | GestureUtils.java | 99 float sx = targetPatchSize / gestureWidth; 103 float scale = sx < sy ? sx : sy; 104 sx = scale; 113 float scale = sx < sy ? sx : sy; 114 sx = scale; 117 if (sx > sy) { 119 if (scale < sx) { 120 sx 585 scale(float[] points, float sx, float sy) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_GLES20DisplayList.cpp | 104 jobject clazz, DisplayList* displayList, float sx) { 105 displayList->setScaleX(sx); 103 android_view_GLES20DisplayList_setScaleX(JNIEnv* env, jobject clazz, DisplayList* displayList, float sx) 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 | 63 float sx = fy * upZ - fz * upY; local 69 float uy = sz * fx - sx * fz; 70 float uz = sx * fy - sy * fx; 73 m[0] = sx;
|
/frameworks/native/opengl/tests/gl_jni/jni/ |
H A D | gl_code.cpp | 49 float sx = fy * upZ - fz * upY; local 55 float uy = sz * fx - sx * fz; 56 float uz = sx * fy - sy * fx; 59 m[0] = sx;
|
/frameworks/native/opengl/tests/tritex/ |
H A D | tritex.cpp | 60 float sx = fy * upZ - fz * upY; local 66 float uy = sz * fx - sx * fz; 67 float uz = sx * fy - sy * fx; 70 m[0] = sx;
|
/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 | 409 float sx = dst_width / src_width; 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 268 d.mValues[0] = sx; 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, s 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 an 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 | 433 * @param sx The amount to scale in X 436 public native void scale(float sx, float sy); argument 441 * @param sx The amount to scale in X 446 public final void scale(float sx, float sy, float px, float py) { argument 448 scale(sx, sy); 475 * @param sx The amount to skew in X 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 647 sx = (float(cropRect.width()) - (2.0f * shrinkAmount)) / 658 sx, 0, 0, 0,
|
/frameworks/native/opengl/libagl/ |
H A D | matrix.cpp | 697 GLfloat sx = div2f(w); local 698 GLfloat ox = sx + x; 709 f[0] = sx; f[4] = 0; f[ 8] = 0; f[12] = ox;
|
/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
|