Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DMatrix.h47 class ANDROID_API 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.h37 class Matrix4; variable
50 void pushTransform(const Matrix4* transform);
61 ANDROID_API void computeCurrentTransform(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()
DReadback.cpp43 Matrix4 texTransform; in copySurfaceInto()
79 Matrix4 transform; in copyHWBitmapInto()
106 CopyResult Readback::copyImageInto(const sk_sp<SkImage>& image, Matrix4& texTransform, in copyImageInto()
132 if (texTransform[Matrix4::kSkewX] >= 0.5f || texTransform[Matrix4::kSkewX] <= -0.5f) { in copyImageInto()
DReadback.h57 CopyResult copyImageInto(const sk_sp<SkImage>& image, Matrix4& texTransform,
DRenderProperties.h47 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.cpp126 Matrix4 matrix; in TEST()
138 Matrix4 actual(canvas.getTotalMatrix()); in TEST()
DDeferredLayerUpdaterTests.cpp39 EXPECT_EQ(Matrix4::identity(), layerUpdater->backingLayer()->getTexTransform()); in RENDERTHREAD_TEST()
DSkiaDisplayListTests.cpp248 Matrix4 mat4; in RENDERTHREAD_SKIA_PIPELINE_TEST()
289 Matrix4 mat4; in RENDERTHREAD_SKIA_PIPELINE_TEST()
310 Matrix4 mat4; in RENDERTHREAD_SKIA_PIPELINE_TEST()
DRenderNodeDrawableTests.cpp531 Matrix4 windowTransform; in RENDERTHREAD_SKIA_PIPELINE_TEST()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaDisplayList.cpp55 static bool intersects(const SkISize screenSize, const Matrix4& mat, const SkRect& bounds) { in intersects()
98 Matrix4 mat4(child.getRecordedMatrix()); in prepareListAndChildren()
138 Matrix4 totalMatrix; in prepareListAndChildren()
140 Matrix4 canvasMatrix(vectorDrawablePair.second); in prepareListAndChildren()
DSkiaLayer.h31 Matrix4 inverseTransformInWindow;
DSkiaPipeline.cpp177 Matrix4 windowTransform; in createOrUpdateLayer()
/frameworks/ml/nn/runtime/test/
DTestTrivialModel.cpp27 typedef float Matrix4[4]; typedef
39 const Matrix4 matrix2b = {100.f, 200.f, 300.f, 400.f};
275 ASSERT_EQ(execution.setInput(1, matrix2b, sizeof(Matrix4)), Result::NO_ERROR); in TEST_F()
304 ASSERT_EQ(execution.setInput(1, matrix2b, sizeof(Matrix4)), Result::NO_ERROR); in TEST_F()
/frameworks/base/libs/hwui/tests/common/
DTestUtils.h135 static bool matricesAreApproxEqual(const Matrix4& a, const Matrix4& b) { in matricesAreApproxEqual()
/frameworks/base/core/jni/
Dandroid_view_RenderNode.cpp540 Matrix4 transform; in android_view_RenderNode_requestPositionUpdates()