/development/ndk/platforms/android-9/include/android/ |
H A D | native_window_jni.h | 34 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface);
|
/development/ndk/platforms/android-9/samples/native-activity/jni/ |
H A D | main.c | 53 EGLSurface surface; member in struct:engine 81 EGLSurface surface; local 101 surface = eglCreateWindowSurface(display, config, engine->app->window, NULL); 104 if (eglMakeCurrent(display, surface, surface, context) == EGL_FALSE) { 109 eglQuerySurface(display, surface, EGL_WIDTH, &w); 110 eglQuerySurface(display, surface, EGL_HEIGHT, &h); 114 engine->surface = surface; 142 eglSwapBuffers(engine->display, engine->surface); [all...] |
/development/samples/RenderScript/Levels/src/com/android/rs/levels/ |
H A D | LevelsRSActivity.java | 214 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 215 if (surface != null) { 216 mOutPixelsAllocation.setSurface(new Surface(surface)); 222 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 223 if (surface != null) { 224 mOutPixelsAllocation.setSurface(new Surface(surface)); 229 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument 235 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
|
/development/ndk/platforms/android-9/include/EGL/ |
H A D | egl.h | 273 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface(EGLDisplay dpy, EGLSurface surface); 274 EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface(EGLDisplay dpy, EGLSurface surface, 288 EGLAPI EGLBoolean EGLAPIENTRY eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, 290 EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 291 EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 312 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surface); 313 EGLAPI EGLBoolean EGLAPIENTRY eglCopyBuffers(EGLDisplay dpy, EGLSurface surface,
|
H A D | eglext.h | 71 EGLAPI EGLBoolean EGLAPIENTRY eglLockSurfaceKHR (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list); 72 EGLAPI EGLBoolean EGLAPIENTRY eglUnlockSurfaceKHR (EGLDisplay display, EGLSurface surface); 74 typedef EGLBoolean (EGLAPIENTRYP PFNEGLLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list); 75 typedef EGLBoolean (EGLAPIENTRYP PFNEGLUNLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface);
|
/development/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | MediaPlayerWrapper.java | 141 public void setSurface(Surface surface) { argument 142 mSurface = surface; 283 public static final void setSurface(MediaPlayer player, Surface surface) { argument 284 player.setSurface(surface);
|
H A D | SampleMediaRouteProvider.java | 212 public void onWindowCreated(Surface surface) { 213 mMediaPlayer.setSurface(surface);
|
H A D | OverlayDisplayWindow.java | 95 public void onWindowCreated(Surface surface); argument
|
/development/samples/ApiDemos/src/com/example/android/apis/media/ |
H A D | MediaPlayerDemo_Video.java | 64 mPreview = (SurfaceView) findViewById(R.id.surface);
|
/development/ndk/platforms/android-14/samples/native-media/jni/ |
H A D | native-media-jni.c | 495 // set the surface 496 void Java_com_example_nativemedia_NativeMedia_setSurface(JNIEnv *env, jclass clazz, jobject surface) argument 498 // obtain a native window from a Java surface 499 theNativeWindow = ANativeWindow_fromSurface(env, surface);
|
/development/ndk/platforms/android-14/samples/native-media/src/com/example/nativemedia/ |
H A D | MyGLSurfaceView.java | 178 * surface is created. 214 synchronized public void onFrameAvailable(SurfaceTexture surface) { argument 220 //Log.v(TAG, "onFrameAvailable " + surface.getTimestamp());
|
H A D | NativeMedia.java | 333 public static native void setSurface(Surface surface); argument
|
/development/ndk/platforms/android-4/samples/san-angeles/jni/ |
H A D | importgl.h | 69 FNDEF(EGLBoolean, eglDestroySurface, (EGLDisplay dpy, EGLSurface surface));
|