• Home
  • Raw
  • Download

Lines Matching refs:relative

818 void Layer::removeZOrderRelative(const wp<Layer>& relative) {  in removeZOrderRelative()  argument
819 mDrawingState.zOrderRelatives.remove(relative); in removeZOrderRelative()
825 void Layer::addZOrderRelative(const wp<Layer>& relative) { in addZOrderRelative() argument
826 mDrawingState.zOrderRelatives.add(relative); in addZOrderRelative()
842 sp<Layer> relative = fromHandle(relativeToHandle).promote(); in setRelativeLayer() local
843 if (relative == nullptr) { in setRelativeLayer()
848 mDrawingState.zOrderRelativeOf == relative) { in setRelativeLayer()
852 if (CC_UNLIKELY(relative->usingRelativeZ(LayerVector::StateSet::Drawing)) && in setRelativeLayer()
853 (relative->mDrawingState.zOrderRelativeOf == this)) { in setRelativeLayer()
855 mName.c_str(), relative->mName.c_str()); in setRelativeLayer()
870 setZOrderRelativeOf(relative); in setRelativeLayer()
871 relative->addZOrderRelative(this); in setRelativeLayer()
1725 const auto& relative = list[i]; in traverseInZOrder() local
1726 if (skipRelativeZUsers && relative->usingRelativeZ(stateSet)) { in traverseInZOrder()
1730 if (relative->getZ(stateSet) >= 0) { in traverseInZOrder()
1733 relative->traverseInZOrder(stateSet, visitor); in traverseInZOrder()
1738 const auto& relative = list[i]; in traverseInZOrder() local
1740 if (skipRelativeZUsers && relative->usingRelativeZ(stateSet)) { in traverseInZOrder()
1743 relative->traverseInZOrder(stateSet, visitor); in traverseInZOrder()
1758 const auto& relative = list[i]; in traverseInReverseZOrder() local
1760 if (skipRelativeZUsers && relative->usingRelativeZ(stateSet)) { in traverseInReverseZOrder()
1764 if (relative->getZ(stateSet) < 0) { in traverseInReverseZOrder()
1767 relative->traverseInReverseZOrder(stateSet, visitor); in traverseInReverseZOrder()
1771 const auto& relative = list[i]; in traverseInReverseZOrder() local
1773 if (skipRelativeZUsers && relative->usingRelativeZ(stateSet)) { in traverseInReverseZOrder()
1777 relative->traverseInReverseZOrder(stateSet, visitor); in traverseInReverseZOrder()
1830 const auto& relative = list[i]; in traverseChildrenInZOrderInner() local
1831 if (relative->getZ(stateSet) >= 0) { in traverseChildrenInZOrderInner()
1834 relative->traverseChildrenInZOrderInner(layersInTree, stateSet, visitor); in traverseChildrenInZOrderInner()
1839 const auto& relative = list[i]; in traverseChildrenInZOrderInner() local
1840 relative->traverseChildrenInZOrderInner(layersInTree, stateSet, visitor); in traverseChildrenInZOrderInner()
2575 const sp<Layer>& relative = relativeWeak.promote(); in updateClonedRelatives() local
2576 if (clonedLayersMap.count(relative) > 0) { in updateClonedRelatives()
2577 auto& clonedRelative = clonedLayersMap.at(relative); in updateClonedRelatives()