Home
last modified time | relevance | path

Searched refs:expectedMatrix (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
DRecordingCanvasTests.cpp275 Matrix4 expectedMatrix; in TEST() local
276 expectedMatrix.loadIdentity(); in TEST()
277 EXPECT_MATRIX_APPROX_EQ(expectedMatrix, op.localMatrix); in TEST()
284 Matrix4 expectedMatrix; in TEST() local
285 expectedMatrix.loadTranslate(25, 25, 0); in TEST()
286 expectedMatrix.scale(2, 2, 1); in TEST()
287 EXPECT_MATRIX_APPROX_EQ(expectedMatrix, op.localMatrix); in TEST()
317 Matrix4 expectedMatrix; in TEST() local
329 expectedMatrix.loadTranslate(-10, -20, 0); in TEST()
330 EXPECT_MATRIX_APPROX_EQ(expectedMatrix, op.localMatrix); in TEST()
[all …]
DGlopBuilderTests.cpp38 Glop::Fill::Filter::Matrix& expectedMatrix = expectedFill.filter.matrix; in expectFillEq() local
40 EXPECT_TRUE(std::memcmp(expectedMatrix.matrix, builtMatrix.matrix, in expectFillEq()
42 EXPECT_TRUE(std::memcmp(expectedMatrix.vector, builtMatrix.vector, in expectFillEq()
DFrameBuilderTests.cpp1515 Matrix4 expectedMatrix; in RENDERTHREAD_TEST() local
1520 expectedMatrix.loadIdentity(); in RENDERTHREAD_TEST()
1526 expectedMatrix.loadTranslate(50 - scrollX, 50 - scrollY, 0); in RENDERTHREAD_TEST()
1534 expectedMatrix.loadTranslate(-scrollX, 50 - scrollY, 0); in RENDERTHREAD_TEST()
1540 EXPECT_EQ(expectedMatrix, state.computedState.transform); in RENDERTHREAD_TEST()