Lines Matching refs:LayoutNames
40 pub enum LayoutNames { enum
47 impl LayoutNames { implementation
49 pub fn get_non_overlapping_section(&self) -> LayoutNames { in get_non_overlapping_section() argument
51 LayoutNames::TopQuad => LayoutNames::BottomQuad, in get_non_overlapping_section()
52 LayoutNames::TopHalf => LayoutNames::BottomHalf, in get_non_overlapping_section()
53 LayoutNames::BottomHalf => LayoutNames::TopHalf, in get_non_overlapping_section()
54 LayoutNames::BottomQuad => LayoutNames::TopQuad, in get_non_overlapping_section()
86 pub fn layout_section(ls: &LayoutSizes, ln: LayoutNames) -> (&'static str, i64, i64) { in layout_section()
88 LayoutNames::TopQuad => ("TOP_QUAD", ls.top_quad_bottom, ls.quad_sz), in layout_section()
89 LayoutNames::TopHalf => ("TOP_HALF", ls.half_sz, ls.half_sz), in layout_section()
90 LayoutNames::BottomHalf => ("BOTTOM_HALF", 0, ls.half_sz), in layout_section()
91 LayoutNames::BottomQuad => ("BOTTOM_QUAD", 0, ls.quad_sz), in layout_section()