Searched refs:primary_axis_size (Results 1 – 2 of 2) sorted by relevance
/external/chromium_org/ui/views/controls/ |
D | single_split_view_unittest.cc | 84 int primary_axis_size; in TEST() member 115 EXPECT_EQ(test_cases[0].primary_axis_size, in TEST() 117 split.SetBounds(0, 0, test_cases[0].primary_axis_size, in TEST() 127 split.SetBounds(0, 0, test_cases[i].primary_axis_size, in TEST() 131 test_cases[i].primary_axis_size); in TEST()
|
D | single_split_view.cc | 245 int primary_axis_size = GetPrimaryAxisSize(bounds.width(), bounds.height()); in NormalizeDividerOffset() local 248 return std::max(0, (primary_axis_size - GetDividerSize()) / 2); in NormalizeDividerOffset() 250 std::max(primary_axis_size - GetDividerSize(), 0)); in NormalizeDividerOffset()
|