Searched refs:sy (Results 1 - 25 of 50) sorted by path

12

/frameworks/base/core/java/android/gesture/
H A DGesture.java239 final float sy = (height - 2 * inset) / bounds.height();
240 final float scale = sx > sy ? sy : sx;
H A DGestureStroke.java168 float sy = height / rect.height();
169 float scale = sx > sy ? sy : sx;
H A DGestureUtils.java100 float sy = targetPatchSize / gestureHeight;
103 float scale = sx < sy ? sx : sy;
105 sy = scale;
113 float scale = sx < sy ? sx : sy;
115 sy = scale;
117 if (sx > sy) {
118 float scale = sy * NONUNIFORM_SCALE;
124 if (scale < sy) {
585 scale(float[] points, float sx, float sy) argument
[all...]
/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/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/base/core/java/android/view/animation/
H A DScaleAnimation.java243 float sy = 1.0f;
250 sy = mFromY + ((mToY - mFromY) * interpolatedTime);
254 t.getMatrix().setScale(sx, sy);
256 t.getMatrix().setScale(sx, sy, scale * mPivotX, scale * mPivotY);
/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/core/jni/android/graphics/
H A DBitmapFactory.cpp391 const float sy = scaledHeight / float(decodingBitmap.height()); local
414 canvas.scale(sx, sy);
H A DMatrix.cpp77 static void setScale__FFFF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy, jfloat px, jfloat py) { argument
79 obj->setScale(sx, sy, px, py);
81 static void setScale__FF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy) { argument
83 obj->setScale(sx, sy);
121 static void preScale__FFFF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy, jfloat px, jfloat py) { argument
123 obj->preScale(sx, sy, px, py);
126 static void preScale__FF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy) { argument
128 obj->preScale(sx, sy);
162 static void postScale__FFFF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy, jfloat px, jfloat py) { argument
164 obj->postScale(sx, sy, p
167 postScale__FF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy) argument
[all...]
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);
/frameworks/base/core/jni/android/opengl/
H A Dpoly.h35 float sx, sy, sz, sw; /* screen space position (sometimes homo.) */ member in struct:android::__anon790
H A Dpoly_clip.cpp52 * s[index] is sx, sy, or sz (screen space x, y, or z).
95 * using the homogeneous screen coordinates (sx, sy, sz, sw) of each vertex,
119 if (v->sy < -sw) y0out++; /* out on top */
120 if (v->sy > sw) y1out++; /* out on bottom */
144 if (y0out) CLIP_AND_SWAP(sy, -1.0f, -1.0f, p, q, r);
145 if (y1out) CLIP_AND_SWAP(sy, 1.0f, 1.0f, p, q, r);
H A Dutil.cpp79 ALOGI("[%d] %g, %g, %g %g", i, pV->sx, pV->sy, pV->sz, pV->sw);
/frameworks/base/core/jni/
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
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
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java594 final float sy = dstHeight / (float)height;
595 m.setScale(sx, sy);
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 DMatrix.java59 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 DCanvas.h69 virtual void scale(float sx, float sy) = 0;
70 virtual void skew(float sx, float sy) = 0;
/frameworks/base/libs/hwui/
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 DDisplayListRenderer.cpp143 void DisplayListRenderer::scale(float sx, float sy) { argument
144 addStateOp(new (alloc()) ScaleOp(sx, sy));
145 StatefulBaseRenderer::scale(sx, sy);
148 void DisplayListRenderer::skew(float sx, float sy) { argument
149 addStateOp(new (alloc()) SkewOp(sx, sy));
150 StatefulBaseRenderer::skew(sx, sy);
H A DDisplayListRenderer.h87 virtual void scale(float sx, float sy);
88 virtual void skew(float sx, float sy);
H A DMatrix.cpp267 void Matrix4::loadScale(float sx, float sy, float sz) { argument
271 data[kScaleY] = sy;
277 void Matrix4::loadSkew(float sx, float sy) { argument
284 data[kSkewY] = sy;
479 void Matrix4::decomposeScale(float& sx, float& sy) const {
484 sy = copysignf(sqrtf(len), data[mat4::kScaleY]);

Completed in 8370 milliseconds

12