Searched refs:SurfaceControl (Results 1 - 25 of 68) 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);
111 // SurfaceControl for some of their Surfaces. Otherwise behaves identically.
118 // from their SurfaceControl.
119 // The child SurfaceControl's will not throw exceptions or return errors,
135 const sp<SurfaceControl>& control, Parcel* parcel);
146 SurfaceControl& operator = (SurfaceControl
[all...]
/frameworks/native/cmds/surfacereplayer/replayer/
H A DBufferQueueScheduler.h23 #include <gui/SurfaceControl.h>
55 BufferQueueScheduler(const sp<SurfaceControl>& surfaceControl, const HSV& color, int id);
61 void setSurfaceControl(const sp<SurfaceControl>& surfaceControl, const HSV& color);
70 sp<SurfaceControl> mSurfaceControl;
H A DBufferQueueScheduler.cpp26 const sp<SurfaceControl>& surfaceControl, const HSV& color, int id)
68 const sp<SurfaceControl>& surfaceControl, const HSV& color) {
/frameworks/native/cmds/flatland/
H A DGLHelper.h19 #include <gui/SurfaceControl.h>
27 class SurfaceControl;
58 sp<SurfaceControl>* surfaceControl, EGLSurface* surface);
/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 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 DDimLayer.java31 import android.view.SurfaceControl;
40 private SurfaceControl mDimSurface;
106 SurfaceControl.FX_SURFACE_DIM | SurfaceControl.HIDDEN);
108 mDimSurface = new SurfaceControl(service.mFxSession, mName,
110 SurfaceControl.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 DRemoteSurfaceTrace.java24 import android.view.SurfaceControl;
35 class RemoteSurfaceTrace extends SurfaceControl {
44 RemoteSurfaceTrace(FileDescriptor fd, SurfaceControl wrapped, WindowState window) {
/frameworks/base/services/core/java/com/android/server/display/
H A 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);
89 SurfaceControl.PhysicalDisplayInfo[] configs =
90 SurfaceControl.getDisplayConfigs(displayToken);
97 int activeConfig = SurfaceControl.getActiveConfig(displayToken);
105 int activeColorMode = SurfaceControl.getActiveColorMode(displayToken);
114 int[] colorModes = SurfaceControl.getDisplayColorModes(displayToken);
146 return SurfaceControl
[all...]
H A DDisplayDevice.java24 import android.view.SurfaceControl;
152 SurfaceControl.setDisplayLayerStack(mDisplayToken, layerStack);
185 SurfaceControl.setDisplayProjection(mDisplayToken,
196 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);
578 SurfaceControl.openTransaction();
584 flags = SurfaceControl.FX_SURFACE_DIM | SurfaceControl.HIDDEN;
586 flags = SurfaceControl.OPAQUE | SurfaceControl
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_SurfaceControl.cpp17 #define LOG_TAG "SurfaceControl"
105 SurfaceControl *parent = reinterpret_cast<SurfaceControl*>(parentObject);
106 sp<SurfaceControl> surface = client->createSurface(
118 sp<SurfaceControl> ctrl(reinterpret_cast<SurfaceControl *>(nativeObject));
123 sp<SurfaceControl> ctrl(reinterpret_cast<SurfaceControl *>(nativeObject));
129 SurfaceControl* const ctrl = reinterpret_cast<SurfaceControl *>(nativeObjec
[all...]
/frameworks/base/libs/hwui/tests/common/
H A DTestContext.h24 #include <gui/SurfaceControl.h>
63 sp<SurfaceControl> mSurfaceControl;
/frameworks/wilhelm/tests/sandbox/
H A Dnativewindow.cpp41 sp<SurfaceControl> gControl;
52 sp<SurfaceControl> control =
/frameworks/base/core/java/android/view/
H A DSurfaceControl.java33 * SurfaceControl
36 public class SurfaceControl { class
37 private static final String TAG = "SurfaceControl";
91 private static native SurfaceControl.PhysicalDisplayInfo[] nativeGetDisplayConfigs(
238 * Use only with {@link SurfaceControl#getBuiltInDisplay(int)}.
244 * Use only with {@link SurfaceControl#getBuiltInDisplay(int)}.
252 * Use only with {@link SurfaceControl#setDisplayPowerMode}.
258 * Use only with {@link SurfaceControl#setDisplayPowerMode}.
264 * Use only with {@link SurfaceControl#setDisplayPowerMode}.
270 * low power mode. Use only with {@link SurfaceControl#setDisplayPowerMod
299 public SurfaceControl(SurfaceSession session, method in class:SurfaceControl
305 public SurfaceControl(SurfaceSession session, method in class:SurfaceControl
311 public SurfaceControl(SurfaceSession session, String name, int w, int h, int format, int flags, method in class:SurfaceControl
344 public SurfaceControl(SurfaceControl other) { method in class:SurfaceControl
[all...]
H A DSurfaceView.java117 SurfaceControl mSurfaceControl;
120 SurfaceControl mDeferredDestroySurfaceControl;
178 private int mSurfaceFlags = SurfaceControl.HIDDEN;
450 mSurfaceFlags |= SurfaceControl.SECURE;
452 mSurfaceFlags &= ~SurfaceControl.SECURE;
458 mSurfaceFlags |= SurfaceControl.OPAQUE;
460 mSurfaceFlags &= ~SurfaceControl.OPAQUE;
553 SurfaceControl.openTransaction();
580 SurfaceControl.closeTransaction();
699 // and destroy the 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/packages/Shell/src/com/android/shell/
H A DScreenshooter.java26 import android.view.SurfaceControl;
93 SurfaceControl.screenshot((int) screenshotWidth, (int) screenshotHeight);
/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");

Completed in 6848 milliseconds

123