Searched defs:sprite (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/libs/input/
H A DPointerController.h75 * Tracks pointer movements and draws the pointer sprite to a surface.
126 sp<Sprite> sprite; member in struct:android::PointerController::Spot
131 inline Spot(uint32_t id, const sp<Sprite>& sprite) argument
132 : id(id), sprite(sprite), alpha(1.0f), scale(1.0f),
H A DSpriteController.cpp73 "Sprite closeTransaction() called but there is no open sprite transaction");
82 void SpriteController::invalidateSpriteLocked(const sp<SpriteImpl>& sprite) { argument
84 mLocked.invalidatedSprites.push(sprite);
114 // Collect information about sprite updates.
115 // Each sprite update record includes a reference to its associated sprite so we can
126 const sp<SpriteImpl>& sprite = mLocked.invalidatedSprites.itemAt(i); local
128 updates.push(SpriteUpdate(sprite, sprite->getStateLocked()));
129 sprite
[all...]
H A DSpriteController.h30 * 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.
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'
256 SpriteUpdate(const sp<SpriteImpl> sprite, const SpriteState& state) argument
260 sp<SpriteImpl> sprite; member in struct:android::SpriteController::SpriteUpdate
[all...]
H A DPointerController.cpp538 spot->sprite->setAlpha(spot->alpha);
660 // Obtain a sprite from the recycled pool.
661 sp<Sprite> sprite; local
663 sprite = mLocked.recycledSprites.top();
666 sprite = mSpriteController->createSprite();
670 Spot* spot = new Spot(id, sprite);
687 spot->sprite->clearIcon();
690 mLocked.recycledSprites.push(spot->sprite);
718 sprite->setLayer(Sprite::BASE_LAYER_SPOT + id);
719 sprite
[all...]

Completed in 2577 milliseconds