/external/chromium_org/ash/wm/gestures/ |
overview_gesture_handler_unittest.cc | 23 aura::Window* CreateWindow(const gfx::Rect& bounds) { 24 return CreateTestWindowInShellWithDelegate(&delegate_, -1, bounds); 41 gfx::Rect bounds(0, 0, 400, 400); 43 scoped_ptr<aura::Window> window1(CreateWindow(bounds)); 44 scoped_ptr<aura::Window> window2(CreateWindow(bounds)); 68 gfx::Rect bounds(0, 0, 400, 400); 70 scoped_ptr<aura::Window> window1(CreateWindow(bounds)); 71 scoped_ptr<aura::Window> window2(CreateWindow(bounds)); 85 gfx::Rect bounds(0, 0, 400, 400); 87 scoped_ptr<aura::Window> window1(CreateWindow(bounds)); [all...] |
/external/chromium_org/ash/wm/ |
window_positioner_unittest.cc | 52 gfx::Rect bounds = widget->GetWindowBoundsInScreen(); local 57 EXPECT_EQ("300x300", bounds.size().ToString()); 60 second_root_window).bounds().Contains(bounds)); 64 // its restore bounds. 75 gfx::Rect bounds = widget1->GetWindowBoundsInScreen(); local 80 EXPECT_EQ("300x300", bounds.size().ToString()); 84 bounds = widget1->GetWindowBoundsInScreen(); 86 EXPECT_EQ("0,0 1400x853", bounds.ToString()); 93 bounds = widget2->GetWindowBoundsInScreen() [all...] |
workspace_controller_unittest.cc | 104 aura::Window* CreateBrowserLikeWindow(const gfx::Rect& bounds) { 106 window->SetBounds(bounds); 113 aura::Window* CreatePopupLikeWindow(const gfx::Rect& bounds) { 114 aura::Window* window = CreateTestWindowInShellWithBounds(bounds); 120 const gfx::Rect& bounds) { 125 bounds); 142 return Shell::GetScreen()->GetDisplayNearestWindow(window).bounds(); 177 EXPECT_EQ("0,0 250x251", w1->bounds().ToString()); 195 EXPECT_EQ("0,0 250x251", w1->bounds().ToString()); 204 w1->bounds().width()) 1507 const gfx::Rect bounds = window->bounds(); local 1543 const gfx::Rect bounds = window->bounds(); local 1584 const gfx::Rect bounds = window->bounds(); local [all...] |
default_window_resizer.cc | 30 gfx::Rect bounds(CalculateBoundsForDrag(location)); 31 if (bounds != GetTarget()->bounds()) { 35 GetTarget()->SetBounds(bounds);
|
drag_window_resizer.cc | 85 UpdateDragWindow(GetTarget()->bounds(), in_original_root); 110 gfx::Rect bounds = GetTarget()->bounds(); local 111 if (bounds.width() > size.width()) { 112 int diff = bounds.width() - size.width(); 113 bounds.set_x(bounds.x() + diff / 2); 114 bounds.set_width(size.width()); 116 if (bounds.height() > size.height()) 117 bounds.set_height(size.height()) [all...] |
/external/chromium_org/cc/test/data/ |
layer_sort_rubik.json | 2 "Bounds": [ 0, 0 ], 4 "Bounds": [ 0, 0 ], 6 "Bounds": [ 1170, 958 ], 8 "Bounds": [ 1170, 1332 ], 10 "Bounds": [ 1170, 1332 ], 12 "Bounds": [ 1170, 1332 ], 14 "Bounds": [ 485, 340 ], 16 "Bounds": [ 485, 340 ], 18 "Bounds": [ 340, 340 ], 20 "Bounds": [ 89, 89 ] [all...] |
/external/chromium_org/chrome/browser/ui/panels/ |
panel_resize_controller.cc | 101 gfx::Rect bounds = resizing_panel_->GetBounds(); local 104 bounds.set_width(std::max(bounds_at_start_.width() + 108 bounds.set_height(std::max(bounds_at_start_.height() + 112 bounds.set_width(std::max(bounds_at_start_.width() + 123 GetDisplayAreaMatching(bounds); 125 GetWorkAreaMatching(bounds); 131 bounds.set_height(new_height); 134 resizing_panel_->IncreaseMaxSize(bounds.size()); 138 bounds.set_size(resizing_panel_->ClampSize(bounds.size())) [all...] |
/external/chromium_org/ash/wm/panels/ |
panel_layout_manager_unittest.cc | 60 aura::Window* CreateNormalWindow(const gfx::Rect& bounds) { 61 return CreateTestWindowInShellWithBounds(bounds); 65 const gfx::Rect& bounds) { 67 delegate, ui::wm::WINDOW_TYPE_PANEL, 0, bounds); 75 aura::Window* CreatePanelWindow(const gfx::Rect& bounds) { 76 return CreatePanelWindowWithDelegate(NULL, bounds); 106 gfx::Rect display_bounds = display.bounds(); 135 // The horizontal bounds of the panel window should contain the bounds of 140 // The vertical bounds of the panel window should contain the bounds o 221 gfx::Rect bounds = test_api.GetButton(index)->GetBoundsInScreen(); local [all...] |
/external/chromium_org/ui/views/controls/ |
single_split_view_unittest.cc | 19 if (split.bounds().IsEmpty()) { 20 EXPECT_TRUE(leading->bounds().IsEmpty()); 21 EXPECT_TRUE(trailing->bounds().IsEmpty()); 25 EXPECT_FALSE(leading->bounds().IsEmpty()); 26 EXPECT_FALSE(trailing->bounds().IsEmpty()); 27 EXPECT_FALSE(leading->bounds().Intersects(trailing->bounds())); 30 EXPECT_EQ(leading->bounds().height(), split.bounds().height()); 31 EXPECT_EQ(trailing->bounds().height(), split.bounds().height()) [all...] |
/external/chromium-trace/trace-viewer/src/tracing/trace_model/ |
cpu_test.js | 16 assertEquals(undefined, cpu.bounds.min); 17 assertEquals(undefined, cpu.bounds.max); 24 assertEquals(1, cpu.bounds.min); 25 assertEquals(4, cpu.bounds.max);
|
/external/chromium_org/cc/layers/ |
heads_up_display_layer.cc | 29 gfx::Size bounds; local 36 bounds.SetSize(std::min(max_texture_size, 42 bounds.SetSize(size, size); 46 SetBounds(bounds);
|
/external/chromium_org/chrome/browser/ui/cocoa/omnibox/ |
omnibox_popup_separator_view.mm | 18 NSRect separatorRect = [self bounds]; 37 NSRect bounds = [self bounds]; 42 [shadowImage drawInRect:bounds
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/desktopCapture/ |
background.js | 7 bounds: {
|
/external/chromium_org/extensions/common/ |
draggable_region.h | 14 gfx::Rect bounds; member in struct:extensions::DraggableRegion
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/ |
repaint_overlay_unittest.py | 13 (bounds 800.00 600.00) 16 (bounds 800.00 600.00) 30 (bounds 800.00 600.00) 33 (bounds 800.00 600.00)
|
/external/chromium_org/third_party/angle/src/third_party/compiler/ |
README.angle | 1 Name: ANGLE array bounds clamper from WebKit
|
/external/chromium_org/third_party/skia/src/animator/ |
SkDisplayBounds.h | 16 DECLARE_DISPLAY_MEMBER_INFO(Bounds);
|
/external/chromium_org/third_party/webrtc/modules/desktop_capture/mac/ |
desktop_configuration.mm | 51 // relative to |bounds|. 52 void InvertRectYOrigin(const DesktopRect& bounds, 54 assert(bounds.top() == 0); 56 rect->left(), bounds.bottom() - rect->bottom(), 70 display_config.bounds = NSRectToDesktopRect(ns_bounds); 80 display_config.pixel_bounds = display_config.bounds; 120 InvertRectYOrigin(desktop_config.displays[0].bounds, 121 &display_config.bounds); 137 // Update the desktop bounds to account for this display, unless the current 141 desktop_config.bounds [all...] |
/external/chromium_org/ui/aura/test/ |
test_windows.h | 20 Window* CreateTestWindowWithBounds(const gfx::Rect& bounds, Window* parent); 23 const gfx::Rect& bounds, 27 const gfx::Rect& bounds, 32 const gfx::Rect& bounds,
|
/external/chromium_org/ui/compositor/test/ |
test_compositor_host_win.cc | 17 TestCompositorHostWin(const gfx::Rect& bounds, 19 Init(NULL, bounds); 58 const gfx::Rect& bounds, 60 return new TestCompositorHostWin(bounds, context_factory);
|
/external/chromium_org/ui/gfx/ |
color_profile.h | 37 // Return the color profile of the display nearest the screen bounds. On Win32, 39 // If the given bounds are empty, or are off-screen, return false meaning there 40 // is no color profile associated with the bounds. 41 GFX_EXPORT bool GetDisplayColorProfile(const gfx::Rect& bounds,
|
/external/clang/test/SemaCXX/Inputs/ |
array-bounds-system-header.h | 1 // "System header" for testing that -Warray-bounds is properly suppressed in
|
/external/clang/test/SemaCXX/ |
array-bounds-system-header.cpp | 2 #include <array-bounds-system-header.h>
|
/external/skia/src/animator/ |
SkDisplayBounds.h | 16 DECLARE_DISPLAY_MEMBER_INFO(Bounds);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
TypeVariableTest.java | 38 Type[] bounds = typeVariable.getBounds(); local 39 assertLenghtOne(bounds); 40 assertEquals(Object.class, bounds[0]); 54 Type[] bounds = typeVariable.getBounds(); local 55 assertLenghtOne(bounds); 56 assertEquals(Object.class, bounds[0]); 70 Type[] bounds = typeVariable.getBounds(); local 71 assertLenghtOne(bounds); 72 assertEquals(Object.class, bounds[0]); 135 Type[] bounds = typeVariable.getBounds() local 145 Type[] bounds = typeVariable.getBounds(); local [all...] |