Home
last modified time | relevance | path

Searched refs:primary_axis_size (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/ui/views/controls/
Dsingle_split_view_unittest.cc84 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()
Dsingle_split_view.cc245 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()