Searched refs:sy (Results 26 - 50 of 50) sorted by relevance

12

/frameworks/base/libs/hwui/
H A DRenderer.h162 virtual void scale(float sx, float sy) = 0;
163 virtual void skew(float sx, float sy) = 0;
H A DDisplayListRenderer.h87 virtual void scale(float sx, float sy);
88 virtual void skew(float sx, float sy);
H A DDisplayListOp.h442 ScaleOp(float sx, float sy) argument
443 : mSx(sx), mSy(sy) {}
462 SkewOp(float sx, float sy) argument
463 : mSx(sx), mSy(sy) {}
H A DOpenGLRenderer.cpp2640 const float sy = y - shadow->top + textShadow.dy; local
2655 sx, sy, sx + shadow->width, sy + shadow->height);
2742 float sx, sy; local
2743 transform.decomposeScale(sx, sy);
2746 roundf(fmaxf(1.0f, sy)));
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
H A DTestLatencyView.java120 float sy = (y + dy * step) * mScaleY + mOffsetY;
125 mTriangleVerticesData2[i+1] = -sy + mTriangleVerticesData[i+1];
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java596 * @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 DBitmap.java594 final float sy = dstHeight / (float)height;
595 m.setScale(sx, sy);
/frameworks/base/core/jni/android/graphics/
H A DSkiaCanvas.cpp77 virtual void scale(float sx, float sy);
78 virtual void skew(float sx, float sy);
379 void SkiaCanvas::scale(float sx, float sy) { argument
380 mCanvas->scale(sx, sy);
383 void SkiaCanvas::skew(float sx, float sy) { argument
384 mCanvas->skew(sx, sy);
H A DBitmapFactory.cpp391 const float sy = scaledHeight / float(decodingBitmap.height()); local
414 canvas.scale(sx, sy);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java445 public void scale(float sx, float sy) { argument
448 layer.getGraphics().scale(sx, sy);
454 mTransform.scale(sx, sy);
/frameworks/base/core/java/android/view/
H A DGLES20Canvas.java386 public void skew(float sx, float sy) { argument
387 nSkew(mRenderer, sx, sy);
390 private static native void nSkew(long renderer, float sx, float sy); argument
400 public void scale(float sx, float sy) { argument
401 nScale(mRenderer, sx, sy);
404 private static native void nScale(long renderer, float sx, float sy); argument
H A DView.java3718 float sy = 1f;
3818 sy = a.getFloat(attr, 1f);
4186 setScaleY(sy);
14971 int sy = 0;
14975 sy = mScrollY;
14987 canvas.translate(mLeft - sx, mTop - sy);
15012 transY = -sy;
15064 final int scrollY = hasDisplayList ? 0 : sy;
15085 canvas.clipRect(sx, sy, sx + (mRight - mLeft), sy
[all...]
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.cpp463 float sy = dst_height / src_height; local
464 S.set(sx, 0, 0, sy);
/frameworks/base/core/java/android/hardware/
H A DSensorManager.java1193 final boolean sy = (Y>=0x80);
1202 if (y==i) outR[offset+i] = sy ? -inR[offset+1] : inR[offset+1];
/frameworks/base/core/jni/
H A Dandroid_view_RenderNode.cpp252 jobject clazz, jlong renderNodePtr, float sy) {
253 return SET_AND_DIRTY(setScaleY, sy, RenderNode::SCALE_Y);
251 android_view_RenderNode_setScaleY(JNIEnv* env, jobject clazz, jlong renderNodePtr, float sy) argument
H A Dandroid_graphics_Canvas.cpp127 static void scale(JNIEnv*, jobject, jlong canvasHandle, jfloat sx, jfloat sy) { argument
128 get_canvas(canvasHandle)->scale(sx, sy);
131 static void skew(JNIEnv*, jobject, jlong canvasHandle, jfloat sx, jfloat sy) { argument
132 get_canvas(canvasHandle)->skew(sx, sy);
H A Dandroid_view_GLES20Canvas.cpp313 jlong rendererPtr, jfloat sx, jfloat sy) {
315 renderer->scale(sx, sy);
319 jlong rendererPtr, jfloat sx, jfloat sy) {
321 renderer->skew(sx, sy);
312 android_view_GLES20Canvas_scale(JNIEnv* env, jobject clazz, jlong rendererPtr, jfloat sx, jfloat sy) argument
318 android_view_GLES20Canvas_skew(JNIEnv* env, jobject clazz, jlong rendererPtr, jfloat sx, jfloat sy) argument
/frameworks/base/core/java/com/android/internal/widget/
H A DResolverDrawerLayout.java399 final int sy = (int) mCollapseOffset;
400 int dy = yOffset - sy;
421 mScroller.startScroll(0, sy, 0, dy, duration);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DSlidingChallengeLayout.java404 final int sy = mChallengeView.getBottom();
405 final int dy = y - sy;
429 mScroller.startScroll(0, sy, 0, dy, duration);
/frameworks/native/libs/gui/
H A DGLConsumer.cpp787 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/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLES20Canvas.java411 public void scale(float sx, float sy, float sz) { argument
412 Matrix.scaleM(mMatrices, mCurrentMatrixIndex, sx, sy, sz);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java267 /*package*/ static void native_scale(long nativeCanvas, float sx, float sy) { argument
274 canvasDelegate.getSnapshot().scale(sx, sy);
/frameworks/native/opengl/libagl/
H A Dmatrix.cpp699 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/support/v4/java/android/support/v4/view/
H A DViewPager.java800 int sy = getScrollY();
802 int dy = y - sy;
830 mScroller.startScroll(sx, sy, dx, dy, duration);
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp79 ALOGI("[%d] %g, %g, %g %g", i, pV->sx, pV->sy, pV->sz, pV->sw);

Completed in 4861 milliseconds

12