/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ViewPager.java | 800 int sy = getScrollY(); 802 int dy = y - sy; 830 mScroller.startScroll(sx, sy, dx, dy, duration);
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | ColorCube.java | 44 final int sy = 32; 49 tb.setY(sy); 54 int dat[] = new int[sx * sy * sz]; 56 for (int y = 0; y < sy; y++) { 60 v |= (0xff * y / (sy - 1)) << 8; 62 dat[z*sy*sx + y*sx + x] = v;
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | ColorCube.java | 36 final int sy = 32; 41 tb.setY(sy); 46 int dat[] = new int[sx * sy * sz]; 48 for (int y = 0; y < sy; y++) { 52 v |= (0xff * y / (sy - 1)) << 8; 54 dat[z*sy*sx + y*sx + x] = v;
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | ColorCube.java | 44 final int sy = 32; 49 tb.setY(sy); 54 int dat[] = new int[sx * sy * sz]; 56 for (int y = 0; y < sy; y++) { 60 v |= (0xff * y / (sy - 1)) << 8; 62 dat[z*sy*sx + y*sx + x] = v;
|
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/ |
H A D | TestLatencyView.java | 120 float sy = (y + dy * step) * mScaleY + mOffsetY; 125 mTriangleVerticesData2[i+1] = -sy + mTriangleVerticesData[i+1];
|
/frameworks/native/opengl/tests/tritex/ |
H A D | tritex.cpp | 61 float sy = fz * upX - fx * upZ; local 65 float ux = sy * fz - sz * fy; 67 float uz = sx * fy - sy * fx; 75 m[4] = sy;
|
/frameworks/native/services/surfaceflinger/ |
H A D | DisplayDevice.cpp | 463 float sy = dst_height / src_height; local 464 S.set(sx, 0, 0, sy);
|
/frameworks/native/libs/gui/ |
H A D | GLConsumer.cpp | 787 float tx = 0.0f, ty = 0.0f, sx = 1.0f, sy = 1.0f; local 827 sy = (float(cropRect.height()) - (2.0f * shrinkAmount)) / 833 0, sy, 0, 0,
|
/frameworks/native/opengl/libagl/ |
H A D | matrix.cpp | 699 GLfloat sy = div2f(h); local 700 GLfloat oy = sy - y + (H - h); 710 f[1] = 0; f[5] =-sy; f[ 9] = 0; f[13] = oy;
|
/frameworks/native/opengl/tests/gl_basic/ |
H A D | gl_basic.cpp | 64 float sy = fz * upX - fx * upZ; local 68 float ux = sy * fz - sz * fy; 70 float uz = sx * fy - sy * fx; 78 m[4] = sy;
|
/frameworks/native/opengl/tests/gl_jni/jni/ |
H A D | gl_code.cpp | 50 float sy = fz * upX - fx * upZ; local 54 float ux = sy * fz - sz * fy; 56 float uz = sx * fy - sy * fx; 64 m[4] = sy;
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Canvas_Delegate.java | 267 /*package*/ static void native_scale(long nativeCanvas, float sx, float sy) { argument 274 canvasDelegate.getSnapshot().scale(sx, sy);
|
H A D | Matrix_Delegate.java | 261 /*package*/ static void native_setScale(long native_object, float sx, float sy, argument 268 d.mValues = getScale(sx, sy, px, py); 272 /*package*/ static void native_setScale(long native_object, float sx, float sy) { argument 282 d.mValues[4] = sy; 394 /*package*/ static void native_preScale(long native_object, float sx, float sy, argument 398 d.preTransform(getScale(sx, sy, px, py)); 403 /*package*/ static void native_preScale(long native_object, float sx, float sy) { argument 406 d.preTransform(getScale(sx, sy)); 467 /*package*/ static void native_postScale(long native_object, float sx, float sy, argument 471 d.postTransform(getScale(sx, sy, p 476 native_postScale(long native_object, float sx, float sy) argument 970 getScale(float sx, float sy) argument 981 getScale(float sx, float sy, float px, float py) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | ViewGroup_Delegate.java | 165 int sy = child.mScrollY; 167 canvas.translate(child.mLeft - sx, child.mTop - sy); 173 int transY = -sy;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 445 public void scale(float sx, float sy) { argument 448 layer.getGraphics().scale(sx, sy); 454 mTransform.scale(sx, sy);
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | SlidingChallengeLayout.java | 404 final int sy = mChallengeView.getBottom(); 405 final int dy = y - sy; 429 mScroller.startScroll(0, sy, 0, dy, duration);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | GLCanvas.java | 58 public abstract void scale(float sx, float sy, float sz); argument
|
H A D | GLES20Canvas.java | 411 public void scale(float sx, float sy, float sz) { argument 412 Matrix.scaleM(mMatrices, mCurrentMatrixIndex, sx, sy, sz);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/ |
H A D | Quad.java | 277 * @param sy the y scaling factor 280 public Quad scale2(float sx, float sy) { argument 281 return new Quad(mTopLeft.x * sx, mTopLeft.y * sy, 282 mTopRight.x * sx, mTopRight.y * sy, 283 mBottomLeft.x * sx, mBottomLeft.y * sy, 284 mBottomRight.x * sx, mBottomRight.y * sy);
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | Matrix.java | 460 * Scales matrix m in place by sx, sy, and sz. 654 float sy = (float) Math.sin(y); 657 float cxsy = cx * sy; 658 float sxsy = sx * sy; 662 rm[rmOffset + 2] = sy; 717 float sy = fz * upX - fx * upZ; 721 float rls = 1.0f / Matrix.length(sx, sy, sz); 723 sy *= rls; 727 float ux = sy * fz - sz * fy; 729 float uz = sx * fy - sy * f [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Bitmap.java | 594 final float sy = dstHeight / (float)height; 595 m.setScale(sx, sy);
|
H A D | Canvas.java | 596 * @param sy The amount to scale in Y 598 public void scale(float sx, float sy) { argument 599 native_scale(mNativeCanvasWrapper, sx, sy); 606 * @param sy The amount to scale in Y 610 public final void scale(float sx, float sy, float px, float py) { argument 612 scale(sx, sy); 642 * @param sy The amount to skew in Y 644 public void skew(float sx, float sy) { argument 645 native_skew(mNativeCanvasWrapper, sx, sy); 1987 float sx, float sy); 1986 native_scale(long canvasHandle, float sx, float sy) argument 1989 native_skew(long canvasHandle, float sx, float sy) argument [all...] |
H A 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) { 307 * Set the matrix to scale by sx and sy, with a pivot point at (px, py). 311 public void setScale(float sx, float sy, float px, float py) { argument 312 native_setScale(native_instance, sx, sy, px, py); 315 /** Set the matrix to scale by sx and sy 316 setScale(float sx, float sy) argument 393 preScale(float sx, float sy, float px, float py) argument 402 preScale(float sx, float sy) argument 465 postScale(float sx, float sy, float px, float py) argument 474 postScale(float sx, float sy) argument 848 native_setScale(long native_object, float sx, float sy, float px, float py) argument 850 native_setScale(long native_object, float sx, float sy) argument 869 native_preScale(long native_object, float sx, float sy, float px, float py) argument 871 native_preScale(long native_object, float sx, float sy) argument 885 native_postScale(long native_object, float sx, float sy, float px, float py) argument 887 native_postScale(long native_object, float sx, float sy) argument [all...] |
/frameworks/base/include/private/graphics/ |
H A D | Canvas.h | 69 virtual void scale(float sx, float sy) = 0; 70 virtual void skew(float sx, float sy) = 0;
|
/frameworks/base/libs/hwui/ |
H A D | DisplayListOp.h | 442 ScaleOp(float sx, float sy) argument 443 : mSx(sx), mSy(sy) {} 462 SkewOp(float sx, float sy) argument 463 : mSx(sx), mSy(sy) {}
|