Home
last modified time | relevance | path

Searched refs:surface (Results 1 – 22 of 22) sorted by relevance

/development/ndk/platforms/android-9/samples/native-activity/jni/
Dmain.c53 EGLSurface surface; member
81 EGLSurface surface; in engine_init_display() local
101 surface = eglCreateWindowSurface(display, config, engine->app->window, NULL); in engine_init_display()
104 if (eglMakeCurrent(display, surface, surface, context) == EGL_FALSE) { in engine_init_display()
109 eglQuerySurface(display, surface, EGL_WIDTH, &w); in engine_init_display()
110 eglQuerySurface(display, surface, EGL_HEIGHT, &h); in engine_init_display()
114 engine->surface = surface; in engine_init_display()
142 eglSwapBuffers(engine->display, engine->surface); in engine_draw_frame()
154 if (engine->surface != EGL_NO_SURFACE) { in engine_term_display()
155 eglDestroySurface(engine->display, engine->surface); in engine_term_display()
[all …]
/development/samples/RenderScript/Levels/src/com/android/rs/levels/
DLevelsRSActivity.java214 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable() argument
215 if (surface != null) { in onSurfaceTextureAvailable()
216 mOutPixelsAllocation.setSurface(new Surface(surface)); in onSurfaceTextureAvailable()
222 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged() argument
223 if (surface != null) { in onSurfaceTextureSizeChanged()
224 mOutPixelsAllocation.setSurface(new Surface(surface)); in onSurfaceTextureSizeChanged()
229 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed() argument
235 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated() argument
/development/ndk/platforms/android-9/include/EGL/
Degl.h273 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,
Deglext.h71 EGLAPI EGLBoolean EGLAPIENTRY eglLockSurfaceKHR (EGLDisplay display, EGLSurface surface, const EGLi…
72 EGLAPI EGLBoolean EGLAPIENTRY eglUnlockSurfaceKHR (EGLDisplay display, EGLSurface surface);
74 typedef EGLBoolean (EGLAPIENTRYP PFNEGLLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface,…
75 …edef EGLBoolean (EGLAPIENTRYP PFNEGLUNLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface);
/development/ndk/platforms/android-9/include/android/
Dnative_window_jni.h34 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface);
/development/ndk/platforms/android-16/include/android/
Dnative_window_jni.h34 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface);
/development/ndk/platforms/android-13/include/android/
Dnative_window_jni.h34 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface);
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DLocalPlayer.java294 protected void setSurface(Surface surface) { in setSurface() argument
295 mSurface = surface; in setSurface()
366 public static final void setSurface(MediaPlayer player, Surface surface) { in setSurface() argument
367 player.setSurface(surface); in setSurface()
616 public void onWindowCreated(Surface surface) { in onWindowCreated() argument
617 setSurface(surface); in onWindowCreated()
DOverlayDisplayWindow.java95 public void onWindowCreated(Surface surface); in onWindowCreated() argument
/development/samples/Support7Demos/src/com/example/android/supportv7/media/
DLocalPlayer.java297 protected void setSurface(Surface surface) { in setSurface() argument
298 mSurface = surface; in setSurface()
369 public static final void setSurface(MediaPlayer player, Surface surface) { in setSurface() argument
370 player.setSurface(surface); in setSurface()
619 public void onWindowCreated(Surface surface) { in onWindowCreated() argument
620 setSurface(surface); in onWindowCreated()
DOverlayDisplayWindow.java98 public void onWindowCreated(Surface surface); in onWindowCreated() argument
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/
DMediaCodecWrapper.java140 Surface surface) throws IOException { in fromVideoFormat() argument
151 videoCodec.configure(trackFormat, surface, null, 0); in fromVideoFormat()
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/
DMediaCodecWrapper.java140 Surface surface) throws IOException { in fromVideoFormat() argument
151 videoCodec.configure(trackFormat, surface, null, 0); in fromVideoFormat()
/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/
DMediaCodecWrapper.java140 Surface surface) throws IOException { in fromVideoFormat() argument
151 videoCodec.configure(trackFormat, surface, null, 0); in fromVideoFormat()
/development/samples/ApiDemos/src/com/example/android/apis/media/
DMediaPlayerDemo_Video.java64 mPreview = (SurfaceView) findViewById(R.id.surface); in onCreate()
/development/ndk/platforms/android-14/samples/native-media/jni/
Dnative-media-jni.c496 void Java_com_example_nativemedia_NativeMedia_setSurface(JNIEnv *env, jclass clazz, jobject surface) in Java_com_example_nativemedia_NativeMedia_setSurface() argument
499 theNativeWindow = ANativeWindow_fromSurface(env, surface); in Java_com_example_nativemedia_NativeMedia_setSurface()
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DCamera2BasicFragment.java537 Surface surface = new Surface(texture); in createCameraPreviewSession() local
542 mPreviewRequestBuilder.addTarget(surface); in createCameraPreviewSession()
545 mCameraDevice.createCaptureSession(Arrays.asList(surface, mImageReader.getSurface()), in createCameraPreviewSession()
/development/samples/ApiDemos/src/com/example/android/apis/media/projection/
DMediaProjectionDemo.java78 mSurfaceView = (SurfaceView) findViewById(R.id.surface); in onCreate()
/development/ndk/platforms/android-4/samples/san-angeles/jni/
Dimportgl.h69 FNDEF(EGLBoolean, eglDestroySurface, (EGLDisplay dpy, EGLSurface surface));
/development/ndk/platforms/android-14/samples/native-media/src/com/example/nativemedia/
DMyGLSurfaceView.java214 synchronized public void onFrameAvailable(SurfaceTexture surface) { in onFrameAvailable() argument
DNativeMedia.java333 public static native void setSurface(Surface surface); in setSurface() argument
/development/samples/SearchableDictionary/res/raw/
Ddefinitions.txt50 altitude - n. elevation especially above sea level or above the earth's surface
369 exterior - n. the outer side or surface of something
370 external - j. happening or arising or located outside or beyond some limits or especially surface