Searched refs:scaled_bounds (Results 1 – 2 of 2) sorted by relevance
88 gfx::Size scaled_bounds = ComputeContentBoundsForScale(scale, scale); in ClampScaleToMaxTextureSize() local89 if (scaled_bounds.width() > MaxTextureSize() || in ClampScaleToMaxTextureSize()90 scaled_bounds.height() > MaxTextureSize()) { in ClampScaleToMaxTextureSize()91 if (scaled_bounds.width() > scaled_bounds.height()) in ClampScaleToMaxTextureSize()
483 SkRect scaled_bounds = RectToSkRect(gfx::Rect(scaled_size)); in CreateLowQualityResizedBitmap() local486 canvas.drawBitmapRect(source_bitmap, NULL, scaled_bounds); in CreateLowQualityResizedBitmap()