/external/chromium_org/ui/aura/ |
H A D | window_event_dispatcher_unittest.cc | 301 Window* w2 = test::CreateTestWindowWithBounds(gfx::Rect(30, 30, 20, 20), local 303 w2->set_id(2); 313 // Since we're locked, the attempt to focus w2 will be ignored. 314 w2->Focus(); 316 EXPECT_FALSE(IsFocusedWindow(w2)); 1304 scoped_ptr<Window> w2(CreateNormalWindow(1, root_window(), &d2)); 1305 w2->SetBounds(gfx::Rect(100, 0, 100, 100)); 1307 // Tap on w2 which triggers nested gestures for w1. 1308 ui::test::EventGenerator generator(root_window(), w2.get()); 1309 generator.GestureTapAt(w2 1497 Window* w2 = CreateNormalWindow(2, root_window(), NULL); local [all...] |
H A D | window_unittest.cc | 533 scoped_ptr<Window> w2( 546 EXPECT_EQ(w2.get(), root->GetTopWindowContainingPoint(gfx::Point(5, 5))); 547 EXPECT_EQ(w2.get(), root->GetTopWindowContainingPoint(gfx::Point(10, 10))); 548 EXPECT_EQ(w2.get(), root->GetTopWindowContainingPoint(gfx::Point(59, 59))); 817 scoped_ptr<Window> w2(CreateTestWindowWithDelegate( 828 // Capturing to w2 should cause the touch to be canceled. 829 w2->SetCapture(); 835 // Events now go to w2. 849 // A new press is captured by w2. 860 w2 1299 Window* w2 = CreateTestWindowWithDelegate(&d2, 2, gfx::Rect(10, 10, 50, 50), local 1323 Window* w2 = CreateTestWindowWithDelegate(&d2, 2, gfx::Rect(10, 10, 50, 50), local [all...] |
/external/chromium_org/ui/file_manager/gallery/js/image_editor/ |
H A D | filter.js | 204 * 0 w2 w1 w2 0 206 * 0 w2 w1 w2 0 219 var w2 = filter.floatToFixedPoint(weights[2]); 261 w2 * (srcData[srcIndex - srcStride - 4] +
|
/external/chromium_org/ui/gfx/geometry/ |
H A D | rect_unittest.cc | 55 int w2; member in struct:gfx::__anon16845 72 Rect r2(tests[i].x2, tests[i].y2, tests[i].w2, tests[i].h2); 86 int w2; member in struct:gfx::__anon16846 114 Rect r2(tests[i].x2, tests[i].y2, tests[i].w2, tests[i].h2); 132 int w2; member in struct:gfx::Test 163 Rect r2(tests[i].x2, tests[i].y2, tests[i].w2, tests[i].h2); 190 int w2; member in struct:gfx::Test 215 Rect r2(tests[i].x2, tests[i].y2, tests[i].w2, tests[i].h2); 434 float w2; member in struct:gfx::Test 459 RectF r2(tests[i].x2, tests[i].y2, tests[i].w2, test 477 int w2; member in struct:gfx::Test 527 int w2; member in struct:gfx::Test 590 int w2; member in struct:gfx::Test [all...] |
/external/chromium_org/ui/views/corewm/ |
H A D | capture_controller_unittest.cc | 106 scoped_ptr<aura::Window> w2( 111 w2->SetCapture(); 128 scoped_ptr<aura::Window> w2( 130 w2->SetCapture(); 131 EXPECT_EQ(w2.get(), GetCaptureWindow()); 132 EXPECT_EQ(w2.get(), GetSecondCaptureWindow()); 149 scoped_ptr<aura::Window> w2( 151 w2->SetCapture(); 152 EXPECT_EQ(w2.get(), GetCaptureWindow()); 153 EXPECT_EQ(w2 [all...] |
H A D | desktop_capture_controller_unittest.cc | 89 scoped_ptr<Widget> w2(CreateWidget()); 98 w2->SetCapture(w2->GetRootView()); 99 EXPECT_TRUE(w2->HasCapture()); 102 w2->ReleaseCapture();
|
/external/chromium_org/ui/views/ |
H A D | view_unittest_aura.cc | 56 // +-- w2 94 Widget* w2 = local 96 w2->GetNativeView()->layer()->set_name("w2"); 97 w2->GetNativeView()->SetProperty(kHostViewKey, w2_host_view); 100 w2->GetRootView()->AddChildView(v5); 108 ASSERT_EQ("v1 v4 w2 v7", ui::test::ChildLayerNamesAsString(*w1_layer)); 122 ASSERT_EQ("v1 v4 w2 v7", ui::test::ChildLayerNamesAsString(*w1_layer)); 148 ASSERT_EQ("v1 v4 w2 v7", ui::test::ChildLayerNamesAsString(*w1_new_layer));
|
/external/chromium_org/ui/views/widget/desktop_aura/ |
H A D | desktop_focus_rules_unittest.cc | 38 // Two widgets (each with a DesktopNativeWidgetAura). |w2| has a child Window 42 scoped_ptr<views::Widget> w2(CreateDesktopWidget()); 47 w2->GetNativeView()->AddChild(w2_child); 49 aura::client::GetFocusClient(w2->GetNativeView())->FocusWindow(w2_child); 51 aura::client::GetFocusClient(w2->GetNativeView())->GetFocusedWindow(); 52 EXPECT_TRUE((focused == NULL) || w2->GetNativeView()->Contains(focused)); 55 w2.reset();
|
/external/chromium_org/ui/views/widget/ |
H A D | widget_unittest.cc | 2593 // +-- w2 2599 Widget* w2 = CreateChildPlatformWidget(toplevel->GetNativeView()); local 2600 Widget* w21 = CreateChildPlatformWidget(w2->GetNativeView()); 2601 Widget* w22 = CreateChildPlatformWidget(w2->GetNativeView()); 2607 expected.insert(w2);
|
H A D | window_reorderer_unittest.cc | 75 scoped_ptr<Widget> w2(CreateControlWidget(parent_window, 77 SetWindowAndLayerName(w2->GetNativeView(), "w2"); 78 w2->Show(); 80 EXPECT_EQ("w1 w2", ChildWindowNamesAsString(*parent_window)); 81 EXPECT_EQ("v w1 w2", 86 w2->GetNativeView()->SetProperty(kHostViewKey, host_view2); 87 EXPECT_EQ("w2 w1", ChildWindowNamesAsString(*parent_window)); 88 EXPECT_EQ("v w2 w1", 94 EXPECT_EQ("w1 w2", ChildWindowNamesAsStrin 145 aura::Window* w2 = aura::test::CreateTestWindowWithId(0, NULL); local [all...] |
/external/chromium_org/ui/wm/core/ |
H A D | focus_controller_unittest.cc | 407 // +-- w2 420 aura::Window* w2 = aura::test::CreateTestWindowWithDelegate( variable 425 gfx::Rect(5, 5, 10, 10), w2); 773 aura::Window* w2 = root_window()->GetChildById(2); variable 774 aura::client::GetCaptureClient(root_window())->SetCapture(w2); variable 775 ui::test::EventGenerator generator(root_window(), w2); variable 780 aura::client::GetCaptureClient(root_window())->ReleaseCapture(w2); variable 1003 aura::Window* w2 = root_window()->GetChildById(2); variable 1004 ActivateWindow(w2); variable 1007 ChangeWindowDisposition(w2); variable 1027 aura::Window* w2 = root_window()->GetChildById(2); variable 1028 ActivateWindow(w2); variable 1037 ChangeWindowDisposition(w2); variable [all...] |
H A D | transient_window_manager_unittest.cc | 90 Window* w2 = CreateTestWindowWithId(2, parent.get()); local 91 // w2 is now owned by w1. 92 AddTransientChild(w1.get(), w2); 93 // Stack w1 at the top (end), this should force w2 to be last (on top of w1). 96 EXPECT_EQ(w2, parent->children().back()); 100 w2 = NULL; 105 w2 = CreateTestWindowWithId(5, w3.get()); 106 AddTransientChild(w1.get(), w2); 108 // Stack w1 at the top (end), this shouldn't affect w2 since it has a 116 EXPECT_TRUE(w2 [all...] |
H A D | transient_window_stacking_client_unittest.cc | 45 scoped_ptr<Window> w2(CreateTestWindowWithId(2, parent.get())); 54 AddTransientChild(w2.get(), w21); // w21 is now owned by w2. 55 AddTransientChild(w2.get(), w22); // w22 is now owned by w2. 69 parent->StackChildAtTop(w2.get()); 73 parent->StackChildAbove(w11, w2.get()); 101 parent->StackChildAbove(w2.get(), w1.get()); 115 scoped_ptr<Window> w2(CreateTestWindowWithId(2, parent.get())); 124 AddTransientChild(w2 [all...] |
/external/chromium_org/third_party/lcov/bin/ |
H A D | genhtml | 3682 my $w2 = $width - $w0 - $w1; 3684 return (" "x$w1).$text.(" "x$w2);
|
/external/chromium_org/third_party/libevent/test/ |
H A D | regress.c | 461 struct both r1, r2, w1, w2; local 467 memset(&w2, 0, sizeof(w2)); 470 w2.nread = 8192; 475 event_set(&w2.ev, pair[1], EV_WRITE, combined_write_cb, &w2); 482 if (event_add(&w2.ev, NULL))
|
/external/chromium_org/third_party/libwebp/dsp/ |
H A D | enc_neon.c | 619 const int32x4_t w2, const int32x4_t w3) { 622 const int32x4_t s2 = vmlaq_s32(s1, w2, b.val[2]); 664 const int32x4_t w2 = ConvertU16ToS32(vld1_u16(w + 8)); local 666 const int64x1_t sum1 = DistoSum(vpass_a, w0, w1, w2, w3); 667 const int64x1_t sum2 = DistoSum(vpass_b, w0, w1, w2, w3); 617 DistoSum(const int32x4x4_t b, const int32x4_t w0, const int32x4_t w1, const int32x4_t w2, const int32x4_t w3) argument
|
/external/chromium_org/third_party/libwebp/enc/ |
H A D | filter.c | 151 const double w2 = stats->w * stats->w; local 161 C1 = 6.5025 * w2; 162 C2 = 58.5225 * w2;
|
/external/chromium_org/net/websockets/ |
H A D | websocket_throttle_test.cc | 107 scoped_refptr<WebSocketJob> w2(new WebSocketJob(&delegate)); 109 new SocketStream(GURL("ws://host2/"), w2.get(), &context, NULL)); 110 w2->InitSocketStream(s2.get()); 117 w2->OnStartOpenConnection(s2.get(), callback_s2.callback())); 120 // 1.2.3.4 | w1 w2 139 // 1.2.3.4 | w1 w2 155 // Trying to open connection to host4 will wait for w1, w2. 159 // 1.2.3.4 | w1 w2 w4 178 // 1.2.3.4 | w1 w2 w4 197 // 1.2.3.4 | w1 w2 w [all...] |
/external/chromium_org/content/renderer/pepper/ |
H A D | pepper_graphics_2d_host_unittest.cc | 109 int w2; member in struct:content::__anon7796 152 gfx::Rect r2(tests[i].x2, tests[i].y2, tests[i].w2, tests[i].h2);
|
/external/chromium_org/components/query_parser/ |
H A D | query_parser_unittest.cc | 148 const std::string w2; member in struct:query_parser::TestData2 164 EXPECT_EQ(data[i].w2, base::UTF16ToUTF8(results[1]));
|
/external/chromium_org/content/browser/indexed_db/ |
H A D | list_set_unittest.cc | 151 scoped_ptr<Wrapped<int> > w2(new Wrapped<int>(2)); 162 set.insert(w2.get()); 179 set.erase(w2.get());
|
/external/chromium_org/chrome/browser/sessions/ |
H A D | session_service.cc | 1001 const SessionWindow* w2) { 1002 return w1->window_id.id() < w2->window_id.id(); 1000 WindowOrderSortFunction(const SessionWindow* w1, const SessionWindow* w2) argument
|
/external/chromium_org/chrome/browser/thumbnails/ |
H A D | content_analysis.cc | 73 double w2 = 0.0; local 76 w2 += histogram[i]; 82 double m2 = t2 / w2; 83 double max_variance_score = w1 * w2 * (m1 - m2) * (m1 - m2); 88 w2 -= histogram[i]; 92 m2 = t2 / w2; 93 double variance_score = w1 * w2 * (m1 - m2) * (m1 - m2);
|
/external/chromium_org/ash/accelerators/ |
H A D | accelerator_controller_unittest.cc | 1118 aura::Window* w2 = CreateTestWindowInShellWithId(1); local 1140 ASSERT_NE(w2, wm::GetActiveWindow()); 1155 ASSERT_EQ(w2, wm::GetActiveWindow());
|
/external/chromium_org/ash/ |
H A D | root_window_controller_unittest.cc | 435 Widget* w2 = CreateTestWidget(gfx::Rect(0, 0, 100, 100)); local 436 w2->SetFullscreen(true); 437 // |w3| is a transient child of |w2|. 439 w2->GetNativeWindow(), gfx::Rect(0, 0, 100, 100)); 444 EXPECT_EQ(w2->GetNativeWindow(), controller->GetWindowForFullscreenMode()); 452 // Only w2 remains, if minimized GetWindowForFullscreenMode should return 454 w2->Activate(); 455 EXPECT_EQ(w2->GetNativeWindow(), controller->GetWindowForFullscreenMode()); 456 w2->Minimize(); 470 Widget* w2 local [all...] |