Searched refs:makeSnapshot (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/hwui/tests/unit/ |
D | SnapshotTests.cpp | 26 auto actualRoot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(0, 0, 100, 100)); in TEST() 27 auto root = TestUtils::makeSnapshot(Matrix4::identity(), Rect(10, 10, 90, 90)); in TEST() 28 auto child = TestUtils::makeSnapshot(Matrix4::identity(), Rect(50, 50, 90, 90)); in TEST() 51 auto actualRoot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(0, 0, 100, 100)); in TEST() 52 auto root = TestUtils::makeSnapshot(Matrix4::identity(), Rect(10, 10, 90, 90)); in TEST() 57 auto child = TestUtils::makeSnapshot(Matrix4::identity(), Rect(50, 50, 90, 90)); in TEST() 67 auto child = TestUtils::makeSnapshot(Matrix4::identity(), Rect(50, 50, 90, 90)); in TEST()
|
D | BakedOpStateTests.cpp | 37 auto parentSnapshot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(100, 200)); in TEST() 46 auto parentSnapshot = TestUtils::makeSnapshot(translate10x20, Rect(100, 200)); in TEST() 72 auto parentSnapshot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(100, 200)); in TEST() 79 auto parentSnapshot = TestUtils::makeSnapshot(translate10x20, Rect(100, 200)); in TEST() 171 auto parentSnapshot = TestUtils::makeSnapshot(snapshotMatrix, Rect(200, 200)); in TEST() 187 auto snapshot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(100, 200)); in TEST() 207 auto snapshot = TestUtils::makeSnapshot(translate10x20, Rect()); // Note: empty clip in TEST() 215 auto snapshot = TestUtils::makeSnapshot(translate10x20, Rect(100, 200)); in TEST() 235 auto snapshot = TestUtils::makeSnapshot(Matrix4::identity(), Rect()); // Note: empty clip in TEST() 249 auto snapshot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(200, 200)); in TEST() [all …]
|
D | BakedOpDispatcherTests.cpp | 59 auto snapshot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(100, 100)); in testUnmergedGlopDispatch()
|
/frameworks/base/libs/hwui/tests/common/ |
D | TestUtils.h | 128 static std::unique_ptr<Snapshot> makeSnapshot(const Matrix4& transform, const Rect& clip) { in makeSnapshot() function
|