Lines Matching refs:currentLayers

341     const LayerVector& currentLayers = mCurrentState.layersSortedByZ;
342 size_t count = currentLayers.size();
344 const sp<LayerBase>& layer(currentLayers[i]);
513 const LayerVector& currentLayers(mCurrentState.layersSortedByZ);
514 const size_t count = currentLayers.size();
524 const sp<LayerBase>& layer = currentLayers[i];
560 if (currentLayers.size() > mDrawingState.layersSortedByZ.size()) {
574 if (currentLayers.indexOf( layer ) < 0) {
586 const LayerVector& currentLayers, Region& dirtyRegion, Region& opaqueRegion)
599 size_t i = currentLayers.size();
601 const sp<LayerBase>& layer = currentLayers[i];
729 const LayerVector& currentLayers(mDrawingState.layersSortedByZ);
730 visibleRegions |= lockPageFlip(currentLayers);
736 computeVisibleRegions(currentLayers, mDirtyRegion, opaqueRegion);
741 const size_t count = currentLayers.size();
745 if (!currentLayers[i]->visibleRegionScreen.isEmpty())
746 mVisibleLayersSortedByZ.add(currentLayers[i]);
754 unlockPageFlip(currentLayers);
765 bool SurfaceFlinger::lockPageFlip(const LayerVector& currentLayers)
768 size_t count = currentLayers.size();
769 sp<LayerBase> const* layers = currentLayers.array();
777 void SurfaceFlinger::unlockPageFlip(const LayerVector& currentLayers)
781 size_t count = currentLayers.size();
782 sp<LayerBase> const* layers = currentLayers.array();
794 const Vector< sp<LayerBase> >& currentLayers(mVisibleLayersSortedByZ);
795 const size_t count = currentLayers.size();
799 currentLayers[i]->setGeometry(&cur[i]);
1523 const LayerVector& currentLayers = mCurrentState.layersSortedByZ;
1524 const size_t count = currentLayers.size();
1528 const sp<LayerBase>& layer(currentLayers[i]);