Lines Matching defs:sprite
59 sp<Sprite> SpriteController::createSprite() {
73 "Sprite closeTransaction() called but there is no open sprite transaction");
82 void SpriteController::invalidateSpriteLocked(const sp<SpriteImpl>& sprite) {
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);
128 updates.push(SpriteUpdate(sprite, sprite->getStateLocked()));
129 sprite->resetDirtyLocked();
169 ALOGE("Error %d resizing sprite surface from %dx%d to %dx%d",
181 ALOGE("Error %d hiding sprite surface after resize.", status);
209 ALOGE("Error %d locking sprite surface before drawing.", status);
235 ALOGE("Error %d unlocking and posting sprite surface after drawing.", status);
244 // Set sprite surface properties and make them visible.
267 ALOGE("Error %d setting sprite surface alpha.", status);
278 ALOGE("Error %d setting sprite surface position.", status);
291 ALOGE("Error %d setting sprite surface transformation matrix.", status);
300 ALOGE("Error %d setting sprite surface layer.", status);
307 ALOGE("Error %d showing sprite surface.", status);
315 ALOGE("Error %d hiding sprite surface.", status);
336 update.sprite->setSurfaceLocked(update.state.surfaceControl,
343 // Clear the sprite update vector outside the lock. It is very important that
344 // we do not clear sprite references inside the lock since we could be releasing
345 // the last remaining reference to the sprite here which would result in the
346 // sprite being deleted and the lock being reacquired by the sprite destructor
376 String8("Sprite"), width, height, PIXEL_FORMAT_RGBA_8888,
380 ALOGE("Error creating sprite surface.");
396 // Let the controller take care of deleting the last reference to sprite