Home
last modified time | relevance | path

Searched refs:SurfaceControl (Results 1 – 25 of 61) 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()
105 status_t SurfaceControl::setLayer(uint32_t layer) { in setLayer()
110 status_t SurfaceControl::setPosition(float x, float y) { in setPosition()
[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);
92 const sp<SurfaceControl>& control, Parcel* parcel);
104 SurfaceControl& operator = (SurfaceControl& rhs);
105 SurfaceControl(const SurfaceControl& rhs);
110 SurfaceControl(
115 ~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);
573 SurfaceControl.openTransaction();
579 flags = SurfaceControl.FX_SURFACE_DIM | SurfaceControl.HIDDEN;
581 flags = SurfaceControl.OPAQUE | SurfaceControl.HIDDEN;
583 mSurfaceControl = new SurfaceControl(mSurfaceSession,
601 SurfaceControl.closeTransaction();
635 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()
DVirtualDisplayAdapter.java34 import android.view.SurfaceControl;
68 IBinder displayToken = SurfaceControl.createDisplay(name, secure); in createVirtualDisplayLocked()
221 SurfaceControl.destroyDisplay(getDisplayTokenLocked()); in destroyLocked()
248 SurfaceControl.setDisplaySize(getDisplayTokenLocked(), mWidth, mHeight); in performTraversalInTransactionLocked()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp98 sp<SurfaceControl> surface = client->createSurface( in nativeCreate()
109 sp<SurfaceControl> ctrl(reinterpret_cast<SurfaceControl *>(nativeObject)); in nativeRelease()
114 sp<SurfaceControl> ctrl(reinterpret_cast<SurfaceControl *>(nativeObject)); in nativeDestroy()
120 SurfaceControl* const ctrl = reinterpret_cast<SurfaceControl *>(nativeObject); in nativeDisconnect()
236 SurfaceControl* const ctrl = reinterpret_cast<SurfaceControl *>(nativeObject); in nativeSetLayer()
244 SurfaceControl* const ctrl = reinterpret_cast<SurfaceControl *>(nativeObject); in nativeSetPosition()
253 SurfaceControl* const ctrl = reinterpret_cast<SurfaceControl *>(nativeObject); in nativeSetGeometryAppliesWithResize()
261 SurfaceControl* const ctrl = reinterpret_cast<SurfaceControl *>(nativeObject); in nativeSetSize()
269 SurfaceControl* const ctrl = reinterpret_cast<SurfaceControl *>(nativeObject); in nativeSetFlags()
277 SurfaceControl* const ctrl = reinterpret_cast<SurfaceControl *>(nativeObject); in nativeSetTransparentRegionHint()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DDimLayer.java31 import android.view.SurfaceControl;
40 private SurfaceControl mDimSurface;
98 SurfaceControl.openTransaction(); in constructSurface()
104 SurfaceControl.FX_SURFACE_DIM | SurfaceControl.HIDDEN); in constructSurface()
106 mDimSurface = new SurfaceControl(service.mFxSession, mName, in constructSurface()
108 SurfaceControl.FX_SURFACE_DIM | SurfaceControl.HIDDEN); in constructSurface()
119 SurfaceControl.closeTransaction(); in constructSurface()
230 SurfaceControl.openTransaction(); in setBounds()
235 SurfaceControl.closeTransaction(); in setBounds()
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()
DWindowSurfaceController.java37 import android.view.SurfaceControl;
52 private SurfaceControl mSurfaceControl;
95 mSurfaceControl = new SurfaceControl( in WindowSurfaceController()
130 SurfaceControl.openTransaction(); in setPositionAndLayer()
149 SurfaceControl.closeTransaction(); in setPositionAndLayer()
233 SurfaceControl.openTransaction(); in setLayer()
237 SurfaceControl.closeTransaction(); in setLayer()
341 SurfaceControl.openTransaction(); in setTransparentRegionHint()
345 SurfaceControl.closeTransaction(); in setTransparentRegionHint()
359 SurfaceControl.openTransaction(); in setOpaque()
[all …]
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()
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()
DScreenRotationAnimation.java38 import android.view.SurfaceControl;
65 SurfaceControl mSurfaceControl;
256 SurfaceControl.openTransaction(); in ScreenRotationAnimation()
261 int flags = SurfaceControl.HIDDEN; in ScreenRotationAnimation()
263 flags |= SurfaceControl.SECURE; in ScreenRotationAnimation()
273 mSurfaceControl = new SurfaceControl(session, "ScreenshotSurface", in ScreenRotationAnimation()
281 SurfaceControl.screenshot(SurfaceControl.getBuiltInDisplay( in ScreenRotationAnimation()
282 SurfaceControl.BUILT_IN_DISPLAY_ID_MAIN), sur); in ScreenRotationAnimation()
298 SurfaceControl.closeTransaction(); in ScreenRotationAnimation()
549 SurfaceControl.openTransaction(); in startAnimation()
[all …]
/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/base/core/java/android/view/
DSurfaceControl.java31 public class SurfaceControl { class
81 private static native SurfaceControl.PhysicalDisplayInfo[] nativeGetDisplayConfigs( in nativeGetDisplayConfigs()
282 public SurfaceControl(SurfaceSession session, in SurfaceControl() method in SurfaceControl
292 if ((flags & SurfaceControl.HIDDEN) == 0) { in SurfaceControl()
614 public static SurfaceControl.PhysicalDisplayInfo[] getDisplayConfigs(IBinder displayToken) { in getDisplayConfigs()
812 IBinder displayToken = SurfaceControl.getBuiltInDisplay( in screenshot()
813 SurfaceControl.BUILT_IN_DISPLAY_ID_MAIN); in screenshot()
832 IBinder displayToken = SurfaceControl.getBuiltInDisplay( in screenshot()
833 SurfaceControl.BUILT_IN_DISPLAY_ID_MAIN); in screenshot()
/frameworks/wilhelm/tests/sandbox/
Dnativewindow.cpp41 sp<SurfaceControl> gControl;
52 sp<SurfaceControl> control = in getNativeWindow_()
/frameworks/native/cmds/flatland/
DGLHelper.h28 class SurfaceControl; variable
59 sp<SurfaceControl>* surfaceControl, EGLSurface* surface);
/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/base/packages/Shell/src/com/android/shell/
DScreenshooter.java28 import android.view.SurfaceControl;
95 SurfaceControl.screenshot((int) screenshotWidth, (int) screenshotHeight); in takeScreenshot()
/frameworks/base/cmds/bootanimation/
DBootAnimation.h35 class SurfaceControl; variable
137 sp<SurfaceControl> mFlingerSurfaceControl;
/frameworks/native/opengl/tests/include/
DWindowSurface.h44 sp<SurfaceControl> mSurfaceControl;
/frameworks/base/libs/hwui/tests/common/
DTestContext.h48 sp<SurfaceControl> mSurfaceControl;
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp37 static void fillSurfaceRGBA8(const sp<SurfaceControl>& sc, in fillSurfaceRGBA8()
178 sp<SurfaceControl> mBGSurfaceControl;
179 sp<SurfaceControl> mFGSurfaceControl;
183 sp<SurfaceControl> mSyncSurfaceControl;

123