/frameworks/base/libs/hwui/ |
D | Matrix.h | 47 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 …]
|
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 | 37 class Matrix4; variable 50 void pushTransform(const Matrix4* transform); 61 ANDROID_API void computeCurrentTransform(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()
|
D | Readback.cpp | 43 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()
|
D | Readback.h | 57 CopyResult copyImageInto(const sk_sp<SkImage>& image, Matrix4& texTransform,
|
D | RenderProperties.h | 47 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 | 126 Matrix4 matrix; in TEST() 138 Matrix4 actual(canvas.getTotalMatrix()); in TEST()
|
D | DeferredLayerUpdaterTests.cpp | 39 EXPECT_EQ(Matrix4::identity(), layerUpdater->backingLayer()->getTexTransform()); in RENDERTHREAD_TEST()
|
D | SkiaDisplayListTests.cpp | 248 Matrix4 mat4; in RENDERTHREAD_SKIA_PIPELINE_TEST() 289 Matrix4 mat4; in RENDERTHREAD_SKIA_PIPELINE_TEST() 310 Matrix4 mat4; in RENDERTHREAD_SKIA_PIPELINE_TEST()
|
D | RenderNodeDrawableTests.cpp | 531 Matrix4 windowTransform; in RENDERTHREAD_SKIA_PIPELINE_TEST()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaDisplayList.cpp | 55 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()
|
D | SkiaLayer.h | 31 Matrix4 inverseTransformInWindow;
|
D | SkiaPipeline.cpp | 177 Matrix4 windowTransform; in createOrUpdateLayer()
|
/frameworks/ml/nn/runtime/test/ |
D | TestTrivialModel.cpp | 27 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/ |
D | TestUtils.h | 135 static bool matricesAreApproxEqual(const Matrix4& a, const Matrix4& b) { in matricesAreApproxEqual()
|
/frameworks/base/core/jni/ |
D | android_view_RenderNode.cpp | 540 Matrix4 transform; in android_view_RenderNode_requestPositionUpdates()
|