/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::__anon998
|
/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/android/graphics/ |
H A D | Movie.cpp | 78 SkScalar sy = SkFloatToScalar(fy); local 82 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 | 400 const float sy = scaledHeight / float(decodingBitmap.height()); local 420 canvas.scale(sx, sy);
|
H A D | Canvas.cpp | 212 static void scale__FF(JNIEnv* env, jobject jcanvas, jfloat sx, jfloat sy) { argument 215 SkScalar sy_ = SkFloatToScalar(sy); 225 static void skew__FF(JNIEnv* env, jobject jcanvas, jfloat sx, jfloat sy) { argument 228 SkScalar sy_ = SkFloatToScalar(sy);
|
/frameworks/base/libs/hwui/ |
H A D | Matrix.h | 119 void loadScale(float sx, float sy, float sz); 120 void loadSkew(float sx, float sy); 160 void scale(float sx, float sy, float sz) { argument 162 u.loadScale(sx, sy, sz); 166 void skew(float sx, float sy) { argument 168 u.loadSkew(sx, sy); 199 void decomposeScale(float& sx, float& sy) const;
|
H A D | Matrix.cpp | 264 void Matrix4::loadScale(float sx, float sy, float sz) { argument 268 data[kScaleY] = sy; 274 void Matrix4::loadSkew(float sx, float sy) { argument 281 data[kSkewY] = sy; 461 void Matrix4::decomposeScale(float& sx, float& sy) const { 466 sy = copysignf(sqrtf(len), data[mat4::kScaleY]);
|
H A D | DisplayListRenderer.cpp | 202 void DisplayListRenderer::scale(float sx, float sy) { argument 203 addStateOp(new (alloc()) ScaleOp(sx, sy)); 204 OpenGLRenderer::scale(sx, sy); 207 void DisplayListRenderer::skew(float sx, float sy) { argument 208 addStateOp(new (alloc()) SkewOp(sx, sy)); 209 OpenGLRenderer::skew(sx, sy);
|
H A D | DisplayListOp.h | 419 ScaleOp(float sx, float sy) argument 420 : mSx(sx), mSy(sy) {} 439 SkewOp(float sx, float sy) argument 440 : mSx(sx), mSy(sy) {}
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/ |
H A D | Quad.java | 277 * @param sy the y scaling factor 280 public Quad scale2(float sx, float sy) { argument 281 return new Quad(mTopLeft.x * sx, mTopLeft.y * sy, 282 mTopRight.x * sx, mTopRight.y * sy, 283 mBottomLeft.x * sx, mBottomLeft.y * sy, 284 mBottomRight.x * sx, mBottomRight.y * 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/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/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | GLCanvas.java | 60 public abstract void scale(float sx, float sy, float sz); argument
|
H A D | GLES20Canvas.java | 411 public void scale(float sx, float sy, float sz) { argument 412 Matrix.scaleM(mMatrices, mCurrentMatrixIndex, sx, sy, sz);
|
/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 | 429 float sy = dst_height / src_height; local 430 S.set(sx, 0, 0, sy);
|
/frameworks/base/core/jni/ |
H A D | android_view_GLES20DisplayList.cpp | 133 jobject clazz, DisplayList* displayList, float sy) { 134 displayList->setScaleY(sy); 132 android_view_GLES20DisplayList_setScaleY(JNIEnv* env, jobject clazz, DisplayList* displayList, float sy) argument
|
H A D | android_view_GLES20Canvas.cpp | 351 OpenGLRenderer* renderer, jfloat sx, jfloat sy) { 352 renderer->scale(sx, sy); 356 OpenGLRenderer* renderer, jfloat sx, jfloat sy) { 357 renderer->skew(sx, sy); 350 android_view_GLES20Canvas_scale(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jfloat sx, jfloat sy) argument 355 android_view_GLES20Canvas_skew(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jfloat sx, jfloat 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/graphics/java/android/graphics/ |
H A D | Matrix.java | 59 public void setScale(float sx, float sy, float px, float py) { 64 public void setScale(float sx, float sy) { 111 public boolean preScale(float sx, float sy, float px, float py) { 117 public boolean preScale(float sx, float sy) { 159 public boolean postScale(float sx, float sy, float px, float py) { 165 public boolean postScale(float sx, float sy) { 297 * Set the matrix to scale by sx and sy, with a pivot point at (px, py). 301 public void setScale(float sx, float sy, float px, float py) { argument 302 native_setScale(native_instance, sx, sy, px, py); 305 /** Set the matrix to scale by sx and sy 306 setScale(float sx, float sy) argument 376 preScale(float sx, float sy, float px, float py) argument 384 preScale(float sx, float sy) argument 440 postScale(float sx, float sy, float px, float py) argument 448 postScale(float sx, float sy) argument 814 native_setScale(int native_object, float sx, float sy, float px, float py) argument 816 native_setScale(int native_object, float sx, float sy) argument 834 native_preScale(int native_object, float sx, float sy, float px, float py) argument 836 native_preScale(int native_object, float sx, float sy) argument 850 native_postScale(int native_object, float sx, float sy, float px, float py) argument 852 native_postScale(int native_object, float sx, float sy) argument [all...] |
H A D | Canvas.java | 473 * @param sy The amount to scale in Y 475 public native void scale(float sx, float sy); argument 481 * @param sy The amount to scale in Y 485 public final void scale(float sx, float sy, float px, float py) { argument 487 scale(sx, sy); 515 * @param sy The amount to skew in Y 517 public native void skew(float sx, float sy); argument
|
/frameworks/native/libs/gui/ |
H A D | GLConsumer.cpp | 800 float tx = 0.0f, ty = 0.0f, sx = 1.0f, sy = 1.0f; local 840 sy = (float(cropRect.height()) - (2.0f * shrinkAmount)) / 846 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;
|