Searched refs:ViewModelUtils (Results 1 - 7 of 7) sorted by relevance
/external/chromium_org/ui/views/ |
H A D | view_model_utils_unittest.cc | 14 TEST(ViewModelUtils, SetViewBoundsToIdealBounds) { 20 ViewModelUtils::SetViewBoundsToIdealBounds(model); 25 TEST(ViewModelUtils, DetermineMoveIndex) { 35 EXPECT_EQ(0, ViewModelUtils::DetermineMoveIndex( 36 model, &v1, ViewModelUtils::HORIZONTAL, -10, 0)); 37 EXPECT_EQ(0, ViewModelUtils::DetermineMoveIndex( 38 model, &v1, ViewModelUtils::HORIZONTAL, 4, 0)); 39 EXPECT_EQ(1, ViewModelUtils::DetermineMoveIndex( 40 model, &v1, ViewModelUtils::HORIZONTAL, 506, 0)); 41 EXPECT_EQ(2, ViewModelUtils [all...] |
H A D | view_model_utils.h | 16 class VIEWS_EXPORT ViewModelUtils { class in namespace:views 37 DISALLOW_IMPLICIT_CONSTRUCTORS(ViewModelUtils);
|
H A D | view_model_utils.cc | 17 int primary_axis_coordinate(ViewModelUtils::Alignment alignment, 20 return alignment == ViewModelUtils::HORIZONTAL ? x : y; 26 void ViewModelUtils::SetViewBoundsToIdealBounds(const ViewModel& model) { 32 bool ViewModelUtils::IsAtIdealBounds(const ViewModel& model) { 42 int ViewModelUtils::DetermineMoveIndex(const ViewModel& model,
|
/external/chromium_org/ui/app_list/views/ |
H A D | app_list_folder_view.cc | 122 views::ViewModelUtils::SetViewBoundsToIdealBounds(*view_model_);
|
H A D | apps_grid_view.cc | 933 views::ViewModelUtils::SetViewBoundsToIdealBounds(pulsing_blocks_model_);
|
/external/chromium_org/ash/shelf/ |
H A D | shelf_view.cc | 685 views::ViewModelUtils::SetViewBoundsToIdealBounds(*view_model_); 987 views::ViewModelUtils::DetermineMoveIndex( 990 views::ViewModelUtils::HORIZONTAL : 991 views::ViewModelUtils::VERTICAL,
|
/external/chromium_org/chrome/browser/ui/views/tabs/ |
H A D | tab_strip.cc | 816 if (!views::ViewModelUtils::IsAtIdealBounds(tabs_)) 1594 views::ViewModelUtils::SetViewBoundsToIdealBounds(tabs_); 1712 views::ViewModelUtils::SetViewBoundsToIdealBounds(tabs_);
|
Completed in 1387 milliseconds