HomeSort by relevance Sort by last modified time
    Searched defs:sx (Results 51 - 75 of 115) sorted by null

1 23 4 5

  /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);
  /external/skia/src/core/
SkPath.cpp 438 SkScalar sx = SkScalarMul(rx, CUBIC_ARC_FACTOR); local
447 this->cubicTo(rect.fLeft + rx - sx, rect.fTop,
454 rect.fLeft + rx - sx, rect.fBottom,
459 this->cubicTo(rect.fRight - rx + sx, rect.fBottom,
466 rect.fRight - rx + sx, rect.fTop,
469 this->cubicTo(rect.fRight - rx + sx, rect.fTop,
476 rect.fRight - rx + sx, rect.fBottom,
481 this->cubicTo(rect.fLeft + rx - sx, rect.fBottom,
488 rect.fLeft + rx - sx, rect.fTop,
559 SkScalar sx = SkScalarMul(rx, CUBIC_ARC_FACTOR)
576 SkScalar sx = SkScalarMul(rx, SK_ScalarTanPIOver8); local
1452 int sx = sign(vec.fX); local
    [all...]
SkMatrix.cpp 198 void SkMatrix::setScale(SkScalar sx, SkScalar sy, SkScalar px, SkScalar py) {
199 fMat[kMScaleX] = sx;
201 fMat[kMTransX] = px - SkScalarMul(sx, px);
211 void SkMatrix::setScale(SkScalar sx, SkScalar sy) {
212 fMat[kMScaleX] = sx;
223 bool SkMatrix::preScale(SkScalar sx, SkScalar sy, SkScalar px, SkScalar py) {
225 m.setScale(sx, sy, px, py);
229 bool SkMatrix::preScale(SkScalar sx, SkScalar sy) {
232 m.setScale(sx, sy);
240 fMat[kMScaleX] = SkScalarMul(fMat[kMScaleX], sx);
451 SkScalar tx, sx = SkScalarDiv(dst.width(), src.width()); local
953 SkScalar sx = src->fX; local
975 SkScalar sx = src->fX; local
995 SkScalar sx = src->fX; local
    [all...]
SkPicturePlayback.cpp 749 SkScalar sx = getScalar(); local
751 canvas.scale(sx, sy);
757 SkScalar sx = getScalar(); local
759 canvas.skew(sx, sy);
    [all...]
  /external/skia/src/ports/
SkFontHost_FreeType.cpp 661 SkScalar sx = m.getScaleX(); local
664 if (m.getSkewX() || m.getSkewY() || sx < 0 || sy < 0) {
666 sx = SkMaxScalar(SkScalarAbs(sx), SkScalarAbs(m.getSkewX()));
668 sx = sy = SkScalarAve(sx, sy);
670 SkScalar inv = SkScalarInvert(sx);
682 fScaleX = SkScalarToFixed(sx);
    [all...]
  /frameworks/base/graphics/java/android/graphics/
Bitmap.java 434 final float sx = dstWidth / (float)width; local
436 m.setScale(sx, sy);
    [all...]
  /frameworks/base/libs/hwui/
DisplayListRenderer.cpp 280 float sx = getFloat(); local
282 LOGD("%s%s %.2f, %.2f", (char*) indent, OP_NAMES[op], sx, sy);
286 float sx = getFloat(); local
288 LOGD("%s%s %.2f, %.2f", (char*) indent, OP_NAMES[op], sx, sy);
613 float sx = getFloat(); local
615 DISPLAY_LIST_LOGD("%s%s %.2f, %.2f", (char*) indent, OP_NAMES[op], sx, sy);
616 renderer.scale(sx, sy);
620 float sx = getFloat(); local
622 DISPLAY_LIST_LOGD("%s%s %.2f, %.2f", (char*) indent, OP_NAMES[op], sx, sy);
623 renderer.skew(sx, sy)
    [all...]
  /frameworks/base/opengl/java/android/opengl/
Matrix.java 448 * Scales matrix m in place by sx, sy, and sz
625 float sx = (float) Math.sin(x); local
631 float sxsy = sx * sy;
640 rm[rmOffset + 6] = -sx * cy;
643 rm[rmOffset + 8] = -sxsy * cz + sx * sz;
644 rm[rmOffset + 9] = sxsy * sz + sx * cz;
689 float sx = fy * upZ - fz * upY; local
694 float rls = 1.0f / Matrix.length(sx, sy, sz);
695 sx *= rls;
701 float uy = sz * fx - sx * fz
    [all...]
  /frameworks/base/opengl/libagl/
matrix.cpp 697 GLfloat sx = div2f(w); local
698 GLfloat ox = sx + x;
709 f[0] = sx; f[4] = 0; f[ 8] = 0; f[12] = ox;
  /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/support/v4/java/android/support/v4/view/
ViewPager.java 612 int sx = getScrollX(); local
614 int dx = x - sx;
642 mScroller.startScroll(sx, sy, dx, dy, duration);
    [all...]
  /packages/apps/Browser/src/com/android/browser/
NavTabScroller.java 245 int sx = 0; local
248 sx = (v.getLeft() + v.getRight() - getWidth()) / 2;
252 if ((sx != mScrollX) || (sy != mScrollY)) {
254 smoothScrollTo(sx,sy);
256 scrollTo(sx, sy);
PhoneUi.java 372 ObjectAnimator sx = ObjectAnimator.ofFloat(mAnimScreen, "scaleFactor", local
378 inanim.playTogether(tx, ty, tr, tb, sx, title);
  /bionic/libc/stdlib/
strtod.c 1920 ULong *bx, *bxe, *sx, *sxe; local
    [all...]
  /development/ndk/platforms/android-3/include/linux/
fb.h 301 __u32 sx; member in struct:fb_copyarea
  /external/opencv/cv/src/
cvhough.cpp 910 int sx, sy, x0, y0, x1, y1, r, k; local
921 sx = cvRound(vx*ONE/fabs(vy));
928 sx = vx < 0 ? -ONE : ONE;
936 x0 += min_radius * sx;
939 for( x1 = x0, y1 = y0, r = min_radius; r <= max_radius; x1 += sx, y1 += sy, r++ )
948 x0 -= min_radius * sx;
950 sx = -sx; sy = -sy;
    [all...]
cvimgwarp.cpp 252 int sx = xofs[dx].idx; \
254 worktype t = _src[sx]; \
255 _buf[dx] = mul_one_macro(t) + fx*(_src[sx+cn] - t); \
424 int dx, dy, sx, sy, sy2, ify; \
470 sx = sx0 + cn*2; \
471 while( sx >= ssize.width ) \
472 sx -= cn; \
473 x = load_macro(_src[sx]); \
475 if( (unsigned)(sx = sx0 + cn) < (unsigned)ssize.width ) \
476 x = load_macro(_src[sx]); \
638 int k, sx, sy, dx, dy; local
    [all...]
  /external/webkit/Source/JavaScriptCore/wtf/
dtoa.cpp 1191 uint32_t* sx; local
1206 sx = S.words();
1207 sxe = sx + --n;
1217 ys = *sx++ * (unsigned long long)q + carry;
1223 si = *sx++;
1233 } while (sx <= sxe);
1246 sx = S.words();
1249 ys = *sx++ + carry;
1255 si = *sx++;
1265 } while (sx <= sxe)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
CropView.java 635 float sx = r.width() * mSpotlightRatioX; local
640 canvas.fillRect(cx - sx / 2, cy - sy / 2, sx, sy, Color.TRANSPARENT);
641 canvas.drawRect(cx - sx / 2, cy - sy / 2, sx, sy, mPaint);
647 canvas.drawRect(cx - sy / 2, cy - sx / 2, sy, sx, mPaint);
648 canvas.fillRect(cx - sy / 2, cy - sx / 2, sy, sx, Color.TRANSPARENT);
  /prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/
fb.h 301 __u32 sx; member in struct:fb_copyarea
  /prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/
fb.h 301 __u32 sx; member in struct:fb_copyarea
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/
fb.h 301 __u32 sx; member in struct:fb_copyarea
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/
fb.h 301 __u32 sx; member in struct:fb_copyarea
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/linux/
fb.h 301 __u32 sx; member in struct:fb_copyarea
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/
fb.h 301 __u32 sx; member in struct:fb_copyarea

Completed in 831 milliseconds

1 23 4 5