/frameworks/base/graphics/java/android/graphics/ |
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) { 311 public void setScale(float sx, float sy, float px, float py) { in setScale() argument 312 native_setScale(native_instance, sx, sy, px, py); in setScale() 316 public void setScale(float sx, float sy) { in setScale() argument 317 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 | 44 final int sy = 32; in initCube() local 49 tb.setY(sy); in initCube() 54 int dat[] = new int[sx * sy * sz]; in initCube() 56 for (int y = 0; y < sy; y++) { in initCube() 60 v |= (0xff * y / (sy - 1)) << 8; in initCube() 62 dat[z*sy*sx + y*sx + x] = v; in initCube()
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
D | ColorCube.java | 44 final int sy = 32; in initCube() local 49 tb.setY(sy); in initCube() 54 int dat[] = new int[sx * sy * sz]; in initCube() 56 for (int y = 0; y < sy; y++) { in initCube() 60 v |= (0xff * y / (sy - 1)) << 8; in initCube() 62 dat[z*sy*sx + y*sx + x] = v; in initCube()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Matrix_Delegate.java | 261 /*package*/ static void native_setScale(long native_object, float sx, float sy, in native_setScale() argument 268 d.mValues = getScale(sx, sy, px, py); in native_setScale() 272 /*package*/ static void native_setScale(long native_object, float sx, float sy) { in native_setScale() argument 282 d.mValues[4] = sy; in native_setScale() 394 /*package*/ static void native_preScale(long native_object, float sx, float sy, in native_preScale() argument 398 d.preTransform(getScale(sx, sy, px, py)); in native_preScale() 403 /*package*/ static void native_preScale(long native_object, float sx, float sy) { in native_preScale() argument 406 d.preTransform(getScale(sx, sy)); in native_preScale() 467 /*package*/ static void native_postScale(long native_object, float sx, float sy, in native_postScale() argument 471 d.postTransform(getScale(sx, sy, px, py)); in native_postScale() [all …]
|
/frameworks/base/libs/hwui/ |
D | Matrix.h | 122 void loadScale(float sx, float sy, float sz); 123 void loadSkew(float sx, float sy); 176 void scale(float sx, float sy, float sz) { in scale() argument 178 u.loadScale(sx, sy, sz); in scale() 182 void skew(float sx, float sy) { in skew() argument 184 u.loadSkew(sx, sy); in skew() 217 void decomposeScale(float& sx, float& sy) const;
|
D | CanvasState.cpp | 177 void CanvasState::scale(float sx, float sy) { in scale() argument 178 mSnapshot->transform->scale(sx, sy, 1.0f); in scale() 181 void CanvasState::skew(float sx, float sy) { in skew() argument 182 mSnapshot->transform->skew(sx, sy); in skew()
|
D | CanvasState.h | 111 void scale(float sx, float sy); 112 void skew(float sx, float sy);
|
D | DisplayListCanvas.cpp | 157 void DisplayListCanvas::scale(float sx, float sy) { in scale() argument 158 if (sx == 1.0f && sy == 1.0f) return; in scale() 160 addStateOp(new (alloc()) ScaleOp(sx, sy)); in scale() 161 mState.scale(sx, sy); in scale() 164 void DisplayListCanvas::skew(float sx, float sy) { in skew() argument 165 addStateOp(new (alloc()) SkewOp(sx, sy)); in skew() 166 mState.skew(sx, sy); in skew()
|
D | Matrix.cpp | 288 void Matrix4::loadScale(float sx, float sy, float sz) { in loadScale() argument 292 data[kScaleY] = sy; in loadScale() 298 void Matrix4::loadSkew(float sx, float sy) { in loadSkew() argument 305 data[kSkewY] = sy; in loadSkew() 508 void Matrix4::decomposeScale(float& sx, float& sy) const { in decomposeScale() 513 sy = copysignf(sqrtf(len), data[mat4::kScaleY]); in decomposeScale()
|
/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 | 167 float sy = height / rect.height(); in toPath() local 168 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/graphics/ |
D | Matrix.cpp | 74 …static void setScale__FFFF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy, jflo… in setScale__FFFF() argument 76 obj->setScale(sx, sy, px, py); in setScale__FFFF() 78 static void setScale__FF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy) { in setScale__FF() argument 80 obj->setScale(sx, sy); in setScale__FF() 118 …static void preScale__FFFF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy, jflo… in preScale__FFFF() argument 120 obj->preScale(sx, sy, px, py); in preScale__FFFF() 123 static void preScale__FF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy) { in preScale__FF() argument 125 obj->preScale(sx, sy); in preScale__FF() 159 …static void postScale__FFFF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy, jfl… in postScale__FFFF() argument 161 obj->postScale(sx, sy, px, py); in postScale__FFFF() [all …]
|
/frameworks/base/core/jni/android/opengl/ |
D | poly_clip.cpp | 118 if (v->sy < -sw) y0out++; /* out on top */ in poly_clip_to_frustum() 119 if (v->sy > sw) y1out++; /* out on bottom */ in poly_clip_to_frustum() 143 if (y0out) CLIP_AND_SWAP(sy, -1.0f, -1.0f, p, q, r); in poly_clip_to_frustum() 144 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/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 | 654 float sy = (float) Math.sin(y); in setRotateEulerM() local 657 float cxsy = cx * sy; in setRotateEulerM() 658 float sxsy = sx * sy; in setRotateEulerM() 662 rm[rmOffset + 2] = sy; in setRotateEulerM() 717 float sy = fz * upX - fx * upZ; in setLookAtM() local 721 float rls = 1.0f / Matrix.length(sx, sy, sz); in setLookAtM() 723 sy *= rls; in setLookAtM() 727 float ux = sy * fz - sz * fy; in setLookAtM() 729 float uz = sx * fy - sy * fx; in setLookAtM() 736 rm[rmOffset + 4] = sy; in setLookAtM()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/ |
D | Quad.java | 280 public Quad scale2(float sx, float sy) { in scale2() argument 281 return new Quad(mTopLeft.x * sx, mTopLeft.y * sy, in scale2() 282 mTopRight.x * sx, mTopRight.y * sy, in scale2() 283 mBottomLeft.x * sx, mBottomLeft.y * sy, in scale2() 284 mBottomRight.x * sx, mBottomRight.y * sy); in scale2()
|
/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/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/tools/layoutlib/bridge/src/android/view/ |
D | ViewGroup_Delegate.java | 127 int sy = child.mScrollY; in transformCanvas() local 129 canvas.translate(child.mLeft - sx, child.mTop - sy); in transformCanvas() 135 int transY = -sy; in transformCanvas()
|
/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/rs/java/tests/VrDemo/src/com/example/android/rs/vr/loaders/ |
D | LoaderDicom.java | 474 float sy = Float.parseFloat(pss[1]); in buildRSVolume() local 479 float min = Math.min(sx,Math.min(sy,sz)); in buildRSVolume() 481 v.mVoxelDim[1] = sy/min; in buildRSVolume() 598 float sy = Float.parseFloat(pss[1]); in buildRSVolume2() local 603 float min = Math.min(sx,Math.min(sy,sz)); in buildRSVolume2() 605 v.mVoxelDim[1] = sy/min; in buildRSVolume2()
|
/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()
|