Lines Matching refs:context

528   function _line_length_delta(&$context) {  argument
529 return max($this->get_available_width($context) - $this->_line_length(),0);
547 function get_min_width_natural(&$context) { argument
566 $min_width = $this->get_min_nowrap_width($context);
583 $this->content[$start_index]->get_min_width_natural($context);
591 $minw = max($minw, $item->get_min_width($context));
605 function get_min_width(&$context) { argument
607 return $strategy->apply($this, $context);
610 function get_min_nowrap_width(&$context) { argument
612 return $strategy->apply($this, $context);
618 function get_max_width_natural(&$context, $limit=10E6) { argument
620 return $strategy->apply($this, $context);
623 function get_max_width(&$context, $limit=10E6) { argument
625 return $strategy->apply($this, $context);
628 function close_line(&$context, $lastline = false) { argument
647 $cb($this, $context, $lastline);
652 $cb($this, $context, $lastline);
813 $this->_deferred_floats[$i]->reflow_static_float($this, $context);
819 $this->_current_x = $context->float_left_x($this->_current_x, $this->_current_y);
854 function fitFloats(&$context) { argument
855 $float_bottom = $context->float_bottom();
860 $float_right = $context->float_right();
866 function reflow_content(&$context) { argument
869 $this->close_line($context);
889 $child->reflow($this, $context);
892 $this->close_line($context, true);
915 function reflow_static_float(&$parent, &$context) { argument
927 $this->_calc_percentage_width($parent, $context);
934 $this->put_full_width($this->get_max_width_natural($context, $this->parent->get_width()));
938 $y = $this->apply_clear($parent->_current_y, $context);
942 $context->float_right_xy($parent, $this->get_full_width(), $x, $y);
945 $context->float_left_xy($parent, $this->get_full_width(), $x, $y);
956 $context->push_floats();
959 $context->push_collapsed_margin(0);
961 $this->reflow_content($context);
963 $context->pop_collapsed_margin();
967 $this->fitFloats($context);
970 $context->pop_floats();
973 $context->add_float($this);
981 $parent->_current_x = $context->float_left_x($parent->_current_x, $parent->_current_y);
1063 function get_available_width(&$context) { argument
1064 …$left_float_width = $context->float_left_x($this->get_left(), $this->_current_y) - $this->get_left…
1065 …$right_float_width = $this->get_right() - $context->float_right_x($this->get_right(), $this->_curr…