/external/chromium_org/ash/drag_drop/ |
H A D | drag_drop_tracker_unittest.cc | 24 aura::Window* CreateTestWindow(const gfx::Rect& bounds) { argument 29 bounds);
|
/external/chromium_org/ash/keyboard_overlay/ |
H A D | keyboard_overlay_delegate_unittest.cc | 52 gfx::Rect bounds = widget->GetRestoredBounds(); local 53 EXPECT_EQ(work_area.CenterPoint().x(), bounds.CenterPoint().x()); 54 EXPECT_EQ(work_area.bottom(), bounds.bottom());
|
/external/chromium_org/ash/shell/ |
H A D | lock_view.cc | 54 gfx::Rect bounds = GetLocalBounds(); variable 56 bounds.set_y(bounds.bottom() - ps.height() - 5); 57 bounds.set_x((bounds.width() - ps.width()) / 2); 58 bounds.set_size(ps); 59 unlock_button_->SetBoundsRect(bounds); 92 gfx::Size root_window_size = Shell::GetPrimaryRootWindow()->bounds().size(); 93 params.bounds = gfx::Rect((root_window_size.width() - ps.width()) / 2,
|
/external/chromium_org/ash/system/tray/ |
H A D | fixed_sized_scroll_view.cc | 37 gfx::Rect bounds = gfx::Rect(contents()->GetPreferredSize()); local 38 bounds.set_width(std::max(0, width() - GetScrollBarWidth())); 39 contents()->SetBoundsRect(bounds); 43 gfx::Rect bounds = contents()->bounds(); local 44 bounds.set_width(bounds.width() + GetScrollBarWidth()); 45 contents()->SetBoundsRect(bounds); 50 gfx::Rect bounds = gfx::Rect(contents()->GetPreferredSize()); local 51 bounds [all...] |
/external/chromium_org/ash/wm/gestures/ |
H A D | overview_gesture_handler_unittest.cc | 23 aura::Window* CreateWindow(const gfx::Rect& bounds) { argument 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/ |
H A D | 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 [all...] |
/external/chromium_org/athena/test/ |
H A D | athena_test_base.cc | 70 const gfx::Rect& bounds) { 75 window.get(), ScreenManager::Get()->GetContext(), bounds); 68 CreateTestWindow( aura::WindowDelegate* delegate, const gfx::Rect& bounds) argument
|
/external/chromium_org/chrome/browser/devtools/ |
H A D | devtools_contents_resizing_strategy.cc | 14 const gfx::Rect& bounds) 15 : bounds_(bounds), 23 bounds_ = strategy.bounds(); 29 return bounds_ == strategy.bounds() && 41 const gfx::Rect& bounds = strategy.bounds(); local 42 if (bounds.size().IsEmpty() && !strategy.hide_inspected_contents()) { 48 int left = std::min(bounds.x(), container_size.width()); 49 int top = std::min(bounds.y(), container_size.height()); 50 int width = std::min(bounds 13 DevToolsContentsResizingStrategy( const gfx::Rect& bounds) argument [all...] |
/external/chromium_org/chrome/browser/extensions/ |
H A D | window_controller.cc | 53 gfx::Rect bounds; local 55 bounds = window()->GetRestoredBounds(); 57 bounds = window()->GetBounds(); 58 result->SetInteger(keys::kLeftKey, bounds.x()); 59 result->SetInteger(keys::kTopKey, bounds.y()); 60 result->SetInteger(keys::kWidthKey, bounds.width()); 61 result->SetInteger(keys::kHeightKey, bounds.height());
|
/external/chromium_org/chrome/browser/ui/ash/ |
H A D | keyboard_controller_browsertest.cc | 70 gfx::Rect bounds = proxy()->GetKeyboardWindow()->bounds(); local 72 bounds.x(), 73 bounds.bottom() - kKeyboardHeightForTest, 74 bounds.width(),
|
/external/chromium_org/chrome/browser/ui/cocoa/panels/ |
H A D | panel_cocoa.h | 21 PanelCocoa(Panel* panel, const gfx::Rect& bounds, bool always_on_top); 28 virtual void SetPanelBounds(const gfx::Rect& bounds) OVERRIDE; 29 virtual void SetPanelBoundsInstantly(const gfx::Rect& bounds) OVERRIDE; 75 // PanelStackWindowCocoa might want to update the stored bounds directly since 76 // it has already taken care of updating the window bounds directly. 77 void set_cached_bounds_directly(const gfx::Rect& bounds) { bounds_ = bounds; } argument 93 void setBoundsInternal(const gfx::Rect& bounds, bool animate);
|
/external/chromium_org/chrome/browser/ui/views/apps/app_info_dialog/ |
H A D | app_info_dialog_views.cc | 29 const gfx::Rect& bounds, 43 dialog_widget->SetBounds(bounds); 28 ShowAppInfoDialog(gfx::NativeWindow parent, const gfx::Rect& bounds, Profile* profile, const extensions::Extension* app, const base::Closure& close_callback) argument
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
H A D | desktop_browser_frame_aura.cc | 99 gfx::Rect* bounds, 101 *bounds = GetWidget()->GetRestoredBounds(); 98 GetWindowPlacement( gfx::Rect* bounds, ui::WindowShowState* show_state) const argument
|
/external/chromium_org/chrome/browser/ui/window_sizer/ |
H A D | window_sizer_ash.cc | 16 bool WindowSizer::GetBrowserBoundsAsh(gfx::Rect* bounds, argument 23 if (bounds->IsEmpty()) { 25 GetTabbedBrowserBoundsAsh(bounds, show_state); 29 // active window bounds, only use saved or default bounds. 30 if (!GetSavedWindowBounds(bounds, show_state)) 31 GetDefaultWindowBounds(GetTargetDisplay(gfx::Rect()), bounds); 43 } else if (browser_->is_type_popup() && bounds->origin().IsOrigin()) { 47 *bounds = ash::Shell::GetInstance()->window_positioner()-> 48 GetPopupPosition(*bounds); [all...] |
/external/chromium_org/mojo/aura/ |
H A D | window_tree_host_mojo.h | 33 const gfx::Rect& bounds() const { return bounds_; } function in class:mojo::WindowTreeHostMojo 50 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
|
/external/chromium_org/mojo/examples/sample_app/ |
H A D | sample_app.cc | 59 virtual void OnBoundsChanged(mojo::SizePtr bounds) MOJO_OVERRIDE { 60 assert(bounds); variable 62 gles2_client_->SetSize(*bounds);
|
/external/chromium_org/mojo/services/native_viewport/ |
H A D | platform_viewport_headless.cc | 16 void PlatformViewportHeadless::Init(const gfx::Rect& bounds) { argument 17 bounds_ = bounds; 34 void PlatformViewportHeadless::SetBounds(const gfx::Rect& bounds) { argument 35 bounds_ = bounds;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
H A D | RectangleShape.h | 43 RectangleShape(const FloatRect& bounds, const FloatSize& radii) argument 45 , m_bounds(bounds)
|
/external/chromium_org/third_party/skia/experimental/Intersection/ |
H A D | TestUtilities.cpp | 42 void find_tight_bounds(const Cubic& cubic, _Rect& bounds) { argument 46 find_tight_bounds(cubicPair.first(), bounds); 48 bounds.add(cubicPair.first()[0]); 49 bounds.add(cubicPair.first()[3]); 52 find_tight_bounds(cubicPair.second(), bounds); 54 bounds.add(cubicPair.second()[0]); 55 bounds.add(cubicPair.second()[3]);
|
/external/chromium_org/third_party/skia/gm/ |
H A D | bitmapsource.cpp | 58 SkRect bounds; variable 59 fBitmap.getBounds(&bounds); 63 SkAutoTUnref<SkImageFilter> bitmapSourceDstRectOnly(SkBitmapSource::Create(fBitmap, bounds, dstRect)); 77 // Draw the entire bitmap scaled to a destination rect (bounds -> dstRect).
|
H A D | imageresizetiled.cpp | 43 SkRect bounds; variable 44 canvas->getClipBounds(&bounds);
|
H A D | pictureimagefilter.cpp | 59 SkRect bounds = SkRect::MakeXYWH(0, 0, 100, 100); variable 65 fillRectFiltered(canvas, bounds, pictureSource); 69 fillRectFiltered(canvas, bounds, pictureSourceSrcRect); 73 fillRectFiltered(canvas, bounds, pictureSourceEmptyRect);
|
/external/chromium_org/third_party/skia/samplecode/ |
H A D | SampleLayerMask.cpp | 42 SkRect bounds = r; local 43 bounds.offset(-bounds.fLeft, -bounds.fTop); 44 c.drawOval(bounds, paint);
|
/external/chromium_org/third_party/skia/src/animator/ |
H A D | SkBoundable.h | 23 void setBounds(SkIRect& bounds) { fBounds = bounds; } argument 25 void clearBounds() { fBounds.fLeft = (int16_t) SkToU16(0x8000); }; // mark bounds as unset
|
/external/chromium_org/third_party/skia/tests/ |
H A D | RecordOptsTest.cpp | 113 SkRect bounds = SkRect::MakeWH(100, 200); local 125 // No change: optimization can't handle bounds. 126 recorder.saveLayer(&bounds, NULL); 131 // SaveLayer/Restore removed: no bounds + no paint = no point.
|