Lines Matching refs:TestUtils
41 std::unordered_map<int, TestUtils::CallCounts> TestUtils::sMockFunctorCounts{};
43 SkColor TestUtils::interpolateColor(float fraction, SkColor start, SkColor end) { in interpolateColor()
60 sp<DeferredLayerUpdater> TestUtils::createTextureLayerUpdater( in createTextureLayerUpdater()
74 sp<DeferredLayerUpdater> TestUtils::createTextureLayerUpdater( in createTextureLayerUpdater()
87 void TestUtils::drawUtf8ToCanvas(Canvas* canvas, const char* text, const Paint& paint, float x, in drawUtf8ToCanvas()
98 void TestUtils::drawUtf8ToCanvas(Canvas* canvas, const char* text, const Paint& paint, in drawUtf8ToCanvas()
105 void TestUtils::TestTask::run() { in run()
119 std::unique_ptr<uint16_t[]> TestUtils::asciiToUtf16(const char* str) { in asciiToUtf16()
128 SkColor TestUtils::getColor(const sk_sp<SkSurface>& surface, int x, int y) { in getColor()
167 SkRect TestUtils::getClipBounds(const SkCanvas* canvas) { in getClipBounds()
171 SkRect TestUtils::getLocalClipBounds(const SkCanvas* canvas) { in getLocalClipBounds()
176 SkRect outlineInDeviceCoord = TestUtils::getClipBounds(canvas); in getLocalClipBounds()