/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
D | ColorCube.java | 35 final int sx = 32; in initCube() local 40 tb.setX(sx); in initCube() 46 int dat[] = new int[sx * sy * sz]; in initCube() 49 for (int x = 0; x < sx; x++ ) { in initCube() 51 v |= (0xff * x / (sx - 1)); in initCube() 54 dat[z*sy*sx + y*sx + x] = v; in initCube()
|
D | vibrance.rs | 40 float sx = (float)(Vib/(1+native_exp(-red*3))); 41 S = sx+1;
|
/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/ImageProcessing_jb/src/com/android/rs/image/ |
D | ColorCube.java | 43 final int sx = 32; in initCube() local 48 tb.setX(sx); in initCube() 54 int dat[] = new int[sx * sy * sz]; in initCube() 57 for (int x = 0; x < sx; x++ ) { in initCube() 59 v |= (0xff * x / (sx - 1)); in initCube() 62 dat[z*sy*sx + y*sx + x] = v; in initCube()
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
D | ColorCube.java | 43 final int sx = 32; in initCube() local 48 tb.setX(sx); in initCube() 54 int dat[] = new int[sx * sy * sz]; in initCube() 57 for (int x = 0; x < sx; x++ ) { in initCube() 59 v |= (0xff * x / (sx - 1)); in initCube() 62 dat[z*sy*sx + y*sx + x] = v; in initCube()
|
/frameworks/base/libs/hwui/ |
D | Matrix.h | 127 void loadScale(float sx, float sy, float sz); 128 void loadSkew(float sx, float sy); 170 void scale(float sx, float sy, float sz) { in scale() argument 172 u.loadScale(sx, sy, sz); in scale() 176 void skew(float sx, float sy) { in skew() argument 178 u.loadSkew(sx, sy); in skew() 211 void decomposeScale(float& sx, float& sy) const;
|
D | StatefulBaseRenderer.cpp | 124 void StatefulBaseRenderer::scale(float sx, float sy) { in scale() argument 125 mSnapshot->transform->scale(sx, sy, 1.0f); in scale() 128 void StatefulBaseRenderer::skew(float sx, float sy) { in skew() argument 129 mSnapshot->transform->skew(sx, sy); in skew()
|
D | StatefulBaseRenderer.h | 75 virtual void scale(float sx, float sy); 76 virtual void skew(float sx, float sy);
|
D | DisplayListRenderer.cpp | 143 void DisplayListRenderer::scale(float sx, float sy) { in scale() argument 144 addStateOp(new (alloc()) ScaleOp(sx, sy)); in scale() 145 StatefulBaseRenderer::scale(sx, sy); in scale() 148 void DisplayListRenderer::skew(float sx, float sy) { in skew() argument 149 addStateOp(new (alloc()) SkewOp(sx, sy)); in skew() 150 StatefulBaseRenderer::skew(sx, sy); in skew()
|
D | Matrix.cpp | 267 void Matrix4::loadScale(float sx, float sy, float sz) { in loadScale() argument 270 data[kScaleX] = sx; in loadScale() 277 void Matrix4::loadSkew(float sx, float sy) { in loadSkew() argument 281 data[kSkewX] = sx; in loadSkew() 479 void Matrix4::decomposeScale(float& sx, float& sy) const { in decomposeScale() argument 482 sx = copysignf(sqrtf(len), data[mat4::kScaleX]); in decomposeScale()
|
/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 278 d.mValues[0] = sx; 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/core/java/android/gesture/ |
D | GestureUtils.java | 99 float sx = targetPatchSize / gestureWidth; in spatialSampling() local 103 float scale = sx < sy ? sx : sy; in spatialSampling() 104 sx = scale; in spatialSampling() 113 float scale = sx < sy ? sx : sy; in spatialSampling() 114 sx = scale; in spatialSampling() 117 if (sx > sy) { in spatialSampling() 119 if (scale < sx) { in spatialSampling() 120 sx = scale; in spatialSampling() 123 float scale = sx * NONUNIFORM_SCALE; in spatialSampling() 145 pts[i] = (strokepoints[i] + preDx) * sx + postDx; in spatialSampling() [all …]
|
D | GestureStroke.java | 167 float sx = width / rect.width(); in toPath() local 169 float scale = sx > sy ? sy : sx; in toPath()
|
D | Gesture.java | 238 final float sx = (width - 2 * inset) / bounds.width(); in toBitmap() local 240 final float scale = sx > sy ? sy : sx; in toBitmap()
|
/frameworks/base/core/jni/android/opengl/ |
D | poly_clip.cpp | 82 wp = (float *)&q->vert[q->n].sx; in poly_clip_to_halfspace() 117 if (v->sx < -sw) x0out++; /* out on left */ in poly_clip_to_frustum() 118 if (v->sx > sw) x1out++; /* out on right */ in poly_clip_to_frustum() 142 if (x0out) CLIP_AND_SWAP(sx, -1.0f, -1.0f, p, q, r); in poly_clip_to_frustum() 143 if (x1out) CLIP_AND_SWAP(sx, 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 | 77 …static void setScale__FFFF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy, jflo… in setScale__FFFF() argument 79 obj->setScale(sx, sy, px, py); in setScale__FFFF() 81 static void setScale__FF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy) { in setScale__FF() argument 83 obj->setScale(sx, sy); in setScale__FF() 121 …static void preScale__FFFF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy, jflo… in preScale__FFFF() argument 123 obj->preScale(sx, sy, px, py); in preScale__FFFF() 126 static void preScale__FF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy) { in preScale__FF() argument 128 obj->preScale(sx, sy); in preScale__FF() 162 …static void postScale__FFFF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy, jfl… in postScale__FFFF() argument 164 obj->postScale(sx, sy, px, py); in postScale__FFFF() [all …]
|
/frameworks/base/opengl/java/android/opengl/ |
D | Matrix.java | 652 float sx = (float) Math.sin(x); in setRotateEulerM() local 658 float sxsy = sx * sy; in setRotateEulerM() 667 rm[rmOffset + 6] = -sx * cy; in setRotateEulerM() 670 rm[rmOffset + 8] = -sxsy * cz + sx * sz; in setRotateEulerM() 671 rm[rmOffset + 9] = sxsy * sz + sx * cz; in setRotateEulerM() 716 float sx = fy * upZ - fz * upY; in setLookAtM() local 721 float rls = 1.0f / Matrix.length(sx, sy, sz); in setLookAtM() 722 sx *= rls; in setLookAtM() 728 float uy = sz * fx - sx * fz; in setLookAtM() 729 float uz = sx * fy - sy * fx; in setLookAtM() [all …]
|
/frameworks/native/opengl/tests/gl_jni/jni/ |
D | gl_code.cpp | 49 float sx = fy * upZ - fz * upY; in gluLookAt() local 55 float uy = sz * fx - sx * fz; in gluLookAt() 56 float uz = sx * fy - sy * fx; in gluLookAt() 59 m[0] = sx; in gluLookAt()
|
/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/native/opengl/tests/tritex/ |
D | tritex.cpp | 60 float sx = fy * upZ - fz * upY; in gluLookAt() local 66 float uy = sz * fx - sx * fz; in gluLookAt() 67 float uz = sx * fy - sy * fx; in gluLookAt() 70 m[0] = sx; in gluLookAt()
|
/frameworks/base/core/java/android/view/animation/ |
D | ScaleAnimation.java | 242 float sx = 1.0f; in applyTransformation() local 247 sx = mFromX + ((mToX - mFromX) * 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 | 63 float sx = fy * upZ - fz * upY; in gluLookAt() local 69 float uy = sz * fx - sx * fz; in gluLookAt() 70 float uz = sx * fy - sy * fx; in gluLookAt() 73 m[0] = sx; in gluLookAt()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | ViewGroup_Delegate.java | 164 int sx = child.mScrollX; in transformCanvas() local 167 canvas.translate(child.mLeft - sx, child.mTop - sy); in transformCanvas() 172 int transX = -sx; in transformCanvas()
|
/frameworks/base/include/private/graphics/ |
D | Canvas.h | 69 virtual void scale(float sx, float sy) = 0; 70 virtual void skew(float sx, float sy) = 0;
|