Lines Matching refs:Layer
215 ANDROID_API void pushLayerUpdate(Layer* layer);
216 ANDROID_API void cancelLayerUpdate(Layer* layer);
285 virtual status_t drawLayer(Layer* layer, float x, float y);
334 // If this value is set to < 1.0, it overrides alpha set on layer (see drawBitmap, drawLayer)
463 * Call this method after updating a layer during a drawing pass.
470 * appropriate layer(s).
476 * attaches it to the specified layer.
478 void attachStencilBufferToLayer(Layer* layer);
481 * Compose the layer defined in the current snapshot with the layer
484 * The current snapshot *must* be a layer (flag kFlagIsLayer set.)
486 * @param curent The current snapshot containing the layer to compose
487 * @param previous The previous snapshot to compose the current layer with
504 * Returns the region of the current layer.
511 * Indicates whether rendering is currently targeted at a layer.
525 * Renders the specified layer as a textured quad.
527 * @param layer The layer to render
528 * @param rect The bounds of the layer
530 void drawTextureLayer(Layer* layer, const Rect& rect);
544 * Gets the alpha from a layer, accounting for snapshot alpha and overrideLayerAlpha
546 * @param layer The layer from which the alpha is extracted
548 inline float getLayerAlpha(Layer* layer) const;
636 * Given the local bounds of the layer, calculates ...
641 * Given the local bounds + clip of the layer, updates current snapshot's empty/invisible
647 * Creates a new layer stored in the specified snapshot.
649 * @param snapshot The snapshot associated with the new layer
650 * @param left The left coordinate of the layer
651 * @param top The top coordinate of the layer
652 * @param right The right coordinate of the layer
653 * @param bottom The bottom coordinate of the layer
654 * @param alpha The translucency of the layer
655 * @param mode The blending mode of the layer
656 * @param flags The layer save flags
659 * @return True if the layer was successfully created, false otherwise
665 * Creates a new layer stored in the specified snapshot as an FBO.
667 * @param layer The layer to store as an FBO
668 * @param snapshot The snapshot associated with the new layer
669 * @param bounds The bounds of the layer
672 bool createFboLayer(Layer* layer, Rect& bounds, Rect& clip, GLuint previousFbo);
675 * Compose the specified layer as a region.
677 * @param layer The layer to compose
678 * @param rect The layer's bounds
680 void composeLayerRegion(Layer* layer, const Rect& rect);
683 * Compose the specified layer as a simple rectangle.
685 * @param layer The layer to compose
686 * @param rect The layer's bounds
689 void composeLayerRect(Layer* layer, const Rect& rect, bool swap = false);
698 * Mark the layer as dirty at the specified coordinates. The coordinates
705 * Mark the layer as dirty at the specified coordinates.
736 * @param dirty True if calling this method should dirty the current layer
835 * @param dirty True if calling this method should dirty the current layer
875 * Draws shadow layer on text (with optional positions).
1003 bool updateLayer(Layer* layer, bool inFrame);
1093 Vector<Layer*> mLayerUpdates;
1129 friend class Layer;