Home | History | Annotate | Download | only in input

Lines Matching defs:Sprite

30  * Transformation matrix for a sprite.
55 * Icon that a sprite displays, including its hotspot.
84 * A sprite is a simple graphical object that is displayed on-screen above other layers.
85 * The basic sprite class is an interface.
86 * The implementation is provided by the sprite controller.
88 class Sprite : public RefBase {
90 Sprite() { }
91 virtual ~Sprite() { }
102 /* Sets the bitmap that is drawn by the sprite.
103 * The sprite retains a copy of the bitmap for subsequent rendering. */
110 /* Sets whether the sprite is visible. */
113 /* Sets the sprite position on screen, relative to the sprite's hot spot. */
116 /* Sets the layer of the sprite, relative to the system sprite overlay layer.
120 /* Sets the sprite alpha blend ratio between 0.0 and 1.0. */
123 /* Sets the sprite transformation matrix. */
134 * All sprite position updates and rendering is performed asynchronously.
145 /* Creates a new sprite, initially invisible. */
146 sp<Sprite> createSprite();
148 /* Opens or closes a transaction to perform a batch of sprite updates as part of
172 /* Describes the state of a sprite.
205 /* Client interface for a sprite.
207 * controller to invalidate the sprite.
210 * the sprite state before the work and update the sprite surface control afterwards.
212 class SpriteImpl : public Sprite {
253 /* Stores temporary information collected during the sprite update cycle. */
256 inline SpriteUpdate(const sp<SpriteImpl> sprite, const SpriteState& state) :
257 sprite(sprite), state(state), surfaceChanged(false) {
260 sp<SpriteImpl> sprite;
280 void invalidateSpriteLocked(const sp<SpriteImpl>& sprite);