Home
last modified time | relevance | path

Searched refs:window1 (Results 1 – 25 of 53) sorted by relevance

123

/external/chromium_org/ui/wm/core/
Dshadow_controller_unittest.cc128 scoped_ptr<aura::Window> window1(new aura::Window(NULL)); in TEST_F() local
129 window1->SetType(ui::wm::WINDOW_TYPE_NORMAL); in TEST_F()
130 window1->Init(aura::WINDOW_LAYER_TEXTURED); in TEST_F()
131 ParentWindow(window1.get()); in TEST_F()
132 window1->SetBounds(gfx::Rect(10, 20, 300, 400)); in TEST_F()
133 window1->Show(); in TEST_F()
134 ActivateWindow(window1.get()); in TEST_F()
137 Shadow* shadow1 = api.GetShadowForWindow(window1.get()); in TEST_F()
189 scoped_ptr<aura::Window> window1(new aura::Window(NULL)); in TEST_F() local
190 window1->SetType(ui::wm::WINDOW_TYPE_NORMAL); in TEST_F()
[all …]
Dwindow_util_unittest.cc21 scoped_ptr<aura::Window> window1( in TEST_F() local
24 aura::test::CreateTestWindowWithId(1, window1.get())); in TEST_F()
26 aura::test::CreateTestWindowWithId(2, window1.get())); in TEST_F()
28 ASSERT_EQ(2u, window1->layer()->children().size()); in TEST_F()
35 wm::RecreateLayers(window1.get()); in TEST_F()
45 ASSERT_EQ(2u, window1->layer()->children().size()); in TEST_F()
46 EXPECT_EQ(window11->layer(), window1->layer()->children()[0]); in TEST_F()
47 EXPECT_EQ(window12->layer(), window1->layer()->children()[1]); in TEST_F()
Dtransient_window_manager_unittest.cc273 scoped_ptr<Window> window1(CreateTestWindowWithId(1, root_window())); in TEST_F() local
346 scoped_ptr<Window> window1(CreateTestWindowWithId(1, root_window())); in TEST_F() local
347 scoped_ptr<Window> window11(CreateTransientChild(11, window1.get())); in TEST_F()
348 scoped_ptr<Window> window12(CreateTransientChild(12, window1.get())); in TEST_F()
349 scoped_ptr<Window> window13(CreateTransientChild(13, window1.get())); in TEST_F()
362 root_window()->StackChildAtTop(window1.get()); in TEST_F()
370 scoped_ptr<Window> window1(CreateTestWindowWithId(1, root_window())); in TEST_F() local
371 scoped_ptr<Window> window11(CreateTransientChild(11, window1.get())); in TEST_F()
372 scoped_ptr<Window> window12(CreateTransientChild(12, window1.get())); in TEST_F()
373 scoped_ptr<Window> window13(CreateTransientChild(13, window1.get())); in TEST_F()
[all …]
Dtransient_window_stacking_client.cc32 void FindCommonTransientAncestor(Window** window1, Window** window2) { in FindCommonTransientAncestor() argument
33 DCHECK(window1); in FindCommonTransientAncestor()
35 DCHECK(*window1); in FindCommonTransientAncestor()
40 if (!GetAllTransientAncestors(*window1, &ancestors1) || in FindCommonTransientAncestor()
49 *window1 = *it1; in FindCommonTransientAncestor()
Dtransient_window_stacking_client_unittest.cc179 scoped_ptr<Window> window1(CreateTestWindowWithId(1, root_window())); in TEST_F() local
180 window1->layer()->set_name("1"); in TEST_F()
187 root_window()->StackChildAbove(window1.get(), window3.get()); in TEST_F()
194 window1->layer()->set_delegate(NULL); in TEST_F()
195 root_window()->StackChildAbove(window2.get(), window1.get()); in TEST_F()
201 root_window()->StackChildBelow(window3.get(), window1.get()); in TEST_F()
209 root_window()->StackChildBelow(window2.get(), window1.get()); in TEST_F()
/external/chromium_org/ash/wm/overview/
Dwindow_selector_unittest.cc121 bool WindowsOverlapping(aura::Window* window1, aura::Window* window2) { in WindowsOverlapping() argument
122 gfx::RectF window1_bounds = GetTransformedTargetBounds(window1); in WindowsOverlapping()
270 scoped_ptr<aura::Window> window1(CreateWindow(bounds)); in TEST_F() local
282 scoped_ptr<aura::Window> window1(CreateWindow(bounds)); in TEST_F() local
286 EXPECT_TRUE(WindowsOverlapping(window1.get(), window2.get())); in TEST_F()
289 EXPECT_FALSE(wm::IsActiveWindow(window1.get())); in TEST_F()
299 EXPECT_FALSE(WindowsOverlapping(window1.get(), window2.get())); in TEST_F()
300 EXPECT_FALSE(WindowsOverlapping(window1.get(), panel1.get())); in TEST_F()
306 ClickWindow(window1.get()); in TEST_F()
307 EXPECT_TRUE(wm::IsActiveWindow(window1.get())); in TEST_F()
[all …]
/external/chromium_org/ash/wm/
Dworkspace_controller_unittest.cc778 scoped_ptr<aura::Window> window1(CreateTestWindowInShellWithId(0)); in TEST_F() local
779 gfx::Rect desktop_area = window1->parent()->bounds(); in TEST_F()
780 wm::GetWindowState(window1.get())->set_window_position_managed(true); in TEST_F()
782 window1->Hide(); in TEST_F()
783 window1->SetBounds(gfx::Rect(16, 32, 300, 300)); in TEST_F()
784 window1->Show(); in TEST_F()
789 window1->bounds().ToString()); in TEST_F()
793 ::wm::AddTransientChild(window1.get(), child.get()); in TEST_F()
814 EXPECT_EQ("0,32 300x300", window1->bounds().ToString()); in TEST_F()
827 scoped_ptr<aura::Window> window1(CreateTestWindowInShellWithId(0)); in TEST_F() local
[all …]
Dwindow_cycle_controller_unittest.cc112 scoped_ptr<Window> window1(CreateTestWindowInShellWithId(1)); in TEST_F() local
124 ASSERT_EQ(window1.get(), controller->window_cycle_list()->windows()[1]); in TEST_F()
128 EXPECT_TRUE(wm::IsActiveWindow(window1.get())); in TEST_F()
140 EXPECT_TRUE(wm::IsActiveWindow(window1.get())); in TEST_F()
156 wm::ActivateWindow(window1.get()); in TEST_F()
163 EXPECT_TRUE(wm::IsActiveWindow(window1.get())); in TEST_F()
180 EXPECT_TRUE(wm::IsActiveWindow(window1.get())); in TEST_F()
197 EXPECT_FALSE(wm::IsActiveWindow(window1.get())); in TEST_F()
202 EXPECT_FALSE(wm::IsActiveWindow(window1.get())); in TEST_F()
210 scoped_ptr<Window> window1(CreateTestWindowInShellWithId(1)); in TEST_F() local
[all …]
/external/chromium_org/ash/drag_drop/
Ddrag_drop_tracker_unittest.cc65 scoped_ptr<aura::Window> window1( in TEST_F() local
67 window1->Show(); in TEST_F()
69 EXPECT_EQ(root_windows[1], window1->GetRootWindow()); in TEST_F()
71 EXPECT_EQ("300,100 100x100", window1->GetBoundsInScreen().ToString()); in TEST_F()
83 EXPECT_NE(window1.get(), GetTarget(gfx::Point(150, 150))); in TEST_F()
87 EXPECT_EQ(window1.get(), GetTarget(gfx::Point(350, 150))); in TEST_F()
92 EXPECT_NE(window1.get(), GetTarget(gfx::Point(50, 250))); in TEST_F()
104 EXPECT_NE(window1.get(), GetTarget(gfx::Point(150, -50))); in TEST_F()
108 EXPECT_EQ(window1.get(), GetTarget(gfx::Point(150, 150))); in TEST_F()
113 EXPECT_NE(window1.get(), GetTarget(gfx::Point(50, 50))); in TEST_F()
[all …]
/external/chromium_org/ash/wm/workspace/
Dmulti_window_resize_controller.cc133 : window1(NULL), in ResizeWindows()
143 return window1 == other.window1 && in Equals()
177 windows_.window1->AddObserver(this); in Show()
194 if (windows_.window1) { in Hide()
195 windows_.window1->RemoveObserver(this); in Hide()
196 windows_.window1 = NULL; in Hide()
248 result.window1 = window; in DetermineWindows()
254 result.window1 = FindWindowByEdge( in DetermineWindows()
260 result.window1 = FindWindowByEdge( in DetermineWindows()
266 result.window1 = window; in DetermineWindows()
[all …]
Dworkspace_layout_manager_unittest.cc155 scoped_ptr<aura::Window> window1( in TEST_F() local
157 EXPECT_EQ("10,-400 200x200", window1->GetBoundsInScreen().ToString()); in TEST_F()
489 scoped_ptr<aura::Window> window1( in TEST_F() local
493 wm::WindowState* window_state1 = wm::GetWindowState(window1.get()); in TEST_F()
895 scoped_ptr<aura::Window> window1(CreateTestWindow(gfx::Rect(1, 2, 3, 4))); in TEST_F() local
896 window1->Show(); in TEST_F()
900 EXPECT_EQ(window1.get(), default_container()->children()[0]); in TEST_F()
901 EXPECT_EQ("A", GetWindowOrderAsString(NULL, window1.get(), NULL, NULL)); in TEST_F()
911 GetWindowOrderAsString(backdrop, window1.get(), window2.get(), in TEST_F()
919 GetWindowOrderAsString(backdrop, window1.get(), window2.get(), in TEST_F()
[all …]
Dmulti_window_resize_controller.h71 bool is_valid() const { return window1 && window2; } in is_valid()
74 aura::Window* window1; member
/external/chromium_org/chrome/browser/ui/ash/launcher/
Dchrome_launcher_controller_browsertest.cc482 AppWindow* window1 = CreateAppWindow(extension); in IN_PROC_BROWSER_TEST_F() local
508 CloseAppWindow(window1); in IN_PROC_BROWSER_TEST_F()
519 AppWindow* window1 = CreateAppWindow(extension1); in IN_PROC_BROWSER_TEST_F() local
549 CloseAppWindow(window1); in IN_PROC_BROWSER_TEST_F()
561 AppWindow* window1 = CreateAppWindow(extension1); in IN_PROC_BROWSER_TEST_F() local
587 EXPECT_TRUE(ash::wm::IsActiveWindow(window1->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
594 EXPECT_FALSE(ash::wm::IsActiveWindow(window1->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
600 EXPECT_FALSE(ash::wm::IsActiveWindow(window1->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
606 EXPECT_TRUE(ash::wm::IsActiveWindow(window1->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
613 EXPECT_FALSE(ash::wm::IsActiveWindow(window1->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/ash/wm/dock/
Ddocked_window_layout_manager_unittest.cc259 scoped_ptr<aura::Window> window1(CreateTestWindowInShellWithId(1)); in TEST_P() local
260 gfx::Rect desktop_area = window1->parent()->bounds(); in TEST_P()
261 wm::GetWindowState(window1.get())->set_window_position_managed(true); in TEST_P()
262 window1->Hide(); in TEST_P()
263 window1->SetBounds(gfx::Rect(250, 32, 231, 320)); in TEST_P()
264 window1->Show(); in TEST_P()
269 min_dock_gap() - window1->bounds().width()) / 2) + in TEST_P()
270 ",32 231x320", window1->bounds().ToString()); in TEST_P()
283 ",32 231x320", window1->bounds().ToString()); in TEST_P()
309 scoped_ptr<aura::Window> window1(CreateTestWindowInShellWithId(1)); in TEST_P() local
[all …]
/external/chromium_org/athena/wm/
Dwindow_list_provider_impl_unittest.cc180 scoped_ptr<aura::Window> window1 = in TEST_F() local
192 EXPECT_FALSE(list_provider->IsWindowInList(window1.get())); in TEST_F()
197 container->AddChild(window1.get()); in TEST_F()
203 EXPECT_EQ(original_order[0], window1.get()); in TEST_F()
210 list_provider->StackWindowFrontOf(window1.get(), window2.get()); in TEST_F()
222 list_provider->StackWindowBehindTo(window1.get(), window2.get()); in TEST_F()
228 list_provider->StackWindowFrontOf(window1.get(), window3.get()); in TEST_F()
234 list_provider->StackWindowFrontOf(window1.get(), window3.get()); in TEST_F()
238 list_provider->StackWindowBehindTo(window3.get(), window1.get()); in TEST_F()
248 scoped_ptr<aura::Window> window1 = in TEST_F() local
[all …]
/external/chromium_org/ui/aura/demo/
Ddemo_main.cc144 aura::Window window1(&window_delegate1); in DemoMain() local
145 window1.set_id(1); in DemoMain()
146 window1.Init(aura::WINDOW_LAYER_TEXTURED); in DemoMain()
147 window1.SetBounds(gfx::Rect(100, 100, 400, 400)); in DemoMain()
148 window1.Show(); in DemoMain()
149 aura::client::ParentWindowWithContext(&window1, host->window(), gfx::Rect()); in DemoMain()
/external/chromium_org/chrome/browser/chromeos/extensions/
Dwallpaper_private_api_unittest.cc80 scoped_ptr<aura::Window> window1(CreateTestWindowInShellWithId(1)); in TEST_F() local
84 ash::wm::WindowState* window1_state = ash::wm::GetWindowState(window1.get()); in TEST_F()
131 scoped_ptr<aura::Window> window1(CreateTestWindowInShellWithId(1)); in TEST_F() local
135 ash::wm::WindowState* window1_state = ash::wm::GetWindowState(window1.get()); in TEST_F()
253 scoped_ptr<aura::Window> window1(CreateTestWindowInShellWithId(1)); in TEST_F() local
257 ash::wm::WindowState* window1_state = ash::wm::GetWindowState(window1.get()); in TEST_F()
263 multi_user_window_manager()->SetWindowOwner(window1.get(), kTestAccount1); in TEST_F()
352 scoped_ptr<aura::Window> window1(CreateTestWindowInShellWithId(1)); in TEST_F() local
356 ash::wm::WindowState* window1_state = ash::wm::GetWindowState(window1.get()); in TEST_F()
361 multi_user_window_manager()->SetWindowOwner(window1.get(), kTestAccount1); in TEST_F()
/external/openssl/crypto/bn/
Dbn_exp2.c122 int i,j,bits,b,bits1,bits2,ret=0,wpos1,wpos2,window1,window2,wvalue1,wvalue2; in BN_mod_exp2_mont() local
166 window1 = BN_window_bits_for_exponent_size(bits1); in BN_mod_exp2_mont()
188 if (window1 > 1) in BN_mod_exp2_mont()
192 j=1<<(window1-1); in BN_mod_exp2_mont()
256 i = b-window1+1; in BN_mod_exp2_mont()
/external/chromium_org/ash/wm/gestures/
Doverview_gesture_handler_unittest.cc43 scoped_ptr<aura::Window> window1(CreateWindow(bounds)); in TEST_F() local
70 scoped_ptr<aura::Window> window1(CreateWindow(bounds)); in TEST_F() local
87 scoped_ptr<aura::Window> window1(CreateWindow(bounds)); in TEST_F() local
147 scoped_ptr<aura::Window> window1(CreateWindow(bounds)); in TEST_F() local
164 scoped_ptr<aura::Window> window1(CreateWindow(bounds)); in TEST_F() local
/external/chromium_org/ui/views/widget/desktop_aura/
Dx11_topmost_window_finder_interactive_uitest.cc235 aura::Window* window1 = widget1->GetNativeWindow(); in TEST_F() local
236 XID xid1 = window1->GetHost()->GetAcceleratedWidget(); in TEST_F()
251 EXPECT_EQ(window1, FindTopmostLocalProcessWindowAt(150, 150)); in TEST_F()
270 EXPECT_EQ(window1, in TEST_F()
276 EXPECT_EQ(window1, in TEST_F()
286 aura::Window* window1 = widget1->GetNativeWindow(); in TEST_F() local
287 XID xid1 = window1->GetHost()->GetAcceleratedWidget(); in TEST_F()
Ddesktop_window_tree_host_x11_interactive_uitest.cc185 aura::Window* window1 = widget1->GetNativeWindow(); in TEST_F() local
187 static_cast<DesktopWindowTreeHostX11*>(window1->GetHost()); in TEST_F()
197 window1->AddPreTargetHandler(&recorder1); in TEST_F()
253 window1->RemovePreTargetHandler(&recorder1); in TEST_F()
/external/chromium_org/third_party/webrtc/video_engine/test/auto_test/source/
Dvie_autotest.cc41 ViEAutoTest::ViEAutoTest(void* window1, void* window2) : in ViEAutoTest() argument
42 _window1(window1), in ViEAutoTest()
46 4561, window1, false, _renderType)), in ViEAutoTest()
Dvie_autotest_android.cc22 void* window1, void* window2, in RunAutotest() argument
24 ViEAutoTest vieAutoTest(window1, window2); in RunAutotest()
/external/chromium_org/ash/accelerators/
Daccelerator_commands_unittest.cc23 scoped_ptr<aura::Window> window1( in TEST_F() local
27 wm::WindowState* window_state1 = wm::GetWindowState(window1.get()); in TEST_F()
/external/chromium_org/third_party/webrtc/video_engine/test/auto_test/interface/
Dvie_autotest_android.h20 void* window1,

123