Home
last modified time | relevance | path

Searched refs:Matrix4 (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/libs/hwui/
DMatrix.h47 class Matrix4 {
80 Matrix4() { loadIdentity(); } in Matrix4() function
82 explicit Matrix4(const float* v) { load(v); } in Matrix4() function
84 Matrix4(const SkMatrix& v) { // NOLINT(google-explicit-constructor) in Matrix4() function
95 Matrix4& operator=(const SkMatrix& v) {
100 friend bool operator==(const Matrix4& a, const Matrix4& b) {
104 friend bool operator!=(const Matrix4& a, const Matrix4& b) { return !(a == b); }
111 void loadInverse(const Matrix4& v);
118 void loadMultiply(const Matrix4& u, const Matrix4& v);
125 void multiplyInverse(const Matrix4& v) { in multiplyInverse()
[all …]
DMatrix.cpp40 const Matrix4& Matrix4::identity() { in identity()
41 static Matrix4 sIdentity; in identity()
45 void Matrix4::loadIdentity() { in loadIdentity()
73 uint8_t Matrix4::getType() const { in getType()
116 uint8_t Matrix4::getGeometryType() const { in getGeometryType()
120 bool Matrix4::rectToRect() const { in rectToRect()
124 bool Matrix4::positiveScale() const { in positiveScale()
128 bool Matrix4::changesBounds() const { in changesBounds()
132 bool Matrix4::isPureTranslate() const { in isPureTranslate()
138 bool Matrix4::isSimple() const { in isSimple()
[all …]
DDamageAccumulator.h38 class Matrix4; variable
51 void pushTransform(const Matrix4* transform);
62 void computeCurrentTransform(Matrix4* outMatrix) const;
64 SkRect computeClipAndTransform(const SkRect& bounds, Matrix4* outMatrix) const;
DDamageAccumulator.cpp38 const Matrix4* matrix4;
55 static void computeTransformImpl(const DirtyStack* currentFrame, Matrix4* outMatrix) { in computeTransformImpl()
75 void DamageAccumulator::computeCurrentTransform(Matrix4* outMatrix) const { in computeCurrentTransform()
97 void DamageAccumulator::pushTransform(const Matrix4* transform) { in pushTransform()
122 static inline void mapRect(const Matrix4* matrix, const SkRect& in, SkRect* out) { in mapRect()
245 SkRect DamageAccumulator::computeClipAndTransform(const SkRect& bounds, Matrix4* outMatrix) const { in computeClipAndTransform()
247 Matrix4 transform; in computeClipAndTransform()
279 Matrix4 globalToLocal; in computeClipAndTransform()
314 Matrix4 stretchMatrix; in findNearestStretchEffect()
DRenderProperties.h49 class Matrix4; variable
/frameworks/base/libs/hwui/tests/unit/
DDamageAccumulatorTests.cpp35 da.pushTransform(&Matrix4::identity()); in TEST()
38 da.pushTransform(&Matrix4::identity()); in TEST()
54 Matrix4 translate; in TEST()
70 da.pushTransform(&Matrix4::identity()); in TEST()
72 da.pushTransform(&Matrix4::identity()); in TEST()
75 da.pushTransform(&Matrix4::identity()); in TEST()
DMatrixTests.cpp26 Matrix4 scaleMatrix; in TEST()
40 Matrix4 skewMatrix; in TEST()
DSkiaRenderPropertiesTests.cpp128 Matrix4 matrix; in TEST()
140 Matrix4 actual(canvas.getTotalMatrix()); in TEST()
DSkiaDisplayListTests.cpp271 Matrix4 mat4; in RENDERTHREAD_TEST()
312 Matrix4 mat4; in RENDERTHREAD_TEST()
333 Matrix4 mat4; in RENDERTHREAD_TEST()
DRenderNodeDrawableTests.cpp535 Matrix4 windowTransform; in RENDERTHREAD_TEST()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaDisplayList.cpp71 static bool intersects(const SkISize screenSize, const Matrix4& mat, const SkRect& bounds) { in intersects()
120 Matrix4 mat4(child.getRecordedMatrix()); in prepareListAndChildren()
160 Matrix4 totalMatrix; in prepareListAndChildren()
162 Matrix4 canvasMatrix(cachedMatrix); in prepareListAndChildren()
DSkiaLayer.h31 Matrix4 inverseTransformInWindow;
DSkiaCpuPipeline.cpp68 Matrix4 windowTransform; in createOrUpdateLayer()
DSkiaGpuPipeline.cpp92 Matrix4 windowTransform; in createOrUpdateLayer()
/frameworks/base/libs/hwui/tests/common/
DTestUtils.h126 static bool matricesAreApproxEqual(const Matrix4& a, const Matrix4& b) { in matricesAreApproxEqual()
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_RenderNode.cpp594 Matrix4 transform; in android_view_RenderNode_requestPositionUpdates()