/frameworks/native/libs/gui/ |
D | SurfaceControl.cpp | 47 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/ |
D | SurfaceControl.h | 43 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/ |
D | LocalDisplayAdapter.java | 30 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 …]
|
D | ColorFade.java | 45 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 …]
|
D | DisplayDevice.java | 23 import android.view.SurfaceControl; 140 SurfaceControl.setDisplayLayerStack(mDisplayToken, layerStack); in setLayerStackInTransactionLocked() 173 SurfaceControl.setDisplayProjection(mDisplayToken, in setProjectionInTransactionLocked() 184 SurfaceControl.setDisplaySurface(mDisplayToken, surface); in setSurfaceInTransactionLocked()
|
D | VirtualDisplayAdapter.java | 34 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/ |
D | DimLayer.java | 24 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()
|
D | EmulatorDisplayOverlay.java | 32 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()
|
D | CircularDisplayMask.java | 32 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()
|
D | StrictModeFlash.java | 28 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()
|
D | FocusedStackFrame.java | 31 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()
|
D | BlackFrame.java | 26 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()
|
D | Watermark.java | 32 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()
|
D | ScreenRotationAnimation.java | 32 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 …]
|
D | DragState.java | 36 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/ |
D | android_view_SurfaceControl.cpp | 97 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/ |
D | SpriteController.h | 194 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/ |
D | SurfaceControl.java | 31 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/ |
D | TestContext.cpp | 35 sp<SurfaceControl> createWindow(int width, int height) { in createWindow() 36 sp<SurfaceControl> control = gSession->createSurface(String8("HwuiTest"), in createWindow()
|
D | TestContext.h | 31 android::sp<android::SurfaceControl> createWindow(int width = -1, int height = -1);
|
/frameworks/wilhelm/tests/sandbox/ |
D | nativewindow.cpp | 41 sp<SurfaceControl> gControl; 52 sp<SurfaceControl> control = in getNativeWindow_()
|
/frameworks/native/cmds/flatland/ |
D | GLHelper.h | 28 class SurfaceControl; variable 59 sp<SurfaceControl>* surfaceControl, EGLSurface* surface);
|
/frameworks/native/services/surfaceflinger/tests/ |
D | Transaction_test.cpp | 32 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/ |
D | BootAnimation.h | 36 class SurfaceControl; variable 101 sp<SurfaceControl> mFlingerSurfaceControl;
|
/frameworks/base/core/java/android/app/ |
D | UiAutomationConnection.java | 32 import android.view.SurfaceControl; 153 return SurfaceControl.screenshot(width, height); in takeScreenshot() 206 SurfaceControl.clearAnimationFrameStats(); in clearWindowAnimationFrameStats() 222 SurfaceControl.getAnimationFrameStats(stats); in getWindowAnimationFrameStats()
|