Home | History | Annotate | Download | only in views

Lines Matching refs:ancestor

394     const View* ancestor = view->parent_;
395 if (ancestor != NULL) {
396 ancestor_bounds.SetRect(0, 0, ancestor->width(), ancestor->height());
402 view = ancestor;
1552 // an ancestor with a layer.
2003 for (View* ancestor = parent_; ancestor; ancestor = ancestor->parent_)
2004 ancestor->AddDescendantToNotify(this);
2012 for (View* ancestor = parent_; ancestor; ancestor = ancestor->parent_)
2013 ancestor->RemoveDescendantToNotify(this);
2039 bool View::GetTransformRelativeTo(const View* ancestor,
2043 while (p && p != ancestor) {
2053 return p == ancestor;
2058 bool View::ConvertPointForAncestor(const View* ancestor,
2062 bool result = GetTransformRelativeTo(ancestor, &trans);
2069 bool View::ConvertPointFromAncestor(const View* ancestor,
2072 bool result = GetTransformRelativeTo(ancestor, &trans);
2079 bool View::ConvertRectForAncestor(const View* ancestor,
2083 bool result = GetTransformRelativeTo(ancestor, &trans);
2088 bool View::ConvertRectFromAncestor(const View* ancestor,
2091 bool result = GetTransformRelativeTo(ancestor, &trans);