Lines Matching refs:surfaceControl

82 void SpriteController::disposeSurfaceLocked(const sp<SurfaceControl>& surfaceControl) {  in disposeSurfaceLocked()  argument
84 mLocked.disposedSurfaces.push(surfaceControl); in disposeSurfaceLocked()
127 if (update.state.surfaceControl == NULL && update.state.wantSurfaceVisible()) { in doUpdateSprites()
132 update.state.surfaceControl = obtainSurface( in doUpdateSprites()
134 if (update.state.surfaceControl != NULL) { in doUpdateSprites()
145 if (update.state.surfaceControl == nullptr) { in doUpdateSprites()
156 t.setSize(update.state.surfaceControl, in doUpdateSprites()
164 t.hide(update.state.surfaceControl); in doUpdateSprites()
172 t.setLayerStack(update.state.surfaceControl, update.state.displayId); in doUpdateSprites()
189 if (update.state.surfaceControl != NULL && !update.state.surfaceDrawn in doUpdateSprites()
191 sp<Surface> surface = update.state.surfaceControl->getSurface(); in doUpdateSprites()
207 if (update.state.surfaceControl != NULL && (becomingVisible || becomingHidden in doUpdateSprites()
216 t.setAlpha(update.state.surfaceControl, in doUpdateSprites()
224 update.state.surfaceControl, in doUpdateSprites()
233 update.state.surfaceControl, in doUpdateSprites()
252 update.state.surfaceControl, METADATA_MOUSE_CURSOR, p); in doUpdateSprites()
258 t.setLayer(update.state.surfaceControl, surfaceLayer); in doUpdateSprites()
262 t.show(update.state.surfaceControl); in doUpdateSprites()
267 t.hide(update.state.surfaceControl); in doUpdateSprites()
290 update.sprite->setSurfaceLocked(update.state.surfaceControl, in doUpdateSprites()
329 sp<SurfaceControl> surfaceControl = mSurfaceComposerClient->createSurface( in obtainSurface() local
333 if (surfaceControl == NULL || !surfaceControl->isValid()) { in obtainSurface()
337 return surfaceControl; in obtainSurface()
352 if (mLocked.state.surfaceControl != NULL) { in ~SpriteImpl()
353 mController->disposeSurfaceLocked(mLocked.state.surfaceControl); in ~SpriteImpl()
354 mLocked.state.surfaceControl.clear(); in ~SpriteImpl()