HomeSort by relevance Sort by last modified time
    Searched defs:window_bounds (Results 1 - 25 of 29) sorted by null

1 2

  /external/chromium_org/chrome/browser/ui/window_sizer/
window_sizer_unittest.cc 14 gfx::Rect window_bounds; local
16 gfx::Rect(), DEFAULT, NULL, gfx::Rect(), &window_bounds);
20 window_bounds); local
24 gfx::Rect window_bounds; local
27 &window_bounds);
32 window_bounds); local
36 gfx::Rect window_bounds; local
39 &window_bounds);
43 window_bounds); local
47 gfx::Rect window_bounds; local
56 window_bounds); local
60 gfx::Rect window_bounds; local
68 window_bounds); local
72 gfx::Rect window_bounds; local
78 window_bounds); local
82 gfx::Rect window_bounds; local
88 window_bounds); local
92 gfx::Rect window_bounds; local
98 window_bounds); local
102 gfx::Rect window_bounds; local
108 window_bounds); local
116 gfx::Rect window_bounds; local
126 gfx::Rect window_bounds; local
138 gfx::Rect window_bounds; local
152 gfx::Rect window_bounds; local
167 gfx::Rect window_bounds; local
176 gfx::Rect window_bounds; local
185 gfx::Rect window_bounds; local
195 gfx::Rect window_bounds; local
207 gfx::Rect window_bounds; local
219 gfx::Rect window_bounds; local
231 gfx::Rect window_bounds; local
239 gfx::Rect window_bounds; local
245 window_bounds); local
253 gfx::Rect window_bounds; local
272 gfx::Rect window_bounds; local
278 kWindowTilePixels * 2, 500, 400), window_bounds); local
282 gfx::Rect window_bounds; local
293 gfx::Rect window_bounds; local
304 gfx::Rect window_bounds; local
317 gfx::Rect window_bounds; local
325 gfx::Rect window_bounds; local
333 gfx::Rect window_bounds; local
341 gfx::Rect window_bounds; local
349 gfx::Rect window_bounds; local
358 gfx::Rect window_bounds; local
367 gfx::Rect window_bounds; local
376 gfx::Rect window_bounds; local
385 gfx::Rect window_bounds; local
393 gfx::Rect window_bounds; local
401 gfx::Rect window_bounds; local
409 gfx::Rect window_bounds; local
417 gfx::Rect window_bounds; local
425 gfx::Rect window_bounds; local
433 gfx::Rect window_bounds; local
441 gfx::Rect window_bounds; local
449 gfx::Rect window_bounds; local
459 gfx::Rect window_bounds; local
472 gfx::Rect window_bounds; local
482 gfx::Rect window_bounds; local
492 gfx::Rect window_bounds; local
501 gfx::Rect window_bounds; local
511 gfx::Rect window_bounds; local
    [all...]
window_sizer_common_unittest.cc 270 gfx::Rect window_bounds; local
273 NULL, gfx::Rect(), &window_bounds);
274 EXPECT_EQ(initial_bounds.ToString(), window_bounds.ToString());
279 gfx::Rect window_bounds; local
282 NULL, gfx::Rect(), &window_bounds);
284 window_bounds.ToString());
290 gfx::Rect window_bounds; local
293 NULL, gfx::Rect(), &window_bounds);
294 EXPECT_EQ("50,0 500x400", window_bounds.ToString());
301 gfx::Rect window_bounds; local
310 gfx::Rect window_bounds; local
322 gfx::Rect window_bounds; local
331 gfx::Rect window_bounds; local
340 gfx::Rect window_bounds; local
350 gfx::Rect window_bounds; local
360 gfx::Rect window_bounds; local
373 gfx::Rect window_bounds; local
385 gfx::Rect window_bounds; local
394 gfx::Rect window_bounds; local
402 gfx::Rect window_bounds; local
410 gfx::Rect window_bounds; local
418 gfx::Rect window_bounds; local
427 gfx::Rect window_bounds; local
435 gfx::Rect window_bounds; local
444 gfx::Rect window_bounds; local
456 gfx::Rect window_bounds; local
464 gfx::Rect window_bounds; local
    [all...]
window_sizer_ash_unittest.cc 110 gfx::Rect window_bounds; local
112 gfx::Rect(), DEFAULT, NULL, gfx::Rect(), &window_bounds);
117 window_bounds); local
121 gfx::Rect window_bounds; local
124 &window_bounds);
130 window_bounds); local
134 gfx::Rect window_bounds; local
137 &window_bounds);
143 window_bounds); local
147 gfx::Rect window_bounds; local
158 window_bounds); local
162 gfx::Rect window_bounds; local
172 window_bounds); local
176 gfx::Rect window_bounds; local
183 window_bounds); local
187 gfx::Rect window_bounds; local
194 window_bounds); local
198 gfx::Rect window_bounds; local
205 window_bounds); local
209 gfx::Rect window_bounds; local
216 window_bounds); local
224 gfx::Rect window_bounds; local
239 gfx::Rect window_bounds; local
256 gfx::Rect window_bounds; local
273 gfx::Rect window_bounds; local
295 gfx::Rect window_bounds; local
304 gfx::Rect window_bounds; local
313 gfx::Rect window_bounds; local
323 gfx::Rect window_bounds; local
335 gfx::Rect window_bounds; local
347 gfx::Rect window_bounds; local
359 gfx::Rect window_bounds; local
367 gfx::Rect window_bounds; local
388 gfx::Rect window_bounds; local
404 gfx::Rect window_bounds; local
414 gfx::Rect window_bounds; local
427 gfx::Rect window_bounds; local
437 gfx::Rect window_bounds; local
450 gfx::Rect window_bounds; local
504 gfx::Rect window_bounds; local
514 gfx::Rect window_bounds; local
522 gfx::Rect window_bounds; local
566 gfx::Rect window_bounds; local
670 gfx::Rect window_bounds; local
692 gfx::Rect window_bounds; local
710 gfx::Rect window_bounds; local
    [all...]
  /external/chromium_org/ui/keyboard/
keyboard_layout_manager.cc 17 gfx::Rect window_bounds = controller_->GetContainerWindow()->bounds(); local
22 window_bounds.x(),
23 window_bounds.bottom() - height,
24 window_bounds.width(),
keyboard_controller.cc 266 gfx::Rect window_bounds = window->GetBoundsInScreen(); local
267 gfx::Rect intersect = gfx::IntersectRects(window_bounds,
270 if (overlap > 0 && overlap < window_bounds.height())
  /external/chromium_org/content/browser/
plugin_process_host_mac.cc 36 CGRect window_bounds = { local
41 if (CGRectEqualToRect(window_bounds, main_display_bounds) &&
  /external/chromium_org/ui/views/bubble/
bubble_frame_view_unittest.cc 59 gfx::Rect window_bounds; local
66 window_bounds = frame.GetUpdatedWindowBounds(
71 EXPECT_GT(window_bounds.x(), xposition);
72 EXPECT_GT(window_bounds.y(), 100 + 50 - 10); // -10 to roughly compensate for
77 window_bounds = frame.GetUpdatedWindowBounds(
82 EXPECT_GT(window_bounds.x(), xposition);
83 EXPECT_GT(window_bounds.y(), 100 + 50 - 10); // -10 to roughly compensate for
88 window_bounds = frame.GetUpdatedWindowBounds(
93 EXPECT_GT(window_bounds.x(), xposition);
94 EXPECT_GT(window_bounds.y(), 100 + 50 - 10); // -10 to roughly compensate fo
171 gfx::Rect window_bounds = frame.GetUpdatedWindowBounds( local
183 gfx::Rect window_bounds = frame.GetUpdatedWindowBounds( local
218 gfx::Rect window_bounds = frame.GetUpdatedWindowBounds( local
232 gfx::Rect window_bounds; local
    [all...]
  /external/chromium_org/chrome/browser/ui/views/message_center/
message_center_frame_view.cc 39 gfx::Rect window_bounds = client_bounds; local
40 window_bounds.Inset(GetInsets());
41 return window_bounds;
  /external/chromium_org/ash/wm/panels/
panel_frame_view.cc 127 gfx::Rect window_bounds = client_bounds; local
128 window_bounds.Inset(0, -NonClientTopBorderHeight(), 0, 0);
129 return window_bounds;
panel_layout_manager_unittest.cc 128 gfx::Rect window_bounds = panel->GetBoundsInScreen(); local
129 ASSERT_LT(icon_bounds.width(), window_bounds.width());
130 ASSERT_LT(icon_bounds.height(), window_bounds.height());
137 EXPECT_LE(window_bounds.x(), icon_bounds.x());
138 EXPECT_GE(window_bounds.right(), icon_bounds.right());
142 EXPECT_LE(window_bounds.y(), icon_bounds.y());
143 EXPECT_GE(window_bounds.bottom(), icon_bounds.bottom());
148 EXPECT_EQ(shelf_bounds.y(), window_bounds.bottom());
151 EXPECT_EQ(shelf_bounds.right(), window_bounds.x());
154 EXPECT_EQ(shelf_bounds.x(), window_bounds.right())
    [all...]
  /external/chromium_org/mojo/services/native_viewport/
native_viewport_win.cc 26 gfx::Rect window_bounds(wr.left, wr.top,
28 window_bounds.set_x(std::max(0, window_bounds.x()));
29 window_bounds.set_y(std::max(0, window_bounds.y()));
30 return window_bounds;
49 gfx::Rect window_bounds = GetWindowBoundsForClientBounds( variable
51 gfx::WindowImpl::Init(NULL, window_bounds);
74 gfx::Rect window_bounds = GetWindowBoundsForClientBounds( variable
78 SetWindowPos(hwnd(), NULL, window_bounds.x(), window_bounds.y()
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/media/devices/
carbonvideorenderer.cc 96 Rect window_bounds; local
97 GetWindowPortBounds(window_ref_, &window_bounds);
101 int y = window_bounds.bottom - CGImageGetHeight(image_ref);
  /external/chromium_org/ash/system/tray/
system_tray_unittest.cc 374 gfx::Rect window_bounds = widget->GetWindowBoundsInScreen(); local
376 EXPECT_TRUE(window_bounds.bottom() >= tray_bounds.bottom());
377 EXPECT_TRUE(window_bounds.right() >= tray_bounds.right());
378 EXPECT_TRUE(window_bounds.x() >= tray_bounds.x());
379 EXPECT_TRUE(window_bounds.y() >= tray_bounds.y());
383 window_bounds = widget->GetWindowBoundsInScreen();
385 EXPECT_TRUE(window_bounds.bottom() >= tray_bounds.bottom());
386 EXPECT_TRUE(window_bounds.right() >= tray_bounds.right());
387 EXPECT_TRUE(window_bounds.x() >= tray_bounds.x());
388 EXPECT_TRUE(window_bounds.y() >= tray_bounds.y())
    [all...]
  /external/chromium_org/ash/wm/overview/
scoped_transform_overview_window.cc 74 gfx::Rect window_bounds = window->bounds(); local
77 TranslateTransformOrigin(child_bounds.origin() - window_bounds.origin(),
  /external/chromium_org/content/browser/web_contents/aura/
gesture_nav_simple.cc 204 const gfx::Rect& window_bounds = window->bounds(); local
205 completion_threshold_ = window_bounds.width() *
210 (window_bounds.width() - kArrowWidth);
212 int y = std::max(0, (window_bounds.height() - kArrowHeight) / 2);
  /external/chromium_org/ui/gfx/win/
hwnd_util.cc 140 RECT window_bounds; local
160 window_bounds.left = center_bounds.left;
162 window_bounds.left +=
165 window_bounds.right = window_bounds.left + pref.width();
167 window_bounds.top = center_bounds.top;
169 window_bounds.top +=
172 window_bounds.bottom = window_bounds.top + pref.height();
179 POINT topleft = { window_bounds.left, window_bounds.top }
    [all...]
  /external/chromium_org/apps/ui/views/
app_window_frame_view.cc 135 gfx::Rect window_bounds = client_bounds; local
138 // bounds, and grow |window_bounds| by that amount.
142 window_bounds.Inset(native_frame_insets);
148 if (window_bounds.IsEmpty()) {
149 window_bounds.set_width(1);
150 window_bounds.set_height(1);
152 return window_bounds;
157 return gfx::Rect(window_bounds.x(),
158 window_bounds.y() - kCaptionHeight,
159 std::max(header_width, window_bounds.width())
    [all...]
native_app_window_views.cc 379 gfx::Rect window_bounds = local
381 return window_bounds.InsetsFrom(client_bounds);
  /external/chromium_org/chrome/browser/extensions/api/app_current_window_internal/
app_current_window_internal_api.cc 208 gfx::Rect window_bounds = original_window_bounds; local
218 window_bounds.set_x(*bounds_spec.left);
220 window_bounds.set_y(*bounds_spec.top);
222 window_bounds.set_width(*bounds_spec.width + frame_insets.width());
224 window_bounds.set_height(*bounds_spec.height + frame_insets.height());
228 GetBoundsFields(bounds_spec, &window_bounds);
232 window_bounds.Inset(frame_insets);
233 GetBoundsFields(bounds_spec, &window_bounds);
234 window_bounds.Inset(-frame_insets);
241 if (original_window_bounds != window_bounds) {
    [all...]
  /external/chromium_org/chrome/browser/sessions/
session_service_unittest.cc 45 SessionServiceTest() : window_bounds(0, 1, 2, 3), sync_save_count_(0) {}
65 window_bounds,
169 const gfx::Rect window_bounds; member in class:SessionServiceTest
200 ASSERT_TRUE(window_bounds == windows[0]->bounds);
455 window_bounds,
498 window_bounds,
538 window_bounds,
752 window_bounds,
    [all...]
  /external/chromium_org/chrome/browser/ui/
browser_navigator.h 159 gfx::Rect window_bounds; member in struct:chrome::NavigateParams
  /external/chromium_org/ash/frame/
custom_frame_view_ash.cc 443 gfx::Rect window_bounds = client_bounds; local
444 window_bounds.Inset(0, -NonClientTopBorderHeight(), 0, 0);
445 return window_bounds;
  /external/chromium_org/ash/wm/
immersive_fullscreen_controller_unittest.cc 754 gfx::Rect window_bounds = window()->GetBoundsInScreen(); local
757 &child_delegate, 1234, window_bounds));
759 behind->SetBounds(window_bounds);
    [all...]
  /external/chromium_org/ash/wm/workspace/
workspace_layout_manager_unittest.cc 315 const gfx::Rect& window_bounds(w->bounds());
316 w->SetBounds(gfx::Rect(window_bounds.x(), shelf_bounds.y() - 1,
317 window_bounds.width(), window_bounds.height()));
390 gfx::Rect window_bounds(100, 100, 200, 200);
392 CreateTestWindowInShellWithBounds(window_bounds));
393 EXPECT_EQ(window_bounds, window->bounds());
398 window_bounds.Offset(root_window_bounds.width(), root_window_bounds.height());
399 ASSERT_FALSE(window_bounds.Intersects(root_window_bounds));
401 CreateTestWindowInShellWithBounds(window_bounds));
765 gfx::Rect window_bounds = window->bounds(); local
    [all...]
  /external/chromium_org/chrome/browser/ui/views/apps/
chrome_native_app_window_views.cc 234 gfx::Rect window_bounds = create_params.GetInitialWindowBounds(frame_insets); local
237 if (!window_bounds.IsEmpty()) {
240 window_bounds.x() != BoundsSpecification::kUnspecifiedPosition &&
241 window_bounds.y() != BoundsSpecification::kUnspecifiedPosition;
243 widget()->CenterWindow(window_bounds.size());
245 widget()->SetBounds(window_bounds);
322 gfx::Rect window_bounds(initial_window_bounds.x(),
331 widget()->SetBounds(window_bounds);

Completed in 1394 milliseconds

1 2