Home
last modified time | relevance | path

Searched refs:window2 (Results 1 – 25 of 48) sorted by relevance

12

/external/chromium_org/ui/wm/core/
Dshadow_controller_unittest.cc142 scoped_ptr<aura::Window> window2(new aura::Window(NULL)); in TEST_F() local
143 window2->SetType(ui::wm::WINDOW_TYPE_NORMAL); in TEST_F()
144 window2->Init(aura::WINDOW_LAYER_TEXTURED); in TEST_F()
145 ParentWindow(window2.get()); in TEST_F()
146 window2->SetBounds(gfx::Rect(11, 21, 301, 401)); in TEST_F()
147 window2->Show(); in TEST_F()
148 ActivateWindow(window2.get()); in TEST_F()
151 Shadow* shadow2 = api.GetShadowForWindow(window2.get()); in TEST_F()
205 scoped_ptr<aura::Window> window2(new aura::Window(NULL)); in TEST_F() local
206 window2->SetType(ui::wm::WINDOW_TYPE_NORMAL); in TEST_F()
[all …]
Dtransient_window_stacking_client.cc32 void FindCommonTransientAncestor(Window** window1, Window** window2) { in FindCommonTransientAncestor() argument
34 DCHECK(window2); in FindCommonTransientAncestor()
36 DCHECK(*window2); in FindCommonTransientAncestor()
41 !GetAllTransientAncestors(*window2, &ancestors2)) { in FindCommonTransientAncestor()
50 *window2 = *it2; in FindCommonTransientAncestor()
Dtransient_window_manager_unittest.cc275 scoped_ptr<Window> window2(CreateTransientChild(2, window0.get())); in TEST_F() local
350 scoped_ptr<Window> window2(CreateTestWindowWithId(2, root_window())); in TEST_F() local
401 scoped_ptr<Window> window2(CreateTestWindowWithId(2, root_window())); in TEST_F() local
544 scoped_ptr<Window> window2(CreateTestWindowWithId(2, root_window())); in TEST_F() local
545 scoped_ptr<Window> transient2(CreateTransientChild(21, window2.get())); in TEST_F()
552 EXPECT_EQ(root->children()[2], window2.get()); in TEST_F()
557 EXPECT_EQ(root->layer()->children()[2], window2->layer()); in TEST_F()
565 EXPECT_EQ(root->children()[0], window2.get()); in TEST_F()
569 EXPECT_EQ(root->layer()->children()[0], window2->layer()); in TEST_F()
578 root->StackChildAtTop(window2.get()); in TEST_F()
[all …]
Dtransient_window_stacking_client_unittest.cc181 scoped_ptr<Window> window2(CreateTestWindowWithId(2, root_window())); in TEST_F() local
182 window2->layer()->set_name("2"); in TEST_F()
195 root_window()->StackChildAbove(window2.get(), window1.get()); in TEST_F()
209 root_window()->StackChildBelow(window2.get(), window1.get()); in TEST_F()
/external/chromium_org/ash/wm/
Dworkspace_controller_unittest.cc806 scoped_ptr<aura::Window> window2(CreateTestWindowInShellWithId(1)); in TEST_F() local
807 wm::GetWindowState(window2.get())->set_window_position_managed(true); in TEST_F()
809 window2->Hide(); in TEST_F()
810 window2->SetBounds(gfx::Rect(32, 48, 250, 250)); in TEST_F()
811 window2->Show(); in TEST_F()
818 x = desktop_area.width() - window2->bounds().width(); in TEST_F()
819 EXPECT_EQ(base::IntToString(x) + ",48 250x250", window2->bounds().ToString()); in TEST_F()
831 scoped_ptr<aura::Window> window2(CreateTestWindowInShellWithId(1)); in TEST_F() local
834 window2->Hide(); in TEST_F()
835 window2->SetBounds(gfx::Rect(32, 48, 256, 512)); in TEST_F()
[all …]
Dwindow_cycle_controller_unittest.cc111 scoped_ptr<Window> window2(CreateTestWindowInShellWithId(2)); in TEST_F() local
125 ASSERT_EQ(window2.get(), controller->window_cycle_list()->windows()[2]); in TEST_F()
144 EXPECT_TRUE(wm::IsActiveWindow(window2.get())); in TEST_F()
155 wm::ActivateWindow(window2.get()); in TEST_F()
161 EXPECT_TRUE(wm::IsActiveWindow(window2.get())); in TEST_F()
182 EXPECT_TRUE(wm::IsActiveWindow(window2.get())); in TEST_F()
198 EXPECT_FALSE(wm::IsActiveWindow(window2.get())); in TEST_F()
203 EXPECT_FALSE(wm::IsActiveWindow(window2.get())); in TEST_F()
263 scoped_ptr<Window> window2(CreateTestWindowWithId(2, top_container)); in TEST_F() local
274 EXPECT_EQ(window2.get(), controller->window_cycle_list()->windows()[1]); in TEST_F()
[all …]
/external/chromium_org/ash/wm/overview/
Dwindow_selector_unittest.cc121 bool WindowsOverlapping(aura::Window* window1, aura::Window* window2) { in WindowsOverlapping() argument
123 gfx::RectF window2_bounds = GetTransformedTargetBounds(window2); in WindowsOverlapping()
283 scoped_ptr<aura::Window> window2(CreateWindow(bounds)); in TEST_F() local
286 EXPECT_TRUE(WindowsOverlapping(window1.get(), window2.get())); in TEST_F()
288 wm::ActivateWindow(window2.get()); in TEST_F()
290 EXPECT_TRUE(wm::IsActiveWindow(window2.get())); in TEST_F()
291 EXPECT_EQ(window2.get(), GetFocusedWindow()); in TEST_F()
299 EXPECT_FALSE(WindowsOverlapping(window1.get(), window2.get())); in TEST_F()
308 EXPECT_FALSE(wm::IsActiveWindow(window2.get())); in TEST_F()
319 scoped_ptr<aura::Window> window2(CreateWindow(bounds)); in TEST_F() local
[all …]
/external/chromium_org/ash/wm/workspace/
Dmulti_window_resize_controller.cc134 window2(NULL), in ResizeWindows()
144 window2 == other.window2 && in Equals()
178 windows_.window2->AddObserver(this); in Show()
198 if (windows_.window2) { in Hide()
199 windows_.window2->RemoveObserver(this); in Hide()
200 windows_.window2 = NULL; in Hide()
249 result.window2 = FindWindowByEdge( in DetermineWindows()
256 result.window2 = window; in DetermineWindows()
262 result.window2 = window; in DetermineWindows()
267 result.window2 = FindWindowByEdge( in DetermineWindows()
[all …]
Dworkspace_layout_manager_unittest.cc160 scoped_ptr<aura::Window> window2( in TEST_F() local
162 EXPECT_EQ("10,-500 200x200", window2->GetBoundsInScreen().ToString()); in TEST_F()
358 scoped_ptr<aura::Window> window2( in TEST_F() local
360 ::wm::AddTransientChild(window.get(), window2.get()); in TEST_F()
361 window2->Show(); in TEST_F()
363 window_observer.set_window(window2.get()); in TEST_F()
491 scoped_ptr<aura::Window> window2( in TEST_F() local
494 wm::WindowState* window_state2 = wm::GetWindowState(window2.get()); in TEST_F()
521 window2.reset(); in TEST_F()
904 scoped_ptr<aura::Window> window2(CreateTestWindow(gfx::Rect(10, 2, 3, 4))); in TEST_F() local
[all …]
Dmulti_window_resize_controller.h71 bool is_valid() const { return window1 && window2; } in is_valid()
77 aura::Window* window2; member
/external/chromium_org/ui/aura/demo/
Ddemo_main.cc152 aura::Window window2(&window_delegate2); in DemoMain() local
153 window2.set_id(2); in DemoMain()
154 window2.Init(aura::WINDOW_LAYER_TEXTURED); in DemoMain()
155 window2.SetBounds(gfx::Rect(200, 200, 350, 350)); in DemoMain()
156 window2.Show(); in DemoMain()
157 aura::client::ParentWindowWithContext(&window2, host->window(), gfx::Rect()); in DemoMain()
165 window2.AddChild(&window3); in DemoMain()
/external/chromium_org/ash/wm/gestures/
Doverview_gesture_handler_unittest.cc44 scoped_ptr<aura::Window> window2(CreateWindow(bounds)); in TEST_F() local
71 scoped_ptr<aura::Window> window2(CreateWindow(bounds)); in TEST_F() local
88 scoped_ptr<aura::Window> window2(CreateWindow(bounds)); in TEST_F() local
148 scoped_ptr<aura::Window> window2(CreateWindow(bounds)); in TEST_F() local
165 scoped_ptr<aura::Window> window2(CreateWindow(bounds)); in TEST_F() local
166 ui::test::EventGenerator generator(root_window, window2.get()); in TEST_F()
/external/chromium_org/chrome/browser/chromeos/extensions/
Dwallpaper_private_api_unittest.cc79 scoped_ptr<aura::Window> window2(CreateTestWindowInShellWithId(2)); in TEST_F() local
85 ash::wm::WindowState* window2_state = ash::wm::GetWindowState(window2.get()); in TEST_F()
252 scoped_ptr<aura::Window> window2(CreateTestWindowInShellWithId(2)); in TEST_F() local
258 ash::wm::WindowState* window2_state = ash::wm::GetWindowState(window2.get()); in TEST_F()
266 multi_user_window_manager()->SetWindowOwner(window2.get(), kTestAccount2); in TEST_F()
321 window2.reset(); in TEST_F()
351 scoped_ptr<aura::Window> window2(CreateTestWindowInShellWithId(2)); in TEST_F() local
357 ash::wm::WindowState* window2_state = ash::wm::GetWindowState(window2.get()); in TEST_F()
364 multi_user_window_manager()->SetWindowOwner(window2.get(), kTestAccount2); in TEST_F()
368 multi_user_window_manager()->ShowWindowForUser(window2.get(), kTestAccount1); in TEST_F()
/external/chromium_org/athena/wm/
Dwindow_list_provider_impl_unittest.cc182 scoped_ptr<aura::Window> window2 = in TEST_F() local
193 EXPECT_FALSE(list_provider->IsWindowInList(window2.get())); in TEST_F()
198 container->AddChild(window2.get()); in TEST_F()
204 EXPECT_EQ(original_order[1], window2.get()); in TEST_F()
210 list_provider->StackWindowFrontOf(window1.get(), window2.get()); in TEST_F()
216 list_provider->StackWindowFrontOf(window3.get(), window2.get()); in TEST_F()
222 list_provider->StackWindowBehindTo(window1.get(), window2.get()); in TEST_F()
250 scoped_ptr<aura::Window> window2 = in TEST_F() local
264 container->AddChild(window2.get()); in TEST_F()
277 window2.reset(); in TEST_F()
/external/chromium_org/ash/wm/dock/
Ddocked_window_layout_manager_unittest.cc272 scoped_ptr<aura::Window> window2(CreateTestWindowInShellWithId(2)); in TEST_P() local
273 wm::GetWindowState(window2.get())->set_window_position_managed(true); in TEST_P()
276 window2->Hide(); in TEST_P()
277 window2->SetBounds(gfx::Rect(250, 48, 150, 300)); in TEST_P()
278 window2->Show(); in TEST_P()
286 desktop_area.width() - window2->bounds().width()) + in TEST_P()
287 ",48 150x300", window2->bounds().ToString()); in TEST_P()
322 scoped_ptr<aura::Window> window2(CreateTestWindowInShellWithId(2)); in TEST_P() local
323 wm::GetWindowState(window2.get())->set_window_position_managed(true); in TEST_P()
326 window2->Hide(); in TEST_P()
[all …]
/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
167 window2 = BN_window_bits_for_exponent_size(bits2); in BN_mod_exp2_mont()
221 if (window2 > 1) in BN_mod_exp2_mont()
225 j=1<<(window2-1); in BN_mod_exp2_mont()
273 i = b-window2+1; in BN_mod_exp2_mont()
/external/chromium_org/third_party/webrtc/video_engine/test/auto_test/source/
Dvie_autotest.cc41 ViEAutoTest::ViEAutoTest(void* window1, void* window2) : in ViEAutoTest() argument
43 _window2(window2), in ViEAutoTest()
48 4562, window2, 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.cc25 scoped_ptr<aura::Window> window2( in TEST_F() local
28 wm::WindowState* window_state2 = wm::GetWindowState(window2.get()); in TEST_F()
/external/chromium_org/ui/views/widget/desktop_aura/
Ddesktop_window_tree_host_x11_interactive_uitest.cc191 aura::Window* window2 = widget2->GetNativeWindow(); in TEST_F() local
193 static_cast<DesktopWindowTreeHostX11*>(window2->GetHost()); in TEST_F()
199 window2->AddPreTargetHandler(&recorder2); in TEST_F()
254 window2->RemovePreTargetHandler(&recorder2); in TEST_F()
/external/chromium_org/chrome/browser/ui/views/frame/
Dbrowser_view_focus_uitest.cc67 gfx::NativeWindow window2 = browser2->window()->GetNativeWindow(); in IN_PROC_BROWSER_TEST_F() local
71 views::Widget::GetWidgetForNativeWindow(window2); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/ash/launcher/
Dchrome_launcher_controller_browsertest.cc492 AppWindow* window2 = CreateAppWindow(extension); in IN_PROC_BROWSER_TEST_F() local
500 CloseAppWindow(window2); in IN_PROC_BROWSER_TEST_F()
530 AppWindow* window2 = CreateAppWindow(extension2); in IN_PROC_BROWSER_TEST_F() local
542 CloseAppWindow(window2); in IN_PROC_BROWSER_TEST_F()
572 AppWindow* window2 = CreateAppWindow(extension2); in IN_PROC_BROWSER_TEST_F() local
588 EXPECT_FALSE(ash::wm::IsActiveWindow(window2->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
595 EXPECT_TRUE(ash::wm::IsActiveWindow(window2->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
601 EXPECT_FALSE(ash::wm::IsActiveWindow(window2->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
614 EXPECT_TRUE(ash::wm::IsActiveWindow(window2->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
620 EXPECT_FALSE(ash::wm::IsActiveWindow(window2->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/third_party/webrtc/video_engine/test/auto_test/interface/
Dvie_autotest_android.h21 void* window2,
Dvie_autotest_mac_cocoa.h46 - (NSWindow*)window2;
/external/chromium_org/ash/shelf/
Dshelf_layout_manager_unittest.cc1375 aura::Window* window2 = CreateTestWindow(); in TEST_F() local
1376 window2->SetBounds(gfx::Rect(0, 0, 100, 100)); in TEST_F()
1377 window2->Show(); in TEST_F()
1382 wm::GetWindowState(window2)->Activate(); in TEST_F()
1409 aura::Window* window2 = CreateTestWindow(); in TEST_F() local
1410 window2->SetBoundsInScreen( in TEST_F()
1413 window2->Show(); in TEST_F()
1416 EXPECT_EQ(root_windows[1], window2->GetRootWindow()); in TEST_F()
1418 wm::GetWindowState(window2)->Activate(); in TEST_F()
1635 views::Widget* window2 = CreateTestWidget(); in TEST_F() local
[all …]

12