Home
last modified time | relevance | path

Searched refs:old_layer (Results 1 – 24 of 24) sorted by relevance

/external/chromium_org/ash/wm/
Dwindow_animations_unittest.cc124 Layer* old_layer = window->layer(); in TEST_F() local
125 EXPECT_EQ(1.0f, old_layer->GetTargetOpacity()); in TEST_F()
130 EXPECT_NE(old_layer, window->layer()); in TEST_F()
132 EXPECT_EQ(1.0f, old_layer->GetTargetOpacity()); in TEST_F()
133 EXPECT_EQ("5,10 320x240", old_layer->bounds().ToString()); in TEST_F()
137 EXPECT_EQ(grow_transform, old_layer->GetTargetTransform()); in TEST_F()
143 static_cast<gfx::AnimationContainerElement*>(old_layer->GetAnimator())->Step( in TEST_F()
149 old_layer = window->layer(); in TEST_F()
152 EXPECT_NE(old_layer, window->layer()); in TEST_F()
154 EXPECT_EQ(0.0f, old_layer->GetTargetOpacity()); in TEST_F()
[all …]
Dwindow_animations.cc321 ui::Layer* old_layer, in CrossFadeImpl() argument
323 const gfx::Rect old_bounds(old_layer->bounds()); in CrossFadeImpl()
333 old_layer->GetAnimator()->StopAnimating(); in CrossFadeImpl()
334 ui::ScopedLayerAnimationSettings settings(old_layer->GetAnimator()); in CrossFadeImpl()
337 settings.AddObserver(new CrossFadeObserver(window, old_layer)); in CrossFadeImpl()
348 old_layer->SetTransform(out_transform); in CrossFadeImpl()
352 old_layer->SetOpacity(kWindowAnimation_HideOpacity); in CrossFadeImpl()
355 old_layer = NULL; in CrossFadeImpl()
405 ui::Layer* old_layer = views::corewm::RecreateWindowLayers(window, true); in CrossFadeToBounds() local
414 old_layer->parent()->StackBelow(new_layer, old_layer); in CrossFadeToBounds()
[all …]
/external/chromium_org/ui/views/corewm/
Dwindow_util.cc100 ui::Layer* old_layer = window->RecreateLayer(); in RecreateWindowLayers() local
101 DCHECK(old_layer); in RecreateWindowLayers()
112 old_layer->Add(RecreateWindowLayers(*it, set_bounds)); in RecreateWindowLayers()
119 has_view_layers = RecreateViewLayers(old_layer, widget->GetRootView()); in RecreateWindowLayers()
129 old_layer->children().begin(), old_layer->children().end(), layer); in RecreateWindowLayers()
130 if (it != old_layer->children().end()) in RecreateWindowLayers()
131 old_layer->StackAtTop(layer); in RecreateWindowLayers()
137 return old_layer; in RecreateWindowLayers()
/external/chromium_org/ui/aura/
Dwindow.cc316 ui::Layer* old_layer = AcquireLayer(); in RecreateLayer() local
317 if (!old_layer) in RecreateLayer()
320 old_layer->set_delegate(NULL); in RecreateLayer()
322 layer_ = new ui::Layer(old_layer->type()); in RecreateLayer()
324 layer_->SetVisible(old_layer->visible()); in RecreateLayer()
325 layer_->set_scale_content(old_layer->scale_content()); in RecreateLayer()
327 layer_->SetMasksToBounds(old_layer->GetMasksToBounds()); in RecreateLayer()
330 delegate_->DidRecreateLayer(old_layer, layer_); in RecreateLayer()
335 if (old_layer->parent()) { in RecreateLayer()
336 old_layer->parent()->Add(layer_); in RecreateLayer()
[all …]
Dwindow_delegate.h104 virtual void DidRecreateLayer(ui::Layer* old_layer, ui::Layer* new_layer) = 0;
Dwindow_unittest.cc2001 scoped_ptr<ui::Layer> old_layer(w.RecreateLayer()); in TEST_F() local
2016 scoped_ptr<ui::Layer> old_layer(w->RecreateLayer()); in TEST_F() local
2022 EXPECT_EQ(old_layer.get(), child_layers[1]); in TEST_F()
/external/chromium_org/content/browser/web_contents/aura/
Dimage_window_delegate.h45 virtual void DidRecreateLayer(ui::Layer* old_layer,
Dimage_window_delegate.cc97 void ImageWindowDelegate::DidRecreateLayer(ui::Layer *old_layer, in DidRecreateLayer() argument
/external/chromium_org/ui/aura/test/
Dtest_window_delegate.h63 virtual void DidRecreateLayer(ui::Layer* old_layer,
Dtest_window_delegate.cc99 void TestWindowDelegate::DidRecreateLayer(ui::Layer *old_layer, in DidRecreateLayer() argument
/external/chromium_org/ui/aura/demo/
Ddemo_main.cc71 virtual void DidRecreateLayer(ui::Layer* old_layer, in DidRecreateLayer() argument
/external/chromium_org/content/browser/web_contents/
Dweb_contents_view_aura.h173 virtual void DidRecreateLayer(ui::Layer* old_layer,
Dweb_contents_view_aura.cc1697 void WebContentsViewAura::DidRecreateLayer(ui::Layer *old_layer, in DidRecreateLayer() argument
/external/chromium_org/ui/keyboard/
Dkeyboard_controller.cc81 virtual void DidRecreateLayer(ui::Layer* old_layer, in DidRecreateLayer() argument
/external/chromium_org/ui/views/widget/
Dnative_widget_aura.h159 virtual void DidRecreateLayer(ui::Layer* old_layer,
Dnative_widget_aura.cc800 void NativeWidgetAura::DidRecreateLayer(ui::Layer *old_layer, in DidRecreateLayer() argument
/external/chromium_org/ash/display/
Dmirror_window_controller.cc125 virtual void DidRecreateLayer(ui::Layer* old_layer, in DidRecreateLayer() argument
/external/chromium_org/ui/views/widget/desktop_aura/
Ddesktop_native_widget_aura.h191 virtual void DidRecreateLayer(ui::Layer* old_layer,
Ddesktop_native_widget_aura.cc928 void DesktopNativeWidgetAura::DidRecreateLayer(ui::Layer* old_layer, in DidRecreateLayer() argument
/external/chromium_org/ash/drag_drop/
Ddrag_drop_controller.cc126 virtual void DidRecreateLayer(ui::Layer* old_layer, in DidRecreateLayer() argument
/external/chromium_org/content/browser/renderer_host/
Drender_widget_host_view_aura.cc2619 void RenderWidgetHostViewAura::DidRecreateLayer(ui::Layer *old_layer, in DidRecreateLayer() argument
2623 old_layer->GetTextureMailbox(&mailbox_scale_factor); in DidRecreateLayer()
2624 scoped_refptr<ui::Texture> old_texture = old_layer->external_texture(); in DidRecreateLayer()
2644 old_layer->SetExternalTexture(new_texture.get()); in DidRecreateLayer()
2646 old_layer->SetShowPaintedContent(); in DidRecreateLayer()
Drender_widget_host_view_aura.h312 virtual void DidRecreateLayer(ui::Layer *old_layer,
/external/chromium_org/ash/
Droot_window_controller.cc209 virtual void DidRecreateLayer(ui::Layer* old_layer, in DidRecreateLayer() argument
/external/chromium_org/ui/views/
Dview_unittest.cc3515 scoped_ptr<ui::Layer> old_layer(v->RecreateLayer()); in TEST_F() local