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.
87 * A sprite is a simple graphical object that is displayed on-screen above other layers.
88 * The basic sprite class is an interface.
89 * The implementation is provided by the sprite controller.
91 class Sprite : public RefBase {
93 Sprite() { }
94 virtual ~Sprite() { }
105 /* Sets the bitmap that is drawn by the sprite.
106 * The sprite retains a copy of the bitmap for subsequent rendering. */
113 /* Sets whether the sprite is visible. */
116 /* Sets the sprite position on screen, relative to the sprite's hot spot. */
119 /* Sets the layer of the sprite, relative to the system sprite overlay layer.
123 /* Sets the sprite alpha blend ratio between 0.0 and 1.0. */
126 /* Sets the sprite transformation matrix. */
137 * All sprite position updates and rendering is performed asynchronously.
148 /* Creates a new sprite, initially invisible. */
149 sp<Sprite> createSprite();
151 /* Opens or closes a transaction to perform a batch of sprite updates as part of
175 /* Describes the state of a sprite.
208 /* Client interface for a sprite.
210 * controller to invalidate the sprite.
213 * the sprite state before the work and update the sprite surface control afterwards.
215 class SpriteImpl : public Sprite {
256 /* Stores temporary information collected during the sprite update cycle. */
259 inline SpriteUpdate(const sp<SpriteImpl> sprite, const SpriteState& state) :
260 sprite(sprite), state(state), surfaceChanged(false) {
263 sp<SpriteImpl> sprite;
283 void invalidateSpriteLocked(const sp<SpriteImpl>& sprite);