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

123

/frameworks/native/libs/gui/
H A DSurfaceControl.cpp17 #define LOG_TAG "SurfaceControl"
40 #include <gui/SurfaceControl.h>
45 // SurfaceControl
48 SurfaceControl::SurfaceControl( function in class:android::SurfaceControl
56 SurfaceControl::~SurfaceControl()
61 void SurfaceControl::destroy()
74 void SurfaceControl::clear()
85 void SurfaceControl
[all...]
/frameworks/native/opengl/tests/include/
H A DWindowSurface.h20 #include <gui/SurfaceControl.h>
44 sp<SurfaceControl> mSurfaceControl;
/frameworks/native/include/gui/
H A DSurfaceControl.h43 class SurfaceControl : public RefBase class in namespace:android
46 static bool isValid(const sp<SurfaceControl>& surface) {
55 const sp<SurfaceControl>& lhs, const sp<SurfaceControl>& rhs);
91 const sp<SurfaceControl>& control, Parcel* parcel);
101 SurfaceControl& operator = (SurfaceControl& rhs);
102 SurfaceControl(const SurfaceControl& rhs);
107 SurfaceControl(
[all...]
/frameworks/base/libs/hwui/tests/common/
H A DTestContext.h23 #include <gui/SurfaceControl.h>
48 sp<SurfaceControl> mSurfaceControl;
/frameworks/base/services/core/java/com/android/server/wm/
H A DStrictModeFlash.java31 import android.view.SurfaceControl;
37 private final SurfaceControl mSurfaceControl;
45 SurfaceControl ctrl = null;
47 ctrl = new SurfaceControl(session, "StrictModeFlash",
48 1, 1, PixelFormat.TRANSLUCENT, SurfaceControl.HIDDEN);
H A DCircularDisplayMask.java36 import android.view.SurfaceControl;
47 private final SurfaceControl mSurfaceControl;
68 SurfaceControl ctrl = null;
73 SurfaceControl.HIDDEN);
75 ctrl = new SurfaceControl(session, "CircularDisplayMask", mScreenSize.x,
76 mScreenSize.y, PixelFormat.TRANSLUCENT, SurfaceControl.HIDDEN);
H A DEmulatorDisplayOverlay.java35 import android.view.SurfaceControl;
44 private final SurfaceControl mSurfaceControl;
58 SurfaceControl ctrl = null;
63 SurfaceControl.HIDDEN);
65 ctrl = new SurfaceControl(session, "EmulatorDisplayOverlay", mScreenSize.x,
66 mScreenSize.y, PixelFormat.TRANSLUCENT, SurfaceControl.HIDDEN);
H A DDimLayer.java31 import android.view.SurfaceControl;
40 private SurfaceControl mDimSurface;
98 SurfaceControl.openTransaction();
104 SurfaceControl.FX_SURFACE_DIM | SurfaceControl.HIDDEN);
106 mDimSurface = new SurfaceControl(service.mFxSession, mName,
108 SurfaceControl.FX_SURFACE_DIM | SurfaceControl.HIDDEN);
119 SurfaceControl.closeTransaction();
230 SurfaceControl
[all...]
H A 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);
59 surface = new SurfaceControl(session, "BlackSurface",
60 w, h, OPAQUE, FX_SURFACE_DIM | SurfaceControl.HIDDEN);
H A DWatermark.java34 import android.view.SurfaceControl;
50 private final SurfaceControl mSurfaceControl;
115 SurfaceControl ctrl = null;
117 ctrl = new SurfaceControl(session, "WatermarkSurface",
118 1, 1, PixelFormat.TRANSLUCENT, SurfaceControl.HIDDEN);
H A DWindowSurfaceController.java37 import android.view.SurfaceControl;
52 private SurfaceControl mSurfaceControl;
83 // we use a special SurfaceControl which mirrors commands
95 mSurfaceControl = new SurfaceControl(
130 SurfaceControl.openTransaction();
149 SurfaceControl.closeTransaction();
233 SurfaceControl.openTransaction();
237 SurfaceControl.closeTransaction();
341 SurfaceControl.openTransaction();
345 SurfaceControl
[all...]
H A DScreenRotationAnimation.java38 import android.view.SurfaceControl;
65 SurfaceControl mSurfaceControl;
256 SurfaceControl.openTransaction();
261 int flags = SurfaceControl.HIDDEN;
263 flags |= SurfaceControl.SECURE;
273 mSurfaceControl = new SurfaceControl(session, "ScreenshotSurface",
281 SurfaceControl.screenshot(SurfaceControl.getBuiltInDisplay(
282 SurfaceControl.BUILT_IN_DISPLAY_ID_MAIN), sur);
298 SurfaceControl
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DLocalDisplayAdapter.java37 import android.view.SurfaceControl;
58 SurfaceControl.BUILT_IN_DISPLAY_ID_MAIN,
59 SurfaceControl.BUILT_IN_DISPLAY_ID_HDMI,
85 IBinder displayToken = SurfaceControl.getBuiltInDisplay(builtInDisplayId);
87 SurfaceControl.PhysicalDisplayInfo[] configs =
88 SurfaceControl.getDisplayConfigs(displayToken);
95 int activeConfig = SurfaceControl.getActiveConfig(displayToken);
133 return SurfaceControl.POWER_MODE_OFF;
135 return SurfaceControl.POWER_MODE_DOZE;
137 return SurfaceControl
[all...]
H A DDisplayDevice.java24 import android.view.SurfaceControl;
147 SurfaceControl.setDisplayLayerStack(mDisplayToken, layerStack);
180 SurfaceControl.setDisplayProjection(mDisplayToken,
191 SurfaceControl.setDisplaySurface(mDisplayToken, surface);
H A 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
[all...]
H A DVirtualDisplayAdapter.java34 import android.view.SurfaceControl;
68 IBinder displayToken = SurfaceControl.createDisplay(name, secure);
221 SurfaceControl.destroyDisplay(getDisplayTokenLocked());
243 SurfaceControl.setDisplaySize(getDisplayTokenLocked(), mWidth, mHeight);
/frameworks/native/cmds/flatland/
H A DGLHelper.h20 #include <gui/SurfaceControl.h>
28 class SurfaceControl;
59 sp<SurfaceControl>* surfaceControl, EGLSurface* surface);
/frameworks/base/core/jni/
H A Dandroid_view_SurfaceControl.cpp17 #define LOG_TAG "SurfaceControl"
98 sp<SurfaceControl> surface = client->createSurface(
109 sp<SurfaceControl> ctrl(reinterpret_cast<SurfaceControl *>(nativeObject));
114 sp<SurfaceControl> ctrl(reinterpret_cast<SurfaceControl *>(nativeObject));
120 SurfaceControl* const ctrl = reinterpret_cast<SurfaceControl *>(nativeObject);
236 SurfaceControl* const ctrl = reinterpret_cast<SurfaceControl *>(nativeObjec
[all...]
/frameworks/wilhelm/tests/sandbox/
H A Dnativewindow.cpp41 sp<SurfaceControl> gControl;
52 sp<SurfaceControl> control =
/frameworks/base/core/java/android/view/
H A DSurfaceControl.java28 * SurfaceControl
31 public class SurfaceControl { class
32 private static final String TAG = "SurfaceControl";
81 private static native SurfaceControl.PhysicalDisplayInfo[] nativeGetDisplayConfigs(
217 * Use only with {@link SurfaceControl#getBuiltInDisplay(int)}.
223 * Use only with {@link SurfaceControl#getBuiltInDisplay(int)}.
231 * Use only with {@link SurfaceControl#setDisplayPowerMode}.
237 * Use only with {@link SurfaceControl#setDisplayPowerMode}.
243 * Use only with {@link SurfaceControl#setDisplayPowerMode}.
249 * low power mode. Use only with {@link SurfaceControl#setDisplayPowerMod
276 public SurfaceControl(SurfaceSession session, method in class:SurfaceControl
[all...]
/frameworks/base/libs/input/
H A DSpriteController.h194 sp<SurfaceControl> surfaceControl;
234 inline void setSurfaceLocked(const sp<SurfaceControl>& surfaceControl,
275 Vector<sp<SurfaceControl> > disposedSurfaces;
281 void disposeSurfaceLocked(const sp<SurfaceControl>& surfaceControl);
288 sp<SurfaceControl> obtainSurface(int32_t width, int32_t height);
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.h36 class SurfaceControl;
113 sp<SurfaceControl> mFlingerSurfaceControl;
/frameworks/native/libs/gui/tests/
H A DGLTest.h62 sp<SurfaceControl> mSurfaceControl;
/frameworks/native/opengl/tests/lib/
H A DWindowSurface.cpp57 sp<SurfaceControl> sc = surfaceComposerClient->createSurface(
61 fprintf(stderr, "Failed to create SurfaceControl\n");
/frameworks/base/core/java/android/app/
H A DUiAutomationConnection.java34 import android.view.SurfaceControl;
160 return SurfaceControl.screenshot(width, height);
215 SurfaceControl.clearAnimationFrameStats();
231 SurfaceControl.getAnimationFrameStats(stats);

Completed in 6330 milliseconds

123