Lines Matching full:ancestor
346 const View* ancestor = view->parent_;
347 if (ancestor != NULL) {
348 ancestor_bounds.SetRect(0, 0, ancestor->width(), ancestor->height());
354 view = ancestor;
1510 // an ancestor with a layer.
1970 for (View* ancestor = parent_; ancestor; ancestor = ancestor->parent_)
1971 ancestor->AddDescendantToNotify(this);
1979 for (View* ancestor = parent_; ancestor; ancestor = ancestor->parent_)
1980 ancestor->RemoveDescendantToNotify(this);
2078 bool View::GetTransformRelativeTo(const View* ancestor,
2082 while (p && p != ancestor) {
2092 return p == ancestor;
2097 bool View::ConvertPointForAncestor(const View* ancestor,
2101 bool result = GetTransformRelativeTo(ancestor, &trans);
2108 bool View::ConvertPointFromAncestor(const View* ancestor,
2111 bool result = GetTransformRelativeTo(ancestor, &trans);
2118 bool View::ConvertRectForAncestor(const View* ancestor,
2122 bool result = GetTransformRelativeTo(ancestor, &trans);
2127 bool View::ConvertRectFromAncestor(const View* ancestor,
2130 bool result = GetTransformRelativeTo(ancestor, &trans);