Home
last modified time | relevance | path

Searched refs:SurfaceControl (Results 1 – 25 of 70) sorted by relevance

123

/frameworks/native/libs/gui/
DSurfaceControl.cpp48 SurfaceControl::SurfaceControl( in SurfaceControl() function in android::SurfaceControl
56 SurfaceControl::~SurfaceControl() in ~SurfaceControl()
61 void SurfaceControl::destroy() in destroy()
74 void SurfaceControl::clear() in clear()
85 void SurfaceControl::disconnect() { in disconnect()
92 bool SurfaceControl::isSameSurface( in isSameSurface()
93 const sp<SurfaceControl>& lhs, const sp<SurfaceControl>& rhs) in isSameSurface()
100 status_t SurfaceControl::setLayerStack(uint32_t layerStack) { in setLayerStack()
106 status_t SurfaceControl::setLayer(int32_t layer) { in setLayer()
112 status_t SurfaceControl::setRelativeLayer(const sp<IBinder>& relativeTo, int32_t layer) { in setRelativeLayer()
[all …]
/frameworks/native/include/gui/
DSurfaceControl.h43 class SurfaceControl : public RefBase
46 static bool isValid(const sp<SurfaceControl>& surface) { in isValid()
55 const sp<SurfaceControl>& lhs, const sp<SurfaceControl>& rhs);
135 const sp<SurfaceControl>& control, Parcel* parcel);
146 SurfaceControl& operator = (SurfaceControl& rhs);
147 SurfaceControl(const SurfaceControl& rhs);
152 SurfaceControl(
157 ~SurfaceControl();
/frameworks/base/services/core/java/com/android/server/display/
DLocalDisplayAdapter.java37 import android.view.SurfaceControl;
60 SurfaceControl.BUILT_IN_DISPLAY_ID_MAIN,
61 SurfaceControl.BUILT_IN_DISPLAY_ID_HDMI,
87 IBinder displayToken = SurfaceControl.getBuiltInDisplay(builtInDisplayId); in tryConnectDisplayLocked()
89 SurfaceControl.PhysicalDisplayInfo[] configs = in tryConnectDisplayLocked()
90 SurfaceControl.getDisplayConfigs(displayToken); in tryConnectDisplayLocked()
97 int activeConfig = SurfaceControl.getActiveConfig(displayToken); in tryConnectDisplayLocked()
105 int activeColorMode = SurfaceControl.getActiveColorMode(displayToken); in tryConnectDisplayLocked()
114 int[] colorModes = SurfaceControl.getDisplayColorModes(displayToken); in tryConnectDisplayLocked()
146 return SurfaceControl.POWER_MODE_OFF; in getPowerModeForState()
[all …]
DColorFade.java43 import android.view.SurfaceControl;
85 private SurfaceControl mSurfaceControl;
483 SurfaceControl.screenshot(SurfaceControl.getBuiltInDisplay(
484 SurfaceControl.BUILT_IN_DISPLAY_ID_MAIN), s);
578 SurfaceControl.openTransaction();
584 flags = SurfaceControl.FX_SURFACE_DIM | SurfaceControl.HIDDEN;
586 flags = SurfaceControl.OPAQUE | SurfaceControl.HIDDEN;
588 mSurfaceControl = new SurfaceControl(mSurfaceSession,
606 SurfaceControl.closeTransaction();
640 SurfaceControl.openTransaction();
[all …]
DDisplayDevice.java24 import android.view.SurfaceControl;
152 SurfaceControl.setDisplayLayerStack(mDisplayToken, layerStack); in setLayerStackInTransactionLocked()
185 SurfaceControl.setDisplayProjection(mDisplayToken, in setProjectionInTransactionLocked()
196 SurfaceControl.setDisplaySurface(mDisplayToken, surface); in setSurfaceInTransactionLocked()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp105 SurfaceControl *parent = reinterpret_cast<SurfaceControl*>(parentObject); in nativeCreate()
106 sp<SurfaceControl> surface = client->createSurface( in nativeCreate()
118 sp<SurfaceControl> ctrl(reinterpret_cast<SurfaceControl *>(nativeObject)); in nativeRelease()
123 sp<SurfaceControl> ctrl(reinterpret_cast<SurfaceControl *>(nativeObject)); in nativeDestroy()
129 SurfaceControl* const ctrl = reinterpret_cast<SurfaceControl *>(nativeObject); in nativeDisconnect()
285 SurfaceControl* const ctrl = reinterpret_cast<SurfaceControl *>(nativeObject); in nativeSetLayer()
294 auto ctrl = reinterpret_cast<SurfaceControl *>(nativeObject); in nativeSetRelativeLayer()
301 SurfaceControl* const ctrl = reinterpret_cast<SurfaceControl *>(nativeObject); in nativeSetPosition()
310 SurfaceControl* const ctrl = reinterpret_cast<SurfaceControl *>(nativeObject); in nativeSetGeometryAppliesWithResize()
318 SurfaceControl* const ctrl = reinterpret_cast<SurfaceControl *>(nativeObject); in nativeSetSize()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DEmulatorDisplayOverlay.java35 import android.view.SurfaceControl;
44 private final SurfaceControl mSurfaceControl;
58 SurfaceControl ctrl = null; in EmulatorDisplayOverlay()
63 SurfaceControl.HIDDEN); in EmulatorDisplayOverlay()
65 ctrl = new SurfaceControl(session, "EmulatorDisplayOverlay", mScreenSize.x, in EmulatorDisplayOverlay()
66 mScreenSize.y, PixelFormat.TRANSLUCENT, SurfaceControl.HIDDEN); in EmulatorDisplayOverlay()
DCircularDisplayMask.java36 import android.view.SurfaceControl;
47 private final SurfaceControl mSurfaceControl;
68 SurfaceControl ctrl = null; in CircularDisplayMask()
73 SurfaceControl.HIDDEN); in CircularDisplayMask()
75 ctrl = new SurfaceControl(session, "CircularDisplayMask", mScreenSize.x, in CircularDisplayMask()
76 mScreenSize.y, PixelFormat.TRANSLUCENT, SurfaceControl.HIDDEN); in CircularDisplayMask()
DStrictModeFlash.java31 import android.view.SurfaceControl;
37 private final SurfaceControl mSurfaceControl;
45 SurfaceControl ctrl = null; in StrictModeFlash()
47 ctrl = new SurfaceControl(session, "StrictModeFlash", in StrictModeFlash()
48 1, 1, PixelFormat.TRANSLUCENT, SurfaceControl.HIDDEN); in StrictModeFlash()
DBlackFrame.java20 import static android.view.SurfaceControl.FX_SURFACE_DIM;
33 import android.view.SurfaceControl;
44 final SurfaceControl surface;
57 w, h, OPAQUE, FX_SURFACE_DIM | SurfaceControl.HIDDEN); in BlackSurface()
59 surface = new SurfaceControl(session, "BlackSurface", in BlackSurface()
60 w, h, OPAQUE, FX_SURFACE_DIM | SurfaceControl.HIDDEN); in BlackSurface()
DDimLayer.java31 import android.view.SurfaceControl;
40 private SurfaceControl mDimSurface;
106 SurfaceControl.FX_SURFACE_DIM | SurfaceControl.HIDDEN); in constructSurface()
108 mDimSurface = new SurfaceControl(service.mFxSession, mName, in constructSurface()
110 SurfaceControl.FX_SURFACE_DIM | SurfaceControl.HIDDEN); in constructSurface()
DWatermark.java34 import android.view.SurfaceControl;
50 private final SurfaceControl mSurfaceControl;
115 SurfaceControl ctrl = null; in Watermark()
117 ctrl = new SurfaceControl(session, "WatermarkSurface", in Watermark()
118 1, 1, PixelFormat.TRANSLUCENT, SurfaceControl.HIDDEN); in Watermark()
DRemoteSurfaceTrace.java24 import android.view.SurfaceControl;
35 class RemoteSurfaceTrace extends SurfaceControl {
44 RemoteSurfaceTrace(FileDescriptor fd, SurfaceControl wrapped, WindowState window) { in RemoteSurfaceTrace()
DWindowToken.java33 import android.view.SurfaceControl;
254 SurfaceControl.openTransaction(); in onDisplayChanged()
259 SurfaceControl.closeTransaction(); in onDisplayChanged()
DTaskSnapshotSurface.java21 import static android.view.SurfaceControl.HIDDEN;
64 import android.view.SurfaceControl;
112 private SurfaceControl mChildSurfaceControl;
299 mChildSurfaceControl = new SurfaceControl(session, in drawSizeMismatchSnapshot()
308 SurfaceControl.openTransaction(); in drawSizeMismatchSnapshot()
316 SurfaceControl.closeTransaction(); in drawSizeMismatchSnapshot()
/frameworks/base/core/java/android/view/
DSurfaceControl.java36 public class SurfaceControl { class
91 private static native SurfaceControl.PhysicalDisplayInfo[] nativeGetDisplayConfigs( in nativeGetDisplayConfigs()
299 public SurfaceControl(SurfaceSession session, in SurfaceControl() method in SurfaceControl
305 public SurfaceControl(SurfaceSession session, in SurfaceControl() method in SurfaceControl
311 public SurfaceControl(SurfaceSession session, String name, int w, int h, int format, int flags, in SurfaceControl() method in SurfaceControl
312 SurfaceControl parent, int windowType, int ownerUid) in SurfaceControl()
321 if ((flags & SurfaceControl.HIDDEN) == 0) { in SurfaceControl()
344 public SurfaceControl(SurfaceControl other) { in SurfaceControl() method in SurfaceControl
672 public static SurfaceControl.PhysicalDisplayInfo[] getDisplayConfigs(IBinder displayToken) { in getDisplayConfigs()
870 IBinder displayToken = SurfaceControl.getBuiltInDisplay( in screenshot()
[all …]
DSurfaceView.java117 SurfaceControl mSurfaceControl;
120 SurfaceControl mDeferredDestroySurfaceControl;
178 private int mSurfaceFlags = SurfaceControl.HIDDEN;
450 mSurfaceFlags |= SurfaceControl.SECURE; in setSecure()
452 mSurfaceFlags &= ~SurfaceControl.SECURE; in setSecure()
458 mSurfaceFlags |= SurfaceControl.OPAQUE; in updateOpaqueFlag()
460 mSurfaceFlags &= ~SurfaceControl.OPAQUE; in updateOpaqueFlag()
553 SurfaceControl.openTransaction(); in updateSurface()
580 SurfaceControl.closeTransaction(); in updateSurface()
776 SurfaceControl.openTransaction(); in setParentSpaceRectangle()
[all …]
/frameworks/native/cmds/surfacereplayer/replayer/
DBufferQueueScheduler.h55 BufferQueueScheduler(const sp<SurfaceControl>& surfaceControl, const HSV& color, int id);
61 void setSurfaceControl(const sp<SurfaceControl>& surfaceControl, const HSV& color);
70 sp<SurfaceControl> mSurfaceControl;
DBufferQueueScheduler.cpp26 const sp<SurfaceControl>& surfaceControl, const HSV& color, int id) in BufferQueueScheduler()
68 const sp<SurfaceControl>& surfaceControl, const HSV& color) { in setSurfaceControl()
/frameworks/base/libs/input/
DSpriteController.h194 sp<SurfaceControl> surfaceControl;
234 inline void setSurfaceLocked(const sp<SurfaceControl>& surfaceControl, in setSurfaceLocked()
275 Vector<sp<SurfaceControl> > disposedSurfaces;
281 void disposeSurfaceLocked(const sp<SurfaceControl>& surfaceControl);
288 sp<SurfaceControl> obtainSurface(int32_t width, int32_t height);
/frameworks/wilhelm/tests/sandbox/
Dnativewindow.cpp41 sp<SurfaceControl> gControl;
52 sp<SurfaceControl> control = in getNativeWindow_()
/frameworks/native/cmds/flatland/
DGLHelper.h27 class SurfaceControl; variable
58 sp<SurfaceControl>* surfaceControl, EGLSurface* surface);
/frameworks/base/packages/Shell/src/com/android/shell/
DScreenshooter.java26 import android.view.SurfaceControl;
93 SurfaceControl.screenshot((int) screenshotWidth, (int) screenshotHeight); in takeScreenshot()
/frameworks/base/core/java/android/app/
DUiAutomationConnection.java34 import android.view.SurfaceControl;
160 return SurfaceControl.screenshot(width, height); in takeScreenshot()
215 SurfaceControl.clearAnimationFrameStats(); in clearWindowAnimationFrameStats()
231 SurfaceControl.getAnimationFrameStats(stats); in getWindowAnimationFrameStats()
/frameworks/native/opengl/tests/include/
DWindowSurface.h44 sp<SurfaceControl> mSurfaceControl;

123