Searched refs:view_bounds (Results 1 – 8 of 8) sorted by relevance
/external/chromium_org/chrome/browser/chromeos/ui/ |
D | focus_ring_controller.cc | 59 gfx::Rect view_bounds = view->GetContentsBounds(); in UpdateFocusRing() local 63 view_bounds = view->GetLocalBounds(); in UpdateFocusRing() 64 view_bounds.Inset(2, 2, 2, 2); in UpdateFocusRing() 70 view_bounds = view->GetLocalBounds(); in UpdateFocusRing() 71 view_bounds.Inset(1, 1, 3, 3); in UpdateFocusRing() 73 view_bounds.Inset(1, 1, 3, 3); in UpdateFocusRing() 76 view_bounds = view->GetLocalBounds(); in UpdateFocusRing() 77 view_bounds.Inset(2, 1, 2, 2); in UpdateFocusRing() 81 view_bounds = view->ConvertRectToWidget(view_bounds); in UpdateFocusRing() 87 gfx::Point origin = view_bounds.origin(); in UpdateFocusRing() [all …]
|
/external/chromium_org/ui/snapshot/ |
D | snapshot_mac.mm | 31 gfx::Rect view_bounds = gfx::Rect(NSRectToCGRect(frame)); 34 view_bounds.set_y( 35 screen_bounds.height() - view_bounds.y() - view_bounds.height()); 40 screen_snapshot_bounds.Offset(view_bounds.OffsetFromOrigin()); 42 DCHECK_LE(screen_snapshot_bounds.right(), view_bounds.right()); 43 DCHECK_LE(screen_snapshot_bounds.bottom(), view_bounds.bottom());
|
/external/chromium_org/ui/views/corewm/ |
D | tooltip_controller_unittest.cc | 370 gfx::Rect view_bounds(view_->GetLocalBounds()); in TEST_F() local 371 view_bounds.set_height(view_bounds.height() / 2); in TEST_F() 372 v1->SetBoundsRect(view_bounds); in TEST_F() 373 view_bounds.set_y(view_bounds.height()); in TEST_F() 374 v2->SetBoundsRect(view_bounds); in TEST_F() 757 gfx::Rect view_bounds(view_->GetLocalBounds()); in TEST_F() local 758 view_bounds.set_height(view_bounds.height() / 2); in TEST_F() 759 v1->SetBoundsRect(view_bounds); in TEST_F() 761 view_bounds.set_y(view_bounds.height()); in TEST_F() 762 v2->SetBoundsRect(view_bounds); in TEST_F() [all …]
|
/external/chromium_org/ash/system/audio/ |
D | volume_view.cc | 265 gfx::Rect view_bounds(view_size); in Layout() local 266 view_bounds.set_x(more_->bounds().x() - view_size.width() - in Layout() 268 view_bounds.set_y((height() - view_size.height()) / 2); in Layout() 269 view_left_to_more->SetBoundsRect(view_bounds); in Layout()
|
/external/chromium_org/mojo/examples/window_manager/ |
D | window_manager.cc | 227 gfx::Rect view_bounds(view->bounds()); in OnViewBoundsChanged() local 228 view_bounds.set_width(view_bounds.width() + delta_width); in OnViewBoundsChanged() 229 view_bounds.set_height(view_bounds.height() + delta_height); in OnViewBoundsChanged() 230 view->SetBounds(view_bounds); in OnViewBoundsChanged()
|
/external/chromium_org/athena/wm/ |
D | split_view_controller.cc | 87 gfx::Rect view_bounds = priority_view_->GetBoundsInScreen(); in FindTargetForLocatedEvent() local 90 gfx::RectF transformed_bounds_f = view_bounds; in FindTargetForLocatedEvent()
|
/external/chromium_org/content/browser/renderer_host/ |
D | render_widget_host_impl.cc | 2259 gfx::Rect view_bounds = GetView()->GetViewBounds(); in WindowOldSnapshotReachedScreen() local 2260 gfx::Rect snapshot_bounds(view_bounds.size()); in WindowOldSnapshotReachedScreen() 2284 gfx::Rect view_bounds = GetView()->GetViewBounds(); in WindowSnapshotReachedScreen() local 2285 gfx::Rect snapshot_bounds(view_bounds.size()); in WindowSnapshotReachedScreen()
|
D | render_widget_host_view_aura.cc | 730 gfx::Rect view_bounds = window_->GetBoundsInRootWindow(); in MovePluginWindows() local 733 gfx::Rect view_port(view_bounds.size()); in MovePluginWindows() 744 moves[i].window_rect.Offset(view_bounds.OffsetFromOrigin()); in MovePluginWindows()
|