Home
last modified time | relevance | path

Searched refs:shader_scale (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/ui/gfx/
Dskia_util.cc80 SkMatrix shader_scale = local_matrix; 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()
85 shader->setLocalMatrix(shader_scale); in CreateImageRepShader()
Dcanvas.cc446 SkMatrix shader_scale; in DrawImageInt() local
447 shader_scale.setScale(SkFloatToScalar(user_scale_x), in DrawImageInt()
449 shader_scale.preTranslate(SkIntToScalar(-src_x), SkIntToScalar(-src_y)); in DrawImageInt()
450 shader_scale.postTranslate(SkIntToScalar(dest_x), SkIntToScalar(dest_y)); in DrawImageInt()
455 shader_scale); in DrawImageInt()
581 SkMatrix shader_scale; in TileImageInt() local
582 shader_scale.setScale(SkFloatToScalar(tile_scale_x), in TileImageInt()
584 shader_scale.preTranslate(SkIntToScalar(-src_x), SkIntToScalar(-src_y)); in TileImageInt()
585 shader_scale.postTranslate(SkIntToScalar(dest_x), SkIntToScalar(dest_y)); in TileImageInt()
590 shader_scale); in TileImageInt()
/external/chromium/chrome/browser/ui/views/tabs/
Ddragged_tab_view.cc165 SkMatrix shader_scale; in PaintDetachedView() local
166 shader_scale.setScale(kScalingFactor, kScalingFactor); in PaintDetachedView()
167 bitmap_shader->setLocalMatrix(shader_scale); in PaintDetachedView()
/external/chromium_org/chrome/browser/ui/views/tabs/
Ddragged_tab_view.cc165 SkMatrix shader_scale; in PaintDetachedView() local
166 shader_scale.setScale(kScalingFactor, kScalingFactor); in PaintDetachedView()
167 bitmap_shader->setLocalMatrix(shader_scale); in PaintDetachedView()
/external/chromium/chrome/browser/download/
Ddownload_util.cc444 SkMatrix shader_scale; in PaintDownloadProgress() local
445 shader_scale.setTranslate(SkIntToScalar(foreground_bounds.x()), in PaintDownloadProgress()
447 shader->setLocalMatrix(shader_scale); in PaintDownloadProgress()