• Home
  • Raw
  • Download

Lines Matching refs:surfaceControl

91 void SpriteController::disposeSurfaceLocked(const sp<SurfaceControl>& surfaceControl) {  in disposeSurfaceLocked()  argument
93 mLocked.disposedSurfaces.push_back(surfaceControl); in disposeSurfaceLocked()
125 if (update.state.surfaceControl == NULL && update.state.wantSurfaceVisible()) { in doUpdateSprites()
130 update.state.surfaceControl = in doUpdateSprites()
133 if (update.state.surfaceControl != NULL) { in doUpdateSprites()
144 if (update.state.surfaceControl == nullptr) { in doUpdateSprites()
156 update.state.surfaceControl->updateDefaultBufferSize(desiredWidth, desiredHeight); in doUpdateSprites()
163 t.hide(update.state.surfaceControl); in doUpdateSprites()
171 t.reparent(update.state.surfaceControl, mParentSurfaceProvider(update.state.displayId)); in doUpdateSprites()
188 if (update.state.surfaceControl != NULL && !update.state.surfaceDrawn in doUpdateSprites()
190 sp<Surface> surface = update.state.surfaceControl->getSurface(); in doUpdateSprites()
206 if (update.state.surfaceControl != NULL && in doUpdateSprites()
217 t.setAlpha(update.state.surfaceControl, in doUpdateSprites()
225 update.state.surfaceControl, in doUpdateSprites()
234 update.state.surfaceControl, in doUpdateSprites()
254 t.setMetadata(update.state.surfaceControl, gui::METADATA_MOUSE_CURSOR, p); in doUpdateSprites()
260 t.setLayer(update.state.surfaceControl, surfaceLayer); in doUpdateSprites()
267 t.setFlags(update.state.surfaceControl, flags, in doUpdateSprites()
272 t.show(update.state.surfaceControl); in doUpdateSprites()
277 t.hide(update.state.surfaceControl); in doUpdateSprites()
300 update.sprite->setSurfaceLocked(update.state.surfaceControl, in doUpdateSprites()
357 const sp<SurfaceControl> surfaceControl = in obtainSurface() local
361 if (surfaceControl == nullptr || !surfaceControl->isValid()) { in obtainSurface()
365 return surfaceControl; in obtainSurface()
395 if (mLocked.state.surfaceControl != NULL) { in ~SpriteImpl()
396 mController.disposeSurfaceLocked(mLocked.state.surfaceControl); in ~SpriteImpl()
397 mLocked.state.surfaceControl.clear(); in ~SpriteImpl()