/frameworks/base/services/surfaceflinger/tests/surface/ |
H A D | Android.mk | 5 surface.cpp 14 LOCAL_MODULE:= test-surface
|
/frameworks/base/services/surfaceflinger/tests/resize/ |
H A D | resize.cpp | 42 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/opengl/libagl/ |
H A D | TextureObjectManager.cpp | 36 if (mSize && surface.data) 37 free(surface.data); 45 memset(&surface, 0, sizeof(surface)); 46 surface.version = sizeof(surface); 76 if (!surface.data) 79 int w = surface.width; 80 int h = surface.height; 111 return surface; [all...] |
H A D | dxt.h | 29 void *surface, int stride, int format);
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | RSTextureView.java | 68 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/media/stagefright/ |
H A D | NativeWindowWrapper.h | 35 const sp<Surface> &surface) : 36 mSurface(surface) { } 34 NativeWindowWrapper( const sp<Surface> &surface) argument
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
H A D | EGLSurfaceImpl.java | 28 public EGLSurfaceImpl(int surface) { argument 29 mEGLSurface = surface;
|
/frameworks/base/opengl/tests/swapinterval/ |
H A D | swapinterval.cpp | 43 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/core/jni/ |
H A D | android_view_Surface.cpp | 71 jfieldID surface; member in struct:android::so_t 146 const sp<SurfaceControl>& surface) 150 if (surface.get()) { 151 surface->incStrong(clazz); 156 env->SetIntField(clazz, so.surfaceControl, (int)surface.get()); 177 env->SetIntField(clazz, so.surface, (int)result.get()); 195 sp<Surface> surface((Surface*)env->GetIntField(clazz, so.surface)); 196 return surface; 199 static void setSurface(JNIEnv* env, jobject clazz, const sp<Surface>& surface) argument 145 setSurfaceControl(JNIEnv* env, jobject clazz, const sp<SurfaceControl>& surface) argument 232 sp<SurfaceControl> surface; local 746 const sp<SurfaceControl>& surface = getSurfaceControl(env, clazz); local [all...] |
/frameworks/base/opengl/tests/gl_perf/ |
H A D | gl2_perf.cpp | 57 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/services/java/com/android/server/wm/ |
H A D | BlackFrame.java | 33 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/native/include/android/ |
H A D | native_window_jni.h | 34 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface);
|
/frameworks/base/opengl/tests/linetex/ |
H A D | linetex.cpp | 45 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/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | GetBitmapActivity.java | 81 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 D | CanvasTextureViewActivity.java | 50 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/fillrate/ |
H A D | fillrate.cpp | 44 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/finish/ |
H A D | finish.cpp | 45 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/libs/gui/ |
H A D | Surface.cpp | 50 const sp<ISurface>& surface, 52 : mClient(client), mSurface(surface), 78 // the surface's resource. Soon after this call, it will also release 208 Surface::Surface(const sp<SurfaceControl>& surface) argument 210 mSurface(surface->mSurface), 211 mIdentity(surface->mIdentity) 245 const sp<Surface>& surface, Parcel* parcel) 250 if (Surface::isValid(surface)) { 251 sur = surface->mSurface; 252 st = surface 48 SurfaceControl( const sp<SurfaceComposerClient>& client, const sp<ISurface>& surface, const ISurfaceComposerClient::surface_data_t& data) argument 244 writeToParcel( const sp<Surface>& surface, Parcel* parcel) argument 276 sp<Surface> surface = sCachedSurfaces.valueFor(binder).promote(); local [all...] |
/frameworks/base/opengl/tests/angeles/ |
H A D | app-linux.cpp | 134 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/media/libvideoeditor/lvpp/ |
H A D | PreviewRenderer.h | 36 const sp<Surface> &surface, 51 const sp<Surface> &surface,
|
/frameworks/base/include/surfaceflinger/ |
H A D | Surface.h | 51 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/opengl/tests/textures/ |
H A D | textures.cpp | 41 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/opengl/tests/filter/ |
H A D | filter.cpp | 37 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/core/java/android/webkit/ |
H A D | HTML5VideoInline.java | 20 // surface texture as singleton. But the GL texture (m_textureNames) 21 // associated with the surface texture can be used for showing the screen 46 Surface surface = new Surface(surfaceTexture); 47 mPlayer.setSurface(surface); 48 surface.release(); 52 // this should be after surface holder created 75 // Create the surface texture.
|
/frameworks/base/services/surfaceflinger/DisplayHardware/ |
H A D | DisplayHardware.cpp | 157 EGLSurface surface; local 206 * Create our main surface 209 surface = eglCreateWindowSurface(display, config, mNativeWindow.get(), NULL); 210 eglQuerySurface(display, surface, EGL_WIDTH, &mWidth); 211 eglQuerySurface(display, surface, EGL_HEIGHT, &mHeight); 216 eglSurfaceAttrib(display, surface, 220 if (eglQuerySurface(display, surface, EGL_SWAP_BEHAVIOR, &dummy) == EGL_TRUE) { 259 mSurface = surface; 268 result = eglMakeCurrent(display, surface, surface, contex 362 EGLSurface surface = mSurface; local [all...] |