Home
last modified time | relevance | path

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

123

/frameworks/native/libs/gui/
DSurfaceControl.cpp47 SurfaceControl::SurfaceControl( in SurfaceControl() function in android::SurfaceControl
55 SurfaceControl::~SurfaceControl() in ~SurfaceControl()
60 void SurfaceControl::destroy() in destroy()
73 void SurfaceControl::clear() in clear()
84 bool SurfaceControl::isSameSurface( in isSameSurface()
85 const sp<SurfaceControl>& lhs, const sp<SurfaceControl>& rhs) in isSameSurface()
92 status_t SurfaceControl::setLayerStack(int32_t layerStack) { in setLayerStack()
97 status_t SurfaceControl::setLayer(int32_t layer) { in setLayer()
102 status_t SurfaceControl::setPosition(float x, float y) { in setPosition()
107 status_t SurfaceControl::setSize(uint32_t w, uint32_t h) { in setSize()
[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);
73 const sp<SurfaceControl>& control, Parcel* parcel);
82 SurfaceControl& operator = (SurfaceControl& rhs);
83 SurfaceControl(const SurfaceControl& rhs);
88 SurfaceControl(
93 ~SurfaceControl();
/frameworks/base/services/core/java/com/android/server/display/
DLocalDisplayAdapter.java30 import android.view.SurfaceControl;
47 SurfaceControl.BUILT_IN_DISPLAY_ID_MAIN,
48 SurfaceControl.BUILT_IN_DISPLAY_ID_HDMI,
73 IBinder displayToken = SurfaceControl.getBuiltInDisplay(builtInDisplayId); in tryConnectDisplayLocked()
75 SurfaceControl.PhysicalDisplayInfo[] configs = in tryConnectDisplayLocked()
76 SurfaceControl.getDisplayConfigs(displayToken); in tryConnectDisplayLocked()
83 int activeConfig = SurfaceControl.getActiveConfig(displayToken); in tryConnectDisplayLocked()
121 return SurfaceControl.POWER_MODE_OFF; in getPowerModeForState()
123 return SurfaceControl.POWER_MODE_DOZE; in getPowerModeForState()
125 return SurfaceControl.POWER_MODE_DOZE_SUSPEND; in getPowerModeForState()
[all …]
DColorFade.java45 import android.view.SurfaceControl;
87 private SurfaceControl mSurfaceControl;
465 SurfaceControl.screenshot(SurfaceControl.getBuiltInDisplay(
466 SurfaceControl.BUILT_IN_DISPLAY_ID_MAIN), s);
555 SurfaceControl.openTransaction();
561 flags = SurfaceControl.FX_SURFACE_DIM | SurfaceControl.HIDDEN;
563 flags = SurfaceControl.OPAQUE | SurfaceControl.HIDDEN;
565 mSurfaceControl = new SurfaceControl(mSurfaceSession,
583 SurfaceControl.closeTransaction();
617 SurfaceControl.openTransaction();
[all …]
DDisplayDevice.java23 import android.view.SurfaceControl;
140 SurfaceControl.setDisplayLayerStack(mDisplayToken, layerStack); in setLayerStackInTransactionLocked()
173 SurfaceControl.setDisplayProjection(mDisplayToken, in setProjectionInTransactionLocked()
184 SurfaceControl.setDisplaySurface(mDisplayToken, surface); in setSurfaceInTransactionLocked()
DVirtualDisplayAdapter.java34 import android.view.SurfaceControl;
68 IBinder displayToken = SurfaceControl.createDisplay(name, secure); in createVirtualDisplayLocked()
219 SurfaceControl.destroyDisplay(getDisplayTokenLocked()); in destroyLocked()
239 SurfaceControl.setDisplaySize(getDisplayTokenLocked(), mWidth, mHeight); in performTraversalInTransactionLocked()
/frameworks/base/services/core/java/com/android/server/wm/
DDimLayer.java24 import android.view.SurfaceControl;
36 SurfaceControl mDimSurface;
73 SurfaceControl.openTransaction(); in DimLayer()
79 SurfaceControl.FX_SURFACE_DIM | SurfaceControl.HIDDEN); in DimLayer()
81 mDimSurface = new SurfaceControl(service.mFxSession, TAG, in DimLayer()
83 SurfaceControl.FX_SURFACE_DIM | SurfaceControl.HIDDEN); in DimLayer()
92 SurfaceControl.closeTransaction(); in DimLayer()
168 SurfaceControl.openTransaction(); in adjustSurface()
177 SurfaceControl.closeTransaction(); in adjustSurface()
DEmulatorDisplayOverlay.java32 import android.view.SurfaceControl;
41 private final SurfaceControl mSurfaceControl;
55 SurfaceControl ctrl = null; in EmulatorDisplayOverlay()
60 SurfaceControl.HIDDEN); in EmulatorDisplayOverlay()
62 ctrl = new SurfaceControl(session, "EmulatorDisplayOverlay", mScreenSize.x, in EmulatorDisplayOverlay()
63 mScreenSize.y, PixelFormat.TRANSLUCENT, SurfaceControl.HIDDEN); in EmulatorDisplayOverlay()
DCircularDisplayMask.java32 import android.view.SurfaceControl;
44 private final SurfaceControl mSurfaceControl;
64 SurfaceControl ctrl = null; in CircularDisplayMask()
69 SurfaceControl.HIDDEN); in CircularDisplayMask()
71 ctrl = new SurfaceControl(session, "CircularDisplayMask", mScreenSize.x, in CircularDisplayMask()
72 mScreenSize.y, PixelFormat.TRANSLUCENT, SurfaceControl.HIDDEN); in CircularDisplayMask()
DStrictModeFlash.java28 import android.view.SurfaceControl;
34 private final SurfaceControl mSurfaceControl;
42 SurfaceControl ctrl = null; in StrictModeFlash()
44 ctrl = new SurfaceControl(session, "StrictModeFlash", in StrictModeFlash()
45 1, 1, PixelFormat.TRANSLUCENT, SurfaceControl.HIDDEN); in StrictModeFlash()
DFocusedStackFrame.java31 import android.view.SurfaceControl;
41 private final SurfaceControl mSurfaceControl;
48 SurfaceControl ctrl = null; in FocusedStackFrame()
52 1, 1, PixelFormat.TRANSLUCENT, SurfaceControl.HIDDEN); in FocusedStackFrame()
54 ctrl = new SurfaceControl(session, "FocusedStackFrame", in FocusedStackFrame()
55 1, 1, PixelFormat.TRANSLUCENT, SurfaceControl.HIDDEN); in FocusedStackFrame()
DBlackFrame.java26 import android.view.SurfaceControl;
37 final SurfaceControl surface;
50 … w, h, PixelFormat.OPAQUE, SurfaceControl.FX_SURFACE_DIM | SurfaceControl.HIDDEN); in BlackSurface()
52 surface = new SurfaceControl(session, "BlackSurface", in BlackSurface()
53 … w, h, PixelFormat.OPAQUE, SurfaceControl.FX_SURFACE_DIM | SurfaceControl.HIDDEN); in BlackSurface()
DWatermark.java32 import android.view.SurfaceControl;
48 private final SurfaceControl mSurfaceControl;
113 SurfaceControl ctrl = null; in Watermark()
115 ctrl = new SurfaceControl(session, "WatermarkSurface", in Watermark()
116 1, 1, PixelFormat.TRANSLUCENT, SurfaceControl.HIDDEN); in Watermark()
DScreenRotationAnimation.java32 import android.view.SurfaceControl;
49 SurfaceControl mSurfaceControl;
240 SurfaceControl.openTransaction(); in ScreenRotationAnimation()
245 int flags = SurfaceControl.HIDDEN; in ScreenRotationAnimation()
247 flags |= SurfaceControl.SECURE; in ScreenRotationAnimation()
257 mSurfaceControl = new SurfaceControl(session, "ScreenshotSurface", in ScreenRotationAnimation()
265 SurfaceControl.screenshot(SurfaceControl.getBuiltInDisplay( in ScreenRotationAnimation()
266 SurfaceControl.BUILT_IN_DISPLAY_ID_MAIN), sur); in ScreenRotationAnimation()
283 SurfaceControl.closeTransaction(); in ScreenRotationAnimation()
540 SurfaceControl.openTransaction(); in startAnimation()
[all …]
DDragState.java36 import android.view.SurfaceControl;
48 SurfaceControl mSurfaceControl;
67 DragState(WindowManagerService service, IBinder token, SurfaceControl surface, in DragState()
296 SurfaceControl.openTransaction(); in notifyMoveLw()
303 SurfaceControl.closeTransaction(); in notifyMoveLw()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp97 sp<SurfaceControl> surface = client->createSurface( in nativeCreate()
108 sp<SurfaceControl> ctrl(reinterpret_cast<SurfaceControl *>(nativeObject)); in nativeRelease()
113 sp<SurfaceControl> ctrl(reinterpret_cast<SurfaceControl *>(nativeObject)); in nativeDestroy()
229 SurfaceControl* const ctrl = reinterpret_cast<SurfaceControl *>(nativeObject); in nativeSetLayer()
237 SurfaceControl* const ctrl = reinterpret_cast<SurfaceControl *>(nativeObject); in nativeSetPosition()
245 SurfaceControl* const ctrl = reinterpret_cast<SurfaceControl *>(nativeObject); in nativeSetSize()
253 SurfaceControl* const ctrl = reinterpret_cast<SurfaceControl *>(nativeObject); in nativeSetFlags()
261 SurfaceControl* const ctrl = reinterpret_cast<SurfaceControl *>(nativeObject); in nativeSetTransparentRegionHint()
286 SurfaceControl* const ctrl = reinterpret_cast<SurfaceControl *>(nativeObject); in nativeSetAlpha()
295 SurfaceControl* const ctrl = reinterpret_cast<SurfaceControl *>(nativeObject); in nativeSetMatrix()
[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
78 private static native SurfaceControl.PhysicalDisplayInfo[] nativeGetDisplayConfigs( in nativeGetDisplayConfigs()
267 public SurfaceControl(SurfaceSession session, in SurfaceControl() method in SurfaceControl
277 if ((flags & SurfaceControl.HIDDEN) == 0) { in SurfaceControl()
534 public static SurfaceControl.PhysicalDisplayInfo[] getDisplayConfigs(IBinder displayToken) { in getDisplayConfigs()
704 IBinder displayToken = SurfaceControl.getBuiltInDisplay( in screenshot()
705 SurfaceControl.BUILT_IN_DISPLAY_ID_MAIN); in screenshot()
724 IBinder displayToken = SurfaceControl.getBuiltInDisplay( in screenshot()
725 SurfaceControl.BUILT_IN_DISPLAY_ID_MAIN); in screenshot()
/frameworks/base/libs/hwui/tests/
DTestContext.cpp35 sp<SurfaceControl> createWindow(int width, int height) { in createWindow()
36 sp<SurfaceControl> control = gSession->createSurface(String8("HwuiTest"), in createWindow()
DTestContext.h31 android::sp<android::SurfaceControl> createWindow(int width = -1, int height = -1);
/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/native/services/surfaceflinger/tests/
DTransaction_test.cpp32 static void fillSurfaceRGBA8(const sp<SurfaceControl>& sc, in fillSurfaceRGBA8()
165 sp<SurfaceControl> mBGSurfaceControl;
166 sp<SurfaceControl> mFGSurfaceControl;
170 sp<SurfaceControl> mSyncSurfaceControl;
/frameworks/base/cmds/bootanimation/
DBootAnimation.h36 class SurfaceControl; variable
101 sp<SurfaceControl> mFlingerSurfaceControl;
/frameworks/base/core/java/android/app/
DUiAutomationConnection.java32 import android.view.SurfaceControl;
153 return SurfaceControl.screenshot(width, height); in takeScreenshot()
206 SurfaceControl.clearAnimationFrameStats(); in clearWindowAnimationFrameStats()
222 SurfaceControl.getAnimationFrameStats(stats); in getWindowAnimationFrameStats()

123