Lines Matching refs:layers
82 : lookup(rhs.lookup), layers(rhs.layers)
94 LOGE_IF(layers[idx]!=key,
95 "LayerVector[%p]: layers[%d]=%p, key=%p",
96 this, int(idx), layers[idx].get(), key.get());
106 size_t count = layers.size();
110 sp<LayerBase> const* a = layers.array();
128 layers.insertAt(layer, order);
138 LOGE_IF(layers[index]!=layer,
139 "LayerVector[%p]: layers[%u]=%p, layer=%p",
140 this, int(index), layers[index].get(), layer.get());
141 layers.removeItemsAt(index);
253 // free all the layers this client owns
254 Vector< wp<LayerBaseClient> > layers(client->getLayers());
255 const size_t count = layers.size();
257 sp<LayerBaseClient> layer(layers[i].promote());
638 // layers have been added
642 // some layers might have been removed, so
660 // (layers and clients)
742 // subtract the opaque region covered by the layers above us
828 sp<LayerBase> const* layers = currentLayers.array();
830 const sp<LayerBase>& layer = layers[i];
841 sp<LayerBase> const* layers = currentLayers.array();
843 const sp<LayerBase>& layer = layers[i];
915 sp<LayerBase> const* const layers = drawingLayers.array();
917 const sp<LayerBase>& layer = layers[i];
932 sp<LayerBase> const* const layers = drawingLayers.array();
934 const sp<LayerBase>& layer = layers[i];