Home
last modified time | relevance | path

Searched refs:xform (Results 1 – 14 of 14) sorted by relevance

/frameworks/native/libs/gui/
DGLConsumerUtils.cpp50 mat4 xform; in computeTransformMatrix() local
52 xform *= mtxFlipH; in computeTransformMatrix()
55 xform *= mtxFlipV; in computeTransformMatrix()
58 xform *= mtxRot90; in computeTransformMatrix()
113 xform = crop * xform; in computeTransformMatrix()
120 xform = mtxFlipV * xform; in computeTransformMatrix()
122 memcpy(outTransform, xform.asArray(), sizeof(xform)); in computeTransformMatrix()
/frameworks/native/libs/nativedisplay/surfacetexture/
DSurfaceTexture.cpp283 mat4 xform; in computeTransformMatrix() local
285 xform *= mtxFlipH; in computeTransformMatrix()
288 xform *= mtxFlipV; in computeTransformMatrix()
291 xform *= mtxRot90; in computeTransformMatrix()
338 xform = crop * xform; in computeTransformMatrix()
345 xform = mtxFlipV * xform; in computeTransformMatrix()
347 memcpy(outTransform, xform.asArray(), sizeof(xform)); in computeTransformMatrix()
/frameworks/native/libs/ui/
DRect.cpp101 Rect Rect::transform(uint32_t xform, int32_t width, int32_t height) const { in transform() argument
103 if (xform & HAL_TRANSFORM_FLIP_H) { in transform()
107 if (xform & HAL_TRANSFORM_FLIP_V) { in transform()
111 if (xform & HAL_TRANSFORM_ROT_90) { in transform()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dkernel2d_oldstyle.rscript28 void xform(const int *in, int *out, rs_kernel_context context, uint32_t x, uint32_t y) {
30 rsDebug("xform at x, y", x, y);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dkernel2d_oldstyle.rscript30 void xform(const int *in, int *out, rs_kernel_context context, uint32_t x, uint32_t y) {
32 rsDebug("xform at x, y", x, y);
/frameworks/layoutlib/bridge/src/android/graphics/
DSweepGradient_Delegate.java106 java.awt.geom.AffineTransform xform, in createContext() argument
112 canvasMatrix = xform.createInverse(); in createContext()
DRadialGradient_Delegate.java111 java.awt.geom.AffineTransform xform, in createContext() argument
117 canvasMatrix = xform.createInverse(); in createContext()
DLinearGradient_Delegate.java121 java.awt.geom.AffineTransform xform, in createContext() argument
127 canvasMatrix = xform.createInverse(); in createContext()
DBitmapShader_Delegate.java116 Rectangle2D userBounds, AffineTransform xform, RenderingHints hints) { in createContext() argument
119 canvasMatrix = xform.createInverse(); in createContext()
/frameworks/base/libs/hwui/
DSkiaCanvas.cpp771 SkRSXform* xform = (SkRSXform*)rec.pos; in drawLayoutOnPath() local
787 xform[i - start].fSCos = tan.x(); in drawLayoutOnPath()
788 xform[i - start].fSSin = tan.y(); in drawLayoutOnPath()
789 xform[i - start].fTx = pos.x() - tan.y() * y - halfWidth * tan.x(); in drawLayoutOnPath()
790 xform[i - start].fTy = pos.y() + tan.x() * y - halfWidth * tan.y(); in drawLayoutOnPath()
/frameworks/native/libs/ui/include/ui/
DRect.h203 Rect transform(uint32_t xform, int32_t width, int32_t height) const;
/frameworks/native/include/ui/
DRect.h203 Rect transform(uint32_t xform, int32_t width, int32_t height) const;
/frameworks/native/libs/ui/include_vndk/ui/
DRect.h203 Rect transform(uint32_t xform, int32_t width, int32_t height) const;
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DSFFakeHwc_test.cpp1275 const matrixTestData& xform = MATRIX_TESTS[i]; in Test_LayerSetMatrix() local
1279 ts.setMatrix(mFGSurfaceControl, xform.matrix[0], xform.matrix[1], xform.matrix[2], in Test_LayerSetMatrix()
1280 xform.matrix[3]); in Test_LayerSetMatrix()
1284 referenceFrame[FG_LAYER].mTransform = xform.expectedTransform; in Test_LayerSetMatrix()
1285 referenceFrame[FG_LAYER].mDisplayFrame = xform.expectedDisplayFrame; in Test_LayerSetMatrix()