/frameworks/wilhelm/src/android/ |
H A D | MediaPlayer_to_android.cpp | 741 android::sp<android::Surface> surface( 744 surface->getIGraphicBufferProducer());
|
/frameworks/wilhelm/tests/native-media/jni/ |
H A D | native-media-jni.c | 513 // set the surface 514 void Java_com_example_nativemedia_NativeMedia_setSurface(JNIEnv *env, jclass clazz, jobject surface) argument 516 // obtain a native window from a Java surface 517 theNativeWindow = ANativeWindow_fromSurface(env, surface);
|
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
H A D | MyGLSurfaceView.java | 190 * surface is created. 226 synchronized public void onFrameAvailable(SurfaceTexture surface) { argument 232 //Log.v(TAG, "onFrameAvailable " + surface.getTimestamp());
|
H A D | NativeMedia.java | 333 public static native void setSurface(Surface surface); argument 392 Surface surface = new Surface(mMyGLSurfaceView.getSurfaceTexture()); 393 setSurface(surface); 394 surface.release();
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | nativewindow.cpp | 68 sp<Surface> surface = control->getSurface(); local 69 CHECK(surface != NULL); 71 gSurface = surface; 75 return surface.get();
|
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/ |
H A D | VideoConsumptionExampleFragment.java | 64 SurfaceView surface = (SurfaceView) videoSurfaceFragment.getView(); 65 surface.getHolder().addCallback(new SurfaceHolder.Callback() {
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/ |
H A D | VideoConsumptionExampleFragment.java | 64 SurfaceView surface = (SurfaceView) videoSurfaceFragment.getView(); 65 surface.getHolder().addCallback(new SurfaceHolder.Callback() {
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | LocalPlayer.java | 299 protected void setSurface(Surface surface) { argument 300 mSurface = surface; 379 public static final void setSurface(MediaPlayer player, Surface surface) { argument 380 player.setSurface(surface); 401 // add surface holder callback 420 // remove surface holder callback 424 // hide the surface view when SurfaceViewPlayer is destroyed 570 // Set up the surface view. 637 public void onWindowCreated(Surface surface) { argument 638 setSurface(surface); [all...] |
H A D | OverlayDisplayWindow.java | 99 void onWindowCreated(Surface surface); argument
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | LocalPlayer.java | 299 protected void setSurface(Surface surface) { argument 300 mSurface = surface; 379 public static final void setSurface(MediaPlayer player, Surface surface) { argument 380 player.setSurface(surface); 401 // add surface holder callback 420 // remove surface holder callback 424 // hide the surface view when SurfaceViewPlayer is destroyed 570 // Set up the surface view. 637 public void onWindowCreated(Surface surface) { argument 638 setSurface(surface); [all...] |
H A D | OverlayDisplayWindow.java | 99 void onWindowCreated(Surface surface); argument
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | ImageProcessingActivityJB.java | 349 // During startup we may not have a surface yet to display, if 355 // Our display surface changed, set it. 770 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 771 mProcessor.setSurface(new Surface(surface)); 775 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 776 mProcessor.setSurface(new Surface(surface)); 780 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument 788 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
|
/frameworks/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/ |
H A D | CameraPreviewActivity.java | 138 public void onSurfaceTextureAvailable(SurfaceTexture surface, argument 140 mPreviewTexture = surface; 148 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 152 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument 157 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
|
H A D | RsYuv.java | 127 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 128 android.util.Log.v("cpa", "onSurfaceTextureAvailable " + surface); 129 mSurface = new Surface(surface); 134 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 135 android.util.Log.v("cpa", "onSurfaceTextureSizeChanged " + surface); 136 mSurface = new Surface(surface); 141 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument 142 android.util.Log.v("cpa", "onSurfaceTextureDestroyed " + surface); 149 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
H A D | CameraOps.java | 341 public void setSurface(Surface surface) { argument 343 surfaceList.add(surface);
|
/frameworks/rs/tests/java_api/SampleTest/src/com/android/rs/sample/ |
H A D | SampleRSActivity.java | 52 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument 55 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 56 if (surface != null) { 57 mOutPixelsAllocation.setSurface(new Surface(surface)); 61 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 62 if (surface != null) { 63 mOutPixelsAllocation.setSurface(new Surface(surface)); 68 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/ |
H A D | VrView.java | 124 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { 125 mSurfaceTexture = surface; 129 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { 130 mSurfaceTexture = surface; 134 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { 139 public void onSurfaceTextureUpdated(SurfaceTexture surface) {
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | VrState.java | 58 public void createOutputAllocation(Surface surface, int w, int h) {
argument 80 mScrAllocation.setSurface(surface);
|
/frameworks/rs/cpp/ |
H A D | Allocation.cpp | 506 sp<Surface> surface(static_cast<Surface*>(anw)); 507 return surface;
|
/frameworks/rs/driver/ |
H A D | rsdAllocation.cpp | 388 // Allocation is allocated when the surface is created 574 //If we have an attached surface, need to release it. 706 // Must lock the whole surface 735 // Cleanup old surface if there is one. 780 RSD_CALL_GL(eglSwapBuffers, dc->gl.egl.display, dc->gl.egl.surface); 803 rsc->setError(RS_ERROR_DRIVER, "Sent IO buffer with no attached surface.");
|
H A D | rsdFrameBufferObj.cpp | 131 eglQuerySurface(dc->gl.egl.display, dc->gl.egl.surface, EGL_WIDTH, &width); 132 eglQuerySurface(dc->gl.egl.display, dc->gl.egl.surface, EGL_HEIGHT, &height);
|
H A D | rsdGL.cpp | 132 ALOGE(" EGL context %p surface %p, Display=%p", dc->gl.egl.context, dc->gl.egl.surface, 160 if (dc->gl.egl.surface != EGL_NO_SURFACE) { 161 RSD_CALL_GL(eglDestroySurface, dc->gl.egl.display, dc->gl.egl.surface); 429 if (dc->gl.egl.surface != nullptr) { 436 ret = eglDestroySurface(dc->gl.egl.display, dc->gl.egl.surface); 439 dc->gl.egl.surface = nullptr; 451 dc->gl.egl.surface = eglCreateWindowSurface(dc->gl.egl.display, dc->gl.egl.config, 454 if (dc->gl.egl.surface == EGL_NO_SURFACE) { 459 ret = eglMakeCurrent(dc->gl.egl.display, dc->gl.egl.surface, [all...] |
H A D | rsdGL.h | 36 EGLSurface surface; member in struct:RsdGLRec::__anon1988
|
/frameworks/rs/script_api/ |
H A D | rs_graphics.spec | 401 summary: Clear the specified color from the surface 403 Clears the rendering surface to the specified color. 425 summary: Clear the depth surface 627 summary: Get the surface height 629 Get the height of the current rendering surface. 638 summary: Get the surface width 640 Get the width of the current rendering surface.
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
H A D | CameraOps.java | 376 public void setSurface(Surface surface) { argument 378 surfaceList.add(surface);
|