/frameworks/base/core/java/android/gesture/ |
H A D | GestureUtils.java | 100 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/jni/android/graphics/ |
H A D | BitmapFactory.cpp | 469 const float sy = scaledHeight / float(decodingBitmap.height()); local 500 canvas.scale(sx, sy);
|
H A D | Matrix.cpp | 74 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 D | poly.h | 35 float sx, sy, sz, sw; /* screen space position (sometimes homo.) */ member in struct:android::__anon850
|
/frameworks/base/core/jni/ |
H A D | android_graphics_Canvas.cpp | 148 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 D | android_view_RenderNode.cpp | 314 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 D | Canvas.java | 565 * @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 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 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 D | BakedOpDispatcher.cpp | 219 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 D | CanvasState.cpp | 177 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 D | DisplayListCanvas.cpp | 157 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 D | DisplayListOp.h | 430 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 D | FrameBuilder.cpp | 769 float sx, sy; local 770 totalTransform.decomposeScale(sx, sy); 773 roundf(std::max(1.0f, sy))));
|
H A D | Matrix.cpp | 288 void Matrix4::loadScale(float sx, float sy, float sz) { argument 292 data[kScaleY] = sy; 298 void Matrix4::loadSkew(float sx, float sy) { argument 305 data[kSkewY] = sy; 508 void Matrix4::decomposeScale(float& sx, float& sy) const { 513 sy = copysignf(sqrtf(len), data[mat4::kScaleY]);
|
H A D | Matrix.h | 122 void loadScale(float sx, float sy, float sz); 123 void loadSkew(float sx, float sy); 176 void scale(float sx, float sy, float sz) { argument 178 u.loadScale(sx, sy, sz); 182 void skew(float sx, float sy) { argument 184 u.loadSkew(sx, sy); 217 void decomposeScale(float& sx, float& sy) const;
|
H A D | OpenGLRenderer.cpp | 1981 const float sy = y - texture->top + textShadow.dy; local 1989 .setModelViewMapUnitToRect(Rect(sx, sy, sx + texture->width(), sy + texture->height())) 2015 float sx, sy; local 2016 transform.decomposeScale(sx, sy); 2019 roundf(std::max(1.0f, sy))); 2048 void OpenGLRenderer::scale(float sx, float sy) { argument 2049 mState.scale(sx, sy); 2052 void OpenGLRenderer::skew(float sx, float sy) { argument 2053 mState.skew(sx, sy); [all...] |
H A D | RecordingCanvas.cpp | 205 void RecordingCanvas::scale(float sx, float sy) { argument 206 if (sx == 1 && sy == 1) return; 208 mState.scale(sx, sy); 211 void RecordingCanvas::skew(float sx, float sy) { argument 212 mState.skew(sx, sy);
|
H A D | SkiaCanvas.cpp | 99 virtual void scale(float sx, float sy) override; 100 virtual void skew(float sx, float sy) override; 441 void SkiaCanvas::scale(float sx, float sy) { argument 442 mCanvas->scale(sx, sy); 445 void SkiaCanvas::skew(float sx, float sy) { argument 446 mCanvas->skew(sx, sy);
|
/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/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Canvas_Delegate.java | 282 public static void native_scale(long nativeCanvas, float sx, float sy) { argument 289 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 965 getScale(float sx, float sy) argument 976 getScale(float sx, float sy, float px, float py) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 446 public void scale(float sx, float sy) { argument 449 layer.getGraphics().scale(sx, sy); 455 mTransform.scale(sx, sy);
|
/frameworks/native/libs/gui/ |
H A D | GLConsumer.cpp | 844 float tx = 0.0f, ty = 0.0f, sx = 1.0f, sy = 1.0f; local 883 sy = (float(cropRect.height()) - (2.0f * shrinkAmount)) / 888 0, sy, 0, 0,
|