Home
last modified time | relevance | path

Searched refs:window2 (Results 1 – 25 of 46) 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.cc120 bool WindowsOverlapping(aura::Window* window1, aura::Window* window2) { in WindowsOverlapping() argument
122 gfx::RectF window2_bounds = GetTransformedTargetBounds(window2); in WindowsOverlapping()
257 scoped_ptr<aura::Window> window2(CreateWindow(bounds)); in TEST_F() local
260 EXPECT_TRUE(WindowsOverlapping(window1.get(), window2.get())); in TEST_F()
262 wm::ActivateWindow(window2.get()); in TEST_F()
264 EXPECT_TRUE(wm::IsActiveWindow(window2.get())); in TEST_F()
265 EXPECT_EQ(window2.get(), GetFocusedWindow()); in TEST_F()
273 EXPECT_FALSE(WindowsOverlapping(window1.get(), window2.get())); in TEST_F()
282 EXPECT_FALSE(wm::IsActiveWindow(window2.get())); in TEST_F()
293 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()
345 scoped_ptr<aura::Window> window2( in TEST_F() local
347 ::wm::AddTransientChild(window.get(), window2.get()); in TEST_F()
348 window2->Show(); in TEST_F()
350 window_observer.set_window(window2.get()); in TEST_F()
478 scoped_ptr<aura::Window> window2( in TEST_F() local
481 wm::WindowState* window_state2 = wm::GetWindowState(window2.get()); in TEST_F()
508 window2.reset(); in TEST_F()
901 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 aura::test::EventGenerator generator(root_window, window2.get()); in TEST_F()
/external/chromium_org/chrome/browser/chromeos/extensions/
Dwallpaper_private_api_unittest.cc78 scoped_ptr<aura::Window> window2(CreateTestWindowInShellWithId(2)); in TEST_F() local
84 ash::wm::WindowState* window2_state = ash::wm::GetWindowState(window2.get()); in TEST_F()
251 scoped_ptr<aura::Window> window2(CreateTestWindowInShellWithId(2)); in TEST_F() local
257 ash::wm::WindowState* window2_state = ash::wm::GetWindowState(window2.get()); in TEST_F()
265 multi_user_window_manager()->SetWindowOwner(window2.get(), kTestAccount2); in TEST_F()
320 window2.reset(); in TEST_F()
350 scoped_ptr<aura::Window> window2(CreateTestWindowInShellWithId(2)); in TEST_F() local
356 ash::wm::WindowState* window2_state = ash::wm::GetWindowState(window2.get()); in TEST_F()
363 multi_user_window_manager()->SetWindowOwner(window2.get(), kTestAccount2); in TEST_F()
367 multi_user_window_manager()->ShowWindowForUser(window2.get(), kTestAccount1); in TEST_F()
/external/chromium_org/ash/wm/dock/
Ddocked_window_layout_manager_unittest.cc271 scoped_ptr<aura::Window> window2(CreateTestWindowInShellWithId(2)); in TEST_P() local
272 wm::GetWindowState(window2.get())->set_window_position_managed(true); in TEST_P()
275 window2->Hide(); in TEST_P()
276 window2->SetBounds(gfx::Rect(250, 48, 150, 300)); in TEST_P()
277 window2->Show(); in TEST_P()
285 desktop_area.width() - window2->bounds().width()) + in TEST_P()
286 ",48 150x300", window2->bounds().ToString()); in TEST_P()
321 scoped_ptr<aura::Window> window2(CreateTestWindowInShellWithId(2)); in TEST_P() local
322 wm::GetWindowState(window2.get())->set_window_position_managed(true); in TEST_P()
325 window2->Hide(); in TEST_P()
[all …]
/external/chromium_org/third_party/openssl/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/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.cc20 void* window1, void* window2, in RunAutotest() argument
22 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/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/third_party/webrtc/video_engine/test/auto_test/interface/
Dvie_autotest_android.h21 void* window2,
Dvie_autotest_mac_cocoa.h46 - (NSWindow*)window2;
Dvie_autotest.h52 ViEAutoTest(void* window1, void* window2);
/external/chromium_org/chrome/browser/ui/ash/launcher/
Dchrome_launcher_controller_browsertest.cc491 AppWindow* window2 = CreateAppWindow(extension); in IN_PROC_BROWSER_TEST_F() local
499 CloseAppWindow(window2); in IN_PROC_BROWSER_TEST_F()
529 AppWindow* window2 = CreateAppWindow(extension2); in IN_PROC_BROWSER_TEST_F() local
541 CloseAppWindow(window2); in IN_PROC_BROWSER_TEST_F()
571 AppWindow* window2 = CreateAppWindow(extension2); in IN_PROC_BROWSER_TEST_F() local
587 EXPECT_FALSE(ash::wm::IsActiveWindow(window2->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
594 EXPECT_TRUE(ash::wm::IsActiveWindow(window2->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
600 EXPECT_FALSE(ash::wm::IsActiveWindow(window2->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
613 EXPECT_TRUE(ash::wm::IsActiveWindow(window2->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
619 EXPECT_FALSE(ash::wm::IsActiveWindow(window2->GetNativeWindow())); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/ash/shelf/
Dshelf_layout_manager_unittest.cc1367 aura::Window* window2 = CreateTestWindow(); in TEST_F() local
1368 window2->SetBounds(gfx::Rect(0, 0, 100, 100)); in TEST_F()
1369 window2->Show(); in TEST_F()
1374 wm::GetWindowState(window2)->Activate(); in TEST_F()
1401 aura::Window* window2 = CreateTestWindow(); in TEST_F() local
1402 window2->SetBoundsInScreen( in TEST_F()
1405 window2->Show(); in TEST_F()
1408 EXPECT_EQ(root_windows[1], window2->GetRootWindow()); in TEST_F()
1410 wm::GetWindowState(window2)->Activate(); in TEST_F()
1660 views::Widget* window2 = CreateTestWidget(); in TEST_F() local
[all …]

12