/external/chromium_org/ui/compositor/ |
D | layer_owner.cc | 31 scoped_ptr<ui::Layer> old_layer(AcquireLayer()); in RecreateLayer() local 32 if (!old_layer) in RecreateLayer() 33 return old_layer.Pass(); in RecreateLayer() 35 LayerDelegate* old_delegate = old_layer->delegate(); in RecreateLayer() 36 old_layer->set_delegate(NULL); in RecreateLayer() 38 const gfx::Rect layer_bounds(old_layer->bounds()); in RecreateLayer() 39 Layer* new_layer = new ui::Layer(old_layer->type()); in RecreateLayer() 41 new_layer->SetVisible(old_layer->GetTargetVisibility()); in RecreateLayer() 42 new_layer->SetOpacity(old_layer->GetTargetOpacity()); in RecreateLayer() 44 new_layer->SetMasksToBounds(old_layer->GetMasksToBounds()); in RecreateLayer() [all …]
|
D | layer_owner_delegate.h | 19 virtual void OnLayerRecreated(Layer* old_layer, Layer* new_layer) = 0;
|
D | layer_owner_unittest.cc | 28 scoped_ptr<Layer> old_layer(owner.RecreateLayer()); in TEST() local
|
/external/chromium_org/content/renderer/pepper/ |
D | pepper_compositor_host.cc | 37 const ppapi::CompositorLayerData* old_layer, in VerifyCommittedLayer() argument 45 if (old_layer && !old_layer->color) in VerifyCommittedLayer() 51 if (old_layer) { in VerifyCommittedLayer() 56 if (new_layer->common.resource_id == old_layer->common.resource_id) { in VerifyCommittedLayer() 57 if (new_layer->texture->mailbox != old_layer->texture->mailbox) in VerifyCommittedLayer() 68 if (old_layer) { in VerifyCommittedLayer() 74 if (new_layer->common.resource_id == old_layer->common.resource_id) { in VerifyCommittedLayer() 75 if (new_layer->image->resource != old_layer->image->resource) in VerifyCommittedLayer() 199 const ppapi::CompositorLayerData* old_layer, in UpdateLayer() argument 252 if (!old_layer || in UpdateLayer() [all …]
|
D | pepper_compositor_host.h | 56 const ppapi::CompositorLayerData* old_layer,
|
/external/chromium_org/ash/wm/ |
D | window_animations_unittest.cc | 120 Layer* old_layer = window->layer(); in TEST_F() local 121 EXPECT_EQ(1.0f, old_layer->GetTargetOpacity()); in TEST_F() 127 EXPECT_NE(old_layer, window->layer()); in TEST_F() 129 EXPECT_EQ(1.0f, old_layer->GetTargetOpacity()); in TEST_F() 130 EXPECT_EQ("5,10 320x240", old_layer->bounds().ToString()); in TEST_F() 134 EXPECT_EQ(grow_transform, old_layer->GetTargetTransform()); in TEST_F() 140 old_layer->GetAnimator()->Step(base::TimeTicks::Now() + in TEST_F() 146 old_layer = window->layer(); in TEST_F() 150 EXPECT_NE(old_layer, window->layer()); in TEST_F() 152 EXPECT_EQ(0.0f, old_layer->GetTargetOpacity()); in TEST_F() [all …]
|
D | window_state.cc | 421 ui::Layer* old_layer = old_layer_owner->root(); in SetBoundsDirectCrossFade() local 422 DCHECK(old_layer); in SetBoundsDirectCrossFade() 431 old_layer->parent()->StackBelow(new_layer, old_layer); in SetBoundsDirectCrossFade() 433 old_layer->parent()->StackAbove(new_layer, old_layer); in SetBoundsDirectCrossFade()
|
D | window_animations.cc | 339 ui::Layer* old_layer = old_layer_owner->root(); in CrossFadeAnimation() local 340 old_layer->GetAnimator()->StopAnimating(); in CrossFadeAnimation() 341 ui::ScopedLayerAnimationSettings settings(old_layer->GetAnimator()); in CrossFadeAnimation() 355 old_layer->SetTransform(out_transform); in CrossFadeAnimation() 359 old_layer->SetOpacity(kWindowAnimation_HideOpacity); in CrossFadeAnimation() 362 old_layer = NULL; in CrossFadeAnimation()
|
/external/chromium_org/ui/wm/core/ |
D | window_util.cc | 26 ui::Layer* old_layer = owner ? owner->RecreateLayer().release() : NULL; in CloneChildren() local 27 if (old_layer) { in CloneChildren() 28 parent->Add(old_layer); in CloneChildren() 31 CloneChildren(owner->layer(), old_layer); in CloneChildren() 85 scoped_ptr<ui::LayerTreeOwner> old_layer( in RecreateLayers() local 87 if (old_layer->root()) in RecreateLayers() 88 CloneChildren(root->layer(), old_layer->root()); in RecreateLayers() 89 return old_layer.Pass(); in RecreateLayers()
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
D | contents_web_view.cc | 66 void ContentsWebView::OnLayerRecreated(ui::Layer* old_layer, in OnLayerRecreated() argument 79 old_layer->Add(cloned_layer_tree_->release()); in OnLayerRecreated()
|
D | contents_web_view.h | 42 virtual void OnLayerRecreated(ui::Layer* old_layer,
|
/external/chromium_org/content/browser/compositor/ |
D | delegated_frame_host.h | 150 virtual void OnLayerRecreated(ui::Layer* old_layer,
|
D | delegated_frame_host.cc | 840 void DelegatedFrameHost::OnLayerRecreated(ui::Layer* old_layer, in OnLayerRecreated() argument
|
/external/chromium_org/ui/aura/ |
D | window_unittest.cc | 1915 scoped_ptr<ui::Layer> old_layer(w.RecreateLayer()); in TEST_F() local 1931 scoped_ptr<ui::Layer> old_layer(w->RecreateLayer()); in TEST_F() local 1937 EXPECT_EQ(old_layer.get(), child_layers[1]); in TEST_F()
|
/external/chromium_org/ui/views/ |
D | view_unittest.cc | 3609 scoped_ptr<ui::Layer> old_layer(v.RecreateLayer()); in TEST_F() local 3612 ASSERT_TRUE(old_layer.get() != NULL); in TEST_F() 3613 EXPECT_TRUE(old_layer->children().empty()); in TEST_F()
|