Lines Matching defs:layer
50 * Returns a layer large enough for the specified dimensions. If no suitable
51 * layer can be found, a new one is created and returned. If creating a new
52 * layer fails, NULL is returned.
54 * When a layer is obtained from the cache, it is removed and the total
57 * @param width The desired width of the layer
58 * @param height The desired height of the layer
63 * Adds the layer to the cache. The layer will not be added if there is
64 * not enough space available. Adding a layer can cause other layers to
67 * @param layer The layer to add to the cache
69 * @return True if the layer was added, false otherwise.
71 bool put(Layer* layer);
108 LayerEntry(Layer* layer):
109 mLayer(layer), mWidth(layer->getWidth()), mHeight(layer->getHeight()) {
131 void deleteLayer(Layer* layer);