/external/chromium_org/chrome/browser/ui/autofill/ |
autofill_popup_controller_interactive_uitest.cc | 109 gfx::Rect new_bounds = browser()->window()->GetBounds() - gfx::Vector2d(1, 1); local 110 browser()->window()->SetBounds(new_bounds);
|
/external/chromium_org/apps/ |
app_window_geometry_cache_unittest.cc | 151 gfx::Rect new_bounds; local 155 extension_id, kWindowId, &new_bounds, &new_screen_bounds, &new_state)); 156 ASSERT_EQ(bounds, new_bounds); 169 gfx::Rect new_bounds; local 173 extension_id, kWindowId, &new_bounds, &new_screen_bounds, &new_state)); 174 ASSERT_TRUE(new_bounds.IsEmpty()); 187 gfx::Rect new_bounds; local 191 extension_id, kWindowId, &new_bounds, &new_screen_bounds, &new_state)); 192 ASSERT_TRUE(new_bounds.IsEmpty()); 205 gfx::Rect new_bounds; local 231 gfx::Rect new_bounds; local [all...] |
/external/chromium_org/ash/display/ |
screen_position_controller.cc | 197 gfx::Rect new_bounds = gfx::Rect(origin, bounds.size()); local 199 window->SetBounds(new_bounds);
|
/external/chromium_org/ui/aura/test/ |
test_screen.cc | 58 gfx::Rect new_bounds = gfx::ToNearestRect( local 60 display_.SetScaleAndBounds(display_.device_scale_factor(), new_bounds); 99 Window* window, const gfx::Rect& old_bounds, const gfx::Rect& new_bounds) { 102 gfx::ScaleSize(new_bounds.size(), display_.device_scale_factor())));
|
/external/chromium_org/ui/views/animation/ |
bounds_animator.cc | 232 gfx::Rect new_bounds = local 234 if (new_bounds != view->bounds()) { 235 gfx::Rect total_bounds = gfx::UnionRects(new_bounds, view->bounds()); 241 view->SetBoundsRect(new_bounds);
|
/external/chromium_org/cc/resources/ |
picture_layer_tiling_set_unittest.cc | 162 void SyncTilings(const gfx::Size& new_bounds, 171 *source_.get(), new_bounds, invalidation, minimum_scale); 173 void SyncTilings(const gfx::Size& new_bounds) { 175 SyncTilings(new_bounds, invalidation, 0.f); 177 void SyncTilings(const gfx::Size& new_bounds, const Region& invalidation) { 178 SyncTilings(new_bounds, invalidation, 0.f); 180 void SyncTilings(const gfx::Size& new_bounds, float minimum_scale) { 182 SyncTilings(new_bounds, invalidation, minimum_scale); 185 void VerifyTargetEqualsSource(const gfx::Size& new_bounds) const { 186 ASSERT_FALSE(new_bounds.IsEmpty()) 260 gfx::Size new_bounds; local [all...] |
/external/chromium_org/chrome/test/gpu/ |
gpu_feature_browsertest.cc | 143 bool ResizeAndWait(const gfx::Rect& new_bounds, 150 browser()->window()->SetBounds(new_bounds); 438 gfx::Rect new_bounds = bounds; local 459 new_bounds.set_width(w_start + offsets[offset_i]); 461 ASSERT_TRUE(ResizeAndWait(new_bounds, "gpu", "gpu", resize_event));
|
/external/chromium_org/ash/wm/ |
window_positioner.cc | 343 gfx::Rect new_bounds = bounds; local 345 &new_bounds); 346 if (new_bounds != bounds) 347 added_window->SetBounds(new_bounds);
|
/external/chromium_org/chrome/browser/ui/panels/ |
docked_panel_collection.cc | 241 const gfx::Rect& new_bounds) { 243 panel->set_full_size(new_bounds.size()); 664 gfx::Rect new_bounds = old_bounds; local 665 AdjustPanelBoundsPerExpansionState(panel, &new_bounds); 667 new_bounds.set_width( 671 int x = rightmost_position - new_bounds.width(); 672 new_bounds.set_x(x); 675 (x == old_bounds.x() && new_bounds.width() <= old_bounds.width())) 676 moving_left.push(std::make_pair(panel, new_bounds)); 678 moving_right.push_back(std::make_pair(panel, new_bounds)); [all...] |
panel_browsertest.cc | 79 std::vector<gfx::Rect> new_bounds = bounds; local 81 new_bounds[i].Offset(delta_x[i], 0); 82 return new_bounds; 454 gfx::Rect new_bounds(previous_bounds.origin(), new_size); 455 panel->SetBounds(new_bounds); 457 EXPECT_EQ(new_bounds.size(), panel->GetBounds().size()); 458 EXPECT_EQ(new_bounds.size(), panel->GetRestoredBounds().size()); 487 gfx::Rect new_bounds(original_bounds.origin(), new_size); 488 panel->SetBounds(new_bounds); 490 EXPECT_EQ(new_bounds.size(), panel->GetBounds().size()) [all...] |
/external/chromium_org/ui/message_center/views/ |
message_center_view.cc | 517 gfx::Rect new_bounds = child->bounds(); local 518 new_bounds.set_x(new_bounds.right() + kMarginBetweenItems); 519 animator_->AnimateViewTo(child, new_bounds); [all...] |
/external/chromium_org/chrome/browser/ui/views/panels/ |
panel_view.cc | 368 void PanelView::SetBoundsInternal(const gfx::Rect& new_bounds, bool animate) { 369 if (bounds_ == new_bounds) 372 bounds_ = new_bounds; 385 this, panel_.get(), animation_start_bounds_, new_bounds)); 410 gfx::Rect new_bounds = bounds_animator_->CurrentValueBetween( local 412 SetWidgetBounds(new_bounds); 415 void PanelView::SetWidgetBounds(const gfx::Rect& new_bounds) { 439 new_bounds.height() <= kMinimumOverlappedWindowHeight) { 448 new_bounds.height() > kMinimumOverlappedWindowHeight) { 458 GetWidget()->SetBounds(new_bounds); 862 gfx::Rect new_bounds = window_->GetWindowBoundsInScreen(); local 1033 panel()->collection()->OnPanelResizedByMouse(panel(), new_bounds); local [all...] |
/external/chromium_org/chrome/browser/ui/views/tabs/ |
tab_strip.cc | 1755 gfx::Rect new_bounds = bounds[i]; local 1780 gfx::Rect new_bounds = tab->bounds(); local [all...] |