Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/
DGLConsumerUtils.cpp57 mat4 xform; in computeTransformMatrix() local
59 xform *= mtxFlipH; in computeTransformMatrix()
62 xform *= mtxFlipV; in computeTransformMatrix()
65 xform *= mtxRot90; in computeTransformMatrix()
118 xform = crop * xform; in computeTransformMatrix()
125 xform = mtxFlipV * xform; in computeTransformMatrix()
127 memcpy(outTransform, xform.asArray(), sizeof(xform)); in computeTransformMatrix()
/frameworks/native/libs/nativedisplay/surfacetexture/
DSurfaceTexture.cpp285 mat4 xform; in computeTransformMatrix() local
287 xform *= mtxFlipH; in computeTransformMatrix()
290 xform *= mtxFlipV; in computeTransformMatrix()
293 xform *= mtxRot90; in computeTransformMatrix()
340 xform = crop * xform; in computeTransformMatrix()
347 xform = mtxFlipV * xform; in computeTransformMatrix()
349 memcpy(outTransform, xform.asArray(), sizeof(xform)); in computeTransformMatrix()
/frameworks/native/libs/ui/
DRect.cpp102 Rect Rect::transform(uint32_t xform, int32_t width, int32_t height) const { in transform() argument
104 if (xform & HAL_TRANSFORM_FLIP_H) { in transform()
108 if (xform & HAL_TRANSFORM_FLIP_V) { in transform()
112 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/base/libs/hwui/tests/common/
DCallCountingCanvas.h125 void onDrawAtlas2(const SkImage* atlas, const SkRSXform xform[], const SkRect rect[], in onDrawAtlas2() argument
/frameworks/base/libs/hwui/
DSkiaCanvas.cpp861 SkRSXform* xform = (SkRSXform*)rec.pos; in drawLayoutOnPath() local
877 xform[i - start].fSCos = tan.x(); in drawLayoutOnPath()
878 xform[i - start].fSSin = tan.y(); in drawLayoutOnPath()
879 xform[i - start].fTx = pos.x() - tan.y() * y - halfWidth * tan.x(); in drawLayoutOnPath()
880 xform[i - start].fTy = pos.y() + tan.x() * y - halfWidth * tan.y(); in drawLayoutOnPath()
/frameworks/native/include/ui/
DRect.h204 Rect transform(uint32_t xform, int32_t width, int32_t height) const;
/frameworks/native/libs/ui/include/ui/
DRect.h204 Rect transform(uint32_t xform, int32_t width, int32_t height) const;
/frameworks/native/libs/ui/include_vndk/ui/
DRect.h204 Rect transform(uint32_t xform, int32_t width, int32_t height) const;