/frameworks/native/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/rs/driver/ |
H A D | rsdGL.h | 39 EGLSurface surface; member in struct:RsdGLRec::__anon1536
|
/frameworks/base/media/java/android/media/ |
H A D | RemoteDisplay.java | 115 private void notifyDisplayConnected(final Surface surface, argument 120 mListener.onDisplayConnected(surface, width, height, flags); 149 void onDisplayConnected(Surface surface, int width, int height, int flags); argument
|
/frameworks/av/cmds/stagefright/ |
H A D | codec.cpp | 45 "\t\t[-S] allocate buffers from a surface\n", 71 const android::sp<android::Surface> &surface) { 123 format, isVideo ? surface : NULL, 377 sp<Surface> surface; local 407 surface = control->getSurface(); 408 CHECK(surface != NULL); 416 player->setSurface(surface->getSurfaceTexture()); 422 decode(looper, argv[0], useAudio, useVideo, surface); 66 decode( const android::sp<android::ALooper> &looper, const char *path, bool useAudio, bool useVideo, const android::sp<android::Surface> &surface) argument
|
/frameworks/av/media/libmedia/ |
H A D | mediarecorder.cpp | 52 status_t MediaRecorder::setPreviewSurface(const sp<Surface>& surface) argument 54 ALOGV("setPreviewSurface(%p)", surface.get()); 64 ALOGE("try to set preview surface without setting the video source first"); 68 status_t ret = mMediaRecorder->setPreviewSurface(surface);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaRecorderClient.cpp | 84 status_t MediaRecorderClient::setPreviewSurface(const sp<Surface>& surface) argument 92 return mRecorder->setPreviewSurface(surface);
|
/frameworks/av/media/libstagefright/ |
H A D | CameraSourceTimeLapse.cpp | 41 const sp<Surface>& surface, 46 videoSize, videoFrameRate, surface, 64 const sp<Surface>& surface, 66 : CameraSource(camera, proxy, cameraId, videoSize, videoFrameRate, surface, true), 35 CreateFromCamera( const sp<ICamera> &camera, const sp<ICameraRecordingProxy> &proxy, int32_t cameraId, Size videoSize, int32_t videoFrameRate, const sp<Surface>& surface, int64_t timeBetweenFrameCaptureUs) argument 58 CameraSourceTimeLapse( const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, Size videoSize, int32_t videoFrameRate, const sp<Surface>& surface, int64_t timeBetweenFrameCaptureUs) argument
|
/frameworks/base/core/jni/ |
H A D | android_view_TextureView.cpp | 68 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
|
/frameworks/base/services/input/ |
H A D | SpriteController.cpp | 163 ALOGE("Error %d resizing sprite surface from %dx%d to %dx%d", 175 ALOGE("Error %d hiding sprite surface after resize.", status); 199 sp<Surface> surface = update.state.surfaceControl->getSurface(); local 201 status_t status = surface->lock(&surfaceInfo); 203 ALOGE("Error %d locking sprite surface before drawing.", status); 229 status = surface->unlockAndPost(); 231 ALOGE("Error %d unlocking and posting sprite surface after drawing.", status); 240 // Set sprite surface properties and make them visible. 263 ALOGE("Error %d setting sprite surface alpha.", status); 274 ALOGE("Error %d setting sprite surface positio [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
H A D | DragState.java | 67 DragState(WindowManagerService service, IBinder token, Surface surface, argument 71 mSurface = surface; 293 // Move the surface to the given touch
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | GLTextureViewActivity.java | 91 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 92 mRenderThread = new RenderThread(getResources(), surface); 111 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 115 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument 126 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument 147 RenderThread(Resources resources, SurfaceTexture surface) { argument 149 mSurface = surface;
|
/frameworks/base/tests/RenderScriptTests/LivePreview/src/com/android/rs/livepreview/ |
H A D | CameraPreviewActivity.java | 136 public void onSurfaceTextureAvailable(SurfaceTexture surface, argument 138 mPreviewTexture = surface; 146 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 150 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument 154 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
|
/frameworks/native/include/private/gui/ |
H A D | LayerState.h | 54 : surface(0), what(0), 73 SurfaceID surface; member in struct:android::layer_state_t 117 sp<ISurfaceTexture> surface; member in struct:android::DisplayState
|
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_object.h | 135 EGLNativeWindowType win, EGLSurface surface, 138 EGLSurface surface; member in class:android::egl_surface_t 179 egl_surface_t* get_surface(EGLSurface surface) { argument 180 return egl_to_native_cast<egl_surface_t>(surface);
|
/frameworks/native/opengl/tests/gl2_basic/ |
H A D | gl2_basic.cpp | 273 EGLSurface surface; local 313 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL); 315 if (surface == EGL_NO_SURFACE) { 326 returnValue = eglMakeCurrent(dpy, surface, surface, context); 331 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); 333 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); 351 eglSwapBuffers(dpy, surface);
|
/frameworks/native/opengl/tests/gl_yuvtex/ |
H A D | gl_yuvtex.cpp | 236 EGLSurface surface; local 269 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL); 271 if (surface == EGL_NO_SURFACE) { 282 returnValue = eglMakeCurrent(dpy, surface, surface, context); 287 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); 289 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); 301 fprintf(stderr, "Could not set up texture surface.\n"); 314 eglSwapBuffers(dpy, surface);
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcColorEquiv.cpp | 129 static EGLSurface surface; variable 397 list->sur = surface; 420 hwcTestInitDisplay(verbose, &dpy, &surface, &width, &height);
|
H A D | hwcRects.cpp | 170 static EGLSurface surface; variable 345 list->sur = surface; 539 hwcTestInitDisplay(verbose, &dpy, &surface, &width, &height);
|
/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/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | GLEnvironment.java | 102 public int registerSurface(Surface surface) { argument 103 int result = nativeAddSurface(surface); 105 throw new RuntimeException("Error registering surface " + surface + "!"); 111 Surface surface = new Surface(surfaceTexture); 112 int result = nativeAddSurfaceWidthHeight(surface, width, height); 113 surface.release(); 123 throw new RuntimeException("Error registering surface from " 131 throw new RuntimeException("Could not activate surface " + surfaceId + "!"); 137 throw new RuntimeException("Could not unregister surface " 171 nativeAddSurface(Surface surface) argument 173 nativeAddSurfaceWidthHeight(Surface surface, int width, int height) argument [all...] |
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_gl_environment.cpp | 135 jobject surface) { 137 if (!surface) { 142 ANativeWindow* window = ANativeWindow_fromSurface(env, surface); 151 // Configure surface 168 ALOGE("GLEnvironment: No suitable EGL configuration found for surface!"); 172 // Create the EGL surface 179 ALOGE("GLEnvironment: Error creating window surface!"); 195 jobject surface, 199 if (!surface) { 204 ANativeWindow* window = ANativeWindow_fromSurface(env, surface); 133 Java_android_filterfw_core_GLEnvironment_nativeAddSurface(JNIEnv* env, jobject thiz, jobject surface) argument 193 Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceWidthHeight(JNIEnv* env, jobject thiz, jobject surface, jint width, jint height) argument [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | gl_env.cpp | 92 surface() != eglGetCurrentSurface(EGL_DRAW)) { 94 if (context() == EGL_NO_CONTEXT || surface() == EGL_NO_SURFACE) 99 eglMakeCurrent(display(), surface(), surface(), context()); 107 const bool result = eglSwapBuffers(display(), surface()) == EGL_TRUE; 121 (surface() != EGL_NO_SURFACE); 139 // Configure context/surface 162 // Create dummy surface using a SurfaceTexture 187 && surface() == eglGetCurrentSurface(EGL_DRAW); 198 int GLEnv::AddWindowSurface(const EGLSurface& surface, WindowHandl argument 204 AddSurface(const EGLSurface& surface) argument 211 const SurfaceWindowPair* surface = FindOrNull(surfaces_, surface_id); local [all...] |
/frameworks/av/camera/ |
H A D | Camera.cpp | 174 status_t Camera::setPreviewDisplay(const sp<Surface>& surface) argument 176 ALOGV("setPreviewDisplay(%p)", surface.get()); 179 if (surface != 0) { 180 return c->setPreviewDisplay(surface); 182 ALOGD("app passed NULL surface"); 196 ALOGD("app passed NULL surface");
|
H A D | ICamera.cpp | 72 status_t setPreviewDisplay(const sp<Surface>& surface) argument 77 Surface::writeToParcel(surface, &data); 288 sp<Surface> surface = Surface::readFromParcel(data); local 289 reply->writeInt32(setPreviewDisplay(surface));
|