Searched refs:surface (Results 126 - 150 of 152) sorted by relevance

1234567

/frameworks/wilhelm/tests/native-media/jni/
H A Dnative-media-jni.c513 // 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/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp512 // we need a valid surface, so it's convenient to use the main display
583 // the error will not be reported as "surface XYZ is not authenticated", but
584 // will instead fail later on when the client tries to use the surface,
585 // which should be reported as "surface XYZ returned an -ENODEV". The
1006 // "surface must be bound to the calling thread's current context,
1121 if (state.surface->asBinder() != draw[i].surface->asBinder()) {
1122 // changing the surface is like destroying and
1172 ALOGE_IF(state.surface!=NULL,
1174 "surface i
[all...]
/frameworks/av/libvideoeditor/lvpp/
H A DPreviewPlayer.h46 void setSurface(const sp<Surface> &surface);
H A DVideoEditorPlayer.h101 virtual status_t setVideoSurface(const sp<Surface> &surface);
H A DPreviewPlayer.cpp1771 void PreviewPlayer::setSurface(const sp<Surface> &surface) { argument
1774 mSurface = surface;
1775 setNativeWindow_l(surface);
1813 ALOGI("attempting to reconfigure to use new surface");
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.h54 virtual status_t setPreviewSurface(const sp<Surface>& surface);
H A DStagefrightRecorder.cpp227 status_t StagefrightRecorder::setPreviewSurface(const sp<Surface> &surface) { argument
228 ALOGV("setPreviewSurface: %p", surface.get());
229 mPreviewSurface = surface;
/frameworks/av/services/camera/libcameraservice/
H A DCamera2Client.h50 virtual status_t setPreviewDisplay(const sp<Surface>& surface);
H A DCamera2Client.cpp487 const sp<Surface>& surface) {
496 if (surface != 0) {
497 binder = surface->asBinder();
498 window = surface;
486 setPreviewDisplay( const sp<Surface>& surface) argument
/frameworks/native/opengl/libagl/
H A Dmipmap.cpp33 const GGLSurface* base = &tex->surface;
/frameworks/base/media/java/android/media/videoeditor/
H A DMediaArtistNativeHelper.java3010 * @param surface The surface on which preview has to be displayed
3018 void doPreview(Surface surface, long fromMs, long toMs, boolean loop, argument
3035 nativeStartPreview(surface, fromMs, toMs, callbackAfterFrameCount, loop);
3060 * from the complete story board on the surface
3062 * @param surface The surface on which frame has to be rendered
3064 * @param surfaceWidth The surface width
3065 * @param surfaceHeight The surface height
3071 long renderPreviewFrame(Surface surface, lon argument
3137 renderMediaItemPreviewFrame(Surface surface, String filepath, long time, int framewidth, int frameheight) argument
3919 clearPreviewSurface(Surface surface) argument
3994 nativeClearSurface(Surface surface) argument
[all...]
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
H A DMyGLSurfaceView.java190 * surface is created.
226 synchronized public void onFrameAvailable(SurfaceTexture surface) { argument
232 //Log.v(TAG, "onFrameAvailable " + surface.getTimestamp());
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp373 sp<Surface> surface(android_view_Surface_getSurface(env, jsurface));
374 if (surface != NULL) {
375 surfaceTexture = surface->getSurfaceTexture();
380 "The surface has been released");
H A Dandroid_media_MediaPlayer.cpp274 sp<Surface> surface(android_view_Surface_getSurface(env, jsurface));
275 if (surface != NULL) {
276 new_st = surface->getSurfaceTexture();
279 "The surface does not have a binding SurfaceTexture!");
285 "The surface has been released");
314 // Handle the case where the display surface was set before the mp was
331 // Handle the case where the display surface was set before the mp was
/frameworks/base/opengl/java/android/opengl/
H A DGLSurfaceView.java41 * An implementation of SurfaceView that uses the dedicated surface for
47 * <li>Manages a surface, which is a special piece of memory that can be
49 * <li>Manages an EGL display, which enables OpenGL to render into a surface.
86 * By default GLSurfaceView will create a PixelFormat.RGB_888 format surface. If a translucent
87 * surface is required, call getHolder().setFormat(PixelFormat.TRANSLUCENT).
88 * The exact format of a TRANSLUCENT surface is device dependent, but it will be
89 * a 32-bit-per-pixel surface with 8 bits per component.
174 * when the surface is created, or when {@link #requestRender} is called.
241 // underlying surface is created and destroyed
256 * whenever a surface i
799 destroySurface(EGL10 egl, EGLDisplay display, EGLSurface surface) argument
821 destroySurface(EGL10 egl, EGLDisplay display, EGLSurface surface) argument
[all...]
/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/
H A DImageProcessingActivity.java301 mSurfaceView = (SurfaceView) findViewById(R.id.surface);
/frameworks/base/tests/RenderScriptTests/ImageProcessing2/src/com/android/rs/image/
H A DImageProcessingActivity2.java296 mSurfaceView = (SurfaceView) findViewById(R.id.surface);
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
H A DGL2CameraEye.java285 * surface is created.
331 synchronized public void onFrameAvailable(SurfaceTexture surface) { argument
341 * Move the camera surface around based on some simple spring physics with drag
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java489 // If the application owns the surface, don't enable hardware acceleration
1174 // is attached to the window. Note that at this point the surface
1381 + " surface=" + mSurface);
1489 // If we are creating a new surface, then we need to
1505 Log.e(TAG, "OutOfResourcesException initializing HW surface", e);
1514 mLayoutRequested = true; // ask wm for a new surface next time.
1520 // If the surface has been removed, then reset the scroll
1528 // Our surface is gone
1539 Log.e(TAG, "OutOfResourcesException updating HW surface", e);
1547 mLayoutRequested = true; // ask wm for a new surface nex
2191 drawSoftware(Surface surface, AttachInfo attachInfo, int yoff, boolean scalingRequired, Rect dirty) argument
[all...]
H A DView.java11824 * no longer has a surface for drawing.
16279 Surface surface = new Surface();
16282 flags, shadowSize.x, shadowSize.y, surface);
16284 + " surface=" + surface);
16286 Canvas canvas = surface.lockCanvas(null);
16291 surface.unlockCanvasAndPost(canvas);
16307 // Off and running! Release our local surface instance; the drag
16308 // shadow surface is now managed by the system process.
16309 surface
[all...]
/frameworks/base/services/java/com/android/server/wm/
H A DWindowManagerService.java227 * Dim surface layer is immediately below target window.
232 * Blur surface layer is immediately below dim layer.
258 /** Amount of time (in milliseconds) to animate the dim surface from one
384 * underlying surface.
399 * Windows whose surface should be destroyed.
689 // move the surface and tell the involved window(s) where we are
2346 + ", surface=" + win.mWinAnimator.mSurface);
2856 // To change the format, we need to re-build the surface.
2865 Surface surface = winAnimator.createSurfaceLocked();
2866 if (surface !
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_GLES20Canvas.cpp807 Layer* layer, jint width, jint height, jboolean isOpaque, jobject surface) {
809 sp<SurfaceTexture> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, surface));
806 android_view_GLES20Canvas_updateTextureLayer(JNIEnv* env, jobject clazz, Layer* layer, jint width, jint height, jboolean isOpaque, jobject surface) argument
/frameworks/native/opengl/tests/hwc/
H A DhwcCommit.cpp235 static EGLSurface surface; variable
1505 hwcTestInitDisplay(verbose, &dpy, &surface, &width, &height);
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorMain.cpp267 jobject surface);
600 jobject surface)
626 // Validate the surface parameter.
628 (NULL == surface),
629 "surface is null");
642 Surface* const p = (Surface*)pEnv->GetIntField(surface, surface_native);
598 videoEditor_clearSurface(JNIEnv* pEnv, jobject thiz, jobject surface) argument
/frameworks/base/core/java/android/hardware/
H A DCamera.java74 * {@link #setPreviewDisplay(SurfaceHolder)}. Without a surface, the camera
78 * preview surface. Preview must be started before you can take a picture.
87 * <li>Call {@link #stopPreview()} to stop updating the preview surface.
423 * Either a surface or surface texture is necessary for preview, and
424 * preview is necessary to take pictures. The same surface can be re-set
425 * without harm. Setting a preview surface will un-set any preview surface
428 * <p>The {@link SurfaceHolder} must already contain a surface when this
436 * one exception is that if the preview surface i
455 setPreviewDisplay(Surface surface) argument
[all...]

Completed in 3270 milliseconds

1234567