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

123

/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.java167 float sy = height / rect.height();
168 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.java1336 final boolean sy = (Y>=0x80);
1345 if (y==i) outR[offset+i] = sy ? -inR[offset+1] : inR[offset+1];
/frameworks/base/core/java/android/view/
H A DView.java4154 float sy = 1f;
4255 sy = a.getFloat(attr, 1f);
4659 setScaleY(sy);
16844 int sy = 0;
16848 sy = mScrollY;
16859 canvas.translate(mLeft - sx, mTop - sy);
16886 transY = -sy;
16931 canvas.saveLayerAlpha(sx, sy, sx + getWidth(), sy + getHeight(),
16949 canvas.clipRect(sx, sy, s
[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.java482 final int sy = (int) mCollapseOffset;
483 int dy = yOffset - sy;
504 mScroller.startScroll(0, sy, 0, dy, duration);
H A DViewPager.java798 int sy = getScrollY();
800 int dy = y - sy;
828 mScroller.startScroll(sx, sy, dx, dy, duration);
/frameworks/base/core/jni/android/graphics/
H A DBitmapFactory.cpp469 const float sy = scaledHeight / float(decodingBitmap.height()); local
500 canvas.scale(sx, sy);
H A DMatrix.cpp74 static void setScale__FFFF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy, jfloat px, jfloat py) { argument
76 obj->setScale(sx, sy, px, py);
78 static void setScale__FF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy) { argument
80 obj->setScale(sx, sy);
118 static void preScale__FFFF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy, jfloat px, jfloat py) { argument
120 obj->preScale(sx, sy, px, py);
123 static void preScale__FF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy) { argument
125 obj->preScale(sx, sy);
159 static void postScale__FFFF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy, jfloat px, jfloat py) { argument
161 obj->postScale(sx, sy, p
164 postScale__FF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy) argument
[all...]
/frameworks/base/core/jni/android/opengl/
H A Dpoly.h35 float sx, sy, sz, sw; /* screen space position (sometimes homo.) */ member in struct:android::__anon850
H A Dpoly_clip.cpp52 * s[index] is sx, sy, or sz (screen space x, y, or z).
94 * using the homogeneous screen coordinates (sx, sy, sz, sw) of each vertex,
118 if (v->sy < -sw) y0out++; /* out on top */
119 if (v->sy > sw) y1out++; /* out on bottom */
143 if (y0out) CLIP_AND_SWAP(sy, -1.0f, -1.0f, p, q, r);
144 if (y1out) CLIP_AND_SWAP(sy, 1.0f, 1.0f, p, q, r);
H A Dutil.cpp80 ALOGI("[%d] %g, %g, %g %g", i, pV->sx, pV->sy, pV->sz, pV->sw);
/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp148 static void scale(JNIEnv*, jobject, jlong canvasHandle, jfloat sx, jfloat sy) { argument
149 get_canvas(canvasHandle)->scale(sx, sy);
152 static void skew(JNIEnv*, jobject, jlong canvasHandle, jfloat sx, jfloat sy) { argument
153 get_canvas(canvasHandle)->skew(sx, sy);
H A Dandroid_view_RenderNode.cpp314 jobject clazz, jlong renderNodePtr, float sy) {
315 return SET_AND_DIRTY(setScaleY, sy, RenderNode::SCALE_Y);
313 android_view_RenderNode_setScaleY(JNIEnv* env, jobject clazz, jlong renderNodePtr, float sy) argument
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java661 final float sy = dstHeight / (float)height;
662 m.setScale(sx, sy);
H A DCanvas.java565 * @param sy The amount to scale in Y
567 public void scale(float sx, float sy) { argument
568 native_scale(mNativeCanvasWrapper, sx, sy);
575 * @param sy The amount to scale in Y
579 public final void scale(float sx, float sy, float px, float py) { argument
581 scale(sx, sy);
611 * @param sy The amount to skew in Y
613 public void skew(float sx, float sy) { argument
614 native_skew(mNativeCanvasWrapper, sx, sy);
2020 float sx, float sy);
2019 native_scale(long canvasHandle, float sx, float sy) argument
2022 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
849 native_setScale(long native_object, float sx, float sy, float px, float py) argument
851 native_setScale(long native_object, float sx, float sy) argument
870 native_preScale(long native_object, float sx, float sy, float px, float py) argument
872 native_preScale(long native_object, float sx, float sy) argument
886 native_postScale(long native_object, float sx, float sy, float px, float py) argument
888 native_postScale(long native_object, float sx, float sy) argument
[all...]
/frameworks/base/libs/hwui/
H A DBakedOpDispatcher.cpp219 const float sy = op.y - texture->top + textShadow.dy; local
227 .setModelViewMapUnitToRect(Rect(sx, sy, sx + texture->width(), sy + texture->height()))
292 float sx, sy; local
293 transform.decomposeScale(sx, sy);
296 roundf(std::max(1.0f, sy))));
H A DCanvasState.cpp177 void CanvasState::scale(float sx, float sy) { argument
178 mSnapshot->transform->scale(sx, sy, 1.0f);
181 void CanvasState::skew(float sx, float sy) { argument
182 mSnapshot->transform->skew(sx, sy);
H A DCanvasState.h111 void scale(float sx, float sy);
112 void skew(float sx, float sy);
H A DDisplayListCanvas.cpp157 void DisplayListCanvas::scale(float sx, float sy) { argument
158 if (sx == 1.0f && sy == 1.0f) return;
160 addStateOp(new (alloc()) ScaleOp(sx, sy));
161 mState.scale(sx, sy);
164 void DisplayListCanvas::skew(float sx, float sy) { argument
165 addStateOp(new (alloc()) SkewOp(sx, sy));
166 mState.skew(sx, sy);
H A DDisplayListCanvas.h148 virtual void scale(float sx, float sy) override;
149 virtual void skew(float sx, float sy) override;
H A DDisplayListOp.h430 ScaleOp(float sx, float sy) argument
431 : mSx(sx), mSy(sy) {}
450 SkewOp(float sx, float sy) argument
451 : mSx(sx), mSy(sy) {}
H A DFrameBuilder.cpp769 float sx, sy; local
770 totalTransform.decomposeScale(sx, sy);
773 roundf(std::max(1.0f, sy))));

Completed in 2163 milliseconds

123