Searched refs:sy (Results 1 - 25 of 53) sorted by relevance

123

/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A DColorCube.java44 final int sy = 32;
49 tb.setY(sy);
54 int dat[] = new int[sx * sy * sz];
56 for (int y = 0; y < sy; y++) {
60 v |= (0xff * y / (sy - 1)) << 8;
62 dat[z*sy*sx + y*sx + x] = v;
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A DColorCube.java36 final int sy = 32;
41 tb.setY(sy);
46 int dat[] = new int[sx * sy * sz];
48 for (int y = 0; y < sy; y++) {
52 v |= (0xff * y / (sy - 1)) << 8;
54 dat[z*sy*sx + y*sx + x] = v;
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A DColorCube.java44 final int sy = 32;
49 tb.setY(sy);
54 int dat[] = new int[sx * sy * sz];
56 for (int y = 0; y < sy; y++) {
60 v |= (0xff * y / (sy - 1)) << 8;
62 dat[z*sy*sx + y*sx + x] = v;
/frameworks/base/core/jni/android/opengl/
H A Dpoly.h35 float sx, sy, sz, sw; /* screen space position (sometimes homo.) */ member in struct:android::__anon850
H A Dpoly_clip.cpp52 * s[index] is sx, sy, or sz (screen space x, y, or z).
94 * using the homogeneous screen coordinates (sx, sy, sz, sw) of each vertex,
118 if (v->sy < -sw) y0out++; /* out on top */
119 if (v->sy > sw) y1out++; /* out on bottom */
143 if (y0out) CLIP_AND_SWAP(sy, -1.0f, -1.0f, p, q, r);
144 if (y1out) CLIP_AND_SWAP(sy, 1.0f, 1.0f, p, q, r);
/frameworks/base/graphics/java/android/graphics/
H A DMatrix.java59 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) {
307 * Set the matrix to scale by sx and sy, with a pivot point at (px, py).
311 public void setScale(float sx, float sy, float px, float py) { argument
312 native_setScale(native_instance, sx, sy, px, py);
315 /** Set the matrix to scale by sx and sy
316 setScale(float sx, float sy) argument
393 preScale(float sx, float sy, float px, float py) argument
402 preScale(float sx, float sy) argument
465 postScale(float sx, float sy, float px, float py) argument
474 postScale(float sx, float sy) argument
849 native_setScale(long native_object, float sx, float sy, float px, float py) argument
851 native_setScale(long native_object, float sx, float sy) argument
870 native_preScale(long native_object, float sx, float sy, float px, float py) argument
872 native_preScale(long native_object, float sx, float sy) argument
886 native_postScale(long native_object, float sx, float sy, float px, float py) argument
888 native_postScale(long native_object, float sx, float sy) argument
[all...]
/frameworks/base/libs/hwui/
H A DMatrix.h122 void loadScale(float sx, float sy, float sz);
123 void loadSkew(float sx, float sy);
176 void scale(float sx, float sy, float sz) { argument
178 u.loadScale(sx, sy, sz);
182 void skew(float sx, float sy) { argument
184 u.loadSkew(sx, sy);
217 void decomposeScale(float& sx, float& sy) const;
H A DCanvasState.cpp177 void CanvasState::scale(float sx, float sy) { argument
178 mSnapshot->transform->scale(sx, sy, 1.0f);
181 void CanvasState::skew(float sx, float sy) { argument
182 mSnapshot->transform->skew(sx, sy);
H A DCanvasState.h111 void scale(float sx, float sy);
112 void skew(float sx, float sy);
H A DMatrix.cpp288 void Matrix4::loadScale(float sx, float sy, float sz) { argument
292 data[kScaleY] = sy;
298 void Matrix4::loadSkew(float sx, float sy) { argument
305 data[kSkewY] = sy;
508 void Matrix4::decomposeScale(float& sx, float& sy) const {
513 sy = copysignf(sqrtf(len), data[mat4::kScaleY]);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DMatrix_Delegate.java261 /*package*/ static void native_setScale(long native_object, float sx, float sy, argument
268 d.mValues = getScale(sx, sy, px, py);
272 /*package*/ static void native_setScale(long native_object, float sx, float sy) { argument
282 d.mValues[4] = sy;
394 /*package*/ static void native_preScale(long native_object, float sx, float sy, argument
398 d.preTransform(getScale(sx, sy, px, py));
403 /*package*/ static void native_preScale(long native_object, float sx, float sy) { argument
406 d.preTransform(getScale(sx, sy));
467 /*package*/ static void native_postScale(long native_object, float sx, float sy, argument
471 d.postTransform(getScale(sx, sy, p
476 native_postScale(long native_object, float sx, float sy) argument
965 getScale(float sx, float sy) argument
976 getScale(float sx, float sy, float px, float py) argument
[all...]
/frameworks/base/core/java/android/gesture/
H A DGestureUtils.java100 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 DGestureStroke.java167 float sy = height / rect.height();
168 float scale = sx > sy ? sy : sx;
H A DGesture.java239 final float sy = (height - 2 * inset) / bounds.height();
240 final float scale = sx > sy ? sy : sx;
/frameworks/base/core/jni/android/graphics/
H A DMatrix.cpp74 static void setScale__FFFF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy, jfloat px, jfloat py) { argument
76 obj->setScale(sx, sy, px, py);
78 static void setScale__FF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy) { argument
80 obj->setScale(sx, sy);
118 static void preScale__FFFF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy, jfloat px, jfloat py) { argument
120 obj->preScale(sx, sy, px, py);
123 static void preScale__FF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy) { argument
125 obj->preScale(sx, sy);
159 static void postScale__FFFF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy, jfloat px, jfloat py) { argument
161 obj->postScale(sx, sy, p
164 postScale__FF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy) argument
[all...]
/frameworks/base/core/java/android/view/animation/
H A DScaleAnimation.java243 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 Dgl_code.cpp50 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 Dtritex.cpp61 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/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/
H A DQuad.java277 * @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 Dgl_basic.cpp64 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/android/view/
H A DViewGroup_Delegate.java127 int sy = child.mScrollY;
129 canvas.translate(child.mLeft - sx, child.mTop - sy);
135 int transY = -sy;
/frameworks/base/opengl/java/android/opengl/
H A DMatrix.java460 * Scales matrix m in place by sx, sy, and sz.
654 float sy = (float) Math.sin(y);
657 float cxsy = cx * sy;
658 float sxsy = sx * sy;
662 rm[rmOffset + 2] = sy;
717 float sy = fz * upX - fx * upZ;
721 float rls = 1.0f / Matrix.length(sx, sy, sz);
723 sy *= rls;
727 float ux = sy * fz - sz * fy;
729 float uz = sx * fy - sy * f
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLCanvas.java58 public abstract void scale(float sx, float sy, float sz); argument
/frameworks/base/libs/hwui/hwui/
H A DCanvas.h152 virtual void scale(float sx, float sy) = 0;
153 virtual void skew(float sx, float sy) = 0;
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
H A DTestLatencyView.java120 float sy = (y + dy * step) * mScaleY + mOffsetY;
125 mTriangleVerticesData2[i+1] = -sy + mTriangleVerticesData[i+1];

Completed in 642 milliseconds

123