/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_state.c | 1365 float_ui32_type sx = { v[MAT_SX] }; local [all...] |
/external/mesa3d/src/mesa/main/ |
texcompress_fxt1.c | 338 GLint sx, sx2; local 343 sx = sx2 = 0; 346 sx += t; 349 var = sx2 * teenth - sx * sx * teenth * teenth; [all...] |
/external/pixman/pixman/ |
pixman-fast-path.c | 1216 int32_t sx, sy; local 1256 sx = src_x; 1257 sx = MOD (sx, src_image->bits.width); 1258 sx += width; 1261 while (src_width < REPEAT_MIN_WIDTH && src_width <= sx) 1281 sx = src_x; 1286 sx = MOD (sx, src_width); 1341 num_pixels = src_width - sx; [all...] |
/external/skia/src/utils/ |
SkMatrix44.cpp | 251 void SkMatrix44::setScale(SkMScalar sx, SkMScalar sy, SkMScalar sz) { 254 if (1 == sx && 1 == sy && 1 == sz) { 258 fMat[0][0] = sx; 264 void SkMatrix44::preScale(SkMScalar sx, SkMScalar sy, SkMScalar sz) { 265 if (1 == sx && 1 == sy && 1 == sz) { 273 fMat[0][i] *= sx; 280 void SkMatrix44::postScale(SkMScalar sx, SkMScalar sy, SkMScalar sz) { 281 if (1 == sx && 1 == sy && 1 == sz) { 286 fMat[i][0] *= sx; 713 double sx = src2[0] local 730 double sx = src2[0]; local 745 double sx = src2[0]; local 759 double sx = src2[0]; local [all...] |
SkLua.cpp | 391 SkScalar sx = lua2scalar_def(L, 2, 1); local 392 SkScalar sy = lua2scalar_def(L, 3, sx); 393 get_ref<SkCanvas>(L, 1)->scale(sx, sy);
|
/external/skia/tests/ |
MathTest.cpp | 425 SkScalar sx = rand.nextSScalar1(); local 426 REPORTER_ASSERT(reporter, SkScalarCopySign(sx, sx) == sx); 427 REPORTER_ASSERT(reporter, SkScalarCopySign(sx, -sx) == -sx); 428 REPORTER_ASSERT(reporter, SkScalarCopySign(-sx, sx) == sx); [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Bitmap.java | 591 final float sx = dstWidth / (float)width; local 593 m.setScale(sx, sy); [all...] |
/frameworks/base/opengl/java/android/opengl/ |
Matrix.java | 460 * Scales matrix m in place by sx, sy, and sz. 652 float sx = (float) Math.sin(x); local 658 float sxsy = sx * sy; 667 rm[rmOffset + 6] = -sx * cy; 670 rm[rmOffset + 8] = -sxsy * cz + sx * sz; 671 rm[rmOffset + 9] = sxsy * sz + sx * cz; 716 float sx = fy * upZ - fz * upY; local 721 float rls = 1.0f / Matrix.length(sx, sy, sz); 722 sx *= rls; 728 float uy = sz * fx - sx * fz [all...] |
/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/native/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;
|
/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 | 318 ObjectAnimator sx = ObjectAnimator.ofFloat(mAnimScreen, "scaleFactor", local 324 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/chromium_org/third_party/skia/src/core/ |
SkMatrix.cpp | 198 SkScalar sx = fMat[kMSkewX]; local 201 if (is_degenerate_2x2(mx, sx, sy, my)) { 207 vec[0].set(mx, sx); 230 SkScalar sx = fMat[kMSkewX]; local 233 if (is_degenerate_2x2(mx, sx, sy, my)) { 239 vec[0].set(mx, sx); 300 void SkMatrix::setScale(SkScalar sx, SkScalar sy, SkScalar px, SkScalar py) { 301 if (SK_Scalar1 == sx && SK_Scalar1 == sy) { 304 fMat[kMScaleX] = sx; 306 fMat[kMTransX] = px - SkScalarMul(sx, px) 579 SkScalar tx, sx = SkScalarDiv(dst.width(), src.width()); local 1141 SkScalar sx = src->fX; local 1163 SkScalar sx = src->fX; local 1183 SkScalar sx = src->fX; local [all...] |
SkPicturePlayback.cpp | 1019 SkScalar sx = reader.readScalar(); local 1029 SkScalar sx = reader.readScalar(); local [all...] |
/external/chromium_org/third_party/skia/src/utils/ |
SkLua.cpp | 391 SkScalar sx = lua2scalar_def(L, 2, 1); local 392 SkScalar sy = lua2scalar_def(L, 3, sx); 393 get_ref<SkCanvas>(L, 1)->scale(sx, sy);
|
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/ |
Camera.java | 1145 float sx = width * viewPortLeft; local [all...] |
/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/skia/src/core/ |
SkMatrix.cpp | 198 SkScalar sx = fMat[kMSkewX]; local 201 if (is_degenerate_2x2(mx, sx, sy, my)) { 207 vec[0].set(mx, sx); 230 SkScalar sx = fMat[kMSkewX]; local 233 if (is_degenerate_2x2(mx, sx, sy, my)) { 239 vec[0].set(mx, sx); 300 void SkMatrix::setScale(SkScalar sx, SkScalar sy, SkScalar px, SkScalar py) { 301 if (SK_Scalar1 == sx && SK_Scalar1 == sy) { 304 fMat[kMScaleX] = sx; 306 fMat[kMTransX] = px - SkScalarMul(sx, px) 579 SkScalar tx, sx = SkScalarDiv(dst.width(), src.width()); local 1141 SkScalar sx = src->fX; local 1163 SkScalar sx = src->fX; local 1183 SkScalar sx = src->fX; local [all...] |
SkPicturePlayback.cpp | 1019 SkScalar sx = reader.readScalar(); local 1029 SkScalar sx = reader.readScalar(); local [all...] |
/external/skia/src/ports/ |
SkFontHost_FreeType.cpp | 878 SkScalar sx = m.getScaleX(); local 883 if (m.getSkewX() || m.getSkewY() || sx < 0 || sy < 0) { 885 sx = SkMaxScalar(SkScalarAbs(sx), SkScalarAbs(m.getSkewX())); 887 sx = sy = SkScalarAve(sx, sy); 889 SkScalar inv = SkScalarInvert(sx); 908 fScale.set(sx, sy); 909 fScaleX = SkScalarToFixed(sx); 914 fScale.set(sx / hintingScaleFactor, sy / hintingScaleFactor) [all...] |
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
MultiWaveView.java | 425 final float sx = (float) Math.cos(angle); local 428 {sx * chevronStartDistance, sx * chevronStopDistance}; [all...] |
/frameworks/support/v4/java/android/support/v4/view/ |
ViewPager.java | 794 int sx = getScrollX(); local 796 int dx = x - sx; 825 mScroller.startScroll(sx, sy, dx, dy, duration); [all...] |