Home
last modified time | relevance | path

Searched refs:simpleTranslate (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
DCanvasStateTests.cpp56 Matrix4 simpleTranslate; in TEST() local
57 simpleTranslate.loadTranslate(10, 20, 0); in TEST()
58 state.setMatrix(simpleTranslate); in TEST()
62 EXPECT_TRUE(approxEqual(*state.currentTransform(), simpleTranslate)); in TEST()
130 Matrix4 simpleTranslate; in TEST() local
131 simpleTranslate.loadTranslate(10, 10, 0); in TEST()
135 EXPECT_TRUE(approxEqual(*state.currentTransform(), simpleTranslate)); in TEST()
138 EXPECT_FALSE(approxEqual(*state.currentTransform(), simpleTranslate)); in TEST()
154 Matrix4 simpleTranslate; in TEST() local
155 simpleTranslate.loadTranslate(10, 10, 0); in TEST()
[all …]
DGlopBuilderTests.cpp123 Matrix4 simpleTranslate; in RENDERTHREAD_TEST() local
124 simpleTranslate.loadTranslate(0.7, 0.7, 0); in RENDERTHREAD_TEST()
130 .setTransform(simpleTranslate, TransformFlags::None) in RENDERTHREAD_TEST()
144 goldenGlop->transform.canvas = simpleTranslate; in RENDERTHREAD_TEST()