/external/chromium_org/ui/views/ |
D | view_model_utils.cc | 28 model.view_at(i)->SetBoundsRect(model.ideal_bounds(i)); in SetViewBoundsToIdealBounds() 35 if (view->bounds() != model.ideal_bounds(i)) in IsAtIdealBounds() 53 model.ideal_bounds(i).x() + model.ideal_bounds(i).width() / 2, in DetermineMoveIndex() 54 model.ideal_bounds(i).y() + model.ideal_bounds(i).height() / 2); in DetermineMoveIndex() 66 model.ideal_bounds(current_index + 1).x() - in DetermineMoveIndex() 67 model.ideal_bounds(current_index).x(), in DetermineMoveIndex() 68 model.ideal_bounds(current_index + 1).y() - in DetermineMoveIndex() 69 model.ideal_bounds(current_index).y()); in DetermineMoveIndex() 71 const gfx::Rect& bounds(model.ideal_bounds(i)); in DetermineMoveIndex()
|
D | view_model.h | 61 entries_[index].ideal_bounds = bounds; in set_ideal_bounds() 64 const gfx::Rect& ideal_bounds(int index) const { in ideal_bounds() function 66 return entries_[index].ideal_bounds; in ideal_bounds() 78 gfx::Rect ideal_bounds; member
|
D | view_model_unittest.cc | 21 result += base::IntToString(model.ideal_bounds(i).x()); in BoundsString() 47 EXPECT_EQ(v1_bounds, model.ideal_bounds(0)); in TEST()
|
/external/chromium/chrome/browser/ui/views/tabs/ |
D | side_tab_strip.cc | 256 if (ideal_bounds(i).bottom() > initial_y) { in ButtonPressed() 266 delta = initial_y - ideal_bounds(first_vis_index).y(); in ButtonPressed() 271 delta = initial_y - ideal_bounds(first_vis_index - 1).y(); in ButtonPressed() 277 if (ideal_bounds(first_vis_index).y() > initial_y) { in ButtonPressed() 278 delta = initial_y - ideal_bounds(first_vis_index).y(); in ButtonPressed() 282 delta = initial_y - ideal_bounds(first_vis_index + 1).y(); in ButtonPressed() 348 tab->SetBounds(ideal_bounds(tab_data_index).x(), 0, in StartInsertTabAnimation() 349 ideal_bounds(tab_data_index).width(), 0); in StartInsertTabAnimation() 353 ideal_bounds(tab_data_index).width(), 0); in StartInsertTabAnimation() 363 bounds_animator().AnimateViewTo(tab, ideal_bounds(i)); in AnimateToIdealBounds() [all …]
|
D | base_tab_strip.h | 43 const gfx::Rect& ideal_bounds(int tab_data_index) { in ideal_bounds() function 44 return tab_data_[tab_data_index].ideal_bounds; in ideal_bounds() 144 gfx::Rect ideal_bounds; member 199 tab_data_[index].ideal_bounds = bounds; in set_ideal_bounds()
|
D | tab_strip.cc | 444 tab->SetBounds(0, ideal_bounds(tab_data_index).y(), 0, in StartInsertTabAnimation() 445 ideal_bounds(tab_data_index).height()); in StartInsertTabAnimation() 449 ideal_bounds(tab_data_index).y(), 0, in StartInsertTabAnimation() 450 ideal_bounds(tab_data_index).height()); in StartInsertTabAnimation() 460 bounds_animator().AnimateViewTo(tab, ideal_bounds(i)); in AnimateToIdealBounds() 972 gfx::Rect bounds = ideal_bounds(i); in StartMouseInitiatedRemoveTabAnimation()
|
D | dragged_tab_controller.cc | 986 const gfx::Rect& ideal_bounds = attached_tabstrip_->ideal_bounds(i); in GetInsertionIndexForDraggedBounds() local 988 gfx::Rect left_half = ideal_bounds; in GetInsertionIndexForDraggedBounds() 990 gfx::Rect right_half = ideal_bounds; in GetInsertionIndexForDraggedBounds() 991 right_half.set_width(ideal_bounds.width() - left_half.width()); in GetInsertionIndexForDraggedBounds() 1005 int max_y = ideal_bounds.bottom(); in GetInsertionIndexForDraggedBounds() 1006 int mid_y = ideal_bounds.y() + ideal_bounds.height() / 2; in GetInsertionIndexForDraggedBounds()
|
D | base_tab_strip.cc | 491 tabs[i]->SetBoundsRect(ideal_bounds(tab_data_index)); in StartedDraggingTabs() 521 tab_data_[i].tab->SetBoundsRect(tab_data_[i].ideal_bounds); in DoLayout() 558 bounds_animator_.AnimateViewTo(tab, ideal_bounds(TabIndexOfTab(tab))); in StoppedDraggingTab()
|
/external/chromium_org/ash/shelf/ |
D | shelf_view.cc | 463 const gfx::Rect& ideal_bounds(view_model_->ideal_bounds(index)); in GetIdealBoundsOfItemIcon() local 468 ideal_bounds.x() + icon_bounds.x(), icon_bounds.width()), in GetIdealBoundsOfItemIcon() 469 ideal_bounds.y() + icon_bounds.y(), in GetIdealBoundsOfItemIcon() 486 view_model_->ideal_bounds(target_index).x(), in UpdatePanelIconPosition() 487 view_model_->ideal_bounds(target_index).y()) > in UpdatePanelIconPosition() 494 view_model_->ideal_bounds(target_index).right(), in UpdatePanelIconPosition() 495 view_model_->ideal_bounds(target_index).bottom()) < in UpdatePanelIconPosition() 681 IdealBounds ideal_bounds; in LayoutToIdealBounds() local 682 CalculateIdealBounds(&ideal_bounds); in LayoutToIdealBounds() 684 overflow_button_->SetBoundsRect(ideal_bounds.overflow_bounds); in LayoutToIdealBounds() [all …]
|
D | shelf_view_unittest.cc | 646 gfx::Rect ideal_bounds = shelf_view_->GetIdealBoundsOfItemIcon(id); in TEST_P() local 649 ideal_bounds.Offset(screen_origin.x(), screen_origin.y()); in TEST_P() 650 EXPECT_EQ(item_bounds.x(), ideal_bounds.x()); in TEST_P() 651 EXPECT_EQ(item_bounds.y(), ideal_bounds.y()); in TEST_P()
|
/external/chromium/chrome/browser/ui/touch/tabs/ |
D | touch_tab_strip.cc | 110 tab->SetBounds(0, ideal_bounds(tab_data_index).y(), 0, in StartInsertTabAnimation() 111 ideal_bounds(tab_data_index).height()); in StartInsertTabAnimation() 115 ideal_bounds(tab_data_index).y(), 0, in StartInsertTabAnimation() 116 ideal_bounds(tab_data_index).height()); in StartInsertTabAnimation() 126 bounds_animator().AnimateViewTo(tab, ideal_bounds(i)); in AnimateToIdealBounds()
|
/external/chromium/chrome/browser/ui/tabs/ |
D | dock_info.cc | 236 gfx::Rect ideal_bounds(x, y, popup_width(), popup_height()); in GetPopupRect() local 237 ideal_bounds = ideal_bounds.AdjustToFit(monitor_bounds_); in GetPopupRect() 238 return ideal_bounds; in GetPopupRect()
|
/external/chromium_org/chrome/browser/ui/views/tabs/ |
D | tab_strip.cc | 673 active_center = ideal_bounds(active_index).x() + in SetLayoutType() 674 ideal_bounds(active_index).width() / 2; in SetLayoutType() 682 active_center - ideal_bounds(active_index).width() / 2); in SetLayoutType() 778 int old_x = tabs_.ideal_bounds(model_index).x(); in RemoveTabAt() 1711 tab->SetBounds(0, ideal_bounds(model_index).y(), 0, in StartInsertTabAnimation() 1712 ideal_bounds(model_index).height()); in StartInsertTabAnimation() 1716 ideal_bounds(model_index).y(), 0, in StartInsertTabAnimation() 1717 ideal_bounds(model_index).height()); in StartInsertTabAnimation() 1769 bounds_animator_.AnimateViewTo(tab, ideal_bounds(i)); in AnimateToIdealBounds() 1816 gfx::Rect bounds(ideal_bounds(i)); in SetIdealBoundsFromPositions() [all …]
|
D | stacked_tab_strip_layout_unittest.cc | 89 gfx::Rect bounds(view_model_.ideal_bounds(i)); in SetBoundsFromString() 101 result += base::IntToString(view_model_.ideal_bounds(i).x()); in BoundsString() 113 result += base::IntToString(view_model_.ideal_bounds(i).x()); in BoundsString2() 128 return view_model_.ideal_bounds(index).x(); in ideal_x() 390 int old_x = view_model_.ideal_bounds(test_data[i].remove_index).x(); in TEST_F()
|
D | stacked_tab_strip_layout.cc | 123 gfx::Rect mini_bounds(view_model_->ideal_bounds(i)); in SizeToFit() 253 result += base::IntToString(view_model_->ideal_bounds(i).x()); in BoundsString() 367 view_model_->ideal_bounds(i - 1).x() + tab_offset()); in LayoutByTabOffsetAfter() 435 gfx::Rect mini_bounds(view_model_->ideal_bounds(i)); in LayoutForDragBefore()
|
D | stacked_tab_strip_layout.h | 190 int ideal_x(int index) const { return view_model_->ideal_bounds(index).x(); } in ideal_x()
|
D | tab_strip.h | 115 const gfx::Rect& ideal_bounds(int tab_data_index) { in ideal_bounds() function 116 return tabs_.ideal_bounds(tab_data_index); in ideal_bounds()
|
D | tab_drag_controller.cc | 1586 const gfx::Rect& ideal_bounds = attached_tabstrip_->ideal_bounds(i); in GetInsertionIndexFrom() local 1588 ideal_bounds.SplitVertically(&left_half, &right_half); in GetInsertionIndexFrom() 1623 attached_tabstrip_->ideal_bounds(tab_count - 1).right(); in GetInsertionIndexForDraggedBounds() 1650 int active_x = attached_tabstrip_->ideal_bounds(index).x(); in ShouldDragToNextStackedTab() 1651 int next_x = attached_tabstrip_->ideal_bounds(index + 1).x(); in ShouldDragToNextStackedTab() 1665 int active_x = attached_tabstrip_->ideal_bounds(index).x(); in ShouldDragToPreviousStackedTab() 1666 int previous_x = attached_tabstrip_->ideal_bounds(index - 1).x(); in ShouldDragToPreviousStackedTab()
|
/external/chromium_org/chrome/browser/ui/tabs/ |
D | dock_info.cc | 226 gfx::Rect ideal_bounds(x, y, popup_width(), popup_height()); in GetPopupRect() local 227 ideal_bounds.AdjustToFit(monitor_bounds_); in GetPopupRect() 228 return ideal_bounds; in GetPopupRect()
|
/external/chromium/chrome/browser/ui/gtk/tabs/ |
D | dragged_tab_controller_gtk.cc | 467 gfx::Rect ideal_bounds = attached_tabstrip_->GetIdealBounds(i); in GetInsertionIndexForDraggedBounds() local 469 gfx::Rect left_half = ideal_bounds; in GetInsertionIndexForDraggedBounds() 472 gfx::Rect right_half = ideal_bounds; in GetInsertionIndexForDraggedBounds() 473 right_half.set_width(ideal_bounds.width() - left_half.width()); in GetInsertionIndexForDraggedBounds()
|
D | tab_strip_gtk.h | 172 gfx::Rect ideal_bounds; member
|
/external/chromium_org/ash/test/ |
D | shelf_view_test_api.cc | 81 return shelf_view_->view_model_->ideal_bounds(index); in GetIdealBoundsByIndex()
|
/external/chromium_org/ui/app_list/views/ |
D | contents_view.cc | 139 view_model_->ideal_bounds(i)); in AnimateToIdealBounds()
|
/external/chromium_org/chrome/browser/ui/gtk/tabs/ |
D | tab_strip_gtk.h | 190 gfx::Rect ideal_bounds; member
|
D | dragged_tab_controller_gtk.cc | 541 gfx::Rect ideal_bounds = attached_tabstrip_->GetIdealBounds(i); in GetInsertionIndexForDraggedBounds() local 543 ideal_bounds.SplitVertically(&left_half, &right_half); in GetInsertionIndexForDraggedBounds()
|