Home
last modified time | relevance | path

Searched refs:surfaceControl (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/libs/input/
DSpriteController.cpp93 void SpriteController::disposeSurfaceLocked(const sp<SurfaceControl>& surfaceControl) { in disposeSurfaceLocked() argument
95 mLocked.disposedSurfaces.push(surfaceControl); in disposeSurfaceLocked()
138 if (update.state.surfaceControl == NULL && update.state.wantSurfaceVisible()) { in doUpdateSprites()
143 update.state.surfaceControl = obtainSurface( in doUpdateSprites()
145 if (update.state.surfaceControl != NULL) { in doUpdateSprites()
156 if (update.state.surfaceControl != NULL && update.state.wantSurfaceVisible()) { in doUpdateSprites()
166 status_t status = update.state.surfaceControl->setSize(desiredWidth, desiredHeight); in doUpdateSprites()
178 status = update.state.surfaceControl->hide(); in doUpdateSprites()
202 if (update.state.surfaceControl != NULL && !update.state.surfaceDrawn in doUpdateSprites()
204 sp<Surface> surface = update.state.surfaceControl->getSurface(); in doUpdateSprites()
[all …]
DSpriteController.h197 sp<SurfaceControl> surfaceControl; member
237 inline void setSurfaceLocked(const sp<SurfaceControl>& surfaceControl, in setSurfaceLocked() argument
239 mLocked.state.surfaceControl = surfaceControl; in setSurfaceLocked()
284 void disposeSurfaceLocked(const sp<SurfaceControl>& surfaceControl);
/frameworks/native/cmds/surfacereplayer/replayer/
DBufferQueueScheduler.cpp26 const sp<SurfaceControl>& surfaceControl, const HSV& color, int id) in BufferQueueScheduler() argument
27 : mSurfaceControl(surfaceControl), mColor(color), mSurfaceId(id), mContinueScheduling(true) {} in BufferQueueScheduler()
68 const sp<SurfaceControl>& surfaceControl, const HSV& color) { in setSurfaceControl() argument
70 mSurfaceControl = surfaceControl; in setSurfaceControl()
DBufferQueueScheduler.h55 BufferQueueScheduler(const sp<SurfaceControl>& surfaceControl, const HSV& color, int id);
61 void setSurfaceControl(const sp<SurfaceControl>& surfaceControl, const HSV& color);
DReplayer.cpp585 sp<SurfaceControl> surfaceControl = mComposerClient->createSurface( in createSurfaceControl() local
588 if (surfaceControl == nullptr) { in createSurfaceControl()
595 layer = surfaceControl; in createSurfaceControl()
/frameworks/av/camera/tests/
DCameraZSLTests.cpp169 sp<SurfaceControl> surfaceControl; in TEST_F() local
249 surfaceControl = mComposerClient->createSurface( in TEST_F()
256 ASSERT_TRUE(nullptr != surfaceControl.get()); in TEST_F()
257 ASSERT_TRUE(surfaceControl->isValid()); in TEST_F()
260 ASSERT_EQ(NO_ERROR, surfaceControl->setLayer(0x7fffffff)); in TEST_F()
261 ASSERT_EQ(NO_ERROR, surfaceControl->show()); in TEST_F()
264 previewSurface = surfaceControl->getSurface(); in TEST_F()
/frameworks/native/cmds/flatland/
DGLHelper.h58 sp<SurfaceControl>* surfaceControl, EGLSurface* surface);
DGLHelper.cpp246 sp<SurfaceControl>* surfaceControl, EGLSurface* surface) { in createWindowSurface() argument
298 *surfaceControl = sc; in createWindowSurface()
/frameworks/base/services/core/java/com/android/server/wm/
DSession.java377 final SurfaceControl surfaceControl = mService.mDragState.mSurfaceControl; in performDrag() local
382 surfaceControl.setPosition(touchX - thumbCenterX, in performDrag()
384 surfaceControl.setLayer(mService.mDragState.getDragLayerLw()); in performDrag()
385 surfaceControl.setLayerStack(display.getLayerStack()); in performDrag()
386 surfaceControl.show(); in performDrag()
DWindowSurfacePlacer.java704 SurfaceControl surfaceControl = new SurfaceControl(mService.mFxSession, in createThumbnailAppAnimator() local
709 surfaceControl.setLayerStack(display.getLayerStack()); in createThumbnailAppAnimator()
711 Slog.i(TAG, " THUMBNAIL " + surfaceControl + ": CREATE"); in createThumbnailAppAnimator()
716 drawSurface.copyFrom(surfaceControl); in createThumbnailAppAnimator()
748 openingAppAnimator.thumbnail = surfaceControl; in createThumbnailAppAnimator()
DAccessibilityController.java705 SurfaceControl surfaceControl = null; in ViewportWindow() local
708 surfaceControl = new SurfaceControl(mWindowManagerService.mFxSession, in ViewportWindow()
714 mSurfaceControl = surfaceControl; in ViewportWindow()
/frameworks/base/services/core/java/com/android/server/display/
DColorFade.java738 int displayId, SurfaceControl surfaceControl) {
741 mSurfaceControl = surfaceControl;