Home
last modified time | relevance | path

Searched refs:SurfaceControl (Results 1 – 25 of 57) 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(uint32_t layerStack) { in setLayerStack()
97 status_t SurfaceControl::setLayer(uint32_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.java37 import android.view.SurfaceControl;
57 SurfaceControl.BUILT_IN_DISPLAY_ID_MAIN,
58 SurfaceControl.BUILT_IN_DISPLAY_ID_HDMI,
84 IBinder displayToken = SurfaceControl.getBuiltInDisplay(builtInDisplayId); in tryConnectDisplayLocked()
86 SurfaceControl.PhysicalDisplayInfo[] configs = in tryConnectDisplayLocked()
87 SurfaceControl.getDisplayConfigs(displayToken); in tryConnectDisplayLocked()
94 int activeConfig = SurfaceControl.getActiveConfig(displayToken); in tryConnectDisplayLocked()
132 return SurfaceControl.POWER_MODE_OFF; in getPowerModeForState()
134 return SurfaceControl.POWER_MODE_DOZE; in getPowerModeForState()
136 return SurfaceControl.POWER_MODE_DOZE_SUSPEND; in getPowerModeForState()
[all …]
DColorFade.java43 import android.view.SurfaceControl;
84 private SurfaceControl mSurfaceControl;
462 SurfaceControl.screenshot(SurfaceControl.getBuiltInDisplay(
463 SurfaceControl.BUILT_IN_DISPLAY_ID_MAIN), s);
552 SurfaceControl.openTransaction();
558 flags = SurfaceControl.FX_SURFACE_DIM | SurfaceControl.HIDDEN;
560 flags = SurfaceControl.OPAQUE | SurfaceControl.HIDDEN;
562 mSurfaceControl = new SurfaceControl(mSurfaceSession,
580 SurfaceControl.closeTransaction();
614 SurfaceControl.openTransaction();
[all …]
DDisplayDevice.java24 import android.view.SurfaceControl;
147 SurfaceControl.setDisplayLayerStack(mDisplayToken, layerStack); in setLayerStackInTransactionLocked()
180 SurfaceControl.setDisplayProjection(mDisplayToken, in setProjectionInTransactionLocked()
191 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()
243 SurfaceControl.setDisplaySize(getDisplayTokenLocked(), mWidth, mHeight); in performTraversalInTransactionLocked()
/frameworks/base/services/core/java/com/android/server/wm/
DFocusedStackFrame.java31 import android.view.SurfaceControl;
42 private final SurfaceControl mSurfaceControl;
51 SurfaceControl ctrl = null; in FocusedStackFrame()
55 1, 1, PixelFormat.TRANSLUCENT, SurfaceControl.HIDDEN); in FocusedStackFrame()
57 ctrl = new SurfaceControl(session, "FocusedStackFrame", in FocusedStackFrame()
58 1, 1, PixelFormat.TRANSLUCENT, SurfaceControl.HIDDEN); in FocusedStackFrame()
110 SurfaceControl.openTransaction(); in setupSurface()
120 SurfaceControl.closeTransaction(); in setupSurface()
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()
176 SurfaceControl.openTransaction(); in setBounds()
181 SurfaceControl.closeTransaction(); in setBounds()
DEmulatorDisplayOverlay.java31 import android.view.SurfaceControl;
40 private final SurfaceControl mSurfaceControl;
54 SurfaceControl ctrl = null; in EmulatorDisplayOverlay()
59 SurfaceControl.HIDDEN); in EmulatorDisplayOverlay()
61 ctrl = new SurfaceControl(session, "EmulatorDisplayOverlay", mScreenSize.x, in EmulatorDisplayOverlay()
62 mScreenSize.y, PixelFormat.TRANSLUCENT, SurfaceControl.HIDDEN); in EmulatorDisplayOverlay()
DCircularDisplayMask.java32 import android.view.SurfaceControl;
44 private final SurfaceControl mSurfaceControl;
65 SurfaceControl ctrl = null; in CircularDisplayMask()
70 SurfaceControl.HIDDEN); in CircularDisplayMask()
72 ctrl = new SurfaceControl(session, "CircularDisplayMask", mScreenSize.x, in CircularDisplayMask()
73 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()
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()
534 SurfaceControl.openTransaction(); in startAnimation()
[all …]
DDragState.java37 import android.view.SurfaceControl;
49 SurfaceControl mSurfaceControl;
69 DragState(WindowManagerService service, IBinder token, SurfaceControl surface, in DragState()
298 SurfaceControl.openTransaction(); in notifyMoveLw()
305 SurfaceControl.closeTransaction(); in notifyMoveLw()
DWindowStateAnimator.java48 import android.view.SurfaceControl;
95 SurfaceControl mSurfaceControl;
96 SurfaceControl mPendingDestroySurface;
551 static class SurfaceTrace extends SurfaceControl {
768 SurfaceControl createSurfaceLocked() { in createSurfaceLocked()
787 int flags = SurfaceControl.HIDDEN; in createSurfaceLocked()
791 flags |= SurfaceControl.SECURE; in createSurfaceLocked()
856 flags |= SurfaceControl.OPAQUE; in createSurfaceLocked()
866 mSurfaceControl = new SurfaceControl( in createSurfaceLocked()
911 SurfaceControl.openTransaction(); in createSurfaceLocked()
[all …]
/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()
227 SurfaceControl* const ctrl = reinterpret_cast<SurfaceControl *>(nativeObject); in nativeSetLayer()
235 SurfaceControl* const ctrl = reinterpret_cast<SurfaceControl *>(nativeObject); in nativeSetPosition()
243 SurfaceControl* const ctrl = reinterpret_cast<SurfaceControl *>(nativeObject); in nativeSetSize()
251 SurfaceControl* const ctrl = reinterpret_cast<SurfaceControl *>(nativeObject); in nativeSetFlags()
259 SurfaceControl* const ctrl = reinterpret_cast<SurfaceControl *>(nativeObject); in nativeSetTransparentRegionHint()
284 SurfaceControl* const ctrl = reinterpret_cast<SurfaceControl *>(nativeObject); in nativeSetAlpha()
293 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()
547 public static SurfaceControl.PhysicalDisplayInfo[] getDisplayConfigs(IBinder displayToken) { in getDisplayConfigs()
717 IBinder displayToken = SurfaceControl.getBuiltInDisplay( in screenshot()
718 SurfaceControl.BUILT_IN_DISPLAY_ID_MAIN); in screenshot()
737 IBinder displayToken = SurfaceControl.getBuiltInDisplay( in screenshot()
738 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/services/surfaceflinger/tests/
DTransaction_test.cpp34 static void fillSurfaceRGBA8(const sp<SurfaceControl>& sc, in fillSurfaceRGBA8()
171 sp<SurfaceControl> mBGSurfaceControl;
172 sp<SurfaceControl> mFGSurfaceControl;
176 sp<SurfaceControl> mSyncSurfaceControl;
/frameworks/native/cmds/flatland/
DGLHelper.h28 class SurfaceControl; variable
59 sp<SurfaceControl>* surfaceControl, EGLSurface* surface);
/frameworks/base/cmds/bootanimation/
DBootAnimation.h36 class SurfaceControl; variable
101 sp<SurfaceControl> mFlingerSurfaceControl;
/frameworks/base/core/java/android/app/
DUiAutomationConnection.java33 import android.view.SurfaceControl;
157 return SurfaceControl.screenshot(width, height); in takeScreenshot()
210 SurfaceControl.clearAnimationFrameStats(); in clearWindowAnimationFrameStats()
226 SurfaceControl.getAnimationFrameStats(stats); in getWindowAnimationFrameStats()
/frameworks/native/opengl/tests/include/
DWindowSurface.h44 sp<SurfaceControl> mSurfaceControl;

123