Home
last modified time | relevance | path

Searched refs:compute_layout (Results 1 – 10 of 10) sorted by relevance

/external/rust/android-crates-io/crates/taffy/examples/
Dbasic.rs21 taffy.compute_layout( in main()
29 taffy.compute_layout(node, Size::MAX_CONTENT)?; in main()
Dflexbox_gap.rs20 taffy.compute_layout(root, Size::MAX_CONTENT)?; in main()
Dgrid_holy_grail.rs44 taffy.compute_layout(root, Size { width: length(800.0), height: length(600.0) })?; in main()
Dnested.rs41 taffy.compute_layout( in main()
Dcustom_tree_owned_partial.rs81 pub fn compute_layout(&mut self, available_space: Size<AvailableSpace>) { in compute_layout() method
253 root.compute_layout(Size::MAX_CONTENT); in main()
Dcustom_tree_owned_unsafe.rs82 pub fn compute_layout(&mut self, available_space: Size<AvailableSpace>, use_rounding: bool) { in compute_layout() method
275 root.compute_layout(Size::MAX_CONTENT, true); in main()
Dcustom_tree_vec.rs103 …pub fn compute_layout(&mut self, root: usize, available_space: Size<AvailableSpace>, use_rounding:… in compute_layout() method
289 tree.compute_layout(root_id, Size::MAX_CONTENT, true); in main()
/external/google-fruit/extras/scripts/
Danalyze_template_instantiations_clang_diagnostics.py208 def compute_layout(left_token, intermediate_node_factories, right_token, rhs_node_factory, current_… function
270 …return compute_layout(p_1, [], p_2, p_3, current_indent, current_line_length, inside_meta_type, la…
296 …return compute_layout(p_1, (p_2, *(p_3)), p_4, p_5, current_indent, current_line_length, inside_me…
/external/rust/android-crates-io/crates/taffy/
DREADME.md59 // Call compute_layout on the root of your tree to run the layout algorithm
60 tree.compute_layout(root_node, Size::MAX_CONTENT).unwrap();
/external/rust/android-crates-io/crates/taffy/src/tree/
Dtaffy_tree.rs908 …pub fn compute_layout(&mut self, node: NodeId, available_space: Size<AvailableSpace>) -> Result<()… in compute_layout() method
1299 taffy.compute_layout(node, Size::MAX_CONTENT).unwrap(); in test_mark_dirty()
1310 taffy.compute_layout(node, Size::MAX_CONTENT).unwrap(); in test_mark_dirty()
1326 let layout_result = taffy.compute_layout( in compute_layout_should_produce_valid_result()
1362 taffy.compute_layout(root, Size::MAX_CONTENT).unwrap(); in make_sure_layout_location_is_top_left()