Searched refs:clamped_size (Results 1 – 3 of 3) sorted by relevance
204 gfx::Size clamped_size = ClampToValidDimensions(size); in SetSurfaceSize() local210 AllocateRenderBuffers(target, clamped_size); in SetSurfaceSize()225 clamped_size.width()); in SetSurfaceSize()228 clamped_size.height()); in SetSurfaceSize()244 clamped_size.width(), in SetSurfaceSize()245 clamped_size.height(), in SetSurfaceSize()260 real_surface_size_ = clamped_size; in SetSurfaceSize()
63 int64 clamped_size = std::min(static_cast<int64>(size), file_size - position); in Read() local65 memcpy(data, file_.data() + position, clamped_size); in Read()66 read_cb.Run(clamped_size); in Read()
157 gfx::Size clamped_size = expanded_rect.size(); in ScrollbarLayerRectToContentRect() local158 clamped_size.SetToMin(content_bounds()); in ScrollbarLayerRectToContentRect()159 expanded_rect.set_size(clamped_size); in ScrollbarLayerRectToContentRect()