Home
last modified time | relevance | path

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

/external/chromium_org/ui/gfx/
Dskia_util.cc71 SkScalar bitmap_scale = SkFloatToScalar(image_rep.scale()); in CreateImageRepShader() local
81 shader_scale.preScale(bitmap_scale, bitmap_scale); in CreateImageRepShader()
82 shader_scale.setScaleX(SkScalarDiv(scale_x, bitmap_scale)); in CreateImageRepShader()
83 shader_scale.setScaleY(SkScalarDiv(scale_y, bitmap_scale)); in CreateImageRepShader()
Dcanvas.cc370 float bitmap_scale = image_rep.scale(); in DrawImageInt() local
373 canvas_->scale(SkFloatToScalar(1.0f / bitmap_scale), in DrawImageInt()
374 SkFloatToScalar(1.0f / bitmap_scale)); in DrawImageInt()
376 SkFloatToScalar(x * bitmap_scale), in DrawImageInt()
377 SkFloatToScalar(y * bitmap_scale), in DrawImageInt()
651 float bitmap_scale = image_rep.scale(); in GetImageRepToPaint() local
652 if (scale_x < bitmap_scale || scale_y < bitmap_scale) in GetImageRepToPaint()