Searched refs:Surface (Results 1 - 25 of 228) sorted by relevance

12345678910

/frameworks/base/core/java/android/view/
H A DSurface.aidl1 /* //device/java/android/android/view/Surface.aidl
20 parcelable Surface;
H A DSurface.java32 public class Surface implements Parcelable { class in inherits:Parcelable
33 private static final String TAG = "Surface";
49 public static final Parcelable.Creator<Surface> CREATOR =
50 new Parcelable.Creator<Surface>() {
52 public Surface createFromParcel(Parcel source) {
54 Surface s = new Surface();
64 public Surface[] newArray(int size) {
65 return new Surface[size];
107 public Surface() { method in class:Surface
121 public Surface(SurfaceTexture surfaceTexture) { method in class:Surface
133 private Surface(int nativeObject) { method in class:Surface
[all...]
/frameworks/av/include/media/stagefright/
H A DNativeWindowWrapper.h21 #include <gui/Surface.h>
25 // Surface derives from ANativeWindow which derives from multiple
31 const sp<Surface> &surfaceTextureClient) :
38 sp<Surface> getSurfaceTextureClient() const {
43 const sp<Surface> mSurfaceTextureClient;
/frameworks/av/libvideoeditor/lvpp/
H A DPreviewRenderer.h29 class Surface;
35 const sp<Surface> &surface,
50 const sp<Surface> &surface,
55 sp<Surface> mSurface;
H A DVideoEditorPreviewController.h28 struct Surface;
41 M4OSA_ERR setSurface(const sp<Surface>& surface);
51 const sp<Surface>& surface,
56 const sp<Surface>& surface,
86 sp<Surface> mSurface;
H A DPreviewRenderer.cpp25 #include <gui/Surface.h>
30 const sp<Surface> &surface, size_t width, size_t height) {
43 const sp<Surface> &surface,
134 ALOGW("Surface::queueBuffer returned error %d", err);
/frameworks/av/include/camera/camera2/
H A DCaptureRequest.h26 class Surface;
32 Vector<sp<Surface> > mSurfaceList;
/frameworks/base/include/android_runtime/
H A Dandroid_view_Surface.h26 class Surface;
29 /* Gets the underlying ANativeWindow for a Surface. */
33 /* Returns true if the object is an instance of Surface. */
36 /* Gets the underlying Surface from a Surface Java object. */
37 extern sp<Surface> android_view_Surface_getSurface(JNIEnv* env, jobject surfaceObj);
39 /* Creates a Surface from an IGraphicBufferProducer. */
/frameworks/native/opengl/tools/glgen/stubs/egl/
H A DeglCreateWindowSurface.java25 Surface sur = null;
32 } else if (win instanceof Surface) {
33 sur = (Surface) win;
45 "Surface, SurfaceView, SurfaceTexture or SurfaceHolder at the moment, " +
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DGLEnvironment.java24 import android.view.Surface;
102 public int registerSurface(Surface surface) {
111 Surface surface = new Surface(surfaceTexture);
171 private native int nativeAddSurface(Surface surface);
173 private native int nativeAddSurfaceWidthHeight(Surface surface, int width, int height);
/frameworks/base/core/java/android/hardware/camera2/
H A DICameraDeviceUser.aidl19 import android.view.Surface;
41 int createStream(int width, int height, int format, in Surface surface);
H A DCaptureRequest.java23 import android.view.Surface;
51 * Surface for the preview SurfaceView or SurfaceTexture, while a
52 * high-resolution still capture would also include a Surface from a ImageReader
61 private final HashSet<Surface> mSurfaceSet;
73 mSurfaceSet = new HashSet<Surface>();
84 mSurfaceSet = (HashSet<Surface>) source.mSurfaceSet.clone();
95 mSurfaceSet = new HashSet<Surface>();
178 Parcelable[] parcelableArray = in.readParcelableArray(Surface.class.getClassLoader());
185 Surface s = (Surface)
[all...]
/frameworks/native/libs/gui/
H A DSurface.cpp17 #define LOG_TAG "Surface"
33 #include <gui/Surface.h>
39 Surface::Surface( function in class:android::Surface
79 Surface::~Surface() {
81 Surface::disconnect(NATIVE_WINDOW_API_CPU);
85 sp<IGraphicBufferProducer> Surface::getIGraphicBufferProducer() const {
89 int Surface::hook_setSwapInterval(ANativeWindow* window, int interval) {
90 Surface*
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_Surface.cpp17 #define LOG_TAG "Surface"
33 #include <gui/Surface.h>
54 "android/view/Surface$OutOfResourcesException";
93 sp<Surface> android_view_Surface_getSurface(JNIEnv* env, jobject surfaceObj) {
94 sp<Surface> sur;
98 sur = reinterpret_cast<Surface *>(
111 sp<Surface> surface(new Surface(bufferProducer, true));
119 ALOGE("Could not create instance of Surface from IGraphicBufferProducer.");
131 static inline bool isSurfaceValid(const sp<Surface>
[all...]
/frameworks/native/include/gui/
H A DSurface.h43 * Surface. Surface then forwards the buffers through Binder IPC
47 class Surface class in namespace:android
48 : public ANativeObjectBase<ANativeWindow, Surface, RefBase>
53 * creates a Surface from the given IGraphicBufferProducer (which concrete
56 * Surface is mainly state-less while it's disconnected, it can be
60 * However, once a Surface is connected, it'll prevent other Surfaces
64 * the controlledByApp flag indicates that this Surface (producer) is
67 Surface(const sp<IGraphicBufferProducer>& bufferProducer, bool controlledByApp = false);
70 * Surface wa
[all...]
H A DSurfaceControl.h37 class Surface;
74 sp<Surface> getSurface() const;
82 friend class Surface;
98 mutable sp<Surface> mSurfaceData;
/frameworks/av/camera/camera2/
H A DCaptureRequest.cpp25 #include <gui/Surface.h>
65 // Surface.writeToParcel
73 sp<Surface> surface;
78 surface = new Surface(gbp);
105 sp<Surface> surface = mSurfaceList[i];
113 parcel->writeString16(String16("android.view.Surface"));
115 // Surface.writeToParcel
117 // Surface.nativeWriteToParcel
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3StreamBufferListener.h20 #include <gui/Surface.h>
/frameworks/base/core/java/android/hardware/display/
H A DIDisplayManager.aidl23 import android.view.Surface;
63 String name, int width, int height, int densityDpi, in Surface surface, int flags);
/frameworks/wilhelm/tests/sandbox/
H A Dnativewindow.cpp23 #include <gui/Surface.h>
39 sp<Surface> gSurface;
54 String8("A Surface"),
68 sp<Surface> surface = control->getSurface();
/frameworks/base/services/java/com/android/server/display/
H A DDisplayDevice.java21 import android.view.Surface;
46 private Surface mCurrentSurface;
63 * Gets the Surface Flinger display token for this display.
66 * by Surface Flinger.
167 public final void setSurfaceInTransactionLocked(Surface surface) {
193 boolean isRotated = (mCurrentOrientation == Surface.ROTATION_90
194 || mCurrentOrientation == Surface.ROTATION_270);
/frameworks/base/services/java/com/android/server/wm/
H A DStrictModeFlash.java26 import android.view.Surface.OutOfResourcesException;
27 import android.view.Surface;
35 private final Surface mSurface = new Surface();
70 } catch (Surface.OutOfResourcesException e) {
93 // Surface.openTransaction() / closeTransaction()
/frameworks/base/media/java/android/media/
H A DRemoteDisplay.java22 import android.view.Surface;
125 private void notifyDisplayConnected(final Surface surface,
159 void onDisplayConnected(Surface surface,
/frameworks/native/services/surfaceflinger/tests/resize/
H A Dresize.cpp25 #include <gui/Surface.h>
44 sp<Surface> surface = surfaceControl->getSurface();
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A DUsageIO.java21 import android.view.Surface;
54 Surface s = mScratchPixelsAllocation2.getSurface();

Completed in 431 milliseconds

12345678910