Searched refs:Matrix4 (Results 1 – 16 of 16) sorted by relevance
/frameworks/base/libs/hwui/ |
D | Matrix.h | 47 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 …]
|
D | Matrix.cpp | 40 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 …]
|
D | DamageAccumulator.h | 38 class Matrix4; variable 51 void pushTransform(const Matrix4* transform); 62 void computeCurrentTransform(Matrix4* outMatrix) const; 64 SkRect computeClipAndTransform(const SkRect& bounds, Matrix4* outMatrix) const;
|
D | DamageAccumulator.cpp | 38 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()
|
D | RenderProperties.h | 49 class Matrix4; variable
|
/frameworks/base/libs/hwui/tests/unit/ |
D | DamageAccumulatorTests.cpp | 35 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()
|
D | MatrixTests.cpp | 26 Matrix4 scaleMatrix; in TEST() 40 Matrix4 skewMatrix; in TEST()
|
D | SkiaRenderPropertiesTests.cpp | 128 Matrix4 matrix; in TEST() 140 Matrix4 actual(canvas.getTotalMatrix()); in TEST()
|
D | SkiaDisplayListTests.cpp | 271 Matrix4 mat4; in RENDERTHREAD_TEST() 312 Matrix4 mat4; in RENDERTHREAD_TEST() 333 Matrix4 mat4; in RENDERTHREAD_TEST()
|
D | RenderNodeDrawableTests.cpp | 535 Matrix4 windowTransform; in RENDERTHREAD_TEST()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaDisplayList.cpp | 71 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()
|
D | SkiaLayer.h | 31 Matrix4 inverseTransformInWindow;
|
D | SkiaCpuPipeline.cpp | 68 Matrix4 windowTransform; in createOrUpdateLayer()
|
D | SkiaGpuPipeline.cpp | 92 Matrix4 windowTransform; in createOrUpdateLayer()
|
/frameworks/base/libs/hwui/tests/common/ |
D | TestUtils.h | 126 static bool matricesAreApproxEqual(const Matrix4& a, const Matrix4& b) { in matricesAreApproxEqual()
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_RenderNode.cpp | 594 Matrix4 transform; in android_view_RenderNode_requestPositionUpdates()
|