/frameworks/base/graphics/java/android/graphics/ |
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) { 294 public void setScale(float sx, float sy, float px, float py) { in setScale() argument 295 native_setScale(native_instance, sx, sy, px, py); in setScale() 299 public void setScale(float sx, float sy) { in setScale() argument 300 native_setScale(native_instance, sx, sy); in setScale() [all …]
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
D | ColorCube.java | 36 final int sy = 32; in initCube() local 41 tb.setY(sy); in initCube() 46 int dat[] = new int[sx * sy * sz]; in initCube() 48 for (int y = 0; y < sy; y++) { in initCube() 52 v |= (0xff * y / (sy - 1)) << 8; in initCube() 54 dat[z*sy*sx + y*sx + x] = v; in initCube()
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
D | ColorCube.java | 45 final int sy = 32; in initCube() local 50 tb.setY(sy); in initCube() 55 int dat[] = new int[sx * sy * sz]; in initCube() 57 for (int y = 0; y < sy; y++) { in initCube() 61 v |= (0xff * y / (sy - 1)) << 8; in initCube() 63 dat[z*sy*sx + y*sx + x] = v; in initCube()
|
/frameworks/base/libs/hwui/ |
D | Matrix.h | 113 void loadScale(float sx, float sy, float sz); 114 void loadSkew(float sx, float sy); 137 void scale(float sx, float sy, float sz) { in scale() argument 139 u.loadScale(sx, sy, sz); in scale() 143 void skew(float sx, float sy) { in skew() argument 145 u.loadSkew(sx, sy); in skew() 175 void decomposeScale(float& sx, float& sy) const;
|
D | Matrix.cpp | 260 void Matrix4::loadScale(float sx, float sy, float sz) { in loadScale() argument 264 data[kScaleY] = sy; in loadScale() 270 void Matrix4::loadSkew(float sx, float sy) { in loadSkew() argument 277 data[kSkewY] = sy; in loadSkew() 457 void Matrix4::decomposeScale(float& sx, float& sy) const { in decomposeScale() 462 sy = copysignf(sqrtf(len), data[mat4::kScaleY]); in decomposeScale()
|
D | DisplayListRenderer.cpp | 197 void DisplayListRenderer::scale(float sx, float sy) { in scale() argument 198 addStateOp(new (alloc()) ScaleOp(sx, sy)); in scale() 199 OpenGLRenderer::scale(sx, sy); in scale() 202 void DisplayListRenderer::skew(float sx, float sy) { in skew() argument 203 addStateOp(new (alloc()) SkewOp(sx, sy)); in skew() 204 OpenGLRenderer::skew(sx, sy); in skew()
|
D | DisplayListRenderer.h | 86 virtual void scale(float sx, float sy); 87 virtual void skew(float sx, float sy);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Matrix_Delegate.java | 251 /*package*/ static void native_setScale(int native_object, float sx, float sy, in native_setScale() argument 258 d.mValues = getScale(sx, sy, px, py); in native_setScale() 262 /*package*/ static void native_setScale(int native_object, float sx, float sy) { in native_setScale() argument 272 d.mValues[4] = sy; in native_setScale() 397 /*package*/ static boolean native_preScale(int native_object, float sx, float sy, in native_preScale() argument 404 d.preTransform(getScale(sx, sy, px, py)); in native_preScale() 409 /*package*/ static boolean native_preScale(int native_object, float sx, float sy) { in native_preScale() argument 415 d.preTransform(getScale(sx, sy)); in native_preScale() 497 /*package*/ static boolean native_postScale(int native_object, float sx, float sy, in native_postScale() argument 504 d.postTransform(getScale(sx, sy, px, py)); in native_postScale() [all …]
|
/frameworks/base/core/java/android/gesture/ |
D | GestureUtils.java | 100 float sy = targetPatchSize / gestureHeight; in spatialSampling() local 103 float scale = sx < sy ? sx : sy; in spatialSampling() 105 sy = scale; in spatialSampling() 113 float scale = sx < sy ? sx : sy; in spatialSampling() 115 sy = scale; in spatialSampling() 117 if (sx > sy) { in spatialSampling() 118 float scale = sy * NONUNIFORM_SCALE; in spatialSampling() 124 if (scale < sy) { in spatialSampling() 125 sy = scale; in spatialSampling() 146 pts[i + 1] = (strokepoints[i + 1] + preDy) * sy + postDy; in spatialSampling() [all …]
|
D | GestureStroke.java | 168 float sy = height / rect.height(); in toPath() local 169 float scale = sx > sy ? sy : sx; in toPath()
|
D | Gesture.java | 239 final float sy = (height - 2 * inset) / bounds.height(); in toBitmap() local 240 final float scale = sx > sy ? sy : sx; in toBitmap()
|
/frameworks/base/core/jni/android/opengl/ |
D | poly_clip.cpp | 119 if (v->sy < -sw) y0out++; /* out on top */ in poly_clip_to_frustum() 120 if (v->sy > sw) y1out++; /* out on bottom */ in poly_clip_to_frustum() 144 if (y0out) CLIP_AND_SWAP(sy, -1.0f, -1.0f, p, q, r); in poly_clip_to_frustum() 145 if (y1out) CLIP_AND_SWAP(sy, 1.0f, 1.0f, p, q, r); in poly_clip_to_frustum()
|
D | poly.h | 35 float sx, sy, sz, sw; /* screen space position (sometimes homo.) */ member
|
/frameworks/base/core/jni/android/graphics/ |
D | Matrix.cpp | 69 …static void setScale__FFFF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy, jfloat… in setScale__FFFF() argument 71 SkScalar sy_ = SkFloatToScalar(sy); in setScale__FFFF() 77 static void setScale__FF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy) { in setScale__FF() argument 79 SkScalar sy_ = SkFloatToScalar(sy); in setScale__FF() 133 …static jboolean preScale__FFFF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy, jf… in preScale__FFFF() argument 135 SkScalar sy_ = SkFloatToScalar(sy); in preScale__FFFF() 141 static jboolean preScale__FF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy) { in preScale__FF() argument 143 SkScalar sy_ = SkFloatToScalar(sy); in preScale__FF() 183 …static jboolean postScale__FFFF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy, j… in postScale__FFFF() argument 185 SkScalar sy_ = SkFloatToScalar(sy); in postScale__FFFF() [all …]
|
D | Movie.cpp | 75 SkScalar sy = SkFloatToScalar(fy); in movie_draw() local 79 c->drawBitmap(b, sx, sy, p); in movie_draw()
|
/frameworks/native/opengl/tests/gl_jni/jni/ |
D | gl_code.cpp | 50 float sy = fz * upX - fx * upZ; in gluLookAt() local 54 float ux = sy * fz - sz * fy; in gluLookAt() 56 float uz = sx * fy - sy * fx; in gluLookAt() 64 m[4] = sy; in gluLookAt()
|
/frameworks/base/opengl/java/android/opengl/ |
D | Matrix.java | 626 float sy = (float) Math.sin(y); in setRotateEulerM() local 629 float cxsy = cx * sy; in setRotateEulerM() 630 float sxsy = sx * sy; in setRotateEulerM() 634 rm[rmOffset + 2] = sy; in setRotateEulerM() 689 float sy = fz * upX - fx * upZ; in setLookAtM() local 693 float rls = 1.0f / Matrix.length(sx, sy, sz); in setLookAtM() 695 sy *= rls; in setLookAtM() 699 float ux = sy * fz - sz * fy; in setLookAtM() 701 float uz = sx * fy - sy * fx; in setLookAtM() 708 rm[rmOffset + 4] = sy; in setLookAtM()
|
/frameworks/native/opengl/tests/tritex/ |
D | tritex.cpp | 61 float sy = fz * upX - fx * upZ; in gluLookAt() local 65 float ux = sy * fz - sz * fy; in gluLookAt() 67 float uz = sx * fy - sy * fx; in gluLookAt() 75 m[4] = sy; in gluLookAt()
|
/frameworks/base/core/java/android/view/animation/ |
D | ScaleAnimation.java | 243 float sy = 1.0f; in applyTransformation() local 250 sy = mFromY + ((mToY - mFromY) * interpolatedTime); in applyTransformation() 254 t.getMatrix().setScale(sx, sy); in applyTransformation() 256 t.getMatrix().setScale(sx, sy, scale * mPivotX, scale * mPivotY); in applyTransformation()
|
/frameworks/native/opengl/tests/gl_basic/ |
D | gl_basic.cpp | 64 float sy = fz * upX - fx * upZ; in gluLookAt() local 68 float ux = sy * fz - sz * fy; in gluLookAt() 70 float uz = sx * fy - sy * fx; in gluLookAt() 78 m[4] = sy; in gluLookAt()
|
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/ |
D | TestLatencyView.java | 120 float sy = (y + dy * step) * mScaleY + mOffsetY; in onDrawFrame() local 125 mTriangleVerticesData2[i+1] = -sy + mTriangleVerticesData[i+1]; in onDrawFrame()
|
/frameworks/base/core/jni/ |
D | android_view_GLES20DisplayList.cpp | 133 jobject clazz, DisplayList* displayList, float sy) { in android_view_GLES20DisplayList_setScaleY() argument 134 displayList->setScaleY(sy); in android_view_GLES20DisplayList_setScaleY()
|
/frameworks/native/services/surfaceflinger/ |
D | DisplayDevice.cpp | 397 float sy = dst_height / src_height; in setProjection() local 398 S.set(sx, 0, 0, sy); in setProjection()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | GcSnapshot.java | 444 public void scale(float sx, float sy) { in scale() argument 447 layer.getGraphics().scale(sx, sy); in scale() 453 mTransform.scale(sx, sy); in scale()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternView.java | 957 float sy = Math.min(mSquareHeight / mBitmapHeight, 1.0f); 960 mArrowMatrix.preScale(sx, sy); 1009 float sy = Math.min(mSquareHeight / mBitmapHeight, 1.0f); 1013 mCircleMatrix.preScale(sx, sy);
|