Searched refs:safeRect (Results 1 – 1 of 1) sorted by relevance
96 SkRect safeRect = SkRect::MakeLTRB(-r.fLeft, -r.fTop, w - r.fRight, h - r.fBottom); in onOnceBeforeDraw() local97 if (safeRect.isEmpty()) { in onOnceBeforeDraw()100 safeRect = SkRect::MakeWH(w, h); in onOnceBeforeDraw()102 fPositions[i].fX = random.nextRangeScalar(safeRect.fLeft, safeRect.fRight); in onOnceBeforeDraw()103 fPositions[i].fY = random.nextRangeScalar(safeRect.fTop, safeRect.fBottom); in onOnceBeforeDraw()