Home
last modified time | relevance | path

Searched refs:xform (Results 1 – 13 of 13) 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/base/libs/hwui/surfacetexture/
DSurfaceTexture.cpp295 mat4 xform; in computeTransformMatrix() local
297 xform *= mtxFlipH; in computeTransformMatrix()
300 xform *= mtxFlipV; in computeTransformMatrix()
303 xform *= mtxRot90; in computeTransformMatrix()
350 xform = crop * xform; in computeTransformMatrix()
357 xform = mtxFlipV * xform; in computeTransformMatrix()
359 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/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/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dkernel2d_oldstyle.rs30 void xform(const int *in, int *out, rs_kernel_context context, uint32_t x, uint32_t y) {
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dkernel2d_oldstyle.rs28 void xform(const int *in, int *out, rs_kernel_context context, uint32_t x, uint32_t y) {
/frameworks/base/libs/hwui/
DSkiaCanvas.cpp731 SkRSXform* xform = (SkRSXform*)rec.pos; in drawLayoutOnPath() local
747 xform[i - start].fSCos = tan.x(); in drawLayoutOnPath()
748 xform[i - start].fSSin = tan.y(); in drawLayoutOnPath()
749 xform[i - start].fTx = pos.x() - tan.y() * y - halfWidth * tan.x(); in drawLayoutOnPath()
750 xform[i - start].fTy = pos.y() + tan.x() * y - halfWidth * tan.y(); in drawLayoutOnPath()
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DSFFakeHwc_test.cpp762 const matrixTestData& xform = MATRIX_TESTS[i]; in TEST_F() local
766 ts.setMatrix(mFGSurfaceControl, xform.matrix[0], xform.matrix[1], in TEST_F()
767 xform.matrix[2], xform.matrix[3]); in TEST_F()
771 referenceFrame[FG_LAYER].mTransform = xform.expectedTransform; in TEST_F()
772 referenceFrame[FG_LAYER].mDisplayFrame = xform.expectedDisplayFrame; in TEST_F()
/frameworks/native/libs/ui/include_vndk/ui/
DRect.h201 Rect transform(uint32_t xform, int32_t width, int32_t height) const;
/frameworks/native/libs/ui/include/ui/
DRect.h201 Rect transform(uint32_t xform, int32_t width, int32_t height) const;