Lines Matching refs:stateSet

1623 bool Layer::usingRelativeZ(LayerVector::StateSet stateSet) const {  in usingRelativeZ()
1624 const bool useDrawing = stateSet == LayerVector::StateSet::Drawing; in usingRelativeZ()
1630 LayerVector::StateSet stateSet, bool* outSkipRelativeZUsers) { in makeTraversalList() argument
1631 LOG_ALWAYS_FATAL_IF(stateSet == LayerVector::StateSet::Invalid, in makeTraversalList()
1633 const bool useDrawing = stateSet == LayerVector::StateSet::Drawing; in makeTraversalList()
1642 LayerVector traverse(stateSet); in makeTraversalList()
1664 void Layer::traverseInZOrder(LayerVector::StateSet stateSet, const LayerVector::Visitor& visitor) { in traverseInZOrder() argument
1672 const LayerVector list = makeTraversalList(stateSet, &skipRelativeZUsers); in traverseInZOrder()
1677 if (skipRelativeZUsers && relative->usingRelativeZ(stateSet)) { in traverseInZOrder()
1684 relative->traverseInZOrder(stateSet, visitor); in traverseInZOrder()
1691 if (skipRelativeZUsers && relative->usingRelativeZ(stateSet)) { in traverseInZOrder()
1694 relative->traverseInZOrder(stateSet, visitor); in traverseInZOrder()
1701 void Layer::traverseInReverseZOrder(LayerVector::StateSet stateSet, in traverseInReverseZOrder() argument
1705 LayerVector list = makeTraversalList(stateSet, &skipRelativeZUsers); in traverseInReverseZOrder()
1711 if (skipRelativeZUsers && relative->usingRelativeZ(stateSet)) { in traverseInReverseZOrder()
1718 relative->traverseInReverseZOrder(stateSet, visitor); in traverseInReverseZOrder()
1724 if (skipRelativeZUsers && relative->usingRelativeZ(stateSet)) { in traverseInReverseZOrder()
1728 relative->traverseInReverseZOrder(stateSet, visitor); in traverseInReverseZOrder()
1732 LayerVector Layer::makeChildrenTraversalList(LayerVector::StateSet stateSet, in makeChildrenTraversalList() argument
1734 LOG_ALWAYS_FATAL_IF(stateSet == LayerVector::StateSet::Invalid, in makeChildrenTraversalList()
1736 const bool useDrawing = stateSet == LayerVector::StateSet::Drawing; in makeChildrenTraversalList()
1740 LayerVector traverse(stateSet); in makeChildrenTraversalList()
1766 LayerVector::StateSet stateSet, in traverseChildrenInZOrderInner() argument
1768 const LayerVector list = makeChildrenTraversalList(stateSet, layersInTree); in traverseChildrenInZOrderInner()
1776 relative->traverseChildrenInZOrderInner(layersInTree, stateSet, visitor); in traverseChildrenInZOrderInner()
1782 relative->traverseChildrenInZOrderInner(layersInTree, stateSet, visitor); in traverseChildrenInZOrderInner()
1786 std::vector<Layer*> Layer::getLayersInTree(LayerVector::StateSet stateSet) { in getLayersInTree() argument
1787 const bool useDrawing = stateSet == LayerVector::StateSet::Drawing; in getLayersInTree()
1793 std::vector<Layer*> childLayers = child->getLayersInTree(stateSet); in getLayersInTree()
1800 void Layer::traverseChildrenInZOrder(LayerVector::StateSet stateSet, in traverseChildrenInZOrder() argument
1802 std::vector<Layer*> layersInTree = getLayersInTree(stateSet); in traverseChildrenInZOrder()
1804 traverseChildrenInZOrderInner(layersInTree, stateSet, visitor); in traverseChildrenInZOrder()
1925 void Layer::writeToProtoCommonState(LayerProto* layerInfo, LayerVector::StateSet stateSet, in writeToProtoCommonState() argument
1927 const bool useDrawing = stateSet == LayerVector::StateSet::Drawing; in writeToProtoCommonState()