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