/frameworks/base/graphics/java/android/graphics/ |
D | Matrix.java | 109 public void setScale(float sx, float sy, float px, float py) { in setScale() argument 110 native_setScale(native_instance, sx, sy, px, py); in setScale() 114 public void setScale(float sx, float sy) { in setScale() argument 115 native_setScale(native_instance, sx, sy); in setScale() 184 public boolean preScale(float sx, float sy, float px, float py) { in preScale() argument 185 return native_preScale(native_instance, sx, sy, px, py); in preScale() 192 public boolean preScale(float sx, float sy) { in preScale() argument 193 return native_preScale(native_instance, sx, sy); in preScale() 248 public boolean postScale(float sx, float sy, float px, float py) { in postScale() argument 249 return native_postScale(native_instance, sx, sy, px, py); in postScale() [all …]
|
D | Canvas.java | 373 public native void scale(float sx, float sy); in scale() argument 383 public final void scale(float sx, float sy, float px, float py) { in scale() argument 385 scale(sx, sy); in scale() 415 public native void skew(float sx, float sy); in skew() argument
|
D | Bitmap.java | 347 final float sy = dstHeight / (float)height; in createScaledBitmap() local 348 m.setScale(sx, sy); in createScaledBitmap()
|
/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/java/android/view/animation/ |
D | ScaleAnimation.java | 163 float sy = 1.0f; in applyTransformation() local 169 sy = mFromY + ((mToY - mFromY) * interpolatedTime); in applyTransformation() 173 t.getMatrix().setScale(sx, sy); in applyTransformation() 175 t.getMatrix().setScale(sx, sy, mPivotX, mPivotY); in applyTransformation()
|
/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/libs/rs/ |
D | rsNoise.cpp | 126 float rx0, rx1, ry0, ry1, sx, sy, a, b, t, u, v; in SC_noisef2() local 156 sy = noise_sCurve(ry0); in SC_noisef2() 166 return 1.5f*lerpf(a, b, sy); in SC_noisef2() 173 float rx0, rx1, ry0, ry1, rz0, rz1, sy, sz, a, b, c, d, t, u, v; in SC_noisef3() local 209 sy = noise_sCurve(ry0); in SC_noisef3() 220 c = lerpf(a, b, sy); in SC_noisef3() 230 d = lerpf(a, b, sy); in SC_noisef3()
|
/frameworks/base/core/jni/android/graphics/ |
D | Matrix.cpp | 70 …static void setScale__FFFF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy, jfloat… in setScale__FFFF() argument 72 SkScalar sy_ = SkFloatToScalar(sy); in setScale__FFFF() 78 static void setScale__FF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy) { in setScale__FF() argument 80 SkScalar sy_ = SkFloatToScalar(sy); in setScale__FF() 134 …static jboolean preScale__FFFF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy, jf… in preScale__FFFF() argument 136 SkScalar sy_ = SkFloatToScalar(sy); in preScale__FFFF() 142 static jboolean preScale__FF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy) { in preScale__FF() argument 144 SkScalar sy_ = SkFloatToScalar(sy); in preScale__FF() 184 …static jboolean postScale__FFFF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy, j… in postScale__FFFF() argument 186 SkScalar sy_ = SkFloatToScalar(sy); in postScale__FFFF() [all …]
|
D | Movie.cpp | 78 SkScalar sy = SkFloatToScalar(fy); in movie_draw() local 82 c->drawBitmap(b, sx, sy, p); in movie_draw()
|
D | Canvas.cpp | 200 static void scale__FF(JNIEnv* env, jobject jcanvas, jfloat sx, jfloat sy) { in scale__FF() argument 203 SkScalar sy_ = SkFloatToScalar(sy); in scale__FF() 213 static void skew__FF(JNIEnv* env, jobject jcanvas, jfloat sx, jfloat sy) { in skew__FF() argument 216 SkScalar sy_ = SkFloatToScalar(sy); in skew__FF()
|
/frameworks/base/opengl/java/android/opengl/ |
D | Matrix.java | 561 float sy = (float) Math.sin(y); in setRotateEulerM() local 564 float cxsy = cx * sy; in setRotateEulerM() 565 float sxsy = sx * sy; in setRotateEulerM() 569 rm[rmOffset + 2] = sy; in setRotateEulerM() 624 float sy = fz * upX - fx * upZ; in setLookAtM() local 628 float rls = 1.0f / Matrix.length(sx, sy, sz); in setLookAtM() 630 sy *= rls; in setLookAtM() 634 float ux = sy * fz - sz * fy; in setLookAtM() 636 float uz = sx * fy - sy * fx; in setLookAtM() 643 rm[rmOffset + 4] = sy; in setLookAtM()
|
/frameworks/base/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/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/services/surfaceflinger/ |
D | LayerDim.cpp | 93 const GLint sy = fbHeight - (r.top + r.height()); in onDraw() local 94 glScissor(r.left, sy, r.width(), r.height()); in onDraw()
|
D | LayerBase.cpp | 297 const GLint sy = fbHeight - (r.top + r.height()); in drawRegion() local 298 glScissor(r.left, sy, r.width(), r.height()); in drawRegion() 337 const GLint sy = fbHeight - (r.top + r.height()); in clearWithOpenGL() local 338 glScissor(r.left, sy, r.width(), r.height()); in clearWithOpenGL() 484 const GLint sy = fbHeight - (r.top + r.height()); in drawWithOpenGL() local 485 glScissor(r.left, sy, r.width(), r.height()); in drawWithOpenGL()
|
D | LayerBlur.cpp | 239 const GLint sy = fbHeight - (r.top + r.height()); in onDraw() local 240 glScissor(r.left, sy, r.width(), r.height()); in onDraw()
|
/frameworks/base/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/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | GcSnapshot.java | 438 public void scale(float sx, float sy) { in scale() argument 441 layer.getGraphics().scale(sx, sy); in scale() 447 mTransform.scale(sx, sy); in scale()
|
/frameworks/base/core/java/android/webkit/ |
D | WebView.java | 1484 int sy = b.getInt("scrollY", 0); in restoreHistoryPictureFields() local 1489 mScrollY = sy; in restoreHistoryPictureFields() 2327 float sy = ratio * oldY + (ratio - 1) in setNewZoomScale() local 2344 mScrollY = pinLocY(Math.round(sy)); in setNewZoomScale() 4847 float sy = computeStretch(mStartY - y, mMinDY, mMaxDY); in dragTo() local 4851 sy = 0; in dragTo() 4856 if (mCurrStretchX != sx || mCurrStretchY != sy) { in dragTo() 4858 mCurrStretchY = sy; in dragTo() 4861 " " + sy); in dragTo() 4863 if (mProxy.onStretchChange(sx, sy)) { in dragTo() [all …]
|
/frameworks/base/core/java/android/view/ |
D | ViewGroup.java | 1565 final int sy = child.mScrollY; in drawChild() local 1579 canvas.translate(cl - sx, ct - sy); in drawChild() 1597 transY = -sy; in drawChild() 1615 canvas.saveLayerAlpha(sx, sy, sx + cr - cl, sy + cb - ct, multipliedAlpha, in drawChild() 1627 canvas.clipRect(sx, sy, sx + (cr - cl), sy + (cb - ct)); in drawChild()
|
/frameworks/base/opengl/libagl/ |
D | matrix.cpp | 699 GLfloat sy = div2f(h); in ogles_viewport() local 700 GLfloat oy = sy - y + (H - h); in ogles_viewport() 710 f[1] = 0; f[5] =-sy; f[ 9] = 0; f[13] = oy; in ogles_viewport()
|