Searched refs:maxDiffX (Results 1 – 2 of 2) sorted by relevance
/external/skqp/gm/ |
D | shapes_as_paths.cpp | 40 int maxDiffX = 0, maxDiffY = 0, maxDiff = 0; in draw_diff() local 56 maxDiffX = x; in draw_diff() 72 *highlight.getAddr32(maxDiffX, maxDiffY) = yellow; in draw_diff() 73 *highlight.getAddr32(SkTMax(maxDiffX - 1, 0), maxDiffY) = yellow; in draw_diff() 74 *highlight.getAddr32(maxDiffX, SkTMax(maxDiffY - 1, 0)) = yellow; in draw_diff() 75 *highlight.getAddr32(SkTMin(maxDiffX + 1, w - 1), maxDiffY) = yellow; in draw_diff() 76 *highlight.getAddr32(maxDiffX, SkTMin(maxDiffY + 1, h - 1)) = yellow; in draw_diff() 85 canvas->drawBitmapRect(bmpA, SkRect::MakeXYWH(maxDiffX - 5, maxDiffY - 5, 10, 10), in draw_diff() 87 canvas->drawBitmapRect(bmpB, SkRect::MakeXYWH(maxDiffX - 5, maxDiffY - 5, 10, 10), in draw_diff()
|
/external/skia/gm/ |
D | shapes_as_paths.cpp | 41 int maxDiffX = 0, maxDiffY = 0, maxDiff = 0; in draw_diff() local 57 maxDiffX = x; in draw_diff() 73 *highlight.getAddr32(maxDiffX, maxDiffY) = yellow; in draw_diff() 74 *highlight.getAddr32(SkTMax(maxDiffX - 1, 0), maxDiffY) = yellow; in draw_diff() 75 *highlight.getAddr32(maxDiffX, SkTMax(maxDiffY - 1, 0)) = yellow; in draw_diff() 76 *highlight.getAddr32(SkTMin(maxDiffX + 1, w - 1), maxDiffY) = yellow; in draw_diff() 77 *highlight.getAddr32(maxDiffX, SkTMin(maxDiffY + 1, h - 1)) = yellow; in draw_diff() 86 canvas->drawBitmapRect(bmpA, SkRect::MakeXYWH(maxDiffX - 5, maxDiffY - 5, 10, 10), in draw_diff() 88 canvas->drawBitmapRect(bmpB, SkRect::MakeXYWH(maxDiffX - 5, maxDiffY - 5, 10, 10), in draw_diff()
|