/frameworks/base/libs/hwui/ |
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 | 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);
|
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 | DisplayListCanvas.h | 148 virtual void scale(float sx, float sy) override; 149 virtual void skew(float sx, float sy) override;
|
H A D | RecordingCanvas.h | 125 virtual void scale(float sx, float sy) override; 126 virtual void skew(float sx, float sy) override;
|
H A D | OpenGLRenderer.cpp | 1980 const float sx = x - texture->left + textShadow.dx; local 1989 .setModelViewMapUnitToRect(Rect(sx, sy, sx + texture->width(), sy + texture->height())) 2015 float sx, sy; local 2016 transform.decomposeScale(sx, sy); 2018 roundf(std::max(1.0f, sx)), 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, s [all...] |
H A D | BakedOpDispatcher.cpp | 218 const float sx = op.x - texture->left + textShadow.dx; local 227 .setModelViewMapUnitToRect(Rect(sx, sy, sx + texture->width(), sy + texture->height())) 292 float sx, sy; local 293 transform.decomposeScale(sx, sy); 295 roundf(std::max(1.0f, sx)),
|
H A D | OpenGLRenderer.h | 305 void scale(float sx, float sy); 306 void skew(float sx, float sy);
|
H A D | FrameBuilder.cpp | 769 float sx, sy; local 770 totalTransform.decomposeScale(sx, sy); 772 roundf(std::max(1.0f, sx)),
|
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) {}
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 564 * @param sx The amount to scale in X 567 public void scale(float sx, float sy) { argument 568 native_scale(mNativeCanvasWrapper, sx, sy); 574 * @param sx The amount to scale in X 579 public final void scale(float sx, float sy, float px, float py) { argument 581 scale(sx, sy); 610 * @param sx The amount to skew in X 613 public void skew(float sx, float sy) { argument 614 native_skew(mNativeCanvasWrapper, sx, sy); 2020 float sx, floa 2019 native_scale(long canvasHandle, float sx, float sy) argument 2022 native_skew(long canvasHandle, float sx, float sy) argument [all...] |
H A D | Bitmap.java | 660 final float sx = dstWidth / (float)width; 662 m.setScale(sx, sy);
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/loaders/ |
H A D | LoaderDicom.java | 473 float sx = Float.parseFloat(pss[0]);
479 float min = Math.min(sx,Math.min(sy,sz));
480 v.mVoxelDim[0] = sx/min;
597 float sx = Float.parseFloat(pss[0]);
603 float min = Math.min(sx,Math.min(sy,sz));
604 v.mVoxelDim[0] = sx/min;
|
/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/services/surfaceflinger/ |
H A D | DisplayDevice.cpp | 528 float sx = dst_width / src_width; local 530 S.set(sx, 0, 0, sy);
|
/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 | 309 jobject clazz, jlong renderNodePtr, float sx) { 310 return SET_AND_DIRTY(setScaleX, sx, RenderNode::SCALE_X); 308 android_view_RenderNode_setScaleX(JNIEnv* env, jobject clazz, jlong renderNodePtr, float sx) argument
|
/frameworks/base/core/java/android/hardware/ |
H A D | SensorManager.java | 1335 final boolean sx = (X>=0x80); 1344 if (x==i) outR[offset+i] = sx ? -inR[offset+0] : inR[offset+0];
|
/frameworks/base/core/jni/android/graphics/ |
H A D | BitmapFactory.cpp | 468 const float sx = scaledWidth / float(decodingBitmap.width()); local 500 canvas.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 877 sx = (float(cropRect.width()) - (2.0f * shrinkAmount)) / 887 sx, 0, 0, 0,
|
/frameworks/base/core/jni/android/opengl/ |
H A D | util.cpp | 80 ALOGI("[%d] %g, %g, %g %g", i, pV->sx, pV->sy, pV->sz, pV->sw); 138 float* pDest = & poly.vert[0].sx;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
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/support/v4/java/android/support/v4/view/ |
H A D | ViewPager.java | 947 int sx; 954 sx = mIsScrollStarted ? mScroller.getCurrX() : mScroller.getStartX(); 959 sx = getScrollX(); 962 int dx = x - sx; 994 mScroller.startScroll(sx, sy, dx, dy, duration);
|
/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;
|
/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);
|