Lines Matching refs:TestUtils
35 std::unordered_map<int, TestUtils::CallCounts> TestUtils::sMockFunctorCounts{};
37 SkColor TestUtils::interpolateColor(float fraction, SkColor start, SkColor end) { in interpolateColor()
54 sp<DeferredLayerUpdater> TestUtils::createTextureLayerUpdater( in createTextureLayerUpdater()
68 sp<DeferredLayerUpdater> TestUtils::createTextureLayerUpdater( in createTextureLayerUpdater()
81 void TestUtils::drawUtf8ToCanvas(Canvas* canvas, const char* text, const Paint& paint, float x, in drawUtf8ToCanvas()
92 void TestUtils::drawUtf8ToCanvas(Canvas* canvas, const char* text, const Paint& paint, in drawUtf8ToCanvas()
99 void TestUtils::TestTask::run() { in run()
113 std::unique_ptr<uint16_t[]> TestUtils::asciiToUtf16(const char* str) { in asciiToUtf16()
122 SkColor TestUtils::getColor(const sk_sp<SkSurface>& surface, int x, int y) { in getColor()
161 SkRect TestUtils::getClipBounds(const SkCanvas* canvas) { in getClipBounds()
165 SkRect TestUtils::getLocalClipBounds(const SkCanvas* canvas) { in getLocalClipBounds()
170 SkRect outlineInDeviceCoord = TestUtils::getClipBounds(canvas); in getLocalClipBounds()