Searched refs:outer_height (Results 1 – 3 of 3) sorted by relevance
42 const auto outer_height = comp->height(); in set_bounds() local43 if (outer_width == 0 || outer_height == 0) in set_bounds()57 if (bounds_.y + bounds_.height > outer_height) in set_bounds()58 bounds_.y = outer_height - bounds_.height; in set_bounds()66 const auto y = bounds_.y / float(outer_height); in set_bounds()68 const auto h = bounds_.height / float(outer_height); in set_bounds()
439 gint outer_height) in clamp_rectangle() argument450 clamped.y = CLAMP (y, 0, outer_height); in clamp_rectangle()452 clamped.h = CLAMP (y2, 0, outer_height) - clamped.y; in clamp_rectangle()
1198 gint outer_height) in clamp_rectangle() argument1209 clamped.y = CLAMP (y, 0, outer_height); in clamp_rectangle()1211 clamped.h = CLAMP (y2, 0, outer_height) - clamped.y; in clamp_rectangle()