/external/chromium_org/cc/trees/ |
H A D | occlusion.cc | 23 bool Occlusion::IsOccluded(const gfx::Rect& content_rect) const { 24 if (content_rect.IsEmpty()) 33 GetUnoccludedRectInTargetSurface(content_rect); 38 const gfx::Rect& content_rect) const { 39 if (content_rect.IsEmpty()) 40 return content_rect; 44 return content_rect; 48 GetUnoccludedRectInTargetSurface(content_rect); 58 unoccluded_rect.Intersect(content_rect); 64 const gfx::Rect& content_rect) cons [all...] |
H A D | occlusion.h | 23 bool IsOccluded(const gfx::Rect& content_rect) const; 24 gfx::Rect GetUnoccludedContentRect(const gfx::Rect& content_rect) const; 28 const gfx::Rect& content_rect) const;
|
H A D | layer_tree_host_unittest_damage.cc | 271 root_damage.Intersect(root_surface->content_rect()); 277 EXPECT_EQ(gfx::RectF(root_surface->content_rect()).ToString(), 291 EXPECT_EQ(gfx::RectF(root_surface->content_rect()).ToString(), 327 EXPECT_EQ(gfx::RectF(root_surface->content_rect()).ToString(), 383 gfx::RectF content_rect(content_layer->position(), 387 EXPECT_FALSE(content_rect.Intersects(scrollbar_rect)); 412 root_damage.Intersect(root_surface->content_rect()); 486 root_damage.Intersect(root_surface->content_rect());
|
/external/chromium_org/printing/ |
H A D | printed_page.cc | 30 const gfx::Size& paper_size, gfx::Rect* content_rect) const { 31 *content_rect = page_content_rect(); 34 content_rect->set_x(content_rect->x() + diff / 2); 38 content_rect->set_y(content_rect->y() + diff / 2);
|
H A D | printed_page.h | 45 gfx::Rect* content_rect) const;
|
/external/chromium_org/cc/resources/ |
H A D | resource_update.cc | 13 const gfx::Rect& content_rect, 16 CHECK(content_rect.Contains(source_rect)); 20 update.content_rect = content_rect; 11 Create(PrioritizedResource* resource, const SkBitmap* bitmap, const gfx::Rect& content_rect, const gfx::Rect& source_rect, const gfx::Vector2d& dest_offset) argument
|
H A D | resource_update.h | 21 const gfx::Rect& content_rect, 30 gfx::Rect content_rect; member in struct:cc::ResourceUpdate
|
H A D | layer_painter.h | 22 virtual void Paint(SkCanvas* canvas, const gfx::Rect& content_rect) = 0;
|
H A D | picture_pile_impl_perftest.cc | 34 gfx::Rect content_rect(0, 0, kTileSize, kTileSize); 39 pile->AnalyzeInRect(content_rect, contents_scale, &analysis); 51 gfx::Rect content_rect(0, 0, kTileSize, kTileSize); 61 content_rect,
|
H A D | layer_tiling_data.cc | 72 void LayerTilingData::ContentRectToTileIndices(const gfx::Rect& content_rect, argument 81 DCHECK(!content_rect.IsEmpty()); 83 *left = tiling_data_.TileXIndexFromSrcCoord(content_rect.x()); 84 *top = tiling_data_.TileYIndexFromSrcCoord(content_rect.y()); 85 *right = tiling_data_.TileXIndexFromSrcCoord(content_rect.right() - 1); 86 *bottom = tiling_data_.TileYIndexFromSrcCoord(content_rect.bottom() - 1);
|
H A D | picture_pile_impl.h | 69 void AnalyzeInRect(const gfx::Rect& content_rect, 74 const gfx::Rect& content_rect, 81 PixelRefIterator(const gfx::Rect& content_rect, 115 const gfx::Rect& content_rect,
|
H A D | picture_pile_impl.cc | 134 const gfx::Rect& content_rect, 140 content_rect, 1.f / contents_scale); 159 // of the rects will have to fit into |content_rect|, so we can start with 326 void PicturePileImpl::AnalyzeInRect(const gfx::Rect& content_rect, argument 329 AnalyzeInRect(content_rect, contents_scale, analysis, NULL); 333 const gfx::Rect& content_rect, 341 content_rect, 1.0f / contents_scale); 363 const gfx::Rect& content_rect, 368 gfx::ScaleToEnclosingRect(content_rect, 1.f / contents_scale)), 133 CoalesceRasters(const gfx::Rect& canvas_rect, const gfx::Rect& content_rect, float contents_scale, PictureRegionMap* results) const argument 332 AnalyzeInRect( const gfx::Rect& content_rect, float contents_scale, PicturePileImpl::Analysis* analysis, RenderingStatsInstrumentation* stats_instrumentation) const argument 362 PixelRefIterator( const gfx::Rect& content_rect, float contents_scale, const PicturePileImpl* picture_pile) argument
|
H A D | tile.cc | 22 const gfx::Rect& content_rect, 30 content_rect_(content_rect), 70 res->BeginArray("content_rect"); 19 Tile(TileManager* tile_manager, PicturePileImpl* picture_pile, const gfx::Size& tile_size, const gfx::Rect& content_rect, float contents_scale, int layer_id, int source_frame_number, int flags) argument
|
/external/chromium_org/cc/quads/ |
H A D | picture_draw_quad.cc | 27 const gfx::Rect& content_rect, 39 this->content_rect = content_rect; 53 const gfx::Rect& content_rect, 66 this->content_rect = content_rect; 85 value->BeginArray("content_rect"); 86 MathUtil::AddToTracedValue(content_rect, value); 20 SetNew(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, const gfx::RectF& tex_coord_rect, const gfx::Size& texture_size, ResourceFormat texture_format, const gfx::Rect& content_rect, float contents_scale, scoped_refptr<PicturePileImpl> picture_pile) argument 45 SetAll(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, bool needs_blending, const gfx::RectF& tex_coord_rect, const gfx::Size& texture_size, ResourceFormat texture_format, const gfx::Rect& content_rect, float contents_scale, scoped_refptr<PicturePileImpl> picture_pile) argument
|
H A D | picture_draw_quad.h | 32 const gfx::Rect& content_rect, 44 const gfx::Rect& content_rect, 48 gfx::Rect content_rect; member in class:cc::PictureDrawQuad
|
/external/chromium_org/ui/snapshot/ |
H A D | snapshot_win.cc | 20 RECT content_rect = {0, 0, 0, 0}; local 22 ::GetWindowRect(window_handle, &content_rect); 28 content_rect = monitor_info.rcMonitor; 31 content_rect.right++; // Match what PrintWindow wants. 33 return gfx::Rect(content_rect.right - content_rect.left, 34 content_rect.bottom - content_rect.top);
|
/external/chromium_org/cc/layers/ |
H A D | render_surface_unittest.cc | 50 // Currently, the content_rect, clip_rect, and 99 gfx::Rect content_rect(0, 0, 50, 50); 106 render_surface->SetContentRect(content_rect); 130 EXPECT_RECT_EQ(content_rect, 165 gfx::Rect content_rect(0, 0, 50, 50); 170 render_surface->SetContentRect(content_rect); 180 EXPECT_RECT_EQ(content_rect, pass->output_rect);
|
H A D | render_surface.h | 34 void SetContentRect(const gfx::Rect& content_rect) { argument 35 content_rect_ = content_rect; 37 gfx::Rect content_rect() const { return content_rect_; } function in class:cc::RenderSurface
|
H A D | painted_scrollbar_layer.cc | 261 const gfx::Rect& content_rect, 263 DCHECK(!content_rect.size().IsEmpty()); 267 skbitmap.allocN32Pixels(content_rect.width(), content_rect.height()); 271 content_rect.width() / static_cast<float>(layer_rect.width()); 273 content_rect.height() / static_cast<float>(layer_rect.height()); 259 RasterizeScrollbarPart( const gfx::Rect& layer_rect, const gfx::Rect& content_rect, ScrollbarPart part) argument
|
H A D | render_surface_impl.h | 120 void SetContentRect(const gfx::Rect& content_rect); 121 gfx::Rect content_rect() const { return content_rect_; } function in class:cc::RenderSurfaceImpl
|
/external/chromium_org/cc/debug/ |
H A D | rasterize_and_record_benchmark_impl.cc | 29 const gfx::Rect& content_rect, 33 content_rect_(content_rect), 99 const gfx::Rect& content_rect) OVERRIDE { 100 return base_client_->CreateTile(tiling, content_rect); 225 gfx::Rect content_rect = (*it)->content_rect(); local 230 content_rect, 249 int tile_size = content_rect.width() * content_rect.height(); 28 BenchmarkRasterTask(PicturePileImpl* picture_pile, const gfx::Rect& content_rect, float contents_scale, size_t repeat_count) argument
|
/external/chromium_org/cc/input/ |
H A D | scrollbar.h | 36 const gfx::Rect& content_rect) = 0;
|
/external/chromium_org/cc/test/ |
H A D | fake_scrollbar.cc | 60 const gfx::Rect& content_rect) { 72 // TRACK and the given content_rect for the THUMB 74 : RectToSkRect(content_rect); 58 PaintPart(SkCanvas* canvas, ScrollbarPart part, const gfx::Rect& content_rect) argument
|
/external/chromium_org/cc/blink/ |
H A D | scrollbar_impl.cc | 69 const gfx::Rect& content_rect) { 71 painter_.paintThumb(canvas, content_rect); 76 painter_.paintScrollbarBackground(canvas, content_rect); 67 PaintPart(SkCanvas* canvas, cc::ScrollbarPart part, const gfx::Rect& content_rect) argument
|
/external/chromium_org/ui/app_list/views/ |
H A D | search_result_view.cc | 211 gfx::Rect content_rect(rect); 212 content_rect.set_height(rect.height() - kBorderSize); 217 canvas->FillRect(content_rect, kSelectedColor); 219 canvas->FillRect(content_rect, kHighlightedColor); 221 canvas->FillRect(content_rect, kContentsBackgroundColor); 223 gfx::Rect border_bottom = gfx::SubtractRects(rect, content_rect);
|