Lines Matching refs:surfaceControl
94 void SpriteController::disposeSurfaceLocked(const sp<SurfaceControl>& surfaceControl) { in disposeSurfaceLocked() argument
96 mLocked.disposedSurfaces.push(surfaceControl); in disposeSurfaceLocked()
139 if (update.state.surfaceControl == NULL && update.state.wantSurfaceVisible()) { in doUpdateSprites()
144 update.state.surfaceControl = obtainSurface( in doUpdateSprites()
146 if (update.state.surfaceControl != NULL) { in doUpdateSprites()
157 if (update.state.surfaceControl != NULL && update.state.wantSurfaceVisible()) { in doUpdateSprites()
167 status_t status = update.state.surfaceControl->setSize(desiredWidth, desiredHeight); in doUpdateSprites()
179 status = update.state.surfaceControl->hide(); in doUpdateSprites()
203 if (update.state.surfaceControl != NULL && !update.state.surfaceDrawn in doUpdateSprites()
205 sp<Surface> surface = update.state.surfaceControl->getSurface(); in doUpdateSprites()
253 if (update.state.surfaceControl != NULL && (becomingVisible || becomingHidden in doUpdateSprites()
265 status = update.state.surfaceControl->setAlpha(update.state.alpha); in doUpdateSprites()
274 status = update.state.surfaceControl->setPosition( in doUpdateSprites()
285 status = update.state.surfaceControl->setMatrix( in doUpdateSprites()
298 status = update.state.surfaceControl->setLayer(surfaceLayer); in doUpdateSprites()
305 status = update.state.surfaceControl->show(); in doUpdateSprites()
313 status = update.state.surfaceControl->hide(); in doUpdateSprites()
336 update.sprite->setSurfaceLocked(update.state.surfaceControl, in doUpdateSprites()
375 sp<SurfaceControl> surfaceControl = mSurfaceComposerClient->createSurface( in obtainSurface() local
379 if (surfaceControl == NULL || !surfaceControl->isValid()) { in obtainSurface()
383 return surfaceControl; in obtainSurface()
398 if (mLocked.state.surfaceControl != NULL) { in ~SpriteImpl()
399 mController->disposeSurfaceLocked(mLocked.state.surfaceControl); in ~SpriteImpl()
400 mLocked.state.surfaceControl.clear(); in ~SpriteImpl()