/bootable/recovery/minui/ |
resources.c | 134 int sx = x * 3; local 136 unsigned char r = pRow[sx]; 137 unsigned char g = pRow[sx + 1]; 138 unsigned char b = pRow[sx + 2];
|
/external/skia/src/effects/ |
Sk1DPathEffect.cpp | 97 SkScalar sx = src[i].fX; local 100 meas.getPosTan(dist + sx, &pos, &tangent); 105 pt.set(sx, sy); 107 matrix.preTranslate(-sx, 0);
|
/external/webkit/WebCore/svg/ |
SVGTransform.h | 60 void setScale(float sx, float sy);
|
SVGTransform.cpp | 106 void SVGTransform::setScale(float sx, float sy) 113 m_matrix.scaleNonUniform(sx, sy);
|
/external/webkit/WebKit/android/plugins/ |
ANPMatrixInterface.cpp | 84 static void anp_preScale(ANPMatrix* matrix, float sx, float sy) { 85 matrix->preScale(SkFloatToScalar(sx), SkFloatToScalar(sy)); 88 static void anp_postScale(ANPMatrix* matrix, float sx, float sy) { 89 matrix->postScale(SkFloatToScalar(sx), SkFloatToScalar(sy));
|
/frameworks/base/core/java/android/view/animation/ |
ScaleAnimation.java | 162 float sx = 1.0f; local 166 sx = mFromX + ((mToX - mFromX) * interpolatedTime); 173 t.getMatrix().setScale(sx, sy); 175 t.getMatrix().setScale(sx, sy, mPivotX, mPivotY);
|
/development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/ |
AccelerometerPlayActivity.java | 161 public void computePhysics(float sx, float sy, float dT, float dTC) { 164 final float gx = -sx * m; 242 private void updatePositions(float sx, float sy, long timestamp) { 251 ball.computePhysics(sx, sy, dT, dTC); 264 public void update(float sx, float sy, long now) { 266 updatePositions(sx, sy, now); 429 final float sx = mSensorX; local 432 particleSystem.update(sx, sy, now);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Matrix_Delegate.java | 251 /*package*/ static void native_setScale(int native_object, float sx, float sy, 258 d.mValues = getScale(sx, sy, px, py); 262 /*package*/ static void native_setScale(int native_object, float sx, float sy) { 268 d.mValues[0] = sx; 397 /*package*/ static boolean native_preScale(int native_object, float sx, float sy, 404 d.preTransform(getScale(sx, sy, px, py)); 409 /*package*/ static boolean native_preScale(int native_object, float sx, float sy) { 415 d.preTransform(getScale(sx, sy)); 497 /*package*/ static boolean native_postScale(int native_object, float sx, float sy, 504 d.postTransform(getScale(sx, sy, px, py)) 599 float tx, sx = dst.width() \/ src.width(); local [all...] |
/frameworks/base/core/java/android/gesture/ |
GestureUtils.java | 99 float sx = targetPatchSize / gestureWidth; local 103 float scale = sx < sy ? sx : sy; 104 sx = scale; 113 float scale = sx < sy ? sx : sy; 114 sx = scale; 117 if (sx > sy) { 119 if (scale < sx) { 120 sx = scale [all...] |
/external/skia/src/core/ |
SkStrokerPriv.cpp | 37 SkScalar sx = SkScalarMul(nx, CUBIC_ARC_FACTOR); local 40 path->cubicTo(px + nx + CWX(sx, sy), py + ny + CWY(sx, sy), 41 px + CWX(nx, ny) + sx, py + CWY(nx, ny) + sy, 43 path->cubicTo(px + CWX(nx, ny) - sx, py + CWY(nx, ny) - sy, 44 px - nx + CWX(sx, sy), py - ny + CWY(sx, sy),
|
SkPath.cpp | 398 SkScalar sx = SkScalarMul(rx, CUBIC_ARC_FACTOR); local 407 this->cubicTo(rect.fLeft + rx - sx, rect.fTop, 414 rect.fLeft + rx - sx, rect.fBottom, 419 this->cubicTo(rect.fRight - rx + sx, rect.fBottom, 426 rect.fRight - rx + sx, rect.fTop, 429 this->cubicTo(rect.fRight - rx + sx, rect.fTop, 436 rect.fRight - rx + sx, rect.fBottom, 441 this->cubicTo(rect.fLeft + rx - sx, rect.fBottom, 448 rect.fLeft + rx - sx, rect.fTop, 514 SkScalar sx = SkScalarMul(rx, CUBIC_ARC_FACTOR) 531 SkScalar sx = SkScalarMul(rx, SK_ScalarTanPIOver8); local [all...] |
/frameworks/base/libs/rs/ |
rsNoise.cpp | 102 float rx0, rx1, sx, t, u, v; local 115 sx = noise_sCurve(rx0); 119 return 2.3f * lerpf(u, v, sx); 126 float rx0, rx1, ry0, ry1, sx, sy, a, b, t, u, v; local 155 sx = noise_sCurve(rx0); 160 a = lerpf(u, v, sx); 164 b = lerpf(u, v, sx);
|
/external/webkit/WebCore/platform/graphics/ |
FloatRect.cpp | 105 void FloatRect::scale(float sx, float sy) 107 m_location.setX(x() * sx); 109 m_size.setWidth(width() * sx);
|
/external/webkit/WebCore/platform/graphics/transforms/ |
AffineTransform.h | 98 AffineTransform& scale(double sx, double sy); 99 AffineTransform& scaleNonUniform(double sx, double sy); 104 AffineTransform& shear(double sx, double sy);
|
/frameworks/base/core/jni/android/graphics/ |
Matrix.cpp | 70 static void setScale__FFFF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy, jfloat px, jfloat py) { 71 SkScalar sx_ = SkFloatToScalar(sx); 78 static void setScale__FF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy) { 79 SkScalar sx_ = SkFloatToScalar(sx); 134 static jboolean preScale__FFFF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy, jfloat px, jfloat py) { 135 SkScalar sx_ = SkFloatToScalar(sx); 142 static jboolean preScale__FF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy) { 143 SkScalar sx_ = SkFloatToScalar(sx); 184 static jboolean postScale__FFFF(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat sx, jfloat sy, jfloat px, jfloat py) { 185 SkScalar sx_ = SkFloatToScalar(sx); [all...] |
/external/skia/include/core/ |
SkMatrix.h | 133 /** Set the matrix to scale by sx and sy, with a pivot point at (px, py). 137 void setScale(SkScalar sx, SkScalar sy, SkScalar px, SkScalar py); 138 /** Set the matrix to scale by sx and sy. 140 void setScale(SkScalar sx, SkScalar sy); 158 /** Set the matrix to skew by sx and sy, with a pivot point at (px, py). 163 /** Set the matrix to skew by sx and sy. 177 M' = M * S(sx, sy, px, py) 179 bool preScale(SkScalar sx, SkScalar sy, SkScalar px, SkScalar py); 181 M' = M * S(sx, sy) 183 bool preScale(SkScalar sx, SkScalar sy) [all...] |
/external/skia/src/utils/ |
SkNWayCanvas.cpp | 85 bool SkNWayCanvas::scale(SkScalar sx, SkScalar sy) { 88 iter->scale(sx, sy); 90 return this->INHERITED::scale(sx, sy); 101 bool SkNWayCanvas::skew(SkScalar sx, SkScalar sy) { 104 iter->skew(sx, sy); 106 return this->INHERITED::skew(sx, sy);
|
SkProxyCanvas.cpp | 46 bool SkProxyCanvas::scale(SkScalar sx, SkScalar sy) { 47 return fProxy->scale(sx, sy); 54 bool SkProxyCanvas::skew(SkScalar sx, SkScalar sy) { 55 return fProxy->skew(sx, sy);
|
/external/skia/include/utils/ |
SkNWayCanvas.h | 24 virtual bool scale(SkScalar sx, SkScalar sy); 26 virtual bool skew(SkScalar sx, SkScalar sy);
|
/external/qemu/android/skin/ |
surface.c | 272 int sx; member in struct:__anon5734 345 int sx = src_rect->pos.x; local 353 sx -= x; 356 if (sx < 0) { 357 w += sx; 358 x -= sx; 359 sx = 0; 366 delta = (sx + w) - src->surface->w; 394 blit->sx = sx; [all...] |
/frameworks/base/opengl/java/android/opengl/ |
Matrix.java | 384 * Scales matrix m in place by sx, sy, and sz 559 float sx = (float) Math.sin(x); local 565 float sxsy = sx * sy; 574 rm[rmOffset + 6] = -sx * cy; 577 rm[rmOffset + 8] = -sxsy * cz + sx * sz; 578 rm[rmOffset + 9] = sxsy * sz + sx * cz; 623 float sx = fy * upZ - fz * upY; local 628 float rls = 1.0f / Matrix.length(sx, sy, sz); 629 sx *= rls; 635 float uy = sz * fx - sx * fz [all...] |
/external/webkit/WebCore/platform/graphics/android/ |
AndroidAnimation.cpp | 247 float sx = m_toScaleX; local 249 m_fromScaleX = sx; 273 float sx = m_fromScaleX + (m_toScaleX - m_fromScaleX) * progress; local 282 layer->setScale(sx, sy);
|
/frameworks/base/opengl/tests/gl_jni/jni/ |
gl_code.cpp | 49 float sx = fy * upZ - fz * upY; local 55 float uy = sz * fx - sx * fz; 56 float uz = sx * fy - sy * fx; 59 m[0] = sx;
|
/frameworks/base/opengl/tests/tritex/ |
tritex.cpp | 60 float sx = fy * upZ - fz * upY; local 66 float uy = sz * fx - sx * fz; 67 float uz = sx * fy - sy * fx; 70 m[0] = sx;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
PictureLayout.java | 110 float sx, float sy) { 115 canvas.scale(sx, sy, w, h);
|