Lines Matching refs:relative
995 void Layer::removeZOrderRelative(const wp<Layer>& relative) { in removeZOrderRelative() argument
996 mCurrentState.zOrderRelatives.remove(relative); in removeZOrderRelative()
1002 void Layer::addZOrderRelative(const wp<Layer>& relative) { in addZOrderRelative() argument
1003 mCurrentState.zOrderRelatives.add(relative); in addZOrderRelative()
1021 sp<Layer> relative = handle->owner.promote(); in setRelativeLayer() local
1022 if (relative == nullptr) { in setRelativeLayer()
1027 mCurrentState.zOrderRelativeOf == relative) { in setRelativeLayer()
1039 setZOrderRelativeOf(relative); in setRelativeLayer()
1040 relative->addZOrderRelative(this); in setRelativeLayer()
1676 const auto& relative = list[i]; in traverseInZOrder() local
1677 if (skipRelativeZUsers && relative->usingRelativeZ(stateSet)) { in traverseInZOrder()
1681 if (relative->getZ() >= 0) { in traverseInZOrder()
1684 relative->traverseInZOrder(stateSet, visitor); in traverseInZOrder()
1689 const auto& relative = list[i]; in traverseInZOrder() local
1691 if (skipRelativeZUsers && relative->usingRelativeZ(stateSet)) { in traverseInZOrder()
1694 relative->traverseInZOrder(stateSet, visitor); in traverseInZOrder()
1709 const auto& relative = list[i]; in traverseInReverseZOrder() local
1711 if (skipRelativeZUsers && relative->usingRelativeZ(stateSet)) { in traverseInReverseZOrder()
1715 if (relative->getZ() < 0) { in traverseInReverseZOrder()
1718 relative->traverseInReverseZOrder(stateSet, visitor); in traverseInReverseZOrder()
1722 const auto& relative = list[i]; in traverseInReverseZOrder() local
1724 if (skipRelativeZUsers && relative->usingRelativeZ(stateSet)) { in traverseInReverseZOrder()
1728 relative->traverseInReverseZOrder(stateSet, visitor); in traverseInReverseZOrder()
1772 const auto& relative = list[i]; in traverseChildrenInZOrderInner() local
1773 if (relative->getZ() >= 0) { in traverseChildrenInZOrderInner()
1776 relative->traverseChildrenInZOrderInner(layersInTree, stateSet, visitor); in traverseChildrenInZOrderInner()
1781 const auto& relative = list[i]; in traverseChildrenInZOrderInner() local
1782 relative->traverseChildrenInZOrderInner(layersInTree, stateSet, visitor); in traverseChildrenInZOrderInner()