/aosp12/frameworks/base/libs/hwui/ |
H A D | Matrix.h | 47 class Matrix4 { 100 friend bool operator==(const Matrix4& a, const Matrix4& b) { 104 friend bool operator!=(const Matrix4& a, const Matrix4& b) { return !(a == b); } 118 void loadMultiply(const Matrix4& u, const Matrix4& v); 126 Matrix4 inv; in multiplyInverse() 133 Matrix4 u; in multiply() 152 Matrix4 u; 167 Matrix4 u; in scale() 173 Matrix4 u; in skew() 179 Matrix4 u; in rotate() [all …]
|
H A 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() 120 bool Matrix4::rectToRect() const { in rectToRect() 138 bool Matrix4::isSimple() const { in isSimple() 142 bool Matrix4::isIdentity() const { in isIdentity() 150 void Matrix4::load(const float* v) { in load() 198 void Matrix4::loadInverse(const Matrix4& v) { in loadInverse() 276 void Matrix4::multiply(float v) { in multiply() [all …]
|
H A D | DamageAccumulator.h | 38 class Matrix4; variable 51 void pushTransform(const Matrix4* transform); 62 void computeCurrentTransform(Matrix4* outMatrix) const;
|
H A 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() 211 Matrix4* outMatrix) { in computeTransformImpl() 297 Matrix4 stretchMatrix; in findNearestStretchEffect()
|
H A D | Readback.cpp | 215 Matrix4 texTransform; in copySurfaceIntoLegacy() 253 Matrix4 transform; in copyHWBitmapInto() 282 Matrix4 transform; in copyImageInto() 288 CopyResult Readback::copyImageInto(const sk_sp<SkImage>& image, Matrix4& texTransform, in copyImageInto() 308 if (texTransform[Matrix4::kSkewX] >= 0.5f || texTransform[Matrix4::kSkewX] <= -0.5f) { in copyImageInto()
|
H A D | Readback.h | 59 CopyResult copyImageInto(const sk_sp<SkImage>& image, Matrix4& texTransform,
|
H A D | RenderProperties.h | 52 class Matrix4; variable
|
/aosp12/frameworks/base/libs/hwui/tests/unit/ |
H A 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()
|
H A D | MatrixTests.cpp | 26 Matrix4 scaleMatrix; in TEST() 40 Matrix4 skewMatrix; in TEST()
|
H A D | SkiaRenderPropertiesTests.cpp | 127 Matrix4 matrix; in TEST() 139 Matrix4 actual(canvas.getTotalMatrix()); in TEST()
|
H A D | SkiaDisplayListTests.cpp | 246 Matrix4 mat4; in RENDERTHREAD_SKIA_PIPELINE_TEST() 287 Matrix4 mat4; in RENDERTHREAD_SKIA_PIPELINE_TEST() 308 Matrix4 mat4; in RENDERTHREAD_SKIA_PIPELINE_TEST()
|
H A D | DeferredLayerUpdaterTests.cpp | 39 EXPECT_EQ(Matrix4::identity(), layerUpdater->backingLayer()->getTexTransform()); in RENDERTHREAD_TEST()
|
H A D | RenderNodeDrawableTests.cpp | 532 Matrix4 windowTransform; in RENDERTHREAD_SKIA_PIPELINE_TEST()
|
/aosp12/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaDisplayList.cpp | 68 static bool intersects(const SkISize screenSize, const Matrix4& mat, const SkRect& bounds) { in intersects() 112 Matrix4 mat4(child.getRecordedMatrix()); in prepareListAndChildren() 152 Matrix4 totalMatrix; in prepareListAndChildren() 154 Matrix4 canvasMatrix(cachedMatrix); in prepareListAndChildren()
|
H A D | SkiaLayer.h | 31 Matrix4 inverseTransformInWindow;
|
H A D | SkiaPipeline.cpp | 185 Matrix4 windowTransform; in createOrUpdateLayer()
|
/aosp12/packages/modules/NeuralNetworks/runtime/test/ |
H A D | TestTrivialModel.cpp | 27 typedef float Matrix4[4]; typedef 43 const Matrix4 matrix2b = {100.f, 200.f, 300.f, 400.f}; 295 ASSERT_EQ(execution.setInput(1, matrix2b, sizeof(Matrix4)), Result::NO_ERROR); in TEST_F() 324 ASSERT_EQ(execution.setInput(1, matrix2b, sizeof(Matrix4)), Result::NO_ERROR); in TEST_F()
|
/aosp12/frameworks/base/libs/hwui/tests/common/ |
H A D | TestUtils.h | 134 static bool matricesAreApproxEqual(const Matrix4& a, const Matrix4& b) { in matricesAreApproxEqual()
|
/aosp12/frameworks/base/libs/hwui/jni/ |
H A D | android_graphics_RenderNode.cpp | 571 Matrix4 transform; in android_view_RenderNode_requestPositionUpdates()
|