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

123

/external/chromium_org/webkit/renderer/compositor_bindings/
H A Dweb_solid_color_layer_impl.cc15 : layer_(new WebLayerImpl(SolidColorLayer::Create())) {
16 layer_->layer()->SetIsDrawable(true);
21 blink::WebLayer* WebSolidColorLayerImpl::layer() { return layer_.get(); }
24 layer_->setBackgroundColor(color);
H A Dweb_image_layer_impl.cc22 layer_.reset(new WebLayerImplFixedBounds(cc::PictureImageLayer::Create()));
24 layer_.reset(new WebLayerImpl(cc::ImageLayer::Create()));
29 blink::WebLayer* WebImageLayerImpl::layer() { return layer_.get(); }
33 static_cast<cc::PictureImageLayer*>(layer_->layer())->SetBitmap(bitmap);
34 static_cast<WebLayerImplFixedBounds*>(layer_.get())->SetFixedBounds(
37 static_cast<cc::ImageLayer*>(layer_->layer())->SetBitmap(bitmap);
H A Dweb_content_layer_impl.cc31 layer_ = make_scoped_ptr(new WebLayerImpl(PictureLayer::Create(this)));
33 layer_ = make_scoped_ptr(new WebLayerImpl(ContentLayer::Create(this)));
34 layer_->layer()->SetIsDrawable(true);
35 can_use_lcd_text_ = layer_->layer()->can_use_lcd_text();
40 static_cast<PictureLayer*>(layer_->layer())->ClearClient();
42 static_cast<ContentLayer*>(layer_->layer())->ClearClient();
45 blink::WebLayer* WebContentLayerImpl::layer() { return layer_.get(); }
48 layer_->layer()->SetDoubleSided(double_sided);
52 layer_->layer()->SetDrawCheckerboardForMissingTiles(enable);
72 if (can_use_lcd_text_ == layer_
[all...]
H A Dweb_layer_impl.cc41 WebLayerImpl::WebLayerImpl() : layer_(Layer::Create()) {
43 layer_->SetLayerClient(this);
46 WebLayerImpl::WebLayerImpl(scoped_refptr<Layer> layer) : layer_(layer) {
48 layer_->SetLayerClient(this);
52 layer_->ClearRenderSurface();
53 layer_->set_layer_animation_delegate(NULL);
57 int WebLayerImpl::id() const { return layer_->id(); }
60 layer_->SetNeedsDisplayRect(rect);
63 void WebLayerImpl::invalidate() { layer_->SetNeedsDisplay(); }
66 layer_
[all...]
H A Dweb_nine_patch_layer_impl.cc17 layer_.reset(new WebLayerImpl(cc::NinePatchLayer::Create()));
22 blink::WebLayer* WebNinePatchLayerImpl::layer() { return layer_.get(); }
35 static_cast<cc::NinePatchLayer*>(layer_->layer());
41 static_cast<cc::NinePatchLayer*>(layer_->layer());
47 static_cast<cc::NinePatchLayer*>(layer_->layer());
53 static_cast<cc::NinePatchLayer*>(layer_->layer());
H A Dweb_external_texture_layer_impl.cc30 layer_.reset(new WebLayerImpl(layer));
34 static_cast<TextureLayer*>(layer_->layer())->ClearClient();
37 blink::WebLayer* WebExternalTextureLayerImpl::layer() { return layer_.get(); }
40 TextureLayer *layer = static_cast<TextureLayer*>(layer_->layer());
47 static_cast<TextureLayer*>(layer_->layer())->SetContentsOpaque(opaque);
52 static_cast<TextureLayer*>(layer_->layer())->SetPremultipliedAlpha(
57 static_cast<TextureLayer*>(layer_->layer())->SetBlendBackgroundColor(blend);
61 static_cast<TextureLayer*>(layer_->layer())->SetRateLimitContext(rate_limit);
H A Dweb_image_layer_impl.h27 scoped_ptr<WebLayerImpl> layer_; member in class:webkit::WebImageLayerImpl
H A Dweb_scrollbar_layer_impl.cc32 : layer_(new WebLayerImpl(PaintedScrollbarLayer::Create(
42 : layer_(new WebLayerImpl(
51 blink::WebLayer* WebScrollbarLayerImpl::layer() { return layer_.get(); }
55 static_cast<PaintedScrollbarLayer*>(layer_->layer())->SetScrollLayerId(id);
H A Dweb_solid_color_layer_impl.h26 scoped_ptr<WebLayerImpl> layer_; member in class:webkit::WebSolidColorLayerImpl
H A Dweb_layer_impl_fixed_bounds.cc36 layer_->SetAnchorPoint(anchor_point);
101 layer_->SetBounds(original_bounds_);
102 layer_->SetTransform(original_transform_);
103 layer_->SetSublayerTransform(original_sublayer_transform_);
107 layer_->SetBounds(fixed_bounds_);
116 layer_->SetTransform(transform_with_bounds_scale);
125 layer_->SetSublayerTransform(sublayer_transform_with_inverse_bounds_scale);
/external/chromium_org/ui/compositor/
H A Dlayer_owner.h28 ui::Layer* layer() { return layer_; }
29 const ui::Layer* layer() const { return layer_; }
33 // to AcquireLayer(). After that moment |layer_| will still be valid but
38 Layer* layer_; member in class:ui::LayerOwner
H A Dlayer_owner.cc10 : layer_(NULL) {
/external/chromium_org/ash/wm/
H A Dsystem_background_controller.cc18 layer_(new ui::Layer(ui::LAYER_SOLID_COLOR)) {
20 layer_->SetColor(color);
23 layer_->SetBounds(gfx::Rect(root_layer->bounds().size()));
24 root_layer->Add(layer_.get());
25 root_layer->StackAtBottom(layer_.get());
33 layer_->SetColor(color);
41 layer_->SetBounds(gfx::Rect(root_window_->layer()->bounds().size()));
H A Ddrag_window_controller.cc25 layer_(NULL) {
54 if (layer_) {
55 views::corewm::DeepDeleteLayers(layer_);
56 layer_ = NULL;
88 layer_->SetVisible(true);
89 window->layer()->Add(layer_);
90 window->layer()->StackAtTop(layer_);
113 DCHECK(!layer_);
114 layer_ = views::corewm::RecreateWindowLayers(window_, true);
115 layer_
[all...]
H A Dboot_splash_screen_chromeos.cc56 layer_(new ui::Layer(ui::LAYER_TEXTURED)) {
57 layer_->set_delegate(layer_delegate_.get());
60 layer_->SetBounds(gfx::Rect(root_layer->bounds().size()));
61 root_layer->Add(layer_.get());
62 root_layer->StackAtTop(layer_.get());
69 ui::ScopedLayerAnimationSettings settings(layer_->GetAnimator());
72 layer_->SetOpacity(0.0f);
H A Dboot_splash_screen_chromeos.h36 // Begins animating |layer_|'s opacity to 0 over |duration|.
42 // Copies the host window's content to |layer_|.
45 scoped_ptr<ui::Layer> layer_; member in class:ash::internal::BootSplashScreen
H A Dsystem_background_controller.h46 scoped_ptr<ui::Layer> layer_; member in class:ash::internal::SystemBackgroundController
/external/chromium_org/content/browser/web_contents/aura/
H A Dshadow_layer_delegate.cc25 : layer_(new ui::Layer(ui::LAYER_TEXTURED)) {
26 layer_->set_delegate(this);
27 layer_->SetBounds(gfx::Rect(-kShadowThick, 0, kShadowThick,
29 layer_->SetFillsBoundsOpaquely(false);
30 shadow_for->Add(layer_.get());
48 layer_->bounds().height());
H A Dshadow_layer_delegate.h31 ui::Layer* layer() { return layer_.get(); }
39 scoped_ptr<ui::Layer> layer_; member in class:content::ShadowLayerDelegate
/external/chromium_org/chrome/browser/chromeos/ui/
H A Dfocus_ring_layer.cc40 if (!layer_ || root_window != root_window_) {
43 layer_.reset(new ui::Layer(ui::LAYER_TEXTURED));
44 layer_->set_name("FocusRing");
45 layer_->set_delegate(this);
46 layer_->SetFillsBoundsOpaquely(false);
47 root_layer->Add(layer_.get());
52 layer_->parent()->StackAtTop(layer_.get());
61 layer_->SetBounds(layer_bounds);
66 if (layer_
[all...]
/external/chromium_org/ui/aura/
H A Dwindow.cc235 // |layer_| can be NULL during tests, or if this Window is layerless.
236 if (layer_)
237 layer_->SuppressPaint();
291 if (layer_) {
292 layer_->set_delegate(NULL);
293 layer_ = NULL;
303 layer_ = new ui::Layer(WindowLayerTypeToUILayerType(window_layer_type));
304 layer_owner_.reset(layer_);
305 layer_->SetVisible(false);
306 layer_
[all...]
/external/chromium_org/ash/wm/overview/
H A Dscoped_window_copy.cc106 ui::Layer* layer_; member in class:ash::CleanupWidgetAfterAnimationObserver
117 layer_(layer),
149 if (layer_) {
150 views::corewm::DeepDeleteLayers(layer_);
151 layer_ = NULL;
163 layer_ = views::corewm::RecreateWindowLayers(src_window, true);
164 widget_ = CreateCopyOfWindow(target_root, src_window, layer_);
165 cleanup_observer_ = new CleanupWidgetAfterAnimationObserver(widget_, layer_);
H A Dscoped_window_copy.h42 ui::Layer* layer_; member in class:ash::ScopedWindowCopy
/external/chromium-trace/trace-viewer/src/cc/
H A Dselection.js76 this.layer_ = layer;
83 return this.layer_.layerId;
96 dataView.object = this.layer_.args;
101 return this.layer_.objectInstance.typeName;
105 var layer = lthi.activeTree.findLayerWithId(this.layer_.layerId) ||
106 lthi.pendingTree.findLayerWithId(this.layer_.layerId);
/external/chromium_org/cc/trees/
H A Dquad_culler.cc27 layer_(layer),
91 layer_, false, draw_quad->visible_rect);
94 layer_->render_target(),
104 layer_,

Completed in 1262 milliseconds

123