/frameworks/base/core/java/android/gesture/ |
H A D | GestureUtils.java | 99 float sx = targetPatchSize / gestureWidth; 103 float scale = sx < sy ? sx : sy; 104 sx = scale; 113 float scale = sx < sy ? sx : sy; 114 sx = scale; 117 if (sx > sy) { 119 if (scale < sx) { 120 sx 585 scale(float[] points, float sx, float sy) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | GLES20Canvas.java | 386 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
|
/frameworks/base/core/jni/android/graphics/ |
H A D | BitmapFactory.cpp | 390 const float sx = scaledWidth / float(decodingBitmap.width()); local 414 canvas.scale(sx, sy);
|
H A D | Matrix.cpp | 77 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, s 167 postScale__FF(JNIEnv* env, jobject clazz, jlong objHandle, jfloat sx, jfloat sy) argument [all...] |
H A D | SkiaCanvas.cpp | 77 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 D | poly.h | 35 float sx, sy, sz, sw; /* screen space position (sometimes homo.) */ member in struct:android::__anon790
|
/frameworks/base/core/jni/ |
H A D | android_graphics_Canvas.cpp | 127 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 D | android_view_GLES20Canvas.cpp | 313 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 D | android_view_RenderNode.cpp | 247 jobject clazz, jlong renderNodePtr, float sx) { 248 return SET_AND_DIRTY(setScaleX, sx, RenderNode::SCALE_X); 246 android_view_RenderNode_setScaleX(JNIEnv* env, jobject clazz, jlong renderNodePtr, float sx) argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 595 * @param sx The amount to scale in X 598 public void scale(float sx, float sy) { argument 599 native_scale(mNativeCanvasWrapper, sx, sy); 605 * @param sx The amount to scale in X 610 public final void scale(float sx, float sy, float px, float py) { argument 612 scale(sx, sy); 641 * @param sx The amount to skew in X 644 public void skew(float sx, float sy) { argument 645 native_skew(mNativeCanvasWrapper, sx, sy); 1987 float sx, floa 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 an 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/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) {}
|
H A D | DisplayListRenderer.cpp | 143 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 D | Matrix.cpp | 267 void Matrix4::loadScale(float sx, float sy, float sz) { argument 270 data[kScaleX] = sx; 277 void Matrix4::loadSkew(float sx, float sy) { argument 281 data[kSkewX] = sx; 479 void Matrix4::decomposeScale(float& sx, float& sy) const { argument 482 sx = copysignf(sqrtf(len), data[mat4::kScaleX]);
|
H A D | Matrix.h | 127 void loadScale(float sx, float sy, float sz); 128 void loadSkew(float sx, float sy); 170 void scale(float sx, float sy, float sz) { argument 172 u.loadScale(sx, sy, sz); 176 void skew(float sx, float sy) { argument 178 u.loadSkew(sx, sy); 211 void decomposeScale(float& sx, float& sy) const;
|
H A D | OpenGLRenderer.cpp | 2639 const float sx = x - shadow->left + textShadow.dx; local 2655 sx, sy, sx + shadow->width, sy + shadow->height); 2742 float sx, sy; local 2743 transform.decomposeScale(sx, sy); 2745 roundf(fmaxf(1.0f, sx)),
|
H A D | StatefulBaseRenderer.cpp | 124 void StatefulBaseRenderer::scale(float sx, float sy) { argument 125 mSnapshot->transform->scale(sx, sy, 1.0f); 128 void StatefulBaseRenderer::skew(float sx, float sy) { argument 129 mSnapshot->transform->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 | 276 * @param sx the x 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 | 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 278 d.mValues[0] = sx; 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, s 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/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/native/libs/gui/ |
H A D | GLConsumer.cpp | 787 float tx = 0.0f, ty = 0.0f, sx = 1.0f, sy = 1.0f; local 821 sx = (float(cropRect.width()) - (2.0f * shrinkAmount)) / 832 sx, 0, 0, 0,
|
/frameworks/native/opengl/libagl/ |
H A D | matrix.cpp | 697 GLfloat sx = div2f(w); local 698 GLfloat ox = sx + x; 709 f[0] = sx; f[4] = 0; f[ 8] = 0; f[12] = ox;
|