Home
last modified time | relevance | path

Searched refs:kInsetFrac (Results 1 – 2 of 2) sorted by relevance

/external/skia/tools/debugger/
DDrawCommand.cpp272 static const SkScalar kInsetFrac = 0.9f; // Leave a border around object in xlate_and_scale_to_bounds() local
276 canvas->scale(SkDoubleToScalar((kInsetFrac * size.fWidth) / bounds.width()), in xlate_and_scale_to_bounds()
277 SkDoubleToScalar((kInsetFrac * size.fHeight) / bounds.width())); in xlate_and_scale_to_bounds()
279 canvas->scale(SkDoubleToScalar((kInsetFrac * size.fWidth) / bounds.height()), in xlate_and_scale_to_bounds()
280 SkDoubleToScalar((kInsetFrac * size.fHeight) / bounds.height())); in xlate_and_scale_to_bounds()
/external/skqp/tools/debugger/
DSkDrawCommand.cpp269 static const SkScalar kInsetFrac = 0.9f; // Leave a border around object in xlate_and_scale_to_bounds() local
273 canvas->scale(SkDoubleToScalar((kInsetFrac*size.fWidth)/bounds.width()), in xlate_and_scale_to_bounds()
274 SkDoubleToScalar((kInsetFrac*size.fHeight)/bounds.width())); in xlate_and_scale_to_bounds()
276 canvas->scale(SkDoubleToScalar((kInsetFrac*size.fWidth)/bounds.height()), in xlate_and_scale_to_bounds()
277 SkDoubleToScalar((kInsetFrac*size.fHeight)/bounds.height())); in xlate_and_scale_to_bounds()