Lines Matching refs:child

125         SkView*    child;  in draw()  local
129 while ((child = iter.next()) != nullptr) in draw()
130 child->draw(childCanvas); in draw()
210 SkView* child, *focus; in acceptFocus() local
211 while ((child = iter.next()) != nullptr) { in acceptFocus()
212 if ((focus = child->acceptFocus(dir)) != nullptr) { in acceptFocus()
218 SkView* child, *focus; in acceptFocus() local
219 while ((child = iter.next()) != nullptr) { in acceptFocus()
220 if ((focus = child->acceptFocus(dir)) != nullptr) { in acceptFocus()
241 SkView* child, *parent; in moveFocus() local
245 child = focus->fFirstChild; in moveFocus()
246 if (child) in moveFocus()
252 while (child != parent->fFirstChild) { in moveFocus()
254 if ((focus = child->acceptFocus(dir)) != nullptr) in moveFocus()
256 child = child->fNextSibling; in moveFocus()
259 child = parent->fNextSibling; in moveFocus()
267 child = focus; in moveFocus()
269 while (child != parent->fFirstChild) { in moveFocus()
270 child = child->fPrevSibling; in moveFocus()
271 if ((focus = child->acceptFocus(dir)) != nullptr) { in moveFocus()
278 child = parent; in moveFocus()
351 SkView* child; in findClickHandler() local
353 while ((child = iter.next()) != nullptr) { in findClickHandler()
356 if (!child->globalToLocal(x, y, &p)) { in findClickHandler()
361 p.set(x - child->fLoc.x(), y - child->fLoc.y()); in findClickHandler()
364 Click* click = child->findClickHandler(p.fX, p.fY, modi); in findClickHandler()
531 SkView* SkView::attachChildToBack(SkView* child) { in attachChildToBack() argument
533 SkASSERT(child != this); in attachChildToBack()
535 if (child == nullptr || fFirstChild == child) in attachChildToBack()
538 child->ref(); in attachChildToBack()
539 child->detachFromParent_NoLayout(); in attachChildToBack()
542 child->fNextSibling = child; in attachChildToBack()
543 child->fPrevSibling = child; in attachChildToBack()
545 child->fNextSibling = fFirstChild; in attachChildToBack()
546 child->fPrevSibling = fFirstChild->fPrevSibling; in attachChildToBack()
547 fFirstChild->fPrevSibling->fNextSibling = child; in attachChildToBack()
548 fFirstChild->fPrevSibling = child; in attachChildToBack()
551 fFirstChild = child; in attachChildToBack()
552 child->fParent = this; in attachChildToBack()
553 child->inval(nullptr); in attachChildToBack()
558 return child; in attachChildToBack()
561 SkView* SkView::attachChildToFront(SkView* child) { in attachChildToFront() argument
563 SkASSERT(child != this); in attachChildToFront()
565 if (child == nullptr || (fFirstChild && fFirstChild->fPrevSibling == child)) in attachChildToFront()
568 child->ref(); in attachChildToFront()
569 child->detachFromParent_NoLayout(); in attachChildToFront()
572 fFirstChild = child; in attachChildToFront()
573 child->fNextSibling = child; in attachChildToFront()
574 child->fPrevSibling = child; in attachChildToFront()
576 child->fNextSibling = fFirstChild; in attachChildToFront()
577 child->fPrevSibling = fFirstChild->fPrevSibling; in attachChildToFront()
578 fFirstChild->fPrevSibling->fNextSibling = child; in attachChildToFront()
579 fFirstChild->fPrevSibling = child; in attachChildToFront()
582 child->fParent = this; in attachChildToFront()
583 child->inval(nullptr); in attachChildToFront()
588 return child; in attachChildToFront()
676 SkView* child; in postInflate() local
677 while ((child = iter.next()) != nullptr) in postInflate()
678 child->postInflate(dict); in postInflate()
785 SkView* child; in dumpview() local
788 while ((child = iter.next()) != nullptr) { in dumpview()
793 dumpview(child, level + 1, true); in dumpview()