Searched defs:surface (Results 1 - 25 of 79) sorted by relevance

1234

/frameworks/base/include/media/stagefright/
H A DNativeWindowWrapper.h35 const sp<Surface> &surface) :
36 mSurface(surface) { }
34 NativeWindowWrapper( const sp<Surface> &surface) argument
/frameworks/base/services/surfaceflinger/tests/resize/
H A Dresize.cpp42 sp<Surface> surface = client->createSurface(getpid(), 0, 160, 240, local
47 surface->setLayer(100000);
51 surface->lock(&info);
54 surface->unlockAndPost();
56 surface->lock(&info);
58 surface->unlockAndPost();
61 surface->setSize(320, 240);
/frameworks/base/services/surfaceflinger/tests/surface/
H A Dsurface.cpp50 sp<Surface> surface = Surface::readFromParcel(parcel); local
51 ANativeWindow* window = surface.get();
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DEGLSurfaceImpl.java28 public EGLSurfaceImpl(int surface) { argument
29 mEGLSurface = surface;
/frameworks/base/opengl/tests/finish/
H A Dfinish.cpp45 EGLSurface surface; local
61 surface = eglCreateWindowSurface(dpy, config, window, NULL);
63 eglMakeCurrent(dpy, surface, surface, context);
64 eglQuerySurface(dpy, surface, EGL_WIDTH, &w);
65 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h);
113 eglSwapBuffers(dpy, surface);
127 eglSwapBuffers(dpy, surface);
142 eglSwapBuffers(dpy, surface);
157 eglSwapBuffers(dpy, surface);
[all...]
/frameworks/base/opengl/tests/textures/
H A Dtextures.cpp41 EGLSurface surface; local
57 surface = eglCreateWindowSurface(dpy, config, window, NULL);
59 eglMakeCurrent(dpy, surface, surface, context);
60 eglQuerySurface(dpy, surface, EGL_WIDTH, &w);
61 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h);
116 eglSwapBuffers(dpy, surface);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGetBitmapActivity.java81 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
85 mCamera.setPreviewTexture(surface);
94 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
99 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument
106 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
H A DTextureViewActivity.java101 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
110 mCamera.setPreviewTexture(surface);
147 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
152 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument
159 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
H A DCanvasTextureViewActivity.java50 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
56 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
61 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument
67 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
75 public RenderingThread(TextureView surface) { argument
76 mSurface = surface;
/frameworks/base/opengl/tests/filter/
H A Dfilter.cpp37 EGLSurface surface; local
52 surface = eglCreateWindowSurface(dpy, config, window, NULL);
57 surface = eglCreatePbufferSurface(dpy, config, attribs);
58 if (surface == EGL_NO_SURFACE) {
63 eglMakeCurrent(dpy, surface, surface, context);
64 eglQuerySurface(dpy, surface, EGL_WIDTH, &w);
65 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h);
156 eglSwapBuffers(dpy, surface);
182 eglSwapBuffers(dpy, surface);
[all...]
/frameworks/base/opengl/tests/gl_perf/
H A Dgl2_perf.cpp57 static EGLSurface surface; variable
98 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL);
100 if (surface == EGL_NO_SURFACE) {
111 returnValue = eglMakeCurrent(dpy, surface, surface, context);
116 eglQuerySurface(dpy, surface, EGL_WIDTH, &w);
118 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h);
126 eglSwapBuffers(dpy, surface);
134 eglSwapBuffers(dpy, surface);
/frameworks/base/opengl/tests/linetex/
H A Dlinetex.cpp45 EGLSurface surface; local
61 surface = eglCreateWindowSurface(dpy, config, window, NULL);
63 eglMakeCurrent(dpy, surface, surface, context);
64 eglQuerySurface(dpy, surface, EGL_WIDTH, &w);
65 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h);
109 eglSwapBuffers(dpy, surface);
/frameworks/media/libvideoeditor/lvpp/
H A DPreviewRenderer.cpp30 const sp<Surface> &surface, size_t width, size_t height) {
32 PreviewRenderer* renderer = new PreviewRenderer(surface, width, height);
43 const sp<Surface> &surface,
45 : mSurface(surface),
29 CreatePreviewRenderer( const sp<Surface> &surface, size_t width, size_t height) argument
42 PreviewRenderer( const sp<Surface> &surface, size_t width, size_t height) argument
/frameworks/base/graphics/java/android/renderscript/
H A DRSTextureView.java68 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
70 mSurfaceTexture = surface;
78 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
80 mSurfaceTexture = surface;
88 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument
90 mSurfaceTexture = surface;
100 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
102 mSurfaceTexture = surface;
135 * @param sc The RS surface config to create.
/frameworks/base/include/private/surfaceflinger/
H A DLayerState.h37 : surface(0), what(0),
55 SurfaceID surface; member in struct:android::layer_state_t
/frameworks/base/include/surfaceflinger/
H A DSurface.h51 static bool isValid(const sp<SurfaceControl>& surface) { argument
52 return (surface != 0) && surface->isValid();
62 // release surface data from java
93 const sp<ISurface>& surface,
130 static bool isValid(const sp<Surface>& surface) { argument
131 return (surface != 0) && surface->isValid();
/frameworks/base/native/android/
H A Dnative_window.cpp27 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface) { argument
28 sp<ANativeWindow> win = android_Surface_getNativeWindow(env, surface);
/frameworks/base/opengl/libagl/
H A DTextureObjectManager.h52 void setImageBits(void* vaddr) { surface.data = (GGLubyte*)vaddr; }
74 GGLSurface surface; member in class:android::EGLTextureObject
/frameworks/base/opengl/tests/fillrate/
H A Dfillrate.cpp44 EGLSurface surface; local
60 surface = eglCreateWindowSurface(dpy, config, window, NULL);
62 eglMakeCurrent(dpy, surface, surface, context);
63 eglQuerySurface(dpy, surface, EGL_WIDTH, &w);
64 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h);
124 eglSwapBuffers(dpy, surface);
134 eglSwapBuffers(dpy, surface);
146 eglSwapBuffers(dpy, surface);
/frameworks/base/opengl/tests/swapinterval/
H A Dswapinterval.cpp43 EGLSurface surface; local
70 surface = eglCreateWindowSurface(dpy, config, window, NULL);
71 if (surface == EGL_NO_SURFACE) {
83 eglMakeCurrent(dpy, surface, surface, context);
84 eglQuerySurface(dpy, surface, EGL_WIDTH, &w);
85 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h);
99 eglSwapBuffers(dpy, surface);
111 eglSwapBuffers(dpy, surface);
114 eglSwapBuffers(dpy, surface);
[all...]
/frameworks/base/services/java/com/android/server/wm/
H A DBlackFrame.java33 final Surface surface; field in class:BlackFrame.BlackSurface
41 surface = new Surface(session, 0, "BlackSurface",
45 " BLACK " + surface + ": CREATE layer=" + layer);
46 surface.setAlpha(1.0f);
47 surface.setLayer(layer);
54 surface.setPosition(mTmpFloats[Matrix.MTRANS_X],
56 surface.setMatrix(
71 surface.setMatrix(1, 0, 0, 1);
115 " BLACK " + mBlackSurfaces[i].surface + ": DESTROY");
116 mBlackSurfaces[i].surface
[all...]
/frameworks/base/libs/rs/driver/
H A DrsdGL.h39 EGLSurface surface; member in struct:RsdGLRec::__anon284
/frameworks/base/opengl/tests/angeles/
H A Dapp-linux.cpp134 EGLSurface surface; local
150 surface = eglCreateWindowSurface(dpy, config, window, NULL);
153 fprintf(stderr,"surface = %p\n", surface);
159 eglMakeCurrent(dpy, surface, surface, context);
162 eglQuerySurface(dpy, surface, EGL_WIDTH, &sWindowWidth);
163 eglQuerySurface(dpy, surface, EGL_HEIGHT, &sWindowHeight);
166 sEglSurface = surface;
/frameworks/base/cmds/stagefright/
H A Dstream.cpp330 sp<Surface> surface = control->getSurface(); local
331 CHECK(surface != NULL);
363 player->setVideoSurfaceTexture(surface->getSurfaceTexture());
/frameworks/base/core/jni/
H A Dandroid_view_TextureView.cpp68 jobject surface, jint width, jint height) {
70 sp<SurfaceTexture> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, surface));
102 jobject surface) {
104 sp<SurfaceTexture> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, surface));
67 android_view_TextureView_setDefaultBufferSize(JNIEnv* env, jobject, jobject surface, jint width, jint height) argument
101 android_view_TextureView_createNativeWindow(JNIEnv* env, jobject textureView, jobject surface) argument

Completed in 321 milliseconds

1234