Searched refs:window1 (Results 1 - 25 of 51) sorted by relevance

123

/external/chromium_org/ui/wm/core/
H A Dwindow_util_unittest.cc21 scoped_ptr<aura::Window> window1(
24 aura::test::CreateTestWindowWithId(1, window1.get()));
26 aura::test::CreateTestWindowWithId(2, window1.get()));
28 ASSERT_EQ(2u, window1->layer()->children().size());
35 wm::RecreateLayers(window1.get());
45 ASSERT_EQ(2u, window1->layer()->children().size());
46 EXPECT_EQ(window11->layer(), window1->layer()->children()[0]);
47 EXPECT_EQ(window12->layer(), window1->layer()->children()[1]);
H A Dshadow_controller_unittest.cc128 scoped_ptr<aura::Window> window1(new aura::Window(NULL));
129 window1->SetType(ui::wm::WINDOW_TYPE_NORMAL);
130 window1->Init(aura::WINDOW_LAYER_TEXTURED);
131 ParentWindow(window1.get());
132 window1->SetBounds(gfx::Rect(10, 20, 300, 400));
133 window1->Show();
134 ActivateWindow(window1.get());
136 // window1 is active, so style should have active appearance.
137 Shadow* shadow1 = api.GetShadowForWindow(window1.get());
150 // window1 i
[all...]
H A Dtransient_window_stacking_client.cc29 // Replaces |window1| and |window2| with their possible transient ancestors that
30 // are still siblings (have a common transient parent). |window1| and |window2|
32 void FindCommonTransientAncestor(Window** window1, Window** window2) { argument
33 DCHECK(window1);
35 DCHECK(*window1);
40 if (!GetAllTransientAncestors(*window1, &ancestors1) ||
49 *window1 = *it1;
H A Dtransient_window_manager_unittest.cc273 scoped_ptr<Window> window1(CreateTestWindowWithId(1, root_window()));
346 scoped_ptr<Window> window1(CreateTestWindowWithId(1, root_window()));
347 scoped_ptr<Window> window11(CreateTransientChild(11, window1.get()));
348 scoped_ptr<Window> window12(CreateTransientChild(12, window1.get()));
349 scoped_ptr<Window> window13(CreateTransientChild(13, window1.get()));
360 // Move window1 to the front. All transients should move with it, and their
362 root_window()->StackChildAtTop(window1.get());
370 scoped_ptr<Window> window1(CreateTestWindowWithId(1, root_window()));
371 scoped_ptr<Window> window11(CreateTransientChild(11, window1.get()));
372 scoped_ptr<Window> window12(CreateTransientChild(12, window1
[all...]
H A Dtransient_window_stacking_client_unittest.cc179 scoped_ptr<Window> window1(CreateTestWindowWithId(1, root_window()));
180 window1->layer()->set_name("1");
186 // This brings |window1| (and its layer) to the front.
187 root_window()->StackChildAbove(window1.get(), window3.get());
192 // Since |window1| does not have a delegate, |window2| should not move in
194 window1->layer()->set_delegate(NULL);
195 root_window()->StackChildAbove(window2.get(), window1.get());
200 // It should still be possible to stack |window3| immediately below |window1|.
201 root_window()->StackChildBelow(window3.get(), window1.get());
206 // Since neither |window3| nor |window1| hav
[all...]
/external/chromium_org/third_party/webrtc/video_engine/test/auto_test/interface/
H A Dvie_autotest_android.h20 void* window1,
H A Dvie_autotest.h52 ViEAutoTest(void* window1, void* window2);
H A Dvie_autotest_mac_cocoa.h45 - (NSWindow*)window1;
/external/chromium_org/ash/drag_drop/
H A Ddrag_drop_tracker_unittest.cc65 scoped_ptr<aura::Window> window1(
67 window1->Show();
69 EXPECT_EQ(root_windows[1], window1->GetRootWindow());
71 EXPECT_EQ("300,100 100x100", window1->GetBoundsInScreen().ToString());
81 // neither |window0| nor |window1| covers.
83 EXPECT_NE(window1.get(), GetTarget(gfx::Point(150, 150)));
86 // |window1| covers.
87 EXPECT_EQ(window1.get(), GetTarget(gfx::Point(350, 150)));
90 // neither |window0| nor |window1| covers.
92 EXPECT_NE(window1
[all...]
/external/chromium_org/ash/accelerators/
H A Daccelerator_commands_unittest.cc23 scoped_ptr<aura::Window> window1(
27 wm::WindowState* window_state1 = wm::GetWindowState(window1.get());
/external/chromium_org/ash/wm/overview/
H A Dwindow_selector_unittest.cc121 bool WindowsOverlapping(aura::Window* window1, aura::Window* window2) { argument
122 gfx::RectF window1_bounds = GetTransformedTargetBounds(window1);
270 scoped_ptr<aura::Window> window1(CreateWindow(bounds));
282 scoped_ptr<aura::Window> window1(CreateWindow(bounds));
286 EXPECT_TRUE(WindowsOverlapping(window1.get(), window2.get()));
289 EXPECT_FALSE(wm::IsActiveWindow(window1.get()));
299 EXPECT_FALSE(WindowsOverlapping(window1.get(), window2.get()));
300 EXPECT_FALSE(WindowsOverlapping(window1.get(), panel1.get()));
306 ClickWindow(window1.get());
307 EXPECT_TRUE(wm::IsActiveWindow(window1
1022 aura::Window* window1 = widget1->GetNativeWindow(); local
[all...]
/external/chromium_org/ash/wm/
H A Dworkspace_controller_unittest.cc778 scoped_ptr<aura::Window> window1(CreateTestWindowInShellWithId(0));
779 gfx::Rect desktop_area = window1->parent()->bounds();
780 wm::GetWindowState(window1.get())->set_window_position_managed(true);
781 // Hide and then show |window1| to trigger auto-positioning logic.
782 window1->Hide();
783 window1->SetBounds(gfx::Rect(16, 32, 300, 300));
784 window1->Show();
786 // |window1| should be horizontally centered.
789 window1->bounds().ToString());
791 // Create a |child| window and make it a transient child of |window1|
[all...]
H A Dwindow_cycle_controller_unittest.cc112 scoped_ptr<Window> window1(CreateTestWindowInShellWithId(1));
124 ASSERT_EQ(window1.get(), controller->window_cycle_list()->windows()[1]);
128 EXPECT_TRUE(wm::IsActiveWindow(window1.get()));
140 EXPECT_TRUE(wm::IsActiveWindow(window1.get()));
156 wm::ActivateWindow(window1.get());
163 EXPECT_TRUE(wm::IsActiveWindow(window1.get()));
180 EXPECT_TRUE(wm::IsActiveWindow(window1.get()));
197 EXPECT_FALSE(wm::IsActiveWindow(window1.get()));
202 EXPECT_FALSE(wm::IsActiveWindow(window1.get()));
210 scoped_ptr<Window> window1(CreateTestWindowInShellWithI
[all...]
/external/chromium_org/ui/aura/demo/
H A Ddemo_main.cc144 aura::Window window1(&window_delegate1);
145 window1.set_id(1);
146 window1.Init(aura::WINDOW_LAYER_TEXTURED);
147 window1.SetBounds(gfx::Rect(100, 100, 400, 400));
148 window1.Show();
149 aura::client::ParentWindowWithContext(&window1, host->window(), gfx::Rect());
/external/chromium_org/ash/wm/workspace/
H A Dmulti_window_resize_controller.cc133 : window1(NULL),
143 return window1 == other.window1 &&
177 windows_.window1->AddObserver(this);
194 if (windows_.window1) {
195 windows_.window1->RemoveObserver(this);
196 windows_.window1 = NULL;
248 result.window1 = window;
254 result.window1 = FindWindowByEdge(
260 result.window1
[all...]
H A Dmulti_window_resize_controller.h71 bool is_valid() const { return window1 && window2; }
74 aura::Window* window1; member in struct:ash::MultiWindowResizeController::ResizeWindows
/external/chromium_org/third_party/webrtc/video_engine/test/auto_test/source/
H A Dvie_autotest_android.cc22 void* window1, void* window2,
24 ViEAutoTest vieAutoTest(window1, window2);
21 RunAutotest(int testSelection, int subTestSelection, void* window1, void* window2, JavaVM* javaVM, void* env, void* context) argument
H A Dvie_autotest.cc41 ViEAutoTest::ViEAutoTest(void* window1, void* window2) : argument
42 _window1(window1),
46 4561, window1, false, _renderType)),
H A Dvie_autotest_cocoa_mac.mm77 - (NSWindow*)window1 {
118 [[cocoa_ui_ window1] close];
/external/chromium_org/athena/wm/
H A Dwindow_list_provider_impl_unittest.cc180 scoped_ptr<aura::Window> window1 = local
192 EXPECT_FALSE(list_provider->IsWindowInList(window1.get()));
197 container->AddChild(window1.get());
203 EXPECT_EQ(original_order[0], window1.get());
210 list_provider->StackWindowFrontOf(window1.get(), window2.get());
222 list_provider->StackWindowBehindTo(window1.get(), window2.get());
228 list_provider->StackWindowFrontOf(window1.get(), window3.get());
234 list_provider->StackWindowFrontOf(window1.get(), window3.get());
238 list_provider->StackWindowBehindTo(window3.get(), window1.get());
248 scoped_ptr<aura::Window> window1 local
[all...]
/external/chromium_org/ash/wm/dock/
H A Ddocked_window_layout_manager_unittest.cc259 scoped_ptr<aura::Window> window1(CreateTestWindowInShellWithId(1));
260 gfx::Rect desktop_area = window1->parent()->bounds();
261 wm::GetWindowState(window1.get())->set_window_position_managed(true);
262 window1->Hide();
263 window1->SetBounds(gfx::Rect(250, 32, 231, 320));
264 window1->Show();
265 // |window1| should be centered in work area.
269 min_dock_gap() - window1->bounds().width()) / 2) +
270 ",32 231x320", window1->bounds().ToString());
280 // |window1| shoul
[all...]
/external/chromium_org/chrome/browser/ui/ash/launcher/
H A Dchrome_launcher_controller_browsertest.cc482 AppWindow* window1 = CreateAppWindow(extension); local
508 CloseAppWindow(window1);
519 AppWindow* window1 = CreateAppWindow(extension1); local
549 CloseAppWindow(window1);
561 AppWindow* window1 = CreateAppWindow(extension1); local
587 EXPECT_TRUE(ash::wm::IsActiveWindow(window1->GetNativeWindow()));
594 EXPECT_FALSE(ash::wm::IsActiveWindow(window1->GetNativeWindow()));
600 EXPECT_FALSE(ash::wm::IsActiveWindow(window1->GetNativeWindow()));
606 EXPECT_TRUE(ash::wm::IsActiveWindow(window1->GetNativeWindow()));
613 EXPECT_FALSE(ash::wm::IsActiveWindow(window1
682 AppWindow* window1 = CreateAppWindow(extension1); local
720 AppWindow* window1 = CreateAppWindow(extension1); local
918 aura::Window* window1 = browser()->window()->GetNativeWindow(); local
1375 ui::BaseWindow* window1 = CreateAppWindow(extension1)->GetBaseWindow(); local
1505 aura::Window* window1 = browser1->window()->GetNativeWindow(); local
[all...]
/external/chromium_org/chrome/browser/chromeos/extensions/
H A Dwallpaper_private_api_unittest.cc80 scoped_ptr<aura::Window> window1(CreateTestWindowInShellWithId(1));
84 ash::wm::WindowState* window1_state = ash::wm::GetWindowState(window1.get());
131 scoped_ptr<aura::Window> window1(CreateTestWindowInShellWithId(1));
135 ash::wm::WindowState* window1_state = ash::wm::GetWindowState(window1.get());
253 scoped_ptr<aura::Window> window1(CreateTestWindowInShellWithId(1));
257 ash::wm::WindowState* window1_state = ash::wm::GetWindowState(window1.get());
263 multi_user_window_manager()->SetWindowOwner(window1.get(), kTestAccount1);
352 scoped_ptr<aura::Window> window1(CreateTestWindowInShellWithId(1));
356 ash::wm::WindowState* window1_state = ash::wm::GetWindowState(window1.get());
361 multi_user_window_manager()->SetWindowOwner(window1
[all...]
/external/chromium_org/ash/wm/gestures/
H A Doverview_gesture_handler_unittest.cc43 scoped_ptr<aura::Window> window1(CreateWindow(bounds));
70 scoped_ptr<aura::Window> window1(CreateWindow(bounds));
87 scoped_ptr<aura::Window> window1(CreateWindow(bounds));
147 scoped_ptr<aura::Window> window1(CreateWindow(bounds));
164 scoped_ptr<aura::Window> window1(CreateWindow(bounds));
/external/openssl/crypto/bn/
H A Dbn_exp2.c122 int i,j,bits,b,bits1,bits2,ret=0,wpos1,wpos2,window1,window2,wvalue1,wvalue2; local
166 window1 = BN_window_bits_for_exponent_size(bits1);
170 * Build table for a1: val1[i] := a1^(2*i + 1) mod m for i = 0 .. 2^(window1-1)
188 if (window1 > 1)
192 j=1<<(window1-1);
255 /* consider bits b-window1+1 .. b for this window */
256 i = b-window1+1;
288 /* wvalue1 is odd and < 2^window1 */

Completed in 4282 milliseconds

123