HomeSort by relevance Sort by last modified time
    Searched refs:surfaceControl (Results 1 - 10 of 10) sorted by null

  /frameworks/native/services/surfaceflinger/tests/resize/
resize.cpp 41 sp<SurfaceControl> surfaceControl = client->createSurface(String8("resize"),
44 sp<Surface> surface = surfaceControl->getSurface();
47 surfaceControl->setLayer(100000);
61 surfaceControl->setSize(320, 240);
  /frameworks/base/services/input/
SpriteController.cpp 90 void SpriteController::disposeSurfaceLocked(const sp<SurfaceControl>& surfaceControl) {
92 mLocked.disposedSurfaces.push(surfaceControl);
135 if (update.state.surfaceControl == NULL && update.state.wantSurfaceVisible()) {
140 update.state.surfaceControl = obtainSurface(
142 if (update.state.surfaceControl != NULL) {
153 if (update.state.surfaceControl != NULL && update.state.wantSurfaceVisible()) {
163 status_t status = update.state.surfaceControl->setSize(desiredWidth, desiredHeight);
175 status = update.state.surfaceControl->hide();
199 if (update.state.surfaceControl != NULL && !update.state.surfaceDraw
    [all...]
SpriteController.h 194 sp<SurfaceControl> surfaceControl;
234 inline void setSurfaceLocked(const sp<SurfaceControl>& surfaceControl,
236 mLocked.state.surfaceControl = surfaceControl;
275 Vector<sp<SurfaceControl> > disposedSurfaces;
281 void disposeSurfaceLocked(const sp<SurfaceControl>& surfaceControl);
288 sp<SurfaceControl> obtainSurface(int32_t width, int32_t height)
    [all...]
  /frameworks/native/cmds/flatland/
GLHelper.h 20 #include <gui/SurfaceControl.h>
28 class SurfaceControl;
59 sp<SurfaceControl>* surfaceControl, EGLSurface* surface);
GLHelper.cpp 245 sp<SurfaceControl>* surfaceControl, EGLSurface* surface) {
258 sp<SurfaceControl> sc = mSurfaceComposerClient->createSurface(
261 fprintf(stderr, "Failed to create SurfaceControl.\n");
297 *surfaceControl = sc;
  /hardware/ti/omap4xxx/test/CameraHal/
camera_test_menu.cpp 39 sp<SurfaceControl> surfaceControl;
758 surfaceControl = client->createSurface(String8("camera_test_menu"),
763 previewSurface = surfaceControl->getSurface();
766 surfaceControl->setLayer(0x7fffffff);
767 surfaceControl->setPosition(0, 0);
768 surfaceControl->setSize(previewWidth, previewHeight);
769 surfaceControl->show();
806 if ( NULL != surfaceControl.get() ) {
807 surfaceControl->clear()
    [all...]
  /frameworks/base/services/java/com/android/server/wm/
Session.java 44 import android.view.SurfaceControl;
318 final SurfaceControl surfaceControl = mService.mDragState.mSurfaceControl;
321 SurfaceControl.openTransaction();
323 surfaceControl.setPosition(touchX - thumbCenterX,
325 surfaceControl.setAlpha(.7071f);
326 surfaceControl.setLayer(mService.mDragState.getDragLayerLw());
327 surfaceControl.setLayerStack(display.getLayerStack());
328 surfaceControl.show();
330 SurfaceControl.closeTransaction()
    [all...]
DisplayMagnifier.java 46 import android.view.SurfaceControl;
485 private final SurfaceControl mSurfaceControl;
494 SurfaceControl surfaceControl = null;
497 surfaceControl = new SurfaceControl(mWindowManagerService.mFxSession, SURFACE_TITLE,
498 mTempPoint.x, mTempPoint.y, PixelFormat.TRANSLUCENT, SurfaceControl.HIDDEN);
502 mSurfaceControl = surfaceControl;
WindowManagerService.java 122 import android.view.SurfaceControl;
797 SurfaceControl.openTransaction();
803 SurfaceControl.closeTransaction();
    [all...]
  /frameworks/base/services/java/com/android/server/power/
ElectronBeam.java 40 import android.view.SurfaceControl;
85 private SurfaceControl mSurfaceControl;
396 SurfaceControl.screenshot(SurfaceControl.getBuiltInDisplay(
397 SurfaceControl.BUILT_IN_DISPLAY_ID_MAIN), s);
506 SurfaceControl.openTransaction();
512 flags = SurfaceControl.FX_SURFACE_DIM | SurfaceControl.HIDDEN;
514 flags = SurfaceControl.OPAQUE | SurfaceControl.HIDDEN
    [all...]

Completed in 286 milliseconds