/external/chromium_org/chrome/browser/ui/autofill/ |
autofill_popup_controller_interactive_uitest.cc | 113 gfx::Rect new_bounds = browser()->window()->GetBounds() - gfx::Vector2d(1, 1); local 114 browser()->window()->SetBounds(new_bounds);
|
/external/chromium_org/apps/ |
shell_window_geometry_cache_unittest.cc | 130 gfx::Rect new_bounds; local 134 extension_id, kWindowId, &new_bounds, &new_screen_bounds, &new_state)); 135 ASSERT_EQ(bounds, new_bounds); 148 gfx::Rect new_bounds; local 152 extension_id, kWindowId, &new_bounds, &new_screen_bounds, &new_state)); 153 ASSERT_TRUE(new_bounds.IsEmpty()); 166 gfx::Rect new_bounds; local 170 extension_id, kWindowId, &new_bounds, &new_screen_bounds, &new_state)); 171 ASSERT_TRUE(new_bounds.IsEmpty()); 184 gfx::Rect new_bounds; local 210 gfx::Rect new_bounds; local [all...] |
/external/chromium_org/chrome/browser/chromeos/input_method/ |
candidate_window_controller_impl.cc | 250 gfx::Rect new_bounds; local 251 new_bounds.set_size(view->GetPreferredSize()); 252 new_bounds.set_origin(GetInfolistWindowPosition( 256 new_bounds.size())); 258 if (current_bounds != new_bounds) 259 infolist_window_->SetBounds(new_bounds);
|
/external/chromium_org/ui/aura/test/ |
test_screen.cc | 56 gfx::Rect new_bounds = gfx::ToNearestRect( local 58 display_.SetScaleAndBounds(display_.device_scale_factor(), new_bounds); 97 Window* window, const gfx::Rect& old_bounds, const gfx::Rect& new_bounds) { 99 display_.SetSize(new_bounds.size());
|
/external/chromium_org/ui/views/animation/ |
bounds_animator.cc | 235 gfx::Rect new_bounds = local 237 if (new_bounds != view->bounds()) { 238 gfx::Rect total_bounds = gfx::UnionRects(new_bounds, view->bounds()); 244 view->SetBoundsRect(new_bounds);
|
/external/chromium_org/ash/wm/caption_buttons/ |
frame_maximize_button_unittest.cc | 676 gfx::Rect new_bounds = widget()->GetWindowBoundsInScreen(); local 677 EXPECT_EQ(0, new_bounds.x()); 678 EXPECT_EQ(0, new_bounds.y()); 683 new_bounds = widget()->GetWindowBoundsInScreen(); 684 EXPECT_EQ(new_bounds.x(), initial_bounds.x()); 685 EXPECT_EQ(new_bounds.y(), initial_bounds.x()); 686 EXPECT_EQ(new_bounds.width(), initial_bounds.width()); 687 EXPECT_EQ(new_bounds.height(), initial_bounds.height()); 707 gfx::Rect new_bounds = widget()->GetWindowBoundsInScreen(); local 708 EXPECT_EQ(0, new_bounds.x()) 742 gfx::Rect new_bounds = widget()->GetWindowBoundsInScreen(); local [all...] |
/external/chromium_org/ash/wm/workspace/ |
workspace_layout_manager.cc | 339 gfx::Rect new_bounds = BaseLayoutManager::BoundsWithScreenEdgeVisible( local 343 SetChildBoundsDirect(window, new_bounds); 345 CrossFadeToBounds(window, new_bounds); 354 gfx::Rect new_bounds = ScreenAsh::GetMaximizedWindowBoundsInParent( local 360 SetChildBoundsDirect(window, new_bounds); 362 CrossFadeToBounds(window, new_bounds); 368 gfx::Rect new_bounds = ScreenAsh::GetDisplayBoundsInParent( local 372 CrossFadeToBounds(window, new_bounds); 374 SetChildBoundsDirect(window, new_bounds);
|
/external/chromium_org/cc/resources/ |
picture_layer_tiling_set_unittest.cc | 160 void SyncTilings(gfx::Size new_bounds, 169 *source_.get(), new_bounds, invalidation, minimum_scale); 171 void SyncTilings(gfx::Size new_bounds) { 173 SyncTilings(new_bounds, invalidation, 0.f); 175 void SyncTilings(gfx::Size new_bounds, const Region& invalidation) { 176 SyncTilings(new_bounds, invalidation, 0.f); 178 void SyncTilings(gfx::Size new_bounds, float minimum_scale) { 180 SyncTilings(new_bounds, invalidation, minimum_scale); 183 void VerifyTargetEqualsSource(gfx::Size new_bounds) const { 184 ASSERT_FALSE(new_bounds.IsEmpty()) 258 gfx::Size new_bounds; local [all...] |
/external/chromium_org/ash/wm/ |
window_positioner.cc | 297 gfx::Rect new_bounds = bounds; local 299 &new_bounds); 300 if (new_bounds != bounds) 301 added_window->SetBounds(new_bounds);
|
/external/chromium_org/chrome/test/gpu/ |
gpu_feature_browsertest.cc | 148 bool ResizeAndWait(const gfx::Rect& new_bounds, 155 browser()->window()->SetBounds(new_bounds); 536 gfx::Rect new_bounds = bounds; local 557 new_bounds.set_width(w_start + offsets[offset_i]); 558 ASSERT_TRUE(ResizeAndWait(new_bounds, "gpu", "gpu", resize_event));
|
/external/chromium_org/chrome/browser/ui/panels/ |
docked_panel_collection.cc | 248 const gfx::Rect& new_bounds) { 250 panel->set_full_size(new_bounds.size()); 684 gfx::Rect new_bounds = old_bounds; local 685 AdjustPanelBoundsPerExpansionState(panel, &new_bounds); 687 new_bounds.set_width( 691 int x = rightmost_position - new_bounds.width(); 692 new_bounds.set_x(x); 695 (x == old_bounds.x() && new_bounds.width() <= old_bounds.width())) 696 moving_left.push(std::make_pair(panel, new_bounds)); 698 moving_right.push_back(std::make_pair(panel, new_bounds)); [all...] |
panel_browsertest.cc | 78 std::vector<gfx::Rect> new_bounds = bounds; local 80 new_bounds[i].Offset(delta_x[i], 0); 81 return new_bounds; 453 gfx::Rect new_bounds(previous_bounds.origin(), new_size); 454 panel->SetBounds(new_bounds); 456 EXPECT_EQ(new_bounds.size(), panel->GetBounds().size()); 457 EXPECT_EQ(new_bounds.size(), panel->GetRestoredBounds().size()); 486 gfx::Rect new_bounds(original_bounds.origin(), new_size); 487 panel->SetBounds(new_bounds); 489 EXPECT_EQ(new_bounds.size(), panel->GetBounds().size()) [all...] |
/external/chromium/chrome/browser/chromeos/login/ |
wizard_controller.cc | 620 gfx::Rect new_bounds = GetWizardScreenBounds(new_screen_size.width(), local 622 if (new_bounds != current_bounds) { 626 window = CreateScreenWindow(new_bounds, initial_show_);
|
/external/chromium/chrome/browser/ui/views/tabs/ |
tab_strip.cc | 488 gfx::Rect new_bounds = bounds[i]; local 489 new_bounds.Offset(location.x(), location.y()); 498 bounds_animator().SetTargetBounds(tabs[i], new_bounds); 500 tab->SetBoundsRect(new_bounds); 512 gfx::Rect new_bounds = tab->bounds(); local 513 new_bounds.set_origin(gfx::Point(x, 0)); 514 bounds->push_back(new_bounds); [all...] |
/external/chromium_org/cc/layers/ |
tiled_layer.cc | 146 gfx::Size new_bounds = content_bounds(); local 147 if (old_bounds == new_bounds) 149 tiler_->SetBounds(new_bounds); 153 Region new_region = gfx::Rect(new_bounds); [all...] |
/external/chromium_org/chrome/browser/ui/views/panels/ |
panel_view.cc | 339 void PanelView::SetBoundsInternal(const gfx::Rect& new_bounds, bool animate) { 340 if (bounds_ == new_bounds) 343 bounds_ = new_bounds; 356 this, panel_.get(), animation_start_bounds_, new_bounds)); 381 gfx::Rect new_bounds = bounds_animator_->CurrentValueBetween( local 383 SetWidgetBounds(new_bounds); 386 void PanelView::SetWidgetBounds(const gfx::Rect& new_bounds) { 410 new_bounds.height() <= kMinimumOverlappedWindowHeight) { 419 new_bounds.height() > kMinimumOverlappedWindowHeight) { 429 GetWidget()->SetBounds(new_bounds); 832 gfx::Rect new_bounds = window_->GetWindowBoundsInScreen(); local 1004 panel()->collection()->OnPanelResizedByMouse(panel(), new_bounds); local [all...] |
/external/chromium_org/ui/message_center/views/ |
message_center_view.cc | 576 gfx::Rect new_bounds = child->bounds(); local 577 new_bounds.set_x(new_bounds.right() + kMarginBetweenItems); 578 animator_->AnimateViewTo(child, new_bounds); [all...] |
/external/chromium_org/chrome/browser/ui/views/tabs/ |
tab_strip.cc | 1914 gfx::Rect new_bounds = bounds[i]; local 1938 gfx::Rect new_bounds = tab->bounds(); local [all...] |