Home
last modified time | relevance | path

Searched refs:candidate_node (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/ui/gfx/geometry/
Dr_tree_base.cc410 const NodeBase* candidate_node, in OverlapIncreaseToAdd() argument
412 DCHECK(candidate_node); in OverlapIncreaseToAdd()
415 if (candidate_node->rect().Contains(rect)) in OverlapIncreaseToAdd()
425 if ((*it) == candidate_node) in OverlapIncreaseToAdd()
429 candidate_node->rect(), overlap_node->rect()).size().GetArea(); in OverlapIncreaseToAdd()
506 NodeBase* candidate_node = children_[i]; in LeastAreaEnlargement() local
508 candidate_node->rect().size().GetArea(); in LeastAreaEnlargement()
511 best_node = candidate_node; in LeastAreaEnlargement()
514 candidate_node->rect().size().GetArea() < in LeastAreaEnlargement()
517 best_node = candidate_node; in LeastAreaEnlargement()
Dr_tree_base.h230 const NodeBase* candidate_node,
Dr_tree_unittest.cc138 const RTreeNodeBase* candidate_node, in NodeOverlapIncreaseToAdd() argument
140 return node->OverlapIncreaseToAdd(rect, candidate_node, expanded_rect); in NodeOverlapIncreaseToAdd()