Searched refs:layer_bounds (Results 1 - 25 of 25) sorted by relevance

/external/chromium_org/cc/test/
H A Dfake_picture_pile_impl.h18 const gfx::Size& layer_bounds);
21 const gfx::Size& layer_bounds);
24 const gfx::Size& layer_bounds);
H A Dfake_picture_pile_impl.cc21 const gfx::Size& layer_bounds) {
23 pile->tiling().SetTilingRect(gfx::Rect(layer_bounds));
26 pile->recorded_viewport_ = gfx::Rect(layer_bounds);
37 const gfx::Size& layer_bounds) {
39 pile->tiling().SetTilingRect(gfx::Rect(layer_bounds));
50 const gfx::Size& layer_bounds) {
52 pile->tiling().SetTilingRect(gfx::Rect(layer_bounds));
19 CreateFilledPile( const gfx::Size& tile_size, const gfx::Size& layer_bounds) argument
35 CreateEmptyPile( const gfx::Size& tile_size, const gfx::Size& layer_bounds) argument
48 CreateEmptyPileThatThinksItHasRecordings( const gfx::Size& tile_size, const gfx::Size& layer_bounds) argument
H A Dfake_picture_layer_impl.h31 const gfx::Size& layer_bounds) {
33 new FakePictureLayerImpl(tree_impl, id, pile, layer_bounds));
106 const gfx::Size& layer_bounds);
27 CreateWithPartialPile( LayerTreeImpl* tree_impl, int id, scoped_refptr<PicturePileImpl> pile, const gfx::Size& layer_bounds) argument
H A Dfake_picture_layer_impl.cc28 const gfx::Size& layer_bounds)
31 SetBounds(layer_bounds);
32 SetContentBounds(layer_bounds);
25 FakePictureLayerImpl(LayerTreeImpl* tree_impl, int id, scoped_refptr<PicturePileImpl> pile, const gfx::Size& layer_bounds) argument
/external/chromium_org/cc/layers/
H A Dpicture_layer_impl_unittest.cc76 void SetupDefaultTrees(const gfx::Size& layer_bounds) { argument
80 FakePicturePileImpl::CreateFilledPile(tile_size, layer_bounds);
82 FakePicturePileImpl::CreateFilledPile(tile_size, layer_bounds);
97 void SetupDefaultTreesWithFixedTileSize(const gfx::Size& layer_bounds, argument
99 SetupDefaultTrees(layer_bounds);
289 gfx::Size layer_bounds(400, 400);
292 FakePicturePileImpl::CreateFilledPile(tile_size, layer_bounds);
294 FakePicturePileImpl::CreateFilledPile(tile_size, layer_bounds);
314 gfx::Size layer_bounds(400, 400);
317 FakePicturePileImpl::CreateFilledPile(tile_size, layer_bounds);
[all...]
H A Dpicture_layer_impl_perftest.cc42 void SetupPendingTree(const gfx::Size& layer_bounds, argument
45 FakePicturePileImpl::CreateFilledPile(tile_size, layer_bounds);
H A Dtiled_layer_impl_unittest.cc333 gfx::Size layer_bounds(1000, 1000);
339 tiled_layer->SetBounds(layer_bounds);
340 tiled_layer->SetContentBounds(layer_bounds);
346 tiler->SetTilingRect(gfx::Rect(layer_bounds));
363 gfx::Rect(layer_bounds));
384 gfx::Rect(layer_bounds),
H A Dtexture_layer_unittest.cc192 const gfx::Size layer_bounds(100, 100);
193 const gfx::Rect layer_rect(layer_bounds);
197 layer->SetBounds(layer_bounds);
H A Dtiled_layer_unittest.cc869 gfx::Rect layer_bounds(0, 0, 300, 200);
872 layer->SetBounds(layer_bounds.size());
895 EXPECT_FLOAT_RECT_EQ(gfx::RectF(layer_bounds), layer->update_rect());
/external/chromium_org/cc/resources/
H A Dpicture_pile_impl_unittest.cc21 gfx::Size layer_bounds(400, 400);
24 FakePicturePileImpl::CreateFilledPile(tile_size, layer_bounds);
79 gfx::Size layer_bounds(400, 400);
82 FakePicturePileImpl::CreateFilledPile(tile_size, layer_bounds);
137 gfx::Size layer_bounds(400, 400);
140 FakePicturePileImpl::CreateFilledPile(tile_size, layer_bounds);
152 gfx::Size layer_bounds(256, 256);
156 FakePicturePileImpl::CreateFilledPile(tile_size, layer_bounds);
210 gfx::Size layer_bounds(256, 256);
213 FakePicturePileImpl::CreateFilledPile(tile_size, layer_bounds);
[all...]
H A Dpicture_layer_tiling_set.h18 const gfx::Size& layer_bounds);
36 gfx::Size layer_bounds() const { return layer_bounds_; } function in class:cc::PictureLayerTilingSet
H A Dtile_manager_perftest.cc121 void SetupDefaultTrees(const gfx::Size& layer_bounds) { argument
125 FakePicturePileImpl::CreateFilledPile(tile_size, layer_bounds);
127 FakePicturePileImpl::CreateFilledPile(tile_size, layer_bounds);
140 void SetupDefaultTreesWithFixedTileSize(const gfx::Size& layer_bounds, argument
142 SetupDefaultTrees(layer_bounds);
222 gfx::Size layer_bounds(width, height);
225 SetupDefaultTreesWithFixedTileSize(layer_bounds,
242 layer->SetBounds(layer_bounds);
H A Dpicture_layer_tiling_unittest.cc57 const gfx::Size& layer_bounds,
61 layer_bounds,
69 const gfx::Size& layer_bounds,
71 : PictureLayerTiling(contents_scale, layer_bounds, client) { }
81 const gfx::Size& layer_bounds) {
84 layer_bounds,
313 gfx::Size layer_bounds(200, 200);
316 tiling = TestablePictureLayerTiling::Create(1.0f, layer_bounds, &client);
378 gfx::Size layer_bounds(200, 200);
381 tiling = TestablePictureLayerTiling::Create(1.0f, layer_bounds,
55 Create( float contents_scale, const gfx::Size& layer_bounds, PictureLayerTilingClient* client) argument
68 TestablePictureLayerTiling(float contents_scale, const gfx::Size& layer_bounds, PictureLayerTilingClient* client) argument
79 Initialize(const gfx::Size& tile_size, float contents_scale, const gfx::Size& layer_bounds) argument
[all...]
H A Dpicture_layer_tiling.h127 const gfx::Size& layer_bounds,
129 gfx::Size layer_bounds() const { return layer_bounds_; } function in class:cc::PictureLayerTiling
130 void SetLayerBounds(const gfx::Size& layer_bounds);
272 const gfx::Size& layer_bounds,
H A Dpicture_layer_tiling_set_unittest.cc25 gfx::Size layer_bounds(1000, 800);
26 PictureLayerTilingSet set(&client, layer_bounds);
35 gfx::ToCeiledSize(gfx::ScaleSize(layer_bounds, contents_scale)));
76 gfx::Size layer_bounds(1000, 800);
77 PictureLayerTilingSet set(&client, layer_bounds);
89 gfx::ToCeiledSize(gfx::ScaleSize(layer_bounds, max_contents_scale)));
188 EXPECT_EQ(target_->layer_bounds().ToString(), new_bounds.ToString());
194 EXPECT_EQ(target_tiling->layer_bounds().ToString(),
263 EXPECT_EQ(target_->layer_bounds().ToString(), new_bounds.ToString());
H A Dpicture_layer_tiling.cc52 const gfx::Size& layer_bounds,
55 layer_bounds,
60 const gfx::Size& layer_bounds,
63 layer_bounds_(layer_bounds),
71 gfx::ToCeiledSize(gfx::ScaleSize(layer_bounds, contents_scale));
75 gfx::ScaleSize(layer_bounds, contents_scale)).IsEmpty()) <<
77 " Layer bounds: " << layer_bounds.ToString() <<
141 void PictureLayerTiling::SetLayerBounds(const gfx::Size& layer_bounds) { argument
142 if (layer_bounds_ == layer_bounds)
145 DCHECK(!layer_bounds
50 Create( float contents_scale, const gfx::Size& layer_bounds, PictureLayerTilingClient* client) argument
59 PictureLayerTiling(float contents_scale, const gfx::Size& layer_bounds, PictureLayerTilingClient* client) argument
[all...]
H A Dpicture_layer_tiling_set.cc25 const gfx::Size& layer_bounds)
27 layer_bounds_(layer_bounds) {
23 PictureLayerTilingSet( PictureLayerTilingClient* client, const gfx::Size& layer_bounds) argument
H A Dtile_manager_unittest.cc467 void SetupDefaultTrees(const gfx::Size& layer_bounds) { argument
471 FakePicturePileImpl::CreateFilledPile(tile_size, layer_bounds);
473 FakePicturePileImpl::CreateFilledPile(tile_size, layer_bounds);
486 void SetupDefaultTreesWithFixedTileSize(const gfx::Size& layer_bounds, argument
488 SetupDefaultTrees(layer_bounds);
/external/chromium_org/ash/wm/
H A Ddrag_window_controller.cc112 gfx::Rect layer_bounds = layer_owner_->root()->bounds(); local
113 layer_bounds.set_origin(gfx::Point(0, 0));
114 layer_owner_->root()->SetBounds(layer_bounds);
/external/chromium_org/chrome/browser/chromeos/ui/
H A Dfocus_ring_layer.cc57 gfx::Rect layer_bounds = focus_ring_; local
58 layer_bounds.set_origin(origin);
60 layer_bounds.Inset(inset, inset, inset, inset);
61 layer_->SetBounds(layer_bounds);
/external/chromium_org/ui/compositor/
H A Dlayer_owner.cc38 const gfx::Rect layer_bounds(old_layer->bounds());
43 new_layer->SetBounds(layer_bounds);
/external/chromium_org/ash/wm/overview/
H A Dscoped_window_copy.cc62 gfx::Rect layer_bounds = recreated_layer->bounds(); local
63 layer_bounds.set_origin(gfx::Point(0, 0));
64 recreated_layer->SetBounds(layer_bounds);
/external/chromium_org/ui/aura/
H A Dwindow.cc1049 gfx::Rect layer_bounds(layer()->bounds());
1050 layer_bounds.Offset(-offset);
1051 layer()->SetBounds(layer_bounds);
1069 gfx::Rect layer_bounds(layer()->bounds().size());
1070 layer_bounds += offset;
1071 layer()->SetBounds(layer_bounds);
1081 gfx::Rect layer_bounds(layer()->bounds());
1082 layer_bounds += offset;
1083 layer()->SetBounds(layer_bounds);
/external/chromium_org/ui/gfx/
H A Dcanvas.h188 // |layer_bounds| are the bounds of the layer relative to the current
191 void SaveLayerAlpha(uint8 alpha, const Rect& layer_bounds);
H A Dcanvas.cc187 void Canvas::SaveLayerAlpha(uint8 alpha, const Rect& layer_bounds) { argument
188 SkRect bounds(RectToSkRect(layer_bounds));

Completed in 596 milliseconds